/* ===================================================
   Aolanxue — Vibrant Cross-Border E-Commerce Logistics
   =================================================== */

:root {
  --bg: #f8fafc;
  --bg-white: #ffffff;
  --bg-soft: #f1f5f9;
  --text: #0f172a;
  --text-muted: #64748b;
  --text-light: #94a3b8;

  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --pink: #ec4899;
  --orange: #f97316;
  --cyan: #06b6d4;
  --green: #10b981;

  --gradient-main: linear-gradient(135deg, #6366f1 0%, #a855f7 40%, #ec4899 70%, #f97316 100%);
  --gradient-hero: linear-gradient(135deg, #eef2ff 0%, #fdf2f8 35%, #fff7ed 70%, #ecfeff 100%);
  --gradient-btn: linear-gradient(135deg, #6366f1, #ec4899);
  --gradient-card: linear-gradient(135deg, rgba(99,102,241,0.08), rgba(236,72,153,0.06));

  --shadow-sm: 0 2px 8px rgba(99, 102, 241, 0.08);
  --shadow-md: 0 8px 32px rgba(99, 102, 241, 0.12);
  --shadow-lg: 0 20px 60px rgba(99, 102, 241, 0.15);

  --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Noto Sans Thai', 'Noto Sans', sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 72px;
  --radius: 16px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; transition: color 0.3s; }
button { cursor: pointer; border: none; background: none; font-family: inherit; color: inherit; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-inline: clamp(20px, 5vw, 40px);
}

.grain { display: none; }

/* Loader */
.loader {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: var(--gradient-hero);
  display: grid;
  place-items: center;
  transition: opacity 0.6s, visibility 0.6s;
}

.loader.hidden { opacity: 0; visibility: hidden; }

.loader-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.loader-mark {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 20px;
  animation: loaderPulse 1.5s ease-in-out infinite;
}

.loader-logo-img {
  display: block;
  height: 72px;
  width: 72px;
  margin: 0 auto;
  object-fit: contain;
  border-radius: 14px;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.85; transform: scale(1.03); }
}

.loader-text {
  font-size: 1.125rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 24px;
  text-align: center;
  width: 100%;
}

.loader-line {
  width: 148px;
  height: 3px;
  background: rgba(99, 102, 241, 0.15);
  border-radius: 3px;
  margin: 0 auto;
  overflow: hidden;
}

.loader-line span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--gradient-btn);
  border-radius: 3px;
  animation: loadBar 1.2s var(--ease) forwards;
}

@keyframes loadBar { to { width: 100%; } }
@keyframes loaderSpin { to { transform: rotate(360deg); } }

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: all 0.4s var(--ease);
}

.header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 40px;
  width: 40px;
  object-fit: contain;
  border-radius: 8px;
}

.header.scrolled .brand-logo {
  height: 36px;
  width: 36px;
}

.nav { display: flex; gap: 2px; }

.nav-item {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: 8px;
  transition: all 0.3s;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary);
  background: rgba(99, 102, 241, 0.08);
}

.header.scrolled .nav-item { color: var(--text-muted); }
.header.scrolled .nav-item.active { color: var(--primary); }

.header:not(.scrolled) .nav-item { color: rgba(15, 23, 42, 0.75); }
.header:not(.scrolled) .nav-item.active { color: var(--primary-dark); }

.header-right { display: flex; align-items: center; gap: 12px; }

.lang-select { position: relative; }

.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.8125rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 100px;
  border: 1px solid rgba(99, 102, 241, 0.2);
  background: rgba(255, 255, 255, 0.7);
  color: var(--text-muted);
}

.lang-current svg { width: 10px; height: 10px; }

.lang-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 140px;
  background: white;
  border-radius: 12px;
  padding: 6px;
  box-shadow: var(--shadow-lg);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.3s;
}

.lang-select.open .lang-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.lang-dropdown button {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  font-size: 0.875rem;
  border-radius: 8px;
  color: var(--text-muted);
}

.lang-dropdown button:hover {
  background: rgba(99, 102, 241, 0.08);
  color: var(--primary);
}

.btn-nav {
  font-size: 0.8125rem;
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 100px;
  background: var(--gradient-btn);
  color: white;
  box-shadow: 0 4px 16px rgba(99, 102, 241, 0.35);
  transition: transform 0.3s, box-shadow 0.3s;
}

.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(236, 72, 153, 0.4);
}

.menu-btn {
  display: none;
  flex-direction: column;
  gap: 6px;
  padding: 8px;
}

.menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s;
}

.menu-btn.active span:first-child { transform: rotate(45deg) translate(3px, 3px); }
.menu-btn.active span:last-child { transform: rotate(-45deg) translate(3px, -3px); }

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 100px;
  transition: all 0.35s var(--ease);
}

.btn-primary {
  background: var(--gradient-btn);
  color: white;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(236, 72, 153, 0.45);
}

.btn-outline {
  border: 2px solid rgba(99, 102, 241, 0.3);
  color: var(--primary-dark);
  background: rgba(255, 255, 255, 0.8);
}

.btn-outline:hover {
  border-color: var(--primary);
  background: white;
}

.btn-full { width: 100%; }

/* Hero */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  overflow: hidden;
}

.hero-visual {
  position: absolute;
  inset: 0;
  background: var(--gradient-hero);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 10s ease-in-out infinite;
}

.hero-orb-1 {
  width: 400px;
  height: 400px;
  background: rgba(99, 102, 241, 0.25);
  top: -5%;
  right: 5%;
}

.hero-orb-2 {
  width: 350px;
  height: 350px;
  background: rgba(236, 72, 153, 0.2);
  bottom: 15%;
  left: -5%;
  animation-delay: -3s;
}

.hero-orb-3 {
  width: 250px;
  height: 250px;
  background: rgba(249, 115, 22, 0.2);
  top: 35%;
  left: 35%;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(15px, -20px); }
}

.hero-globe {
  position: absolute;
  top: 50%;
  right: -2%;
  transform: translateY(-55%);
  width: min(52vw, 620px);
  opacity: 0.85;
}

.globe-svg { width: 100%; height: auto; }

.route-arc {
  stroke-dasharray: 600;
  stroke-dashoffset: 600;
  animation: drawRoute 3s var(--ease) forwards;
}

.route-2 { animation-delay: 0.4s; }
.route-3 { animation-delay: 0.8s; }

.route-dot { animation: dotPulse 2.5s ease-in-out infinite; }

@keyframes drawRoute { to { stroke-dashoffset: 0; } }
@keyframes dotPulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}

.hero-body {
  position: relative;
  z-index: 2;
  padding-top: calc(var(--header-h) + 80px);
  padding-bottom: 40px;
  max-width: 680px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(99, 102, 241, 0.2);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--primary-dark);
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}

.eyebrow-line {
  width: 24px;
  height: 3px;
  background: var(--gradient-btn);
  border-radius: 3px;
}

.hero-headline { margin-bottom: 24px; }

.hero-headline .line {
  display: block;
  font-size: clamp(2.5rem, 6.5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.12;
  color: var(--text);
  letter-spacing: -0.02em;
}

.hero-headline .line.accent {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  max-width: 540px;
  line-height: 1.85;
  margin-bottom: 36px;
}

.hero-cta { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-metrics {
  position: relative;
  z-index: 2;
  background: white;
  border-top: 1px solid rgba(99, 102, 241, 0.1);
  box-shadow: 0 -8px 32px rgba(99, 102, 241, 0.06);
}

.metrics-track {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-block: 32px;
  flex-wrap: wrap;
  gap: 20px;
}

.metric { text-align: center; flex: 1; min-width: 120px; }

.metric-value {
  display: block;
  font-size: clamp(1.75rem, 3.5vw, 2.75rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 6px;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-value em { font-style: normal; }

.metric-label {
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--text-muted);
}

.metric-divider {
  width: 1px;
  height: 40px;
  background: rgba(99, 102, 241, 0.15);
}

/* Marquee */
.marquee {
  overflow: hidden;
  padding: 16px 0;
  background: var(--gradient-btn);
}

.marquee-track {
  display: flex;
  gap: 40px;
  animation: marquee 25s linear infinite;
  white-space: nowrap;
}

.marquee-track span {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.95);
}

.marquee-track .dot { color: rgba(255, 255, 255, 0.5); font-size: 0.5rem; }

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* Sections */
.section { padding: clamp(72px, 10vw, 120px) 0; }

.label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 12px;
}

.label.center { display: block; text-align: center; }

.heading {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  color: var(--text);
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.heading.center { text-align: center; }

.lead {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.75;
}

.section-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.section-desc {
  max-width: 400px;
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.75;
}

/* About */
.about { background: white; }

.about-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: clamp(32px, 5vw, 80px);
  margin-bottom: 48px;
  align-items: start;
}

.about-right p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  line-height: 1.9;
  margin-bottom: 16px;
}

.about-cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.about-card {
  padding: 28px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: all 0.35s;
}

.about-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.2);
}

.about-card.featured {
  background: var(--gradient-card);
  border-color: rgba(99, 102, 241, 0.25);
}

.card-num {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  opacity: 0.5;
  margin-bottom: 16px;
}

.card-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 6px;
}

.card-value {
  font-size: 1.375rem;
  font-weight: 800;
  color: var(--text);
}

/* Services Bento */
.services { background: var(--bg); }

.bento {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.bento-item {
  padding: 32px 28px;
  background: white;
  border-radius: var(--radius);
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: all 0.35s var(--ease);
  position: relative;
  overflow: hidden;
}

.bento-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-btn);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s;
}

.bento-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.2);
}

.bento-item:hover::before { transform: scaleX(1); }

.bento-large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 380px;
  background: var(--gradient-hero);
}

.bento-wide { grid-column: span 2; }

.bento-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(99,102,241,0.15), transparent 60%);
}

.bento-large .bento-content { position: relative; z-index: 1; }

.bento-index {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  opacity: 0.35;
  line-height: 1;
  margin-bottom: 16px;
}

.bento-item h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 10px;
}

.bento-item p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Advantages */
.advantages { padding: 0; }

.advantages-wrap {
  background: var(--gradient-btn);
  padding: clamp(72px, 10vw, 120px) 0;
  position: relative;
  overflow: hidden;
}

.advantages-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.advantages-wrap .label { color: rgba(255,255,255,0.8); }
.advantages-wrap .heading { color: white; }

.adv-list {
  margin-top: 48px;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.adv-row {
  padding: 28px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  transition: transform 0.35s, background 0.35s;
}

.adv-row:hover {
  transform: translateY(-4px);
  background: rgba(255, 255, 255, 0.18);
}

.adv-num {
  font-size: 2rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.4);
  line-height: 1;
  margin-bottom: 12px;
}

.adv-body h3 {
  font-size: 1.125rem;
  font-weight: 800;
  color: white;
  margin-bottom: 8px;
}

.adv-body p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.75;
}

/* Routes */
.section.routes {
  background: white;
  padding-bottom: 36px;
}

.routes-header { margin-bottom: 48px; }

.routes-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.route-card {
  padding: 32px 28px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(99, 102, 241, 0.1);
  transition: all 0.35s;
}

.route-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.route-card.primary {
  background: var(--gradient-hero);
  border-color: rgba(99, 102, 241, 0.25);
  box-shadow: var(--shadow-sm);
}

.route-tag {
  display: inline-block;
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(99, 102, 241, 0.12);
  color: var(--primary);
  margin-bottom: 20px;
}

.route-flags {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.route-flags .arrow {
  font-size: 1rem;
  font-weight: 800;
  background: var(--gradient-btn);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.route-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.route-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Partners */
.section.partners {
  background: var(--bg);
  padding-top: 40px;
  padding-bottom: 12px;
}

.partner-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}

.partner-item {
  padding: 32px 24px;
  background: white;
  border-radius: var(--radius);
  text-align: center;
  border: 1px solid rgba(99, 102, 241, 0.08);
  transition: all 0.35s;
}

.partner-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.partner-item strong {
  display: block;
  font-size: 1.375rem;
  font-weight: 800;
  margin-bottom: 10px;
}

.partner-item.lazada strong { color: #0f1467; }
/* .partner-item.tiktok strong { color: #010101; } */
.partner-item.cainiao strong { color: #0066ff; }
.partner-item.shopee strong { color: #ee4d2d; }

.partner-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* News */
.news { background: white; }

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

.news-item {
  padding: 28px 24px;
  background: var(--bg);
  border-radius: var(--radius);
  border: 1px solid rgba(99, 102, 241, 0.08);
  display: flex;
  flex-direction: column;
  transition: all 0.35s;
}

.news-item:hover {
  box-shadow: var(--shadow-md);
  border-color: rgba(99, 102, 241, 0.2);
}

.news-item.featured {
  background: var(--gradient-hero);
  border-color: rgba(99, 102, 241, 0.2);
}

.news-item time {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 14px;
}

.news-item h3 {
  font-size: 1.0625rem;
  font-weight: 800;
  line-height: 1.45;
  margin-bottom: 10px;
  flex: 1;
}

.news-item p {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
}

.news-more {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary);
}

.news-more:hover { color: var(--pink); }

/* Contact — centered card layout */
.section.contact {
  background: var(--bg);
  padding-top: 36px;
  padding-bottom: clamp(72px, 10vw, 120px);
}

.contact-header {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 48px;
}

.contact-intro {
  font-size: 1.0625rem;
  color: var(--text-muted);
  margin-top: 12px;
  line-height: 1.75;
}

.contact-card {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 0;
  background: white;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(99, 102, 241, 0.1);
  max-width: 100%;
}

.contact-info {
  padding: clamp(36px, 5vw, 56px);
  background: var(--gradient-btn);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-highlight {
  font-size: 1.125rem;
  font-weight: 800;
  line-height: 1.5;
  margin-bottom: 36px;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.contact-list { display: flex; flex-direction: column; gap: 24px; }

.contact-row {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  font-size: 1.25rem;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  flex-shrink: 0;
}

.contact-key {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  opacity: 0.8;
  margin-bottom: 4px;
}

.contact-val {
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.55;
}

.form {
  padding: clamp(36px, 5vw, 56px);
}

.form-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 24px;
  color: var(--text);
}

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

.field { margin-bottom: 18px; }

.field label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.field input,
.field textarea {
  width: 100%;
  padding: 13px 16px;
  background: var(--bg);
  border: 1.5px solid rgba(99, 102, 241, 0.12);
  border-radius: 12px;
  font-family: inherit;
  font-size: 0.9375rem;
  color: var(--text);
  transition: border-color 0.3s, box-shadow 0.3s;
}

.field input:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1);
  background: white;
}

.field textarea { resize: vertical; min-height: 110px; }

.form-tip {
  margin-top: 12px;
  font-size: 0.8125rem;
  text-align: center;
  line-height: 1.6;
}

.form-tip.error { color: #ef4444; }

/* Toast notifications */
.toast-stack {
  position: fixed;
  top: calc(var(--header-h) + 16px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  width: min(420px, calc(100vw - 32px));
}

.toast {
  position: relative;
  pointer-events: auto;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(99, 102, 241, 0.14);
  opacity: 0;
  transform: translateY(-16px) scale(0.96);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease);
}

.toast::before {
  content: '';
  position: absolute;
  inset: 0 auto 0 0;
  width: 4px;
  border-radius: var(--radius) 0 0 var(--radius);
  background: var(--gradient-main);
}

.toast-error::before {
  background: linear-gradient(180deg, #ef4444, #f97316);
}

.toast.show {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.toast.hide {
  opacity: 0;
  transform: translateY(-8px) scale(0.98);
}

.toast-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: var(--gradient-btn);
  box-shadow: 0 4px 12px rgba(99, 102, 241, 0.25);
}

.toast-error .toast-icon {
  background: linear-gradient(135deg, #ef4444, #f97316);
  box-shadow: 0 4px 12px rgba(239, 68, 68, 0.25);
}

.toast-msg {
  flex: 1;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--text);
  padding-top: 6px;
}

.toast-close {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  font-size: 1.25rem;
  line-height: 1;
  color: var(--text-light);
  transition: background 0.2s, color 0.2s;
}

.toast-close:hover {
  background: var(--bg-soft);
  color: var(--text);
}

.btn-primary:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}

/* Footer */
.footer {
  background: #0f172a;
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-block: 56px 40px;
}

.footer-logo-img {
  display: block;
  height: 48px;
  width: 48px;
  object-fit: contain;
  margin-bottom: 14px;
  border-radius: 10px;
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cyan);
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  font-size: 0.875rem;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.6);
}

.footer-col a:hover { color: white; }

.footer-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-block: 20px;
}

.footer-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.8125rem;
}

.footer-bar a { color: rgba(255, 255, 255, 0.5); }
.footer-bar a:hover { color: var(--cyan); }

/* Scroll reveal */
.reveal { opacity: 1; transform: none; }

.js .reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.js .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 1100px) {
  .bento { grid-template-columns: 1fr 1fr; }
  .bento-large { grid-row: span 1; min-height: 260px; }
  .bento-wide { grid-column: span 2; }
  .routes-grid { grid-template-columns: 1fr; }
  .news-row { grid-template-columns: 1fr; }
  .partner-row { grid-template-columns: 1fr 1fr; }
  .adv-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .nav {
    position: fixed;
    inset: var(--header-h) 0 0 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    justify-content: center;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s;
    box-shadow: var(--shadow-lg);
  }

  .nav.open { opacity: 1; visibility: visible; }

  .nav-item { font-size: 1.125rem; padding: 14px 24px; }

  .menu-btn { display: flex; }
  .btn-nav { display: none; }

  .hero-globe { opacity: 0.3; right: -25%; width: 85vw; }

  .about-layout { grid-template-columns: 1fr; }
  .about-cards { grid-template-columns: 1fr 1fr; }
  .contact-card { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; }
  .metric-divider { display: none; }
}

@media (max-width: 600px) {
  .container { padding-inline: 20px; }

  .bento, .about-cards, .partner-row { grid-template-columns: 1fr; }
  .bento-wide { grid-column: span 1; }
  .form-row { grid-template-columns: 1fr; }
  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }

  .footer-inner {
    gap: 28px;
    padding-block: 40px 32px;
  }

  .footer-brand p { max-width: none; }

  .footer-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .contact-card {
    border-radius: 16px;
    margin-inline: 0;
  }

  .brand-logo { height: 34px; width: 34px; }

  .footer-logo-img { height: 40px; width: 40px; }

  .contact-info,
  .form {
    padding: 28px 20px;
  }

  .section { padding-block: 56px; }
}
