/* ============================================================
   Swift Flow Logistics — Main Stylesheet
   Tech/SaaS aesthetic · Deep Navy + Bright Blue
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600&display=swap');

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* Colors */
  --navy-deepest:  #050D1A;
  --navy-deep:     #0A1628;
  --navy-mid:      #0F2040;
  --navy-surface:  #162848;
  --navy-border:   #1E3A5F;

  --blue-bright:   #2D6BE4;
  --blue-glow:     #4D8EFF;
  --blue-soft:     #7BA7E8;
  --blue-muted:    #1A54C4;

  --white:         #FFFFFF;
  --grey-100:      #F4F7FC;
  --grey-200:      #E8EDF7;
  --grey-400:      #9EB3D4;
  --grey-600:      #5A7899;

  /* Typography */
  --font-head:  'Space Grotesk', sans-serif;
  --font-body:  'Inter', sans-serif;

  /* Sizing */
  --max-width: 1160px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  /* Shadows / Glows */
  --glow-blue:  0 0 30px rgba(45, 107, 228, 0.35);
  --glow-card:  0 4px 24px rgba(0, 0, 0, 0.35);
  --shadow-btn: 0 4px 20px rgba(45, 107, 228, 0.45);
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }

body {
  background: var(--navy-deep);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a  { color: inherit; text-decoration: none; }
ul { list-style: none; }

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

.section { padding: 96px 0; }
.section--sm { padding: 64px 0; }

.tag {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-head);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: var(--white);
}

.section-sub {
  font-size: 17px;
  color: var(--grey-400);
  line-height: 1.7;
  max-width: 560px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-sm);
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  border: none;
  text-decoration: none;
}

.btn--primary {
  background: var(--blue-bright);
  color: var(--white);
  box-shadow: var(--shadow-btn);
}
.btn--primary:hover {
  background: var(--blue-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(77, 142, 255, 0.5);
}

.btn--ghost {
  background: transparent;
  color: var(--blue-soft);
  border: 1px solid var(--navy-border);
}
.btn--ghost:hover {
  border-color: var(--blue-bright);
  color: var(--white);
  background: rgba(45, 107, 228, 0.1);
}

.btn--outline {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.25);
}
.btn--outline:hover {
  border-color: var(--blue-glow);
  color: var(--blue-glow);
}

/* ── Grid helpers ──────────────────────────────────────────── */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-5 { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }

/* ── Header / Nav ──────────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(10, 22, 40, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(30, 58, 95, 0.6);
  transition: background 0.3s;
}

/* When mobile menu is open, expand header to cover full viewport */
.site-header.menu-open {
  bottom: 0;
  background: var(--navy-deepest);
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  overflow-y: auto;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.logo img { height: 64px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}

.nav-links a {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-400);
  letter-spacing: 0.2px;
  transition: color 0.2s;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--blue-glow);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-cta { margin-left: 8px; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 4px;
}
.nav-toggle span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all 0.3s;
}

/* ── Hero Section ──────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 72px;
  background: var(--navy-deepest);
}

/* Grid background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 107, 228, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 107, 228, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at 50% 40%, black 30%, transparent 80%);
}

/* Glow orbs */
.hero::after {
  content: '';
  position: absolute;
  top: 10%; left: 50%;
  transform: translateX(-50%);
  width: 800px; height: 500px;
  background: radial-gradient(ellipse, rgba(45, 107, 228, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border: 1px solid rgba(77, 142, 255, 0.35);
  border-radius: 100px;
  font-size: 12px;
  font-weight: 500;
  color: var(--blue-soft);
  margin-bottom: 32px;
  background: rgba(45, 107, 228, 0.08);
  letter-spacing: 0.5px;
}

.hero-badge::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-glow);
  box-shadow: 0 0 8px var(--blue-glow);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.4; }
}

.hero h1 {
  font-family: var(--font-head);
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -1.5px;
  margin-bottom: 24px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--blue-glow), var(--blue-soft));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px;
  color: var(--grey-400);
  line-height: 1.65;
  margin-bottom: 16px;
  max-width: 360px;
}

.hero-meta {
  font-size: 14px;
  color: var(--grey-600);
  margin-bottom: 40px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-scroll {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--grey-600);
  cursor: pointer;
  transition: color 0.2s;
  background: none;
  border: none;
}
.hero-scroll:hover { color: var(--blue-soft); }
.hero-scroll svg { animation: bounce 2s infinite; }

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(4px); }
}

/* ── Trust Bar ─────────────────────────────────────────────── */
.trust-bar {
  background: var(--navy-surface);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 28px 0;
}

.trust-items {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.trust-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  background: rgba(45, 107, 228, 0.12);
  border: 1px solid rgba(45, 107, 228, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.trust-icon svg { color: var(--blue-glow); }

.trust-text {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-200);
  line-height: 1.3;
}

/* ── Value Prop ────────────────────────────────────────────── */
.value-prop { background: var(--navy-deep); }

.value-prop .grid-2 { gap: 80px; }

.value-visual {
  position: relative;
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  overflow: hidden;
}

.value-visual::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(45, 107, 228, 0.2), transparent 70%);
}

.flow-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
  z-index: 1;
}

.flow-step {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 20px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  transition: border-color 0.3s, background 0.3s;
}

.flow-step:hover {
  border-color: var(--blue-bright);
  background: rgba(45, 107, 228, 0.07);
}

.flow-num {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 700;
  color: var(--blue-glow);
  width: 28px; height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(77, 142, 255, 0.35);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.flow-step-text {
  font-size: 14px;
  font-weight: 500;
  color: var(--grey-200);
}

/* ── Services Grid ─────────────────────────────────────────── */
.services { background: var(--navy-deepest); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 56px;
}

.service-card {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-bright), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}

.service-card:hover {
  border-color: rgba(45, 107, 228, 0.5);
  transform: translateY(-4px);
  box-shadow: var(--glow-blue), var(--glow-card);
}

.service-card:hover::before { opacity: 1; }

/* Wide card for 5th item */
.service-card--wide {
  grid-column: span 1;
}

.service-icon {
  width: 48px; height: 48px;
  border-radius: var(--radius-sm);
  background: rgba(45, 107, 228, 0.12);
  border: 1px solid rgba(45, 107, 228, 0.25);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  transition: background 0.3s, border-color 0.3s;
}

.service-card:hover .service-icon {
  background: rgba(45, 107, 228, 0.22);
  border-color: var(--blue-bright);
}

.service-icon svg { color: var(--blue-glow); }

.service-card h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.service-card p {
  font-size: 14px;
  color: var(--grey-400);
  line-height: 1.65;
}

.services-cta {
  text-align: center;
  margin-top: 48px;
}

/* ── Why Us ────────────────────────────────────────────────── */
.why-us { background: var(--navy-mid); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 56px;
}

.why-item {
  padding: 32px;
  border-radius: var(--radius-md);
  background: rgba(255,255,255,0.025);
  border: 1px solid var(--navy-border);
  transition: border-color 0.3s;
}

.why-item:hover { border-color: rgba(45, 107, 228, 0.4); }

.why-num {
  font-family: var(--font-head);
  font-size: 42px;
  font-weight: 700;
  color: rgba(45, 107, 228, 0.2);
  line-height: 1;
  margin-bottom: 16px;
  letter-spacing: -1px;
}

.why-item h3 {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--white);
}

.why-item p {
  font-size: 14px;
  color: var(--grey-400);
  line-height: 1.7;
}

/* ── Contact Form ──────────────────────────────────────────── */
.contact-section {
  background: var(--navy-deepest);
  position: relative;
  overflow: hidden;
}

.contact-section::before {
  content: '';
  position: absolute;
  bottom: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(45, 107, 228, 0.12), transparent 70%);
  pointer-events: none;
}

.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  align-items: start;
  position: relative;
}

.contact-info { padding-top: 8px; }

.contact-info h2 {
  font-family: var(--font-head);
  font-size: clamp(26px, 3vw, 36px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
  line-height: 1.2;
}

.contact-info p {
  color: var(--grey-400);
  font-size: 16px;
  line-height: 1.7;
  margin-bottom: 32px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--grey-400);
  margin-bottom: 12px;
}

.contact-detail a { color: var(--blue-soft); transition: color 0.2s; }
.contact-detail a:hover { color: var(--white); }

.contact-form-box {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 40px;
}

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

.form-group { margin-bottom: 20px; }

.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 500;
  color: var(--grey-400);
  margin-bottom: 8px;
  letter-spacing: 0.2px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%235A7899' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--grey-600); }

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--blue-bright);
  background: rgba(45, 107, 228, 0.06);
}

.form-group textarea { min-height: 120px; resize: vertical; }

.form-group select option { background: var(--navy-mid); color: var(--white); }

.form-submit { width: 100%; justify-content: center; padding: 15px; font-size: 16px; }

.form-message {
  display: none;
  padding: 14px 18px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  margin-bottom: 16px;
}

.form-message.success {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #86efac;
}

.form-message.error {
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
}

/* ── Page Header (inner pages) ─────────────────────────────── */
.page-header {
  padding: 140px 0 72px;
  background: var(--navy-deepest);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--navy-border);
}

.page-header::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(45, 107, 228, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(45, 107, 228, 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
}

.page-header::after {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at 50% 0%, rgba(45, 107, 228, 0.18), transparent 70%);
}

.page-header .container { position: relative; z-index: 1; }

.page-header h1 {
  font-family: var(--font-head);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  letter-spacing: -1px;
  line-height: 1.1;
  margin-bottom: 16px;
}

.page-header p {
  font-size: 18px;
  color: var(--grey-400);
  max-width: 520px;
}

/* ── Service Details (services page) ──────────────────────── */
.service-detail { padding: 80px 0; border-bottom: 1px solid var(--navy-border); }
.service-detail:last-child { border-bottom: none; }
.service-detail:nth-child(even) { background: var(--navy-surface); }

.service-detail .grid-2 { gap: 72px; }

.service-detail-reverse .grid-2 > *:first-child { order: 2; }
.service-detail-reverse .grid-2 > *:last-child  { order: 1; }

.service-detail h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 36px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.service-detail p {
  color: var(--grey-400);
  font-size: 16px;
  line-height: 1.75;
  margin-bottom: 24px;
}

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

.service-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--grey-200);
}

.service-list li::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue-glow);
  flex-shrink: 0;
  box-shadow: 0 0 6px var(--blue-glow);
}

.service-visual {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.service-visual-inner {
  padding: 40px;
  text-align: center;
  width: 100%;
}

.service-visual-icon {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: rgba(45, 107, 228, 0.12);
  border: 1px solid rgba(77, 142, 255, 0.3);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
  box-shadow: 0 0 40px rgba(45, 107, 228, 0.2);
}

.service-visual-icon svg { color: var(--blue-glow); width: 36px; height: 36px; }

/* ── CTA Block ─────────────────────────────────────────────── */
.cta-block {
  background: linear-gradient(135deg, var(--navy-mid) 0%, var(--navy-deepest) 100%);
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-block::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 50%, rgba(45, 107, 228, 0.15), transparent 65%);
}

.cta-block .container { position: relative; }

.cta-block h2 {
  font-family: var(--font-head);
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 12px;
}

.cta-block p {
  color: var(--grey-400);
  font-size: 17px;
  margin-bottom: 32px;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

/* ── About page ────────────────────────────────────────────── */
.about-mission {
  background: var(--navy-deepest);
  padding: 96px 0;
}

.about-mission h2 {
  font-family: var(--font-head);
  font-size: clamp(22px, 3.5vw, 36px);
  font-weight: 600;
  color: var(--blue-soft);
  margin-bottom: 24px;
  line-height: 1.3;
}

.about-mission p {
  font-size: 17px;
  color: var(--grey-400);
  line-height: 1.8;
  max-width: 680px;
}

.about-overview {
  background: var(--navy-surface);
  padding: 80px 0;
  border-top: 1px solid var(--navy-border);
  border-bottom: 1px solid var(--navy-border);
}

.overview-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.overview-text h3 {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--blue-glow);
  margin-bottom: 16px;
}

.overview-text h2 {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.3px;
  margin-bottom: 20px;
}

.overview-text p {
  font-size: 16px;
  color: var(--grey-400);
  line-height: 1.75;
  margin-bottom: 16px;
}

.overview-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.stat-card {
  background: var(--navy-deep);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-md);
  padding: 24px 28px;
  transition: border-color 0.3s;
}

.stat-card:hover { border-color: var(--blue-bright); }

.stat-value {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 700;
  color: var(--blue-glow);
  letter-spacing: -1px;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: var(--grey-600);
}

.approach-section {
  background: var(--navy-deepest);
  padding: 96px 0;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 56px;
  background: var(--navy-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.approach-step {
  background: var(--navy-surface);
  padding: 40px 32px;
  position: relative;
  transition: background 0.3s;
}

.approach-step:hover { background: var(--navy-mid); }

.step-arrow {
  position: absolute;
  right: -12px; top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  color: var(--blue-glow);
}

.approach-step:last-child .step-arrow { display: none; }

.step-num {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 700;
  color: rgba(45, 107, 228, 0.15);
  line-height: 1;
  margin-bottom: 12px;
  letter-spacing: -2px;
}

.approach-step h3 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 10px;
}

.approach-step p {
  font-size: 14px;
  color: var(--grey-400);
  line-height: 1.65;
}

/* ── Terms / Legal ─────────────────────────────────────────── */
.legal-page {
  background: var(--navy-deep);
  padding: 60px 0 96px;
}

.legal-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 48px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--navy-border);
}

.legal-nav a {
  font-size: 13px;
  color: var(--blue-soft);
  padding: 6px 14px;
  border: 1px solid var(--navy-border);
  border-radius: 100px;
  transition: all 0.2s;
}

.legal-nav a:hover {
  border-color: var(--blue-bright);
  color: var(--white);
}

.legal-content {
  max-width: 740px;
}

.legal-date {
  font-size: 13px;
  color: var(--grey-600);
  margin-bottom: 8px;
}

.legal-intro {
  font-size: 16px;
  color: var(--grey-400);
  margin-bottom: 40px;
  line-height: 1.7;
}

.legal-section {
  margin-bottom: 48px;
}

.legal-section h2 {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--navy-border);
}

.legal-section p {
  font-size: 15px;
  color: var(--grey-400);
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal-section ul {
  list-style: disc;
  padding-left: 20px;
  margin-bottom: 12px;
}

.legal-section ul li {
  font-size: 15px;
  color: var(--grey-400);
  line-height: 1.8;
  margin-bottom: 6px;
}

/* ── Contact Page ──────────────────────────────────────────── */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 80px;
  align-items: start;
}

.contact-details-card {
  background: var(--navy-surface);
  border: 1px solid var(--navy-border);
  border-radius: var(--radius-lg);
  padding: 36px;
  margin-top: 32px;
}

.contact-details-card h3 {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--blue-soft);
  letter-spacing: 0.3px;
}

.detail-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 14px;
  color: var(--grey-400);
  align-items: flex-start;
  line-height: 1.6;
}

.detail-row svg { color: var(--blue-glow); flex-shrink: 0; margin-top: 2px; }
.detail-row a { color: var(--blue-soft); transition: color 0.2s; }
.detail-row a:hover { color: var(--white); }

/* ── Footer ────────────────────────────────────────────────── */
.site-footer {
  background: var(--navy-deepest);
  border-top: 1px solid var(--navy-border);
  padding: 48px 0 32px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 13px;
  color: var(--grey-600);
  line-height: 1.7;
  margin-top: 16px;
  max-width: 280px;
}

.footer-col h4 {
  font-family: var(--font-head);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--grey-600);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul li a {
  font-size: 13px;
  color: var(--grey-400);
  transition: color 0.2s;
}

.footer-col ul li a:hover { color: var(--white); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--navy-border);
  gap: 16px;
  flex-wrap: wrap;
}

.footer-copy {
  font-size: 12px;
  color: var(--grey-600);
}

.footer-reg {
  font-size: 12px;
  color: var(--grey-600);
}

/* ── About Mission 2-col ───────────────────────────────────── */
.about-mission-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-mission-visual svg {
  width: 100%;
  max-width: 380px;
  height: auto;
  filter: drop-shadow(0 0 32px rgba(45, 107, 228, 0.18));
}

/* ── Approach step icon ─────────────────────────────────────── */
.step-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(45, 107, 228, 0.1);
  border: 1px solid var(--navy-border);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-glow);
}

/* ── Hero Visual (Globe Illustration) ──────────────────────── */
.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 48px;
  align-items: center;
  padding: 60px 0;
}

.hero-visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.globe-svg {
  width: 100%;
  max-width: 620px;
  height: auto;
  filter: drop-shadow(0 0 48px rgba(45, 107, 228, 0.22));
}

.route-line {
  stroke-dasharray: 5 4;
  animation: route-flow 4s linear infinite;
}

@keyframes route-flow {
  to { stroke-dashoffset: -54; }
}

.port-pulse {
  transform-box: fill-box;
  transform-origin: 50% 50%;
  animation: port-pulse 2.5s ease-out infinite;
}

@keyframes port-pulse {
  0%   { transform: scale(1); opacity: 0.55; }
  100% { transform: scale(4.5); opacity: 0; }
}

/* ── Animations ────────────────────────────────────────────── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger delays */
.fade-up:nth-child(1) { transition-delay: 0s; }
.fade-up:nth-child(2) { transition-delay: 0.08s; }
.fade-up:nth-child(3) { transition-delay: 0.16s; }
.fade-up:nth-child(4) { transition-delay: 0.24s; }
.fade-up:nth-child(5) { transition-delay: 0.32s; }

/* ── Responsive — Tablet (768px) ───────────────────────────── */
@media (max-width: 1024px) {
  .hero-inner          { grid-template-columns: 1fr; padding: 40px 0; }
  .hero-visual         { display: none; }
  .about-mission-inner { grid-template-columns: 1fr; }
  .about-mission-visual { display: none; }
  .grid-2          { grid-template-columns: 1fr; gap: 40px; }
  .services-grid   { grid-template-columns: 1fr 1fr; }
  .why-grid        { grid-template-columns: 1fr 1fr; }
  .footer-inner    { grid-template-columns: 1fr 1fr; }
  .contact-wrap    { grid-template-columns: 1fr; gap: 48px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 40px; }
  .overview-grid   { grid-template-columns: 1fr; gap: 40px; }
  .approach-steps  { grid-template-columns: 1fr; }
  .step-arrow      { display: none; }
  .service-detail-reverse .grid-2 > *:first-child { order: unset; }
  .service-detail-reverse .grid-2 > *:last-child  { order: unset; }
  .trust-items     { gap: 20px; justify-content: flex-start; }
}

/* ── Responsive — Mobile (480px) ───────────────────────────── */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .section--sm { padding: 40px 0; }

  .nav-links { display: none; flex-direction: column; gap: 0; }
  .nav-links.open {
    display: flex;
    position: absolute;
    top: 72px; left: 0; right: 0; bottom: 0;
    background: transparent;
    padding: 32px 24px;
    border-top: 1px solid var(--navy-border);
    overflow-y: auto;
    z-index: 1;
  }
  .nav-links.open a {
    padding: 16px 32px;
    border-bottom: 1px solid var(--navy-border);
    font-size: 18px;
  }
  .nav-links.open .nav-cta { margin-left: 0; margin-top: 24px; }

  .nav-toggle { display: flex; }

  .services-grid { grid-template-columns: 1fr; }
  .why-grid      { grid-template-columns: 1fr; }
  .grid-3        { grid-template-columns: 1fr; }
  .footer-inner  { grid-template-columns: 1fr; gap: 32px; }
  .form-row      { grid-template-columns: 1fr; }

  .hero h1 { letter-spacing: -0.8px; }
  .hero-actions { flex-direction: column; align-items: flex-start; }

  .trust-items { flex-direction: column; align-items: flex-start; }

  .legal-content { max-width: 100%; }

  .footer-bottom { flex-direction: column; align-items: flex-start; }
}
