/* finelogistics_site: corporate-forwarder style (clean, bright, restrained) */

:root {
  --bg: #f6f7f9;
  --paper: #ffffff;
  --ink: #0c1220;
  --muted: #4b5568;
  --line: #e6e9ef;
  --shadow: 0 12px 28px rgba(17, 24, 39, 0.10);

  --brand: #003a70;      /* deep corporate blue */
  --brand2: #0b63c5;     /* accent blue */
  --accent: #b08d57;     /* subtle brass */

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 10px;

  --maxw: 1180px;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(900px 420px at 12% 0%, rgba(11, 99, 197, 0.10), transparent 60%),
    radial-gradient(760px 420px at 92% 6%, rgba(176, 141, 87, 0.10), transparent 60%),
    var(--bg);
  font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

.wrap {
  width: min(var(--maxw), calc(100% - 40px));
  margin: 0 auto;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.skip-link:focus {
  left: 14px;
  top: 14px;
  width: auto;
  height: auto;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
  outline: 2px solid var(--brand2);
  z-index: 9999;
}

/* Header */
.topbar {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 247, 249, 0.82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(230, 233, 239, 0.85);
}
.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 240px;
}
.brand img {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.brand .title {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.brand .title strong {
  font-weight: 750;
  letter-spacing: 0.2px;
}
.brand .title span {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 6px;
  align-items: center;
}
.nav a {
  font-size: 14px;
  color: rgba(12, 18, 32, 0.78);
  padding: 10px 12px;
  border-radius: 999px;
  transition: background 160ms ease, color 160ms ease;
}
.nav a:hover {
  background: rgba(0, 58, 112, 0.06);
  color: var(--ink);
}

.actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: rgba(12, 18, 32, 0.80);
  font-size: 13px;
  transition: transform 160ms ease, background 160ms ease;
}
.pill:hover { transform: translateY(-1px); background: rgba(0, 58, 112, 0.04); }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(0, 58, 112, 0.18);
  background: linear-gradient(180deg, rgba(0, 58, 112, 0.96), rgba(0, 58, 112, 0.88));
  color: #fff;
  font-weight: 700;
  font-size: 14px;
  box-shadow: 0 12px 26px rgba(0, 58, 112, 0.22);
  transition: transform 160ms ease, filter 160ms ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.03); }
.btn:active { transform: translateY(0px); }
.btn.secondary {
  background: var(--paper);
  color: var(--brand);
  border: 1px solid rgba(0, 58, 112, 0.24);
  box-shadow: none;
}

.hamburger {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
}

.nav a:focus-visible,
.pill:focus-visible,
.btn:focus-visible,
.hamburger:focus-visible {
  outline: 2px solid rgba(11, 99, 197, 0.70);
  outline-offset: 2px;
}

/* Hero */
.hero {
  padding: 26px 0 14px;
}
.hero-shell {
  border-radius: 24px;
  border: 1px solid rgba(230, 233, 239, 0.95);
  background: var(--paper);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 0;
  align-items: stretch;
}
.hero-left {
  padding: 34px 34px 30px;
}
.hero-right {
  position: relative;
  min-height: 470px;
  background: #0b1220;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(1.04);
}
.hero-right:after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.00), rgba(255,255,255,0.00) 52%, rgba(0, 0, 0, 0.16));
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(0, 58, 112, 0.03);
  color: rgba(0, 58, 112, 0.86);
  font-size: 13px;
}
.pulse {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, var(--brand2), var(--brand));
  box-shadow: 0 0 0 4px rgba(11, 99, 197, 0.10);
}

h1 {
  margin: 16px 0 12px;
  font-size: clamp(32px, 3.7vw, 52px);
  line-height: 1.05;
  letter-spacing: 0.2px;
  font-weight: 820;
}
.lead {
  margin: 0;
  font-size: 15.5px;
  line-height: 1.85;
  color: rgba(12, 18, 32, 0.78);
  max-width: 68ch;
}

.hero-metrics {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.metric {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(246, 247, 249, 0.55);
  padding: 12px 12px;
}
.metric strong {
  display: block;
  font-size: 16px;
  letter-spacing: 0.2px;
}
.metric span {
  display: block;
  margin-top: 6px;
  color: rgba(75, 85, 104, 0.90);
  font-size: 12.5px;
  line-height: 1.35;
}

.hero-cta {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.hero-foot {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  color: rgba(75, 85, 104, 0.92);
  font-size: 12.5px;
}
.chip {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(246, 247, 249, 0.55);
}

/* Sections */
.section { padding: 32px 0 0; }
.h2 {
  display: grid;
  gap: 10px;
  margin: 0;
}
.h2 strong {
  font-size: 24px;
  letter-spacing: 0.2px;
}
.h2 span {
  color: rgba(75, 85, 104, 0.95);
  line-height: 1.7;
  font-size: 13.5px;
  max-width: 86ch;
}

.band {
  margin-top: 14px;
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow2);
  overflow: hidden;
}

.service-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.svc {
  padding: 22px 22px;
  min-height: 210px;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  position: relative;
}
.svc:nth-child(2n) { border-right: none; }
.svc:nth-last-child(-n+2) { border-bottom: none; }
.svc h3 { margin: 0; font-size: 18px; }
.svc p {
  margin: 10px 0 0;
  color: rgba(12, 18, 32, 0.76);
  line-height: 1.75;
  font-size: 14px;
}
.svc ul {
  margin: 12px 0 0;
  padding-left: 18px;
  color: rgba(75, 85, 104, 0.92);
  line-height: 1.7;
  font-size: 13px;
}
.svc:before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 30%, rgba(11, 99, 197, 0.12), transparent 60%);
  pointer-events: none;
}
.svc.ocean:before { background: radial-gradient(circle at 30% 30%, rgba(176, 141, 87, 0.14), transparent 60%); }
.svc.road:before { background: radial-gradient(circle at 30% 30%, rgba(0, 58, 112, 0.08), transparent 60%); }
.svc.customs:before { background: radial-gradient(circle at 30% 30%, rgba(176, 141, 87, 0.10), rgba(11, 99, 197, 0.08) 40%, transparent 70%); }

.split {
  margin-top: 14px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 14px;
}
.panel {
  border-radius: 24px;
  border: 1px solid var(--line);
  background: var(--paper);
  box-shadow: var(--shadow2);
  overflow: hidden;
  padding: 22px;
}
.panel p {
  margin: 0;
  color: rgba(12, 18, 32, 0.76);
  line-height: 1.85;
  font-size: 14.5px;
}
.panel p + p { margin-top: 10px; }

.photo {
  padding: 0;
}
.photo img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
}

/* Footer */
.footer {
  margin-top: 34px;
  padding: 26px 0 34px;
  border-top: 1px solid rgba(230, 233, 239, 0.90);
  background: rgba(246, 247, 249, 0.75);
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 18px;
  align-items: start;
}
.foot-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.foot-brand img {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--paper);
}
.foot-brand strong { display: block; }
.foot-brand span { display: block; margin-top: 4px; color: rgba(75, 85, 104, 0.90); font-size: 12px; }
.addr { color: rgba(12, 18, 32, 0.78); font-size: 13.5px; line-height: 1.75; }
.small { margin-top: 12px; color: rgba(75, 85, 104, 0.92); font-size: 12px; line-height: 1.6; }

/* subtle reveal */
[data-reveal] { opacity: 0; transform: translateY(10px); transition: opacity 540ms ease, transform 720ms ease; }
[data-reveal].in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .btn, .pill, .nav a { transition: none; }
}

@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-right { min-height: 360px; }
  .split { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: 1fr; }
  .svc { border-right: none; }
  .svc:nth-last-child(-n+2) { border-bottom: 1px solid var(--line); }
  .svc:last-child { border-bottom: none; }
  .hero-metrics { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .nav { display: none; }
  .hamburger { display: inline-flex; align-items: center; justify-content: center; }
  .brand { min-width: 0; }
  .brand .title span { display: none; }

  body.nav-open .nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 6px;
    position: fixed;
    left: 14px;
    right: 14px;
    top: 72px;
    padding: 12px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    z-index: 60;
  }
  body.nav-open .nav a { padding: 12px; }
  .hero-left { padding: 26px 18px; }
  .foot-grid { grid-template-columns: 1fr; }
}

