/* =========================================
   鹿运国际物流 · 响应式样式（蓝色企业风）
   仿 deer-express.com 结构与配色
   ========================================= */

:root {
  --blue: #1565d8;
  --blue-dark: #0d3c82;
  --blue-deep: #082a5e;
  --blue-light: #e9f2fd;
  --blue-soft: #f3f8fe;
  --ink: #12233b;
  --muted: #5a6b80;
  --bg: #ffffff;
  --bg-alt: #f4f8fd;
  --line: #e1e9f4;
  --accent: #ff8a1f;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(21, 101, 216, .10);
  --shadow-lg: 0 22px 55px rgba(21, 101, 216, .20);
  --maxw: 1180px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
    "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }

.text-accent { color: var(--blue); }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .2s ease, background .2s ease;
  white-space: nowrap;
}
.btn--primary { background: var(--blue); color: #fff; box-shadow: var(--shadow); }
.btn--primary:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn--ghost:hover { background: var(--blue-light); }
.btn--lg { padding: 15px 30px; font-size: 16px; }
.btn--block { width: 100%; }

/* ===== 顶部公告 ===== */
.topbar { background: var(--blue-deep); color: #cfe0f6; font-size: 13px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; padding: 8px 20px; }
.topbar a { color: var(--accent); font-weight: 600; }

/* ===== 导航 ===== */
.navbar {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; }
.brand__logo { font-size: 26px; }
.brand__text { display: flex; flex-direction: column; line-height: 1; }
.brand__text small { font-size: 10px; letter-spacing: 2px; color: var(--muted); font-weight: 600; margin-top: 3px; }
.brand--light { color: #fff; }
.brand--light small { color: #9fc0ec; }

.brand__logo-img { height: 44px; width: auto; display: block; }
.brand__logo-img--footer { background: #fff; padding: 6px 12px; border-radius: 8px; height: 50px; }
.nav { display: flex; gap: 26px; }
.nav a { font-size: 15px; font-weight: 500; color: var(--ink); position: relative; padding: 6px 0; }
.nav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2px; width: 0;
  background: var(--blue); transition: width .25s ease;
}
.nav a:hover::after { width: 100%; }
.nav__cta { margin-left: 8px; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.hamburger span { width: 24px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: .3s; }
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ===== 语言切换器 ===== */
.lang-switch { display: flex; gap: 4px; align-items: center; margin-left: 14px; }
.lang-switch button {
  background: #fff; border: 1px solid var(--line); color: var(--muted);
  font-size: 13px; padding: 6px 10px; border-radius: 999px; cursor: pointer;
  font-family: inherit; line-height: 1; transition: all .2s; white-space: nowrap;
}
.lang-switch button:hover { border-color: var(--blue); color: var(--blue); }
.lang-switch button.active { background: var(--blue); border-color: var(--blue); color: #fff; }


/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 560px;
  display: flex;
  align-items: center;
  background: url("../images/hero-bg.jpg") center/cover no-repeat;
}
.hero__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,42,94,.90) 0%, rgba(8,42,94,.72) 42%, rgba(8,42,94,.28) 68%, transparent 88%);
}
.hero__inner { position: relative; z-index: 2; padding: 110px 20px; }
.hero__content { max-width: 560px; text-align: left; }
.hero__badge {
  display: inline-block; background: #fff; color: var(--blue-deep);
  padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 700;
  letter-spacing: 1px; margin-bottom: 18px;
}
.hero h1 { font-size: clamp(32px, 5.2vw, 52px); line-height: 1.18; font-weight: 800; color: #fff; }
.hero__en { color: #9fc0ec; font-size: 18px; font-weight: 500; letter-spacing: .5px; margin: 12px 0 16px; }
.hero__lead { color: rgba(255,255,255,.82); font-size: 16px; max-width: 470px; margin-bottom: 28px; }
.hero__lead strong { color: #fff; font-weight: 700; }
.hero__actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero .btn--ghost { color: #fff; border-color: rgba(255,255,255,.55); }
.hero .btn--ghost:hover { background: rgba(255,255,255,.12); border-color: #fff; }

/* ===== 通用 section ===== */
.section { padding: 80px 0; }
.section--alt { background: var(--bg-alt); }
.section__head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.eyebrow { display: inline-block; color: var(--blue); font-weight: 700; letter-spacing: 2px; font-size: 13px; margin-bottom: 10px; }
.section__head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; }
.section__head p { color: var(--muted); margin-top: 12px; }

/* ===== 网格 ===== */
.grid { display: grid; gap: 24px; }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }

.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }

.service { border-top: 3px solid var(--blue); }
.service__icon { font-size: 34px; margin-bottom: 14px; }
.service h3 { font-size: 19px; margin-bottom: 8px; }
.service p { color: var(--muted); font-size: 14.5px; }

.advantage { position: relative; padding-left: 84px; min-height: 150px; border-left: 3px solid var(--blue-light); }
.advantage__no { position: absolute; left: 28px; top: 28px; font-size: 30px; font-weight: 800; color: var(--blue-light); -webkit-text-stroke: 1px var(--blue); }
.advantage h3 { font-size: 18px; margin-bottom: 8px; }
.advantage p { color: var(--muted); font-size: 14.5px; }

.case { font-size: 16px; font-weight: 600; text-align: center; cursor: pointer; }
.case:hover { background: var(--blue); color: #fff; border-color: var(--blue); }

/* ===== 关于 ===== */
.about__inner { display: grid; grid-template-columns: .85fr 1.15fr; gap: 48px; align-items: center; }
.about__media {
  border-radius: 24px; overflow: hidden;
  box-shadow: var(--shadow-lg); height: 100%; min-height: 320px;
}
.about__img { width: 100%; height: 100%; min-height: 320px; object-fit: cover; display: block; }
.about__content h2 { font-size: clamp(26px, 4vw, 36px); margin: 8px 0 16px; }
.about__content p { color: var(--muted); margin-bottom: 14px; }
.about__content strong { color: var(--ink); }
.about__list { list-style: none; margin: 18px 0 26px; }
.about__list li { padding: 6px 0; color: var(--ink); font-weight: 500; }

/* ===== 创始人寄言（仿原站）===== */
.founder {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark));
  color: #fff;
}
.founder__inner { max-width: 820px; margin: 0 auto; text-align: center; }
.founder .eyebrow { color: #9fc0ec; }
.founder__quote { font-size: clamp(18px, 2.6vw, 24px); line-height: 1.8; font-weight: 500; margin: 18px 0 26px; }
.founder__quote span { color: var(--accent); }
.founder__sign { font-size: 14px; color: #bcd4f2; letter-spacing: 1px; }

/* ===== 联系 ===== */
.contact__inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.contact__info h2 { font-size: clamp(26px, 4vw, 36px); margin: 8px 0 14px; }
.contact__info p { color: var(--muted); margin-bottom: 20px; }
.contact__list { list-style: none; }
.contact__list li { padding: 10px 0; border-bottom: 1px dashed var(--line); color: var(--ink); }
.contact__list a { color: var(--blue); font-weight: 600; }

.contact__chat { margin-top: 28px; padding-top: 24px; border-top: 1px dashed var(--line); }
.contact__chat h3 { font-size: 18px; margin-bottom: 6px; color: var(--ink); }
.contact__chat > p { color: var(--muted); font-size: 14px; margin-bottom: 14px; }
.chat__actions { display: flex; gap: 10px; margin-bottom: 18px; flex-wrap: wrap; }
.btn--whatsapp { background: #e7f8e8; color: #1e8e3e; border-color: #1e8e3e; }
.btn--whatsapp:hover { background: #1e8e3e; color: #fff; transform: translateY(-2px); }
.btn--zalo { background: #e9f2fd; color: var(--blue); border-color: var(--blue); }
.btn--zalo:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.chat__wechat { text-align: center; }
.chat__wechat img { width: 160px; height: auto; border-radius: 12px; border: 1px solid var(--line); box-shadow: var(--shadow); background: #fff; padding: 6px; }
.chat__wechat p { font-size: 13px; color: var(--muted); margin-top: 8px; }

.contact__form { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.field { margin-bottom: 14px; }
.field label, .field__label {
  display: block; font-size: 14px; font-weight: 600; color: var(--ink); margin-bottom: 6px;
}
.field input, .field textarea, .field select {
  width: 100%; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 15px; font-family: inherit; outline: none; transition: border .2s;
  background: #fff;
}
.field select {
  appearance: none;
  -webkit-appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%235a6b80' d='M6 8L1 3h10z'/%3E%3C/svg%3E") right 14px center / 12px no-repeat;
  cursor: pointer;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--blue); }

.captcha__row { display: flex; gap: 10px; align-items: center; }
.captcha__question {
  flex: 0 0 auto; background: #f4f8fd; color: var(--blue); font-weight: 700;
  padding: 12px 16px; border-radius: 10px; font-size: 16px; letter-spacing: 1px;
}
.captcha__row input { flex: 1; min-width: 80px; }
.captcha__row .btn { flex: 0 0 auto; padding: 11px 14px; font-size: 13px; }

.btn--sm { padding: 10px 18px; font-size: 13px; }
.btn:disabled, .btn.is-loading { opacity: .65; cursor: not-allowed; }

.contact__note { font-size: 13px; color: var(--muted); margin-top: 12px; text-align: center; }
.contact__note.is-success { color: #1e8a4e; }
.contact__note.is-error { color: #d32f2f; }

/* ===== 页脚 ===== */
.footer { background: var(--blue-deep); color: #cfe0f6; padding-top: 56px; }
.footer__inner { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer__brand p { color: #9fc0ec; font-size: 14px; margin-top: 14px; max-width: 280px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 16px; }
.footer__col a, .footer__col span { display: block; color: #9fc0ec; font-size: 14px; padding: 6px 0; transition: color .2s; }
.footer__col a:hover { color: var(--accent); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.12); padding: 18px 0; font-size: 13px; color: #7fa3d3; text-align: center; }

/* ===== 返回顶部 ===== */
.toTop {
  position: fixed; right: 22px; bottom: 22px; width: 46px; height: 46px;
  background: var(--blue); color: #fff; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 20px; box-shadow: var(--shadow); opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s; z-index: 90;
}
.toTop.show { opacity: 1; pointer-events: auto; }
.toTop:hover { transform: translateY(-3px); }

/* ===== 滚动出现动画 ===== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ===== 响应式 ===== */
@media (max-width: 980px) {
  .grid--4 { grid-template-columns: repeat(2, 1fr); }
  .about__inner, .contact__inner { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 760px) {
  .nav {
    position: fixed; top: 68px; left: 0; right: 0; background: #fff;
    flex-direction: column; gap: 0; padding: 10px 20px 20px; border-bottom: 1px solid var(--line);
    transform: translateY(-130%); transition: transform .3s ease; box-shadow: var(--shadow);
  }
  .nav.open { transform: translateY(0); }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav__cta { display: none; }
  .hamburger { display: flex; }
  .topbar__inner { flex-direction: column; gap: 2px; text-align: center; }
  .hero { min-height: 520px; }
  .hero__overlay { background: linear-gradient(180deg, rgba(8,42,94,.92) 0%, rgba(8,42,94,.75) 60%, rgba(8,42,94,.35) 100%); }
  .hero__inner { padding: 90px 20px; }
  .hero__content { text-align: center; margin: 0 auto; }
  .hero__lead { margin-left: auto; margin-right: auto; }
  .hero__actions { justify-content: center; }
  .grid--4, .grid--3, .grid--2 { grid-template-columns: 1fr; }
  .footer__inner { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
}

@media (max-width: 420px) {
  .btn--lg { padding: 13px 22px; font-size: 15px; }
}

