/* ============ 佐伦官网 ============ */
:root {
  --navy: #0a2e5c;
  --navy-deep: #061f40;
  --navy-soft: #10396e;
  --accent: #f58220;
  --accent-deep: #d96a12;
  --ink: #1c2733;
  --ink-soft: #5a6b7d;
  --paper: #ffffff;
  --paper-alt: #f4f7fb;
  --line: #e3eaf3;
  --shadow: 0 10px 30px rgba(10, 46, 92, .10);
  --radius: 14px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "PingFang SC", "Microsoft YaHei", "Segoe UI", system-ui, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.container { width: min(1140px, 92%); margin: 0 auto; }

/* ---------- 导航 ---------- */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0);
  transition: background .3s, box-shadow .3s;
}
.nav.scrolled {
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 18px rgba(10, 46, 92, .10);
}
.nav-inner {
  width: min(1140px, 92%); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  height: 72px;
}
.brand { display: flex; align-items: center; gap: 10px; color: #fff; }
.nav.scrolled .brand { color: var(--navy); }
.brand-mark { width: 38px; height: 38px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b { font-size: 19px; letter-spacing: 2px; }
.brand-text i { font-size: 10px; font-style: normal; letter-spacing: 3px; opacity: .75; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a {
  color: rgba(255, 255, 255, .9); font-size: 15px; position: relative;
  padding: 6px 0; transition: color .25s;
}
.nav.scrolled .nav-links > a { color: var(--ink-soft); }
.nav-links > a:hover { color: var(--accent); }
.nav-cta {
  border: 1.5px solid rgba(255, 255, 255, .75); border-radius: 999px;
  padding: 7px 20px !important; color: #fff !important;
  transition: background .25s, border-color .25s !important;
}
.nav.scrolled .nav-cta { border-color: var(--navy); color: var(--navy) !important; }
.nav-cta:hover { background: var(--accent); border-color: var(--accent) !important; color: #fff !important; }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; }
.nav-toggle span { display: block; width: 22px; height: 2.5px; background: #fff; margin: 5px 0; border-radius: 2px; transition: .3s; }
.nav.scrolled .nav-toggle span { background: var(--navy); }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 46%, #0d4a8f 100%);
  color: #fff; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.hero-bg::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 78% 18%, rgba(245, 130, 32, .16), transparent 60%),
    radial-gradient(ellipse 50% 45% at 15% 85%, rgba(255, 255, 255, .07), transparent 65%);
}
.hero-wave {
  position: absolute; inset: auto 0 0 0; height: 140px;
  background: var(--paper);
  clip-path: ellipse(75% 100% at 50% 100%);
  opacity: .96;
}
.hero-ship {
  position: absolute; right: 4%; bottom: 96px;
  width: min(560px, 46vw); color: #fff; opacity: .28;
  transform: rotate(-1.2deg);
  animation: shipFloat 7s ease-in-out infinite;
}
@keyframes shipFloat {
  0%, 100% { transform: rotate(-1.2deg) translateY(0); }
  50% { transform: rotate(0.6deg) translateY(-10px); }
}
.hero-inner { position: relative; z-index: 2; padding: 140px 0 120px; }
.hero-kicker {
  display: inline-block; font-size: 13px; letter-spacing: 4px;
  color: rgba(255, 255, 255, .8);
  border: 1px solid rgba(255, 255, 255, .35); border-radius: 999px;
  padding: 5px 16px; margin-bottom: 26px;
}
.hero h1 { font-size: clamp(38px, 5.6vw, 62px); line-height: 1.22; letter-spacing: 1px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero-sub {
  margin-top: 22px; font-size: clamp(15px, 1.6vw, 18px);
  color: rgba(255, 255, 255, .82); line-height: 1.9;
}
.hero-actions { display: flex; gap: 16px; margin-top: 38px; }
.btn {
  display: inline-block; border-radius: 999px; cursor: pointer;
  font-size: 16px; padding: 13px 34px; transition: transform .2s, box-shadow .2s, background .25s;
}
.btn:active { transform: scale(.97); }
.btn-primary {
  background: var(--accent); color: #fff; font-weight: 600;
  box-shadow: 0 8px 24px rgba(245, 130, 32, .38);
}
.btn-primary:hover { background: var(--accent-deep); }
.btn-ghost { border: 1.5px solid rgba(255, 255, 255, .6); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .12); }
.btn-block { display: block; text-align: center; margin-top: 22px; }
.hero-stats {
  display: flex; gap: clamp(24px, 4vw, 56px); margin-top: 64px; flex-wrap: wrap;
}
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats b { font-size: 30px; color: #fff; }
.hero-stats span { font-size: 13px; color: rgba(255, 255, 255, .65); letter-spacing: 1px; }

/* ---------- 通用 section ---------- */
.section { padding: 96px 0; }
.section-alt { background: var(--paper-alt); }
.section-kicker { font-size: 13px; letter-spacing: 5px; color: var(--accent); font-weight: 600; margin-bottom: 10px; }
.section-title { font-size: clamp(28px, 3.4vw, 38px); color: var(--navy); letter-spacing: 1px; margin-bottom: 34px; }

/* ---------- 关于 ---------- */
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.about-text p { color: var(--ink-soft); margin-bottom: 16px; }
.about-points { margin-top: 26px; display: grid; gap: 14px; }
.about-points li { position: relative; padding-left: 30px; color: var(--ink); font-weight: 500; }
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 6px;
  width: 16px; height: 16px; border-radius: 5px;
  background: linear-gradient(135deg, var(--accent), #ffb36b);
}
.about-points li::after {
  content: ""; position: absolute; left: 5.5px; top: 11px; width: 4px; height: 7px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(40deg);
}
.about-visual { display: flex; justify-content: center; }
.about-card {
  width: min(360px, 100%); background: var(--paper); border: 1px solid var(--line);
  border-radius: var(--radius); box-shadow: var(--shadow);
  padding: 34px 28px 26px; color: var(--navy);
}
.globe { width: 100%; height: auto; }
.globe-label { font-size: 13px; font-weight: 700; fill: var(--navy); }
.route-line { stroke-dasharray: 200; stroke-dashoffset: 200; animation: dash 2.4s ease forwards .5s; }
@keyframes dash { to { stroke-dashoffset: 0; } }
.route-dot { opacity: 0; animation: pop .5s ease forwards; }
.dot-a { animation-delay: .4s; } .dot-b { animation-delay: 2.2s; }
@keyframes pop { from { transform: scale(0); } to { opacity: 1; transform: scale(1); } }
.about-card-caption {
  margin-top: 18px; text-align: center; display: flex; flex-direction: column; gap: 2px;
  border-top: 1px solid var(--line); padding-top: 16px;
}
.about-card-caption b { color: var(--navy); font-size: 17px; }
.about-card-caption span { color: var(--ink-soft); font-size: 13px; }

/* ---------- 业务 ---------- */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.svc {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: 0 4px 14px rgba(10, 46, 92, .05);
  transition: transform .25s, box-shadow .25s;
}
.svc:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.svc-icon {
  width: 52px; height: 52px; border-radius: 13px;
  background: linear-gradient(135deg, rgba(10, 46, 92, .08), rgba(10, 46, 92, .04));
  color: var(--navy); display: grid; place-items: center; margin-bottom: 18px;
}
.svc-icon svg { width: 27px; height: 27px; }
.svc h3 { font-size: 18px; color: var(--navy); margin-bottom: 8px; }
.svc p { font-size: 14.5px; color: var(--ink-soft); }

/* ---------- 航线 ---------- */
.route-board {
  display: grid; grid-template-columns: 1fr auto 1.4fr; gap: 30px; align-items: start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 40px 44px;
}
.route-col h4 {
  font-size: 13px; letter-spacing: 3px; color: var(--accent); margin-bottom: 14px;
}
.port-list { display: grid; gap: 10px; }
.port-list li {
  background: var(--paper-alt); border: 1px solid var(--line); border-radius: 9px;
  padding: 9px 16px; font-size: 15px; color: var(--ink); font-weight: 500;
}
.route-flow { align-self: center; padding-top: 30px; }
.route-flow svg { width: 110px; height: auto; overflow: visible; }
.route-note { margin-top: 18px; color: var(--ink-soft); font-size: 14px; }

/* ---------- 联系 ---------- */
.section-contact {
  background:
    linear-gradient(160deg, var(--navy-deep), var(--navy) 60%, #0d4a8f);
  color: #fff;
}
.section-contact .section-kicker { color: var(--accent); }
.section-contact .section-title { color: #fff; }
.contact-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 56px; align-items: center; }
.contact-text > p { color: rgba(255, 255, 255, .8); margin-bottom: 26px; }
.contact-list { display: grid; gap: 16px; }
.contact-list li {
  display: flex; align-items: baseline; gap: 18px;
  background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
  border-radius: 12px; padding: 13px 20px;
}
.ci-label {
  flex: none; font-size: 13px; color: rgba(255, 255, 255, .55); letter-spacing: 2px;
  width: 34px;
}
.contact-list a { color: #ffc38a; }
.contact-list a:hover { color: var(--accent); }
.ci-tbd { color: rgba(255, 255, 255, .35); font-size: 14px; }
.cta-card {
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .16);
  border-radius: var(--radius); padding: 36px 32px; backdrop-filter: blur(6px);
}
.cta-card h3 { font-size: 22px; margin-bottom: 10px; }
.cta-card p { color: rgba(255, 255, 255, .75); font-size: 14.5px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--navy-deep); color: rgba(255, 255, 255, .65); padding: 44px 0 34px; }
.footer-inner { display: flex; flex-direction: column; gap: 18px; }
.footer-brand b { color: #fff; font-size: 17px; letter-spacing: 2px; display: block; }
.footer-brand span { font-size: 13px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { font-size: 14px; }
.footer-links a:hover { color: var(--accent); }
.footer-copy { font-size: 12.5px; border-top: 1px solid rgba(255, 255, 255, .12); padding-top: 18px; }
.icp { color: rgba(255, 255, 255, .5); }
.icp:hover { color: #fff; }

/* ---------- 动效 ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .route-board { grid-template-columns: 1fr; padding: 30px 24px; }
  .route-flow { justify-self: center; padding: 12px 0; }
}
@media (max-width: 640px) {
  .section { padding: 68px 0; }
  .svc-grid { grid-template-columns: 1fr; }
  .hero { min-height: 88vh; }
  .hero-inner { padding: 120px 0 100px; }
  .hero-ship { right: -8%; bottom: 120px; width: 70vw; }
  .hero-stats { gap: 22px; }
  .hero-stats b { font-size: 24px; }
  .nav-toggle {
    display: block; position: relative; z-index: 3;
  }
  .nav-links {
    position: fixed; inset: 0 0 auto 0; flex-direction: column; gap: 0;
    background: var(--navy-deep); padding: 90px 8% 30px;
    transform: translateY(-110%); transition: transform .35s ease;
  }
  .nav-links.open { transform: none; }
  .nav-links > a { padding: 13px 0; font-size: 17px; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-links > a:last-child { border: 0; }
  .nav-cta { border: 0 !important; padding: 13px 0 !important; }
  .nav.scrolled .nav-links { background: #fff; }
  .nav.scrolled .nav-links > a { color: var(--ink); }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); background: #fff; }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); background: #fff; }
}
