/*
 * ALLIANCE FREIGHT SOLUTIONS
 * SpaceX + Palantir + Apple Aesthetic
 * Production-Grade Marketing Website
 * MC-1607949 | DOT-4177688
 */

/* ============================================================
   CSS CUSTOM PROPERTIES — DESIGN SYSTEM
   ============================================================ */
:root {
  /* Colors — Dark Theme */
  --color-bg: #060809;
  --color-bg-2: #0A0D10;
  --color-bg-3: #0D1117;
  --color-surface: rgba(255, 255, 255, 0.03);
  --color-border: rgba(255, 255, 255, 0.07);
  --color-border-hover: rgba(0, 200, 240, 0.25);

  /* Text Colors */
  --color-text-primary: #FFFFFF;
  --color-text-secondary: rgba(255, 255, 255, 0.55);
  --color-text-muted: rgba(255, 255, 255, 0.28);

  /* Brand Accent Colors */
  --color-accent-blue: #0A4DA6;
  --color-accent-cyan: #00C8F0;

  /* Brand Gradients */
  --gradient-brand: linear-gradient(135deg, #0A4DA6 0%, #00C8F0 100%);
  --gradient-subtle: linear-gradient(135deg, rgba(10, 77, 166, 0.12) 0%, rgba(0, 200, 240, 0.06) 100%);
  --gradient-glow: linear-gradient(135deg, rgba(10, 77, 166, 0.2) 0%, rgba(0, 200, 240, 0.12) 100%);

  /* Typography */
  --font-display: 'Bebas Neue', sans-serif;
  --font-body: 'DM Sans', sans-serif;

  /* Motion */
  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);

  /* Border Radius */
  --radius: 4px;
  --radius-lg: 8px;

  /* Layout */
  --max-width: 1280px;
  --nav-height: 72px;
  --tabs-height: 52px;
  --section-pad: clamp(80px, 12vw, 160px) 0;
}

/* ============================================================
   RESET & BASE STYLES
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
}

body {
  background: var(--color-bg);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 16px;
  font-weight: 300;
  line-height: 1.8;
  overflow-x: hidden;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Subtle grain texture overlay */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  margin: 0;
  font-weight: 400;
  line-height: 1;
}

h1 {
  font-family: var(--font-display);
  font-size: clamp(4rem, 10vw, 9rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.92;
  color: var(--color-text-primary);
  text-transform: uppercase;
}

h2 {
  font-family: var(--font-display);
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 400;
  letter-spacing: 0.02em;
  line-height: 0.95;
  color: var(--color-text-primary);
  text-transform: uppercase;
}

h3 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 400;
  letter-spacing: 0.03em;
  color: var(--color-text-primary);
  text-transform: uppercase;
}

p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.3s ease;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Eyebrow label */
.eyebrow {
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  margin-bottom: 16px;
  display: block;
}

/* Gradient text treatment */
.gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
}

/* ============================================================
   LAYOUT UTILITIES
   ============================================================ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

.container-narrow {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
}

section {
  padding: var(--section-pad);
  position: relative;
}

section:nth-child(even) {
  background: var(--color-bg-2);
}

/* ============================================================
   NAVIGATION
   ============================================================ */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--nav-height);
  background: rgba(6, 8, 9, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--color-border);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(20px, 5vw, 80px);
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.1rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  text-decoration: none;
}

.nav-logo .gradient-text {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
  padding-bottom: 2px;
  border-bottom: 1px solid transparent;
}

.nav-link:hover {
  color: var(--color-text-primary);
}

.nav-link.active {
  color: var(--color-text-primary);
  border-bottom-color: var(--color-accent-cyan);
}

.nav-cta {
  margin-left: 12px;
  display: flex;
  gap: 10px;
  align-items: center;
}

.nav-cta .btn-primary {
  padding: 11px 26px;
  font-size: 0.75rem;
}

.nav-cta .btn-secondary {
  padding: 10px 24px;
  font-size: 0.72rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(0, 200, 240, 0.25);
  color: var(--color-accent-cyan);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  letter-spacing: 0.1em;
}

.nav-cta .btn-secondary:hover {
  background: rgba(0, 200, 240, 0.1);
  border-color: rgba(0, 200, 240, 0.5);
}

/* Mobile nav CTA — hidden on desktop */
.nav-mobile-cta.btn-primary,
.nav-mobile-cta.btn-secondary {
  display: none;
}

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: var(--transition);
}

/* Mobile nav overlay */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(6, 8, 9, 0.98);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  z-index: 1001;
  display: none;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.nav-overlay.active {
  display: flex;
  opacity: 1;
}

.nav-overlay-menu {
  list-style: none;
  text-align: center;
  padding: 0;
  margin: 0;
}

.nav-overlay-menu li {
  margin: 28px 0;
}

.nav-overlay-menu a {
  font-family: var(--font-display);
  font-size: 3rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  transition: color 0.3s ease;
}

.nav-overlay-menu a:hover {
  color: var(--color-accent-cyan);
}

.nav-overlay-close {
  position: absolute;
  top: 28px;
  right: 28px;
  background: none;
  border: none;
  color: var(--color-text-primary);
  font-size: 2.5rem;
  cursor: pointer;
  line-height: 1;
  padding: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   HERO COMPONENT
   ============================================================ */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: var(--nav-height);
}

.hero-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: var(--color-bg);
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(6, 8, 9, 0.80) 0%, rgba(6, 8, 9, 0.75) 40%, rgba(6, 8, 9, 0.95) 80%, rgba(6, 8, 9, 1) 100%), linear-gradient(135deg, rgba(10, 77, 166, 0.12) 0%, transparent 60%);
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  padding-left: clamp(20px, 8vw, 120px);
  max-width: 960px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 200, 240, 0.08);
  border: 1px solid rgba(0, 200, 240, 0.2);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.68rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  margin-bottom: 28px;
}

.hero h1 {
  margin-bottom: 20px;
}

.hero-subtitle {
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  max-width: 540px;
  line-height: 1.75;
  margin-top: 20px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  margin-top: 44px;
}

.hero-credentials {
  position: absolute;
  bottom: 48px;
  left: clamp(20px, 8vw, 120px);
  font-size: 0.62rem;
  letter-spacing: 0.18em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  z-index: 3;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  color: var(--color-text-muted);
  text-transform: uppercase;
  z-index: 3;
}

.hero-scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(to bottom, var(--color-accent-cyan), transparent);
  animation: scroll-pulse 2s ease-in-out infinite;
}

@keyframes scroll-pulse {
  0%, 100% {
    opacity: 0.3;
    transform: translateY(0);
  }
  50% {
    opacity: 1;
    transform: translateY(8px);
  }
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 0 24px rgba(0, 200, 240, 0.2);
  text-decoration: none;
}

.btn-primary:hover {
  box-shadow: 0 0 40px rgba(0, 200, 240, 0.4);
  transform: translateY(-2px);
}

.btn-primary:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  transform: none;
}

.btn-secondary {
  background: transparent;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 14px 36px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  text-decoration: none;
}

.btn-secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.04);
}

/* ============================================================
   TRUST BAR
   ============================================================ */
.trust-bar {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 28px 0;
}

.trust-bar-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 32px;
  align-items: center;
  text-align: center;
}

.trust-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 0 16px;
  border-right: 1px solid var(--color-border);
}

.trust-bar-item:last-child {
  border-right: none;
}

.trust-bar-label {
  font-family: var(--font-display);
  font-size: 1rem;
  letter-spacing: 0.04em;
  color: var(--color-text-primary);
  text-transform: uppercase;
}

.trust-bar-sublabel {
  font-family: var(--font-body);
  font-size: 0.7rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.services-grid {
  display: grid;
  gap: 24px;
}

.services-grid-row-1 {
  grid-template-columns: 1fr;
}

.services-grid-row-2 {
  grid-template-columns: repeat(2, 1fr);
}

.services-grid-row-3 {
  grid-template-columns: repeat(3, 1fr);
}

.service-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px);
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(6, 8, 9, 0.94);
  z-index: 1;
  pointer-events: none;
}

.service-card:hover {
  border-color: rgba(0, 200, 240, 0.18);
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.05);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card-number {
  font-family: var(--font-display);
  font-size: 6rem;
  color: rgba(255, 255, 255, 0.03);
  position: absolute;
  top: 8px;
  right: 20px;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  z-index: 2;
}

.service-card-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.service-card-icon svg {
  width: 24px;
  height: 24px;
  fill: var(--color-accent-cyan);
}

.service-card h3 {
  margin-bottom: 10px;
  position: relative;
  z-index: 2;
}

.service-card-description {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  margin-top: 10px;
  line-height: 1.7;
  position: relative;
  z-index: 2;
}

.service-card-link {
  color: var(--color-accent-cyan);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 20px;
  transition: gap 0.3s ease;
  position: static;
}

.service-card-link::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 3;
}

.service-card-link:hover {
  gap: 10px;
}

.services-additional {
  text-align: center;
  margin-top: 32px;
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  letter-spacing: 0.05em;
}

/* ============================================================
   PORT COVERAGE
   ============================================================ */
.port-section {
  background: var(--color-bg-3);
  position: relative;
}

.port-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('https://www.portseattle.org/sites/default/files/2021-06/DJI_012720_Husky-2.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  pointer-events: none;
}

.port-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
  justify-content: center;
}

.port-pill {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 10px 24px;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  transition: var(--transition);
}

.port-pill:hover {
  border-color: var(--color-accent-cyan);
  color: white;
  background: rgba(0, 200, 240, 0.06);
}

/* ============================================================
   TWO-COLUMN FEATURE SECTION
   ============================================================ */
.two-col-section {
  display: grid;
  grid-template-columns: 55% 45%;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.feature-list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.feature-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 20px;
  align-items: start;
}

.feature-item:last-child {
  border-bottom: none;
}

.feature-icon {
  width: 40px;
  height: 40px;
  background: var(--gradient-subtle);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--color-accent-cyan);
}

.feature-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.feature-name {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.feature-description {
  font-size: 0.85rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 920px;
  margin: 48px auto 0;
}

.faq-item {
  border-bottom: 1px solid var(--color-border);
  transition: var(--transition);
}

.faq-item.active {
  border-left: 2px solid var(--color-accent-cyan);
  padding-left: 20px;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: white;
  text-align: left;
  gap: 20px;
}

.faq-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  position: relative;
  transition: transform 0.3s ease;
}

.faq-icon::before,
.faq-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--color-accent-cyan);
  transition: var(--transition);
}

.faq-icon::before {
  width: 16px;
  height: 2px;
  transform: translate(-50%, -50%);
}

.faq-icon::after {
  width: 2px;
  height: 16px;
  transform: translate(-50%, -50%);
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}

.faq-answer-inner {
  padding: 0 0 24px 0;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 1.8;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner {
  background: var(--gradient-glow);
  border-top: 1px solid rgba(0, 200, 240, 0.12);
  border-bottom: 1px solid rgba(0, 200, 240, 0.12);
  text-align: center;
  padding: clamp(60px, 8vw, 100px) 0;
}

.cta-banner h2 {
  margin-bottom: 16px;
}

.cta-banner-text {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  max-width: 620px;
  margin: 0 auto 32px;
}

/* ============================================================
   SERVICE DETAIL SECTIONS (services.html)
   ============================================================ */
.service-section {
  padding: clamp(60px, 10vw, 120px) 0;
  scroll-margin-top: calc(var(--nav-height) + var(--tabs-height) + 20px);
}

/* Service Tabs — Sticky Anchor Navigation */
.service-tabs {
  position: sticky;
  top: var(--nav-height);
  z-index: 90;
  background: var(--color-bg);
  border-bottom: 1px solid var(--color-border);
}

.service-tabs .container {
  padding-top: 0;
  padding-bottom: 0;
}

.service-tabs-track {
  display: flex;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
  scrollbar-width: none;
  max-width: 100vw;
}

.service-tabs-track::-webkit-scrollbar {
  display: none;
}

.service-tab {
  flex-shrink: 0;
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 1.05rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: color 0.25s var(--ease), border-color 0.25s var(--ease);
  white-space: nowrap;
}

.service-tab:hover {
  color: var(--color-text-secondary);
}

.service-tab.active {
  color: var(--color-accent-cyan);
  border-bottom-color: var(--color-accent-cyan);
}

@media (max-width: 768px) {
  .service-tabs .container {
    padding: 0;
  }
  .service-tab {
    padding: 10px 14px;
    font-size: 0.8rem;
  }
}

/* Service Accordion — Hidden on desktop */
.service-accordion-header {
  display: none;
}

@media (max-width: 768px) {
  .service-accordion-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    border-bottom: 1px solid var(--color-border);
    background: var(--color-bg);
    scroll-margin-top: calc(var(--nav-height) + var(--tabs-height) + 4px);
  }

  .service-section:nth-child(even) .service-accordion-header {
    background: var(--color-bg-2);
  }

  .service-accordion-title {
    font-family: var(--font-display);
    font-size: 0.95rem;
    letter-spacing: 0.08em;
    color: var(--color-text-primary);
  }

  .service-accordion-chevron {
    width: 10px;
    height: 10px;
    border-right: 2px solid var(--color-accent-cyan);
    border-bottom: 2px solid var(--color-accent-cyan);
    transform: rotate(45deg);
    transition: transform 0.3s ease;
    flex-shrink: 0;
  }

  .service-section.accordion-open .service-accordion-chevron {
    transform: rotate(-135deg);
  }

  .service-section.accordion-open .service-accordion-title {
    color: var(--color-accent-cyan);
  }

  .service-accordion-body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .service-section.accordion-open .service-accordion-body {
    overflow: visible;
  }

  .service-section {
    padding: 0;
  }

  .service-image-panel {
    display: none;
  }

  .service-section.accordion-open .container {
    padding-top: 20px;
    padding-bottom: 30px;
  }
}

.service-layout-a {
  display: grid;
  grid-template-columns: 52% 48%;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.service-layout-b {
  display: grid;
  grid-template-columns: 48% 52%;
  gap: clamp(40px, 6vw, 80px);
  align-items: center;
}

.service-image-panel {
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 480px;
  position: relative;
}

.service-image-panel img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-image-panel::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(10, 77, 166, 0.3) 0%, rgba(0, 200, 240, 0.1) 100%);
  pointer-events: none;
}

.service-content h2 {
  margin-bottom: 12px;
}

.service-content .eyebrow {
  margin-bottom: 12px;
}

.service-body {
  font-size: 1rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin: 20px 0;
}

.service-body p {
  margin-bottom: 16px;
}

.service-features {
  margin: 28px 0;
  padding: 0;
  list-style: none;
}

.service-features li {
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  display: flex;
  align-items: flex-start;
  gap: 14px;
  font-size: 0.95rem;
  color: var(--color-text-secondary);
}

.service-features li::before {
  content: '';
  width: 2px;
  height: 2px;
  background: var(--color-accent-cyan);
  margin-top: 10px;
  flex-shrink: 0;
}

/* ============================================================
   FORM STYLES (quote.html, contact.html)
   ============================================================ */
.form-container {
  max-width: 680px;
  margin: 80px auto;
  padding: 0 clamp(20px, 5vw, 40px);
}

.step-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 60px;
  gap: 0;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  position: relative;
}

.step-circle {
  width: 36px;
  height: 36px;
  border: 2px solid var(--color-accent-cyan);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--color-text-secondary);
  background: transparent;
  transition: var(--transition);
}

.step.active .step-circle {
  background: var(--gradient-brand);
  color: white;
}

.step.completed .step-circle {
  background: var(--gradient-brand);
  color: white;
}

.step-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.step-line {
  width: 80px;
  height: 1px;
  background: var(--color-border);
  margin: 0 -8px;
  align-self: flex-start;
  margin-top: 18px;
}

.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h2 {
  margin-bottom: 32px;
  text-align: center;
}

.shipment-type-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-bottom: 32px;
}

.shipment-type-card {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px 16px;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.shipment-type-card:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.shipment-type-card.selected {
  border-color: var(--color-accent-cyan);
  background: rgba(0, 200, 240, 0.06);
  box-shadow: 0 0 0 1px var(--color-accent-cyan);
}

.shipment-type-card span {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.shipment-type-card.selected span {
  color: var(--color-text-primary);
}

.form-field {
  position: relative;
  margin-bottom: 36px;
}

.form-field label {
  display: block;
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 8px;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 300;
  padding: 12px 0;
  outline: none;
  transition: border-color 0.3s ease;
  -webkit-appearance: none;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-bottom-color: var(--color-accent-cyan);
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: var(--color-text-muted);
}

.form-field textarea {
  min-height: 100px;
  resize: vertical;
}

.form-field.error input,
.form-field.error select,
.form-field.error textarea {
  border-bottom-color: #FF4444;
}

.form-field-error {
  font-size: 0.7rem;
  color: #FF4444;
  margin-top: 4px;
  display: none;
}

.form-field.error .form-field-error {
  display: block;
}

.checkbox-group {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 12px;
}

.checkbox-pill {
  background: transparent;
  border: 1px solid var(--color-border);
  border-radius: 100px;
  padding: 8px 18px;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  cursor: pointer;
  transition: var(--transition);
}

.checkbox-pill:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.checkbox-pill.selected {
  border-color: var(--color-accent-cyan);
  background: rgba(0, 200, 240, 0.06);
  color: var(--color-text-primary);
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 40px;
  justify-content: space-between;
}

.form-actions .btn-secondary,
.form-actions .btn-primary {
  flex: 1;
}

.btn-primary.full-width {
  width: 100%;
}

/* Form success state */
.form-success {
  text-align: center;
  padding: 60px 20px;
}

.form-success h2 {
  margin-bottom: 20px;
}

.form-success p {
  font-size: 1rem;
  color: var(--color-text-secondary);
  max-width: 540px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ============================================================
   ABOUT PAGE STYLES
   ============================================================ */
.pull-quote {
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 300;
  color: var(--color-text-primary);
  line-height: 1.65;
  max-width: 820px;
  border-left: 2px solid var(--color-accent-cyan);
  padding-left: clamp(20px, 4vw, 48px);
  margin: 48px 0;
}

.credentials-table {
  max-width: 800px;
  margin: 32px 0;
}

.credential-row {
  padding: 20px 0;
  border-bottom: 1px solid var(--color-border);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.credential-label {
  font-family: var(--font-body);
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-text-muted);
}

.credential-value {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  color: var(--color-text-primary);
}

.credential-value a {
  color: var(--color-accent-cyan);
  text-decoration: none;
}

.credential-value a:hover {
  text-decoration: underline;
}

/* ============================================================
   RESOURCES PAGE STYLES
   ============================================================ */
.article-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
  margin-top: 48px;
}

.article-card {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
}

.article-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 200, 240, 0.18);
}

.article-image {
  width: 100%;
  height: 220px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--ease);
}

.article-card:hover .article-image img {
  transform: scale(1.04);
}

.article-content {
  padding: 28px;
}

.article-category {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-accent-cyan);
  margin-bottom: 12px;
  display: block;
}

.article-content h3 {
  margin-bottom: 12px;
}

.article-excerpt {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
}

.article-link {
  color: var(--color-accent-cyan);
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.article-link:hover {
  gap: 10px;
}

.newsletter-section {
  text-align: center;
  max-width: 640px;
  margin: 60px auto 0;
}

.newsletter-form {
  display: flex;
  gap: 12px;
  margin-top: 32px;
  align-items: flex-end;
}

.newsletter-form .form-field {
  flex: 1;
  margin-bottom: 0;
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
  padding: 20px 0;
  font-size: 0.75rem;
  color: var(--color-text-muted);
  margin-top: var(--nav-height);
}

.breadcrumb a {
  color: var(--color-text-secondary);
  transition: color 0.3s ease;
}

.breadcrumb a:hover {
  color: var(--color-text-primary);
}

.breadcrumb-separator {
  margin: 0 8px;
}

/* ============================================================
   FOOTER
   ============================================================ */
footer {
  background: var(--color-bg-2);
  border-top: 1px solid var(--color-border);
  padding: clamp(60px, 8vw, 100px) 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: clamp(32px, 6vw, 60px);
  margin-bottom: 48px;
}

.footer-column h4 {
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  font-family: var(--font-body);
  font-weight: 500;
}

.footer-column p {
  font-size: 0.9rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 12px;
}

.footer-column a {
  display: block;
  font-size: 0.85rem;
  font-weight: 300;
  color: var(--color-text-secondary);
  line-height: 2.4;
  transition: color 0.3s ease;
}

.footer-column a:hover {
  color: white;
}

.footer-credentials {
  font-size: 0.8rem;
  color: var(--color-accent-cyan);
  margin: 8px 0;
  font-weight: 500;
}

.footer-bottom {
  background: rgba(0, 0, 0, 0.35);
  border-top: 1px solid var(--color-border);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.68rem;
  color: var(--color-text-muted);
}

.footer-bottom-links {
  display: flex;
  gap: 16px;
}

.footer-bottom-links a {
  color: var(--color-text-muted);
  transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
  color: var(--color-text-primary);
}

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger delays */
.delay-100 { transition-delay: 120ms; }
.delay-200 { transition-delay: 240ms; }
.delay-300 { transition-delay: 360ms; }

/* ============================================================
   INTERACTIVE GLOBE SECTION
   ============================================================ */
.globe-section {
  padding: clamp(60px, 8vw, 100px) 0;
}

.globe-card-outer {
  padding: 0 clamp(16px, 3vw, 40px);
}

/* Card container */
.globe-card {
  position: relative;
  background: #0a1628;
  border-radius: 24px;
  overflow: hidden;
  min-height: 480px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
}

/* Left column: text content */
.globe-content {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: clamp(40px, 5vw, 64px);
  position: relative;
  z-index: 2;
}

.globe-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--color-text-primary);
  margin: 0 0 16px;
  line-height: 1.05;
}

.globe-subtitle {
  font-family: var(--font-body);
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--color-text-secondary);
  margin: 0 0 28px;
}

/* Stats Row */
.globe-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 28px;
}

.globe-stat {
  text-align: left;
}

.globe-stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  letter-spacing: 0.02em;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

.globe-stat-label {
  display: block;
  font-family: var(--font-body);
  font-size: 0.7rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-secondary);
  margin-top: 4px;
}

/* Port Info Card */
.globe-port-card {
  display: flex;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 200, 240, 0.12);
  border-left: 3px solid var(--color-accent-cyan);
  border-radius: var(--radius-lg);
  margin-bottom: 28px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.globe-port-card.active {
  opacity: 1;
  transform: translateY(0);
}

.globe-port-card-icon {
  font-size: 1.3rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.globe-port-card-name {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--color-text-primary);
  margin-bottom: 2px;
}

.globe-port-card-country {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--color-text-secondary);
}

.globe-port-card-divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
  margin: 8px 0;
}

.globe-port-card-volume-label {
  font-family: var(--font-body);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-text-muted);
  margin-bottom: 2px;
}

.globe-port-card-volume {
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--color-accent-cyan);
}

.globe-port-card-tag {
  display: none;
  margin-top: 6px;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: var(--color-accent-cyan);
  border: 1px solid rgba(0, 200, 240, 0.3);
  border-radius: 100px;
  padding: 3px 10px;
  width: fit-content;
}

.globe-port-card-tag.visible {
  display: block;
}

/* CTA */
.globe-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Right column: globe — overflows bottom-right of card */
.globe-canvas-wrap {
  position: absolute;
  right: -200px;
  bottom: -250px;
  width: 950px;
  height: 950px;
  pointer-events: auto;
}

#globe-canvas {
  width: 100%;
  height: 100%;
}

/* Floating port tags on globe */
#globe-float-tags {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.globe-float-tag {
  position: absolute;
  background: rgba(0, 200, 240, 0.12);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 200, 240, 0.25);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.9);
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.5s;
  pointer-events: none;
}

.globe-float-tag.visible {
  opacity: 1;
}

#globe-float-lines line {
  stroke: rgba(0, 200, 240, 0.3);
  stroke-width: 1;
}

.globe-float-tag .tag-name {
  font-weight: 600;
  color: #00c8f0;
}

.globe-float-tag .tag-teus {
  margin-left: 6px;
  opacity: 0.7;
  font-size: 10px;
}

/* ============================================================
   RESPONSIVE — MOBILE
   ============================================================ */
@media (max-width: 768px) {
  /* Navigation */
  .nav-menu {
    display: none;
  }

  .nav-mobile-cta.btn-primary {
    display: inline-block;
    padding: 8px 16px;
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    margin-left: auto;
    margin-right: 12px;
  }

  .nav-mobile-cta.btn-secondary {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  /* Hero */
  .hero-content {
    padding-left: clamp(20px, 5vw, 40px);
    padding-right: clamp(20px, 5vw, 40px);
  }

  .hero-credentials {
    left: clamp(20px, 5vw, 40px);
  }

  /* Two column layouts */
  .two-col-section,
  .service-layout-a,
  .service-layout-b {
    grid-template-columns: 1fr;
  }

  .service-layout-b .service-image-panel {
    order: -1;
  }

  /* Service grid */
  .services-grid-row-2,
  .services-grid-row-3 {
    grid-template-columns: 1fr;
  }

  /* Shipment type grid */
  .shipment-type-grid {
    grid-template-columns: 1fr;
  }

  /* Globe section */
  .globe-card {
    grid-template-columns: 1fr;
    min-height: auto;
    border-radius: 16px;
    max-width: 100%;
  }

  .globe-card-outer {
    overflow: hidden;
  }

  .globe-canvas-wrap {
    position: relative;
    right: auto;
    bottom: auto;
    width: 100%;
    height: min(90vw, 340px);
    margin-bottom: calc(min(90vw, 340px) * -0.35);
    overflow: hidden;
    display: flex;
    justify-content: center;
    pointer-events: auto;
  }

  #globe-canvas {
    width: min(90vw, 340px) !important;
    height: min(90vw, 340px) !important;
    flex-shrink: 0;
  }

  #globe-float-tags,
  #globe-float-lines {
    display: none;
  }

  .globe-port-card {
    display: none;
  }

  .globe-content {
    padding: 24px 20px 0;
  }

  .globe-heading {
    text-align: center;
    font-size: clamp(1.4rem, 5vw, 2rem);
  }

  .globe-section .eyebrow {
    text-align: center;
  }

  .globe-subtitle {
    text-align: center;
    font-size: 0.85rem;
  }

  .globe-stats {
    justify-content: center;
  }

  .globe-cta {
    justify-content: center;
    padding-bottom: 16px;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 12px;
    text-align: center;
  }

  /* Trust bar */
  .trust-bar-item {
    border-right: none;
    border-bottom: 1px solid var(--color-border);
    padding-bottom: 16px;
  }

  .trust-bar-item:last-child {
    border-bottom: none;
  }

  /* Newsletter form */
  .newsletter-form {
    flex-direction: column;
  }

  /* Credential table */
  .credential-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Mobile landscape — show globe alongside text */
@media (max-width: 768px) and (orientation: landscape) {
  .globe-card {
    grid-template-columns: 1fr 1fr;
    min-height: auto;
  }

  .globe-content {
    padding: 24px 20px;
  }

  .globe-heading {
    text-align: left;
    font-size: 1.6rem;
  }

  .globe-section .eyebrow {
    text-align: left;
  }

  .globe-subtitle {
    text-align: left;
    font-size: 0.8rem;
  }

  .globe-stats {
    justify-content: flex-start;
    gap: 20px;
  }

  .globe-port-card {
    display: none;
  }

  .globe-cta {
    justify-content: flex-start;
    padding-bottom: 24px;
  }

  .globe-canvas-wrap {
    width: 100%;
    height: 200px;
    margin: 0;
    margin-bottom: -60px;
    overflow: hidden;
    display: flex;
    justify-content: center;
  }

  #globe-canvas {
    width: 220px !important;
    height: 220px !important;
    flex-shrink: 0;
  }
}

/* ============================================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* ============================================================
   UTILITIES
   ============================================================ */
.text-center {
  text-align: center;
}

.mt-4 {
  margin-top: 32px;
}

.mb-4 {
  margin-bottom: 32px;
}

.hidden {
  display: none;
}
