/* ============================================================
   ARSALAN TRADING — deep-navy / amber logistics design
   ============================================================ */

:root {
  --navy-900: #081426;
  --navy-800: #0b1f3a;
  --navy-700: #12294a;
  --ink: #17233a;
  --muted: #5b6b84;
  --amber: #f5a623;
  --amber-dark: #d98b0a;
  --bg: #ffffff;
  --bg-alt: #f4f6fa;
  --line: #e3e8f0;
  --radius: 14px;
  --font-head: "Sora", "Noto Sans SC", sans-serif;
  --font-body: "Inter", "Noto Sans SC", sans-serif;
  --shadow: 0 10px 30px rgba(8, 20, 38, 0.08);
}

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

html { scroll-behavior: smooth; }

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

body.lang-zh { font-family: "Noto Sans SC", var(--font-body); }
body.lang-zh h1, body.lang-zh h2, body.lang-zh h3 { font-family: "Noto Sans SC", var(--font-head); letter-spacing: 0; }

h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; color: var(--navy-800); }

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

.container { width: min(1160px, 92%); margin: 0 auto; }
.container.narrow { width: min(780px, 92%); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.9rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.95rem;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-accent { background: var(--amber); color: var(--navy-900); box-shadow: 0 8px 20px rgba(245, 166, 35, 0.35); }
.btn-accent:hover { background: var(--amber-dark); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, 0.4); color: #fff; }
.btn-ghost:hover { border-color: var(--amber); color: var(--amber); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--navy-900);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.header-inner { display: flex; align-items: center; gap: 2rem; height: 76px; }

.brand { display: flex; align-items: center; gap: 0.7rem; }
.brand-logo {
  height: 54px;
  width: auto;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.35));
}
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--font-head); color: #fff; letter-spacing: 0.14em; font-size: 1.05rem; }
.brand-text small { color: rgba(255, 255, 255, 0.55); font-size: 0.68rem; }

.main-nav { display: flex; gap: 1.6rem; margin-left: auto; }
.main-nav a {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.92rem;
  font-weight: 500;
  padding: 0.3rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s;
}
.main-nav a:hover { color: var(--amber); }

.header-actions { display: flex; align-items: center; gap: 0.9rem; }
.lang-toggle {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 999px;
  padding: 0.42rem 1rem;
  font-size: 0.85rem;
  font-family: "Noto Sans SC", var(--font-body);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}
.lang-toggle:hover { border-color: var(--amber); color: var(--amber); }
.header-cta { padding: 0.6rem 1.4rem; font-size: 0.85rem; }

.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: 0.25s; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  background: radial-gradient(120% 140% at 80% -20%, var(--navy-700) 0%, var(--navy-800) 45%, var(--navy-900) 100%);
  color: #fff;
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; }
.hero-routes { width: 100%; height: 100%; }
.hero-inner { position: relative; padding: 2.5rem 0 6rem; max-width: 820px; }

/* Hero entrance: staggered fade-up */
.hero-eyebrow, .hero-title, .hero-subtitle, .hero-services, .hero-actions {
  opacity: 0;
  animation: heroFadeUp 0.8s ease forwards;
}
.hero-title    { animation-delay: 0.12s; }
.hero-subtitle { animation-delay: 0.24s; }
.hero-services { animation-delay: 0.36s; }
.hero-actions  { animation-delay: 0.48s; }

/* Hero artwork: layered scene — globe base, sailing ship, flying plane */
.hero-art { position: relative; margin-top: 3rem; }
.hero-art img {
  opacity: 0;
  animation: heroArtIn 1.1s ease 0.35s forwards;
  filter: drop-shadow(0 24px 40px rgba(0, 0, 0, 0.45));
}
.art-base { width: 100%; height: auto; }
.art-ship, .art-plane { position: absolute; height: auto; }
.art-ship {
  left: 6.8%; top: 37.5%; width: 30.86%;
  animation: heroArtIn 1.1s ease 0.5s forwards, shipSail 9s ease-in-out 1.8s infinite;
}
.art-plane {
  left: 71.09%; top: 5.5%; width: 20.94%;
  animation: planeFly 11s linear 0.8s infinite;
}

/* Route lines drifting like live shipping lanes */
.hero-routes path { animation: routeDash 30s linear infinite; }

@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroArtIn {
  from { opacity: 0; transform: translateY(40px) scale(0.98); }
  to   { opacity: 1; transform: none; }
}
@keyframes shipSail {
  0%, 100% { transform: translateX(0) translateY(0) rotate(0deg); }
  30%      { transform: translateX(32%) translateY(-8px) rotate(0.6deg); }
  55%      { transform: translateX(6%) translateY(-3px) rotate(-0.5deg); }
  80%      { transform: translateX(-24%) translateY(-7px) rotate(-1deg); }
}
@keyframes planeFly {
  0%   { transform: translate(-320%, 130%) rotate(-2deg); opacity: 0; }
  8%   { opacity: 1; }
  90%  { opacity: 1; }
  100% { transform: translate(140%, -65%) rotate(1deg); opacity: 0; }
}
@keyframes routeDash {
  to { stroke-dashoffset: -600; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero-title, .hero-subtitle, .hero-services, .hero-actions,
  .hero-art img, .art-ship, .art-plane {
    animation: none; opacity: 1;
  }
  .hero-routes path { animation: none; }
}

.hero-eyebrow {
  color: var(--amber);
  font-family: var(--font-head);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}
.hero-title {
  color: #fff;
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800;
  margin-bottom: 1.2rem;
}
.hero-title::after {
  content: "";
  display: block;
  width: 88px; height: 5px;
  background: var(--amber);
  border-radius: 3px;
  margin-top: 1.2rem;
}
.hero-subtitle { font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255, 255, 255, 0.85); margin-bottom: 0.8rem; }
.hero-services { color: rgba(255, 255, 255, 0.55); font-size: 0.95rem; letter-spacing: 0.04em; margin-bottom: 2.4rem; }
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  color: #fff;
  padding: 5.5rem 0 4rem;
}
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 800; }
.page-hero h1::after {
  content: "";
  display: block;
  width: 70px; height: 4px;
  background: var(--amber);
  border-radius: 3px;
  margin-top: 1rem;
}

/* ---------- Sections ---------- */
.section { padding: 5.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-head { margin-bottom: 3rem; }

.kicker {
  color: var(--amber-dark);
  font-family: var(--font-head);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  margin-bottom: 0.8rem;
}
.page-hero .kicker { color: var(--amber); }

.section-title { font-size: clamp(1.7rem, 3.4vw, 2.4rem); font-weight: 700; margin-bottom: 1.4rem; }
.lead { color: var(--muted); font-size: 1.08rem; margin-bottom: 1.2rem; }
.lead.center { text-align: center; max-width: 640px; margin-left: auto; margin-right: auto; }
.lead.note { margin-top: 2.5rem; font-style: italic; }

/* ---------- Check grid (why choose us) ---------- */
.check-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}
.check-item {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  font-weight: 500;
  transition: transform 0.2s, box-shadow 0.2s;
}
.check-item:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.check-icon {
  flex: 0 0 30px;
  width: 30px; height: 30px;
  display: grid; place-items: center;
  background: rgba(245, 166, 35, 0.15);
  color: var(--amber-dark);
  border-radius: 50%;
  font-weight: 700;
}

/* ---------- Vision / Mission ---------- */
.vm-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.6rem; }
.vm-card {
  position: relative;
  background: var(--navy-800);
  color: rgba(255, 255, 255, 0.8);
  border-radius: var(--radius);
  padding: 2.6rem 2.2rem;
  overflow: hidden;
}
.vm-card h3 { color: #fff; font-size: 1.4rem; margin-bottom: 0.8rem; }
.vm-num {
  position: absolute;
  top: 1rem; right: 1.4rem;
  font-family: var(--font-head);
  font-size: 3.4rem;
  font-weight: 800;
  color: rgba(245, 166, 35, 0.18);
}

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.6rem; }
.service-card {
  background: #fff;
  border: 1px solid var(--line);
  border-top: 4px solid transparent;
  border-radius: var(--radius);
  padding: 2.2rem 1.9rem;
  transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-top-color: var(--amber); }
.service-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 1.2rem; }
.service-icon { font-size: 2rem; }
.service-num { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; color: var(--line); }
.service-card h3 { font-size: 1.25rem; margin-bottom: 0.6rem; }
.service-card p { color: var(--muted); font-size: 0.98rem; }

/* ---------- Countries ---------- */
.country-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
  margin-top: 2.5rem;
}
.country-card {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.15rem 1.4rem;
  font-family: var(--font-head);
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.country-card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.country-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(245, 166, 35, 0.18); }

/* ---------- Why work with us ---------- */
.why-list { max-width: 760px; margin: 0 auto; display: grid; gap: 0.9rem; }
.why-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.3rem 1.7rem;
  transition: transform 0.2s, box-shadow 0.2s;
}
.why-item:hover { transform: translateX(6px); box-shadow: var(--shadow); }
.why-num { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; color: var(--amber); min-width: 2.2rem; }
.why-text { font-family: var(--font-head); font-weight: 600; font-size: 1.08rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.5rem; align-items: start; }
.contact-q { font-family: var(--font-head); font-weight: 700; font-size: 1.35rem; color: var(--navy-800); margin-bottom: 0.4rem; }
.contact-intro .lead { margin-top: 1.4rem; }
.contact-cards { display: grid; gap: 1.4rem; }
.contact-card {
  background: var(--bg-alt);
  border-left: 4px solid var(--amber);
  border-radius: var(--radius);
  padding: 1.8rem 2rem;
}
.contact-card h3 { font-size: 1.05rem; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 0.7rem; }
.contact-card p { color: var(--muted); }
.contact-card a:hover { color: var(--amber-dark); }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--navy-800), var(--navy-900)); padding: 4rem 0; }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.cta-band h2 { color: #fff; font-size: clamp(1.3rem, 2.6vw, 1.8rem); max-width: 640px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: rgba(255, 255, 255, 0.65); }
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1.2fr;
  gap: 3rem;
  padding: 4rem 0 3rem;
}
.footer-company { font-family: var(--font-head); font-weight: 700; color: #fff; font-size: 1.15rem; margin-bottom: 0.4rem; }
.footer-tagline { color: var(--amber); font-size: 0.92rem; margin-bottom: 1rem; }
.footer-services { font-size: 0.85rem; }
.footer-col h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  margin-bottom: 1.1rem;
}
.footer-nav { display: grid; gap: 0.55rem; }
.footer-nav a, .footer-col a { font-size: 0.92rem; transition: color 0.2s; }
.footer-nav a:hover, .footer-col a:hover { color: var(--amber); }
.footer-col p { margin-bottom: 0.4rem; }
.footer-address { font-size: 0.88rem; margin-top: 0.8rem; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, 0.08); padding: 1.4rem 0; font-size: 0.85rem; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .main-nav {
    display: none;
    position: absolute;
    top: 76px; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--navy-900);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 0.6rem 4%;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 0.85rem 0; border-bottom: 1px solid rgba(255, 255, 255, 0.06); }
  .nav-burger { display: block; }
  .header-cta { display: none; }
  .contact-grid { grid-template-columns: 1fr; gap: 2.4rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.2rem; }
  .hero-inner { padding: 2rem 0 4rem; }
  .brand-logo { height: 44px; }
}
