/* ============ 厦门得一国际货运代理有限公司 官网样式 ============ */

:root {
  --primary: #0b3d91;
  --primary-dark: #082c66;
  --primary-deep: #061f49;
  --accent: #1e88e5;
  --accent-light: #e8f1fc;
  --highlight: #f59e0b;
  --highlight-light: #fdf3e0;
  --ink: #10243e;
  --text: #41566e;
  --muted: #71819a;
  --bg: #ffffff;
  --bg-soft: #f4f7fb;
  --line: #e5ecf4;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 10px 40px -12px rgba(11, 61, 145, 0.18);
  --shadow-sm: 0 4px 16px -6px rgba(11, 61, 145, 0.12);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --maxw: 1180px;
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

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

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

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ============ 按钮 ============ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 28px; border-radius: 999px; font-weight: 600; font-size: 15px;
  border: 1px solid transparent; transition: all .25s ease; white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--primary));
  color: #fff; box-shadow: 0 8px 24px -8px rgba(30, 136, 229, 0.6);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 14px 32px -10px rgba(30, 136, 229, 0.7); }
.btn-ghost {
  background: rgba(255,255,255,0.08); color: #fff;
  border-color: rgba(255,255,255,0.35);
}
.btn-ghost:hover { background: rgba(255,255,255,0.18); border-color: rgba(255,255,255,0.6); }
.btn-sm { padding: 9px 20px; font-size: 14px; }
.btn-block { width: 100%; }

/* ============ 顶部导航 ============ */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.92); backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 20px; }
.brand { flex-shrink: 0; display: flex; align-items: center; }
.brand-logo { height: 40px; width: auto; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  padding: 8px 14px; font-size: 15px; font-weight: 500; color: var(--text);
  border-radius: 8px; transition: all .2s ease; position: relative;
}
.nav-link:hover { color: var(--primary); background: var(--accent-light); }
.nav-link.active { color: var(--primary); font-weight: 600; }
.nav-link.active::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px;
  height: 2px; border-radius: 2px; background: var(--accent);
}
.nav-actions { display: flex; align-items: center; gap: 14px; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 4px; background: var(--bg-soft);
  border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px;
  font-size: 13px; font-weight: 600; color: var(--text); transition: all .2s ease;
}
.lang-toggle:hover { border-color: var(--accent); color: var(--primary); }
.lang-sep { color: var(--muted); font-weight: 400; }
.lang-toggle.is-en .lang-en { color: var(--primary); }
.lang-toggle.is-en .lang-zh { color: var(--muted); font-weight: 500; }
.lang-toggle.is-zh .lang-zh { color: var(--primary); }
.lang-toggle.is-zh .lang-en { color: var(--muted); font-weight: 500; }
.nav-burger { display: none; flex-direction: column; gap: 5px; background: none; border: none; padding: 6px; }
.nav-burger span { width: 24px; height: 2px; background: var(--ink); border-radius: 2px; transition: all .25s ease; }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative; overflow: hidden; color: #fff;
  background: radial-gradient(1200px 600px at 80% -10%, #164a9e 0%, transparent 55%),
              radial-gradient(900px 500px at -10% 110%, #0d4a99 0%, transparent 50%),
              linear-gradient(135deg, var(--primary-deep) 0%, var(--primary-dark) 45%, var(--primary) 100%);
  padding: 96px 0 72px;
}
.hero-bg {
  position: absolute; inset: 0; pointer-events: none; opacity: 0.55;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
}
.hero-inner { position: relative; z-index: 1; max-width: 820px; }
.hero-eyebrow {
  display: inline-block; font-size: 14px; font-weight: 600; letter-spacing: .5px;
  color: #ffd88a; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.18);
  padding: 6px 16px; border-radius: 999px; margin-bottom: 24px;
}
.hero-title { font-size: 44px; line-height: 1.25; font-weight: 800; letter-spacing: 1px; margin-bottom: 20px; }
.hero-subtitle { font-size: 18px; color: rgba(255,255,255,0.85); max-width: 640px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }
.hero-tagline { margin-bottom: 40px; }
.tagline-text {
  font-size: 20px; font-weight: 700; letter-spacing: 3px; color: #ffd88a;
  text-transform: uppercase;
}
.hero-stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  border-top: 1px solid rgba(255,255,255,0.18); padding-top: 32px;
}
.hero-stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num { font-size: 34px; font-weight: 800; color: #fff; }
.stat-label { font-size: 13px; color: rgba(255,255,255,0.7); }

/* ============ Section 通用 ============ */
.section { padding: 88px 0; }
.section-soft { background: var(--bg-soft); }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-tag {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 2px;
  color: var(--accent); text-transform: uppercase; margin-bottom: 12px;
}
.section-title { font-size: 34px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.section-desc { font-size: 16px; color: var(--muted); }

/* ============ 关于我们 ============ */
.about-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 48px; align-items: center; }
.about-text p { color: var(--text); font-size: 16px; margin-bottom: 16px; }
.about-points { margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; }
.about-points li {
  position: relative; padding-left: 28px; color: var(--ink); font-size: 15px; font-weight: 500;
}
.about-points li::before {
  content: ""; position: absolute; left: 0; top: 7px; width: 16px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231e88e5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E") center/contain no-repeat;
}
.about-card {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.about-card-item { display: flex; flex-direction: column; gap: 4px; padding: 8px; }
.about-card-num { font-size: 34px; font-weight: 800; color: var(--primary); }
.about-card-num span { font-size: 15px; font-weight: 600; margin-left: 2px; }
.about-card-label { font-size: 14px; color: var(--muted); }

/* ============ 核心优势 ============ */
.adv-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.adv-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; box-shadow: var(--shadow-sm); transition: all .3s ease;
}
.adv-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.adv-icon {
  width: 54px; height: 54px; border-radius: 14px; display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--primary)); color: #fff; margin-bottom: 18px;
}
.adv-icon svg { width: 26px; height: 26px; }
.adv-title { font-size: 18px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.adv-text { font-size: 14px; color: var(--text); }
.service-philosophy {
  margin-top: 44px; background: linear-gradient(135deg, var(--primary-deep), var(--primary));
  border-radius: var(--radius); padding: 32px 36px; display: flex; align-items: center; gap: 32px;
  color: #fff; box-shadow: var(--shadow);
}
.philosophy-label { font-size: 15px; font-weight: 700; color: #ffd88a; white-space: nowrap; letter-spacing: 1px; }
.philosophy-items { display: flex; gap: 40px; flex: 1; flex-wrap: wrap; }
.philosophy-item { display: flex; flex-direction: column; gap: 2px; }
.philosophy-item strong { font-size: 22px; font-weight: 800; letter-spacing: 2px; }
.philosophy-item span { font-size: 13px; color: rgba(255,255,255,0.75); }

/* ============ 业务范围 ============ */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.svc-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; transition: all .3s ease; box-shadow: var(--shadow-sm);
}
.svc-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--accent); }
.svc-card-emoji { font-size: 40px; margin-bottom: 14px; }
.svc-title { font-size: 19px; font-weight: 700; color: var(--ink); margin-bottom: 10px; }
.svc-text { font-size: 14px; color: var(--text); }
.svc-extra { margin-top: 48px; }
.svc-extra-title { text-align: center; font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 28px; }
.svc-extra-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.svc-extra-item {
  background: var(--bg-soft); border-radius: var(--radius); padding: 26px 22px;
  border: 1px solid var(--line);
}
.svc-extra-num { display: block; font-size: 13px; font-weight: 800; color: var(--accent); margin-bottom: 10px; letter-spacing: 1px; }
.svc-extra-item strong { display: block; font-size: 16px; color: var(--ink); margin-bottom: 8px; }
.svc-extra-item p { font-size: 13px; color: var(--text); }

/* ============ 资质与案例 ============ */
.cred-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-bottom: 44px; }
.cred-badge {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px 24px; box-shadow: var(--shadow-sm); text-align: center; transition: all .3s ease;
}
.cred-badge:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cred-badge-mark {
  width: 66px; height: 66px; margin: 0 auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--highlight), #fbbf24); color: #fff;
  display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 800; letter-spacing: 0.5px;
  padding: 0 6px; text-align: center; line-height: 1.1;
}
.cred-badge:nth-child(2) .cred-badge-mark { background: linear-gradient(135deg, var(--accent), var(--primary)); }
.cred-badge:nth-child(3) .cred-badge-mark { background: linear-gradient(135deg, #0ea5a4, #0b7285); }
.cred-badge:nth-child(4) .cred-badge-mark { background: linear-gradient(135deg, #8b5cf6, #6d28d9); }
.cred-badge h3 { font-size: 16px; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.cred-badge p { font-size: 13px; color: var(--text); }
.cred-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-bottom: 44px;
}
.cred-figure {
  border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  background: #fff; box-shadow: var(--shadow-sm); height: 380px;
  display: flex; align-items: center; justify-content: center;
}
.cred-figure img { width: 100%; height: 100%; object-fit: contain; transition: transform .4s ease; }
.cred-figure:hover img { transform: scale(1.03); }
.clients { text-align: center; }
.clients-label { font-size: 14px; color: var(--muted); margin-bottom: 20px; }
.clients-list { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.client-name {
  padding: 10px 22px; background: #fff; border: 1px solid var(--line); border-radius: 999px;
  font-size: 15px; font-weight: 600; color: var(--ink); box-shadow: var(--shadow-sm);
}

/* ============ 联系我们 ============ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; }
.contact-info { display: flex; flex-direction: column; gap: 8px; }
.contact-item {
  display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px;
  border-radius: var(--radius-sm); transition: background .2s ease;
}
.contact-item:hover { background: var(--bg-soft); }
.contact-icon {
  width: 46px; height: 46px; flex-shrink: 0; border-radius: 12px;
  background: var(--accent-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.contact-icon svg { width: 22px; height: 22px; }
.contact-label { display: block; font-size: 13px; color: var(--muted); margin-bottom: 2px; }
.contact-value { font-size: 16px; font-weight: 600; color: var(--ink); }
a.contact-value:hover { color: var(--primary); }
.contact-form {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 34px 32px; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { margin-bottom: 16px; display: flex; flex-direction: column; gap: 6px; }
.form-field label { font-size: 14px; font-weight: 600; color: var(--ink); }
.form-field input, .form-field select, .form-field textarea {
  font-family: inherit; font-size: 15px; color: var(--ink);
  padding: 12px 14px; border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfcfe; transition: all .2s ease; width: 100%;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
  outline: none; border-color: var(--accent); box-shadow: 0 0 0 3px rgba(30,136,229,0.15); background: #fff;
}
.form-field textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); text-align: center; margin-top: 14px; }
.form-success { color: #16a34a; font-weight: 600; text-align: center; margin-top: 14px; }

/* ============ 页脚 ============ */
.site-footer { background: var(--primary-deep); color: rgba(255,255,255,0.78); }
.footer-wrap {
  display: grid; grid-template-columns: 1.5fr 1fr 1.2fr; gap: 40px;
  padding: 56px 24px 40px;
}
.footer-logo { height: 44px; width: auto; background: #fff; padding: 4px 8px; border-radius: 6px; }
.footer-slogan { margin-top: 16px; font-size: 14px; color: rgba(255,255,255,0.6); }
.footer-col { display: flex; flex-direction: column; gap: 10px; }
.footer-col h4 { color: #fff; font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.footer-col a, .footer-col span { font-size: 14px; color: rgba(255,255,255,0.7); transition: color .2s ease; }
.footer-col a:hover { color: #ffd88a; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); }
.footer-bottom-inner {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px;
  padding: 20px 24px; font-size: 13px; color: rgba(255,255,255,0.55);
}

/* ============ 回到顶部 ============ */
.back-top {
  position: fixed; right: 24px; bottom: 24px; z-index: 90;
  width: 46px; height: 46px; border-radius: 50%; border: none;
  background: var(--primary); color: #fff; box-shadow: var(--shadow);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transform: translateY(12px); transition: all .3s ease;
}
.back-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 22px; height: 22px; }

/* ============ 响应式 ============ */
@media (max-width: 1024px) {
  .adv-grid, .cred-grid { grid-template-columns: repeat(2, 1fr); }
  .svc-extra-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .hero-title { font-size: 34px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .service-philosophy { flex-direction: column; align-items: flex-start; gap: 20px; }
  .philosophy-items { gap: 24px; }
  .cred-gallery { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr 1fr; }

  /* 移动端导航 */
  .nav {
    position: fixed; top: 72px; left: 0; right: 0;
    background: #fff; flex-direction: column; align-items: stretch;
    padding: 12px 20px 20px; gap: 2px;
    border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; visibility: hidden; transition: all .25s ease;
  }
  .nav.open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-link { padding: 14px 12px; font-size: 16px; border-radius: 10px; }
  .nav-link.active::after { display: none; }
  .nav-cta { display: none; }
  .nav-burger { display: flex; }
}

@media (max-width: 560px) {
  .section { padding: 64px 0; }
  .section-title { font-size: 28px; }
  .hero { padding: 64px 0 56px; }
  .hero-title { font-size: 28px; }
  .hero-subtitle { font-size: 16px; }
  .stat-num { font-size: 28px; }
  .about-points { grid-template-columns: 1fr; }
  .about-card { grid-template-columns: 1fr 1fr; }
  .adv-grid, .cred-grid, .svc-grid, .svc-extra-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-wrap { grid-template-columns: 1fr; gap: 28px; }
  .clients-list { gap: 10px; }
}
