/* ═══════════════════════════════════════════════════════════════
   XPRESSGLOBE LOGISTICS — Main Stylesheet
   Color Palette:
   --navy:      #003366  (primary dark blue)
   --blue:      #0066CC  (mid blue)
   --sky:       #4FC3F7  (accent light blue)
   --gold:      #F9A825  (CTA accent)
   --white:     #ffffff
   --gray-50:   #F5F7FA
   --gray-100:  #E8ECF0
   --gray-600:  #555F6E
   --gray-900:  #111827
═══════════════════════════════════════════════════════════════ */

/* ─── CSS Variables ──────────────────────────────────────────── */
:root {
  --navy:       #003366;
  --navy-dark:  #001f4d;
  --blue:       #0066CC;
  --blue-light: #1a7fd4;
  --sky:        #4FC3F7;
  --sky-light:  #81D4FA;
  --gold:       #F9A825;
  --gold-dark:  #E65100;
  --white:      #ffffff;
  --gray-50:    #F5F7FA;
  --gray-100:   #E8ECF0;
  --gray-200:   #D0D9E2;
  --gray-600:   #555F6E;
  --gray-900:   #111827;
  --success:    #16A34A;
  --error:      #DC2626;

  --font-display: 'Montserrat', sans-serif;
  --font-body:    'Inter', sans-serif;

  --radius:     8px;
  --radius-lg:  16px;
  --shadow:     0 4px 20px rgba(0,51,102,0.1);
  --shadow-lg:  0 8px 40px rgba(0,51,102,0.15);
  --transition: 0.25s ease;

  --container: 1200px;
  --nav-h:     72px;
}

/* ─── Reset & Base ───────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-900);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea {
  font-family: inherit;
  font-size: 1rem;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  padding: 12px 16px;
  width: 100%;
  background: var(--white);
  color: var(--gray-900);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(0, 102, 204, 0.12);
}
textarea { resize: vertical; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); }
.hidden { display: none !important; }

/* ─── Container ──────────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Buttons ────────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--navy);
  color: var(--white);
}
.btn-primary:hover { background: var(--blue); transform: translateY(-1px); box-shadow: var(--shadow); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-outline:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }
.btn-accent {
  background: var(--gold);
  color: var(--navy-dark);
}
.btn-accent:hover { background: #ffb300; transform: translateY(-1px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ─── Section Base ───────────────────────────────────────────── */
.section { padding: 80px 0; }
.section-alt { background: var(--gray-50); }
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 56px;
}
.section-header.text-left { text-align: left; margin-left: 0; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(0,102,204,0.08);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-header h2 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 14px;
  line-height: 1.2;
}
.section-header p { color: var(--gray-600); font-size: 1.05rem; }

/* ─── TOP BAR ────────────────────────────────────────────────── */
.topbar {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.8);
  font-size: 0.82rem;
  padding: 8px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 20px;
}
.topbar a { color: rgba(255,255,255,0.8); transition: color var(--transition); }
.topbar a:hover { color: var(--sky); }
.topbar i { margin-right: 5px; color: var(--sky); }
.topbar-social { display: flex; gap: 10px; }
.topbar-social a {
  width: 26px; height: 26px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem;
}
.topbar-social a:hover { background: var(--blue); }

/* ─── LANGUAGE SWITCHER ──────────────────────────────────────── */
.lang-switcher {
  position: fixed;
  top: 14px;
  right: 16px;
  z-index: 1100;
}
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  background: var(--navy-dark) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%234FC3F7' d='M1 1l5 5 5-5'/%3E%3C/svg%3E") no-repeat right 10px center / 10px;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 999px;
  padding: 6px 30px 6px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  width: auto;
}
.lang-select:focus { border-color: var(--sky); box-shadow: 0 0 0 2px rgba(79,195,247,0.35); }
.lang-select option { color: var(--gray-900); background: var(--white); }
@media (max-width: 480px) {
  .lang-switcher { top: 10px; right: 10px; }
  .lang-select { font-size: 0.72rem; padding: 5px 26px 5px 10px; }
}

/* ─── NAVIGATION ─────────────────────────────────────────────── */
#navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(0,51,102,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}
#navbar.scrolled {
  box-shadow: 0 4px 24px rgba(0,51,102,0.15);
}
.nav-container {
  display: flex;
  align-items: center;
  gap: 32px;
  height: var(--nav-h);
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  font-size: 1.8rem;
  color: var(--navy);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}
.logo-main {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 900;
  color: var(--navy);
}
.logo-sub {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--blue);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  gap: 4px;
  margin-left: auto;
}
.nav-link {
  padding: 8px 14px;
  font-weight: 500;
  font-size: 0.92rem;
  color: var(--gray-600);
  border-radius: var(--radius);
  transition: all var(--transition);
  position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--navy); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
}
.nav-cta { margin-left: 16px; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* Mobile nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--nav-h);
  left: 0; right: 0;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  z-index: 999;
  padding: 16px 24px 24px;
  transform: translateY(-10px);
  opacity: 0;
  pointer-events: none;
  transition: all var(--transition);
}
.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
  pointer-events: all;
}
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav a { display: block; padding: 12px 16px; color: var(--gray-900); border-radius: var(--radius); font-weight: 500; }
.mobile-nav a:hover { background: var(--gray-50); color: var(--navy); }
.mobile-nav .btn { margin-top: 12px; width: 100%; justify-content: center; }

/* ─── HERO ───────────────────────────────────────────────────── */
.hero {
  position: relative;
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  background: var(--navy-dark);
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,20,50,0.85) 0%, rgba(0,50,110,0.5) 100%);
  z-index: 1;
}
.hero-bg-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg-svg svg {
  width: 100%; height: 100%;
  object-fit: cover;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 40px;
  padding-bottom: 120px;
}
.hero-text { max-width: 640px; }
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(79,195,247,0.15);
  border: 1px solid rgba(79,195,247,0.3);
  color: var(--sky);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 8px 16px;
  border-radius: 20px;
  margin-bottom: 20px;
}
.hero-text h1 {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}
.text-accent { color: var(--sky); }
.hero-subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.8);
  margin-bottom: 32px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-stats {
  display: flex;
  align-items: center;
  gap: 0;
  flex-wrap: wrap;
}
.stat { text-align: center; padding: 0 20px; }
.stat strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--white);
}
.stat span { font-size: 0.8rem; color: rgba(255,255,255,0.6); text-transform: uppercase; letter-spacing: 1px; }
.stat-divider { width: 1px; height: 40px; background: rgba(255,255,255,0.2); }

/* Hero Track Bar */
.hero-track-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  z-index: 3;
  background: rgba(0,20,50,0.85);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 16px 0;
}
.hero-track-form {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 700px;
}
.hero-track-form i { color: var(--sky); font-size: 1.2rem; flex-shrink: 0; }
.hero-track-form input {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: white;
  flex: 1;
}
.hero-track-form input::placeholder { color: rgba(255,255,255,0.5); }
.hero-track-form input:focus { border-color: var(--sky); box-shadow: 0 0 0 3px rgba(79,195,247,0.15); }

/* Plane animation */
@keyframes fly { from { transform: translateX(-200px); } to { transform: translateX(200px); } }
.plane-anim { animation: fly 8s ease-in-out infinite alternate; }
@keyframes float { 0%,100% { transform: translateX(0); } 50% { transform: translateX(20px); } }
.ship-anim { animation: float 6s ease-in-out infinite; }

/* ─── SERVICES ───────────────────────────────────────────────── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--white);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all var(--transition);
  cursor: default;
}
.service-card:hover, .service-card:focus {
  border-color: var(--blue);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  outline: none;
}
.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy-dark), var(--blue));
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: transform var(--transition);
}
.service-card:hover .service-icon { transform: scale(1.08); }
.service-icon i { font-size: 1.6rem; color: var(--white); }
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy-dark);
  margin-bottom: 10px;
}
.service-card p { color: var(--gray-600); font-size: 0.95rem; margin-bottom: 16px; }
.service-features { margin-bottom: 20px; }
.service-features li {
  font-size: 0.88rem;
  color: var(--gray-600);
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-features li i { color: var(--success); font-size: 0.75rem; }
.service-link {
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}
.service-card:hover .service-link { gap: 10px; }

/* ─── TRACKING ───────────────────────────────────────────────── */
.tracking-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}
.track-form { margin-top: 24px; }
.track-input-group {
  display: flex;
  gap: 12px;
}
.track-input-group input { flex: 1; }
.track-demo-hint {
  margin-top: 10px;
  font-size: 0.85rem;
  color: var(--gray-600);
}
.demo-num {
  color: var(--blue);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: 0.85rem;
}
.demo-num:hover { color: var(--navy); }

/* Tracking Result */
.track-result {
  margin-top: 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--gray-200);
  background: var(--white);
  box-shadow: var(--shadow);
}
.track-header {
  background: var(--navy);
  color: white;
  padding: 20px 24px;
}
.track-header h3 { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.track-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}
.status-in_transit { background: rgba(249,168,37,0.2); color: var(--gold); }
.status-delivered { background: rgba(22,163,74,0.2); color: #4ade80; }
.status-customs { background: rgba(79,195,247,0.2); color: var(--sky); }
.track-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  padding: 20px 24px;
  border-bottom: 1px solid var(--gray-100);
}
.track-meta-item { font-size: 0.88rem; }
.track-meta-item .label { color: var(--gray-600); font-size: 0.8rem; margin-bottom: 2px; }
.track-meta-item .value { font-weight: 600; color: var(--gray-900); }
.track-timeline { padding: 20px 24px; }
.track-timeline h4 { font-size: 0.9rem; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.timeline-item {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
  position: relative;
}
.timeline-dot {
  width: 14px; height: 14px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 3px;
  position: relative;
  z-index: 1;
}
.timeline-dot.completed { background: var(--success); }
.timeline-dot.current { background: var(--blue); box-shadow: 0 0 0 4px rgba(0,102,204,0.2); }
.timeline-dot.pending { background: var(--gray-200); }
.timeline-item:not(:last-child) .timeline-dot::after {
  content: '';
  position: absolute;
  top: 14px; left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: calc(100% + 16px);
  background: var(--gray-200);
}
.timeline-item.completed .timeline-dot::after { background: var(--success); }
.timeline-content { flex: 1; }
.timeline-event { font-weight: 600; font-size: 0.9rem; color: var(--gray-900); }
.timeline-meta { font-size: 0.8rem; color: var(--gray-600); margin-top: 2px; }

/* Tracking info col */
.tracking-features { display: flex; flex-direction: column; gap: 24px; }
.t-feature {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.t-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--navy-dark), var(--blue));
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.t-icon i { color: white; font-size: 1.1rem; }
.t-feature h4 { font-weight: 700; color: var(--navy-dark); margin-bottom: 4px; }
.t-feature p { font-size: 0.9rem; color: var(--gray-600); }

/* ─── WHY US ─────────────────────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1.5px solid var(--gray-100);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.why-card:hover { border-color: var(--blue); box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.why-number {
  position: absolute;
  top: 20px; right: 20px;
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--gray-100);
  line-height: 1;
}
.why-icon { font-size: 2rem; color: var(--navy); margin-bottom: 16px; }
.why-card h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; color: var(--navy-dark); margin-bottom: 10px; }
.why-card p { font-size: 0.92rem; color: var(--gray-600); }

/* ─── STATS BANNER ───────────────────────────────────────────── */
.stats-banner {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--blue) 100%);
  padding: 56px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-item strong {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 900;
  color: white;
}
.stat-item span { font-size: 2rem; color: var(--sky); font-weight: 700; }
.stat-item p { font-size: 0.9rem; color: rgba(255,255,255,0.7); margin-top: 4px; text-transform: uppercase; letter-spacing: 1px; }

/* ─── ABOUT ──────────────────────────────────────────────────── */
.about-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual { position: relative; }
.about-svg-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -20px; right: -20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 16px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-100);
}
.about-badge i { font-size: 1.8rem; color: var(--gold); }
.about-badge strong { display: block; color: var(--navy); font-weight: 700; }
.about-badge span { font-size: 0.8rem; color: var(--gray-600); }
.about-content .section-eyebrow { margin-bottom: 10px; }
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 16px;
  line-height: 1.2;
}
.about-content p { color: var(--gray-600); margin-bottom: 14px; }
.about-points { margin: 24px 0; display: flex; flex-direction: column; gap: 10px; }
.about-point {
  display: flex; align-items: center; gap: 10px;
  font-size: 0.92rem; color: var(--gray-900);
}
.about-point i { color: var(--blue); font-size: 0.9rem; flex-shrink: 0; }

/* ─── TESTIMONIALS ───────────────────────────────────────────── */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1.5px solid var(--gray-100);
  box-shadow: var(--shadow);
  transition: all var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.stars { font-size: 1.2rem; color: var(--gold); margin-bottom: 16px; }
.testimonial-card p {
  color: var(--gray-600);
  font-style: italic;
  margin-bottom: 20px;
  font-size: 0.95rem;
  line-height: 1.7;
}
.testimonial-card footer { display: flex; align-items: center; gap: 14px; }
.client-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--navy-dark), var(--blue));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: white; font-weight: 700; font-size: 0.85rem;
  flex-shrink: 0;
}
.testimonial-card cite { display: block; font-weight: 700; color: var(--navy-dark); font-style: normal; }
.testimonial-card footer span { font-size: 0.82rem; color: var(--gray-600); }

/* ─── QUOTE FORM ─────────────────────────────────────────────── */
.quote-section { background: var(--gray-50); }
.quote-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
  max-width: 900px;
  margin: 0 auto;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label {
  font-weight: 600;
  font-size: 0.88rem;
  color: var(--gray-900);
}
.field-error { font-size: 0.8rem; color: var(--error); min-height: 18px; }
.form-message {
  padding: 14px 18px;
  border-radius: var(--radius);
  margin-bottom: 20px;
  font-size: 0.92rem;
  font-weight: 500;
}
.form-message.success { background: rgba(22,163,74,0.1); color: var(--success); border: 1px solid rgba(22,163,74,0.3); }
.form-message.error { background: rgba(220,38,38,0.1); color: var(--error); border: 1px solid rgba(220,38,38,0.3); }

/* ─── CONTACT ────────────────────────────────────────────────── */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 64px;
  align-items: start;
}
.contact-info .section-eyebrow { margin-bottom: 10px; }
.contact-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--navy-dark);
  margin-bottom: 12px;
}
.contact-info > p { color: var(--gray-600); margin-bottom: 32px; }
.contact-items { display: flex; flex-direction: column; gap: 24px; margin-bottom: 32px; }
.contact-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--gray-50);
  border: 1.5px solid var(--gray-100);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
  font-size: 1rem;
}
.contact-item h4 { font-weight: 700; color: var(--navy-dark); margin-bottom: 4px; font-size: 0.9rem; }
.contact-item p { font-size: 0.88rem; color: var(--gray-600); }
.contact-item a { color: var(--gray-600); transition: color var(--transition); }
.contact-item a:hover { color: var(--blue); }
.contact-social { display: flex; gap: 10px; }
.contact-social a {
  width: 38px; height: 38px;
  background: var(--navy-dark);
  color: white;
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  transition: background var(--transition);
}
.contact-social a:hover { background: var(--blue); }
.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow);
  border: 1.5px solid var(--gray-100);
}

/* ─── FOOTER ─────────────────────────────────────────────────── */
.footer { background: var(--navy-dark); color: rgba(255,255,255,0.75); }
.footer-top { padding: 64px 0 40px; }
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
  gap: 40px;
}
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand .logo-main { color: white; }
.footer-brand p { font-size: 0.88rem; color: rgba(255,255,255,0.6); max-width: 260px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  transition: all var(--transition);
}
.footer-social a:hover { background: var(--blue); color: white; }
.footer-col h4 { color: white; font-weight: 700; margin-bottom: 16px; font-size: 0.95rem; }
.footer-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-col a { font-size: 0.88rem; color: rgba(255,255,255,0.6); transition: color var(--transition); }
.footer-col a:hover { color: var(--sky); }
.newsletter-form { display: flex; gap: 8px; }
.newsletter-form input {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.2);
  color: white;
  font-size: 0.88rem;
  padding: 10px 14px;
}
.newsletter-form input::placeholder { color: rgba(255,255,255,0.4); }
.newsletter-form button { padding: 10px 16px; font-size: 0.85rem; flex-shrink: 0; }
.footer-certifications { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.cert-badge {
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 0.85rem; }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 0.85rem; color: rgba(255,255,255,0.5); transition: color var(--transition); }
.footer-legal a:hover { color: var(--sky); }

/* ─── BACK TO TOP ────────────────────────────────────────────── */
.back-to-top {
  position: fixed;
  bottom: 32px; right: 32px;
  width: 44px; height: 44px;
  background: var(--navy);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-lg);
  z-index: 999;
  transition: all var(--transition);
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-to-top:hover { background: var(--blue); transform: translateY(-2px); }

/* ─── 404 ────────────────────────────────────────────────────── */
.page-404 {
  min-height: 70vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 60px 24px;
}
.page-404 h1 { font-size: 6rem; color: var(--navy); font-family: var(--font-display); }
.page-404 p { color: var(--gray-600); margin: 16px 0 32px; font-size: 1.1rem; }

/* ─── RESPONSIVE ─────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .tracking-layout { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }
  .topbar-right span { display: none; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .mobile-nav { display: block; }
  .hero { min-height: auto; padding: 60px 0 100px; }
  .hero-content { padding-bottom: 80px; }
  .hero-stats { gap: 8px; }
  .stat { padding: 0 12px; }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .about-layout { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .contact-layout { grid-template-columns: 1fr; gap: 40px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .hero-track-form { flex-wrap: wrap; }
  .tracking-layout .section-header { text-align: center; }
  .track-meta { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {
  .section { padding: 56px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .quote-form { padding: 24px 20px; }
  .contact-form { padding: 24px 20px; }
  .hero-actions { flex-direction: column; }
  .topbar-left a:last-child { display: none; }
}

/* ─── Focus visible ──────────────────────────────────────────── */
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ─── Print ──────────────────────────────────────────────────── */
@media print {
  .topbar, #navbar, .hero-track-bar, .back-to-top, .footer { display: none; }
}
