/* ============================================================
   Global Auto Export — 外贸汽车出口营销站（浅色主题）
   主题：白色/浅灰背景 + 深色文字 + 青蓝 #00A6D6 强调
   ============================================================ */
:root {
  --bg: #f6f8fb;
  --bg-soft: #eef2f8;
  --panel: #ffffff;
  --panel-2: #f4f8fd;
  --border: #e2e8f2;
  --text: #17223a;
  --text-dim: #5d6d85;
  --accent: #ea580c;          /* 品牌橙（DongJiang Logo 主色，浅色底可读） */
  --accent-bright: #f97316;   /* 按钮/装饰亮橙 */
  --accent-dim: rgba(234, 88, 12, 0.10);
  --accent-border: rgba(234, 88, 12, 0.35);
  --success: #1a9e6e;
  --radius: 14px;
  --maxw: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", "PingFang SC", "Microsoft YaHei", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

[dir="rtl"] body { font-family: "Tahoma", "Arial", sans-serif; }

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

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

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(23, 34, 58, 0.06);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 68px; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 18px; letter-spacing: 0.5px; }
.logo-img { height: 44px; width: auto; display: block; }
.logo-mark {
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent-bright), #c2410c);
  display: flex; align-items: center; justify-content: center;
  color: #ffffff; font-weight: 900; font-size: 18px;
}
.logo span em { color: var(--accent); font-style: normal; }

.main-nav { display: flex; gap: 28px; }
.main-nav a { color: var(--text-dim); font-size: 15px; font-weight: 500; transition: color .2s; position: relative; padding: 6px 0; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.main-nav a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -2px;
  height: 2px; border-radius: 2px; background: var(--accent);
}

.header-actions { display: flex; align-items: center; gap: 14px; }

/* 语言切换 */
.lang-switch { display: flex; align-items: center; gap: 4px; background: var(--bg-soft); border: 1px solid var(--border); border-radius: 10px; padding: 4px; }
.lang-switch button {
  background: transparent; border: none; color: var(--text-dim);
  font-size: 12px; font-weight: 700; padding: 5px 8px; border-radius: 7px; cursor: pointer;
  transition: all .2s;
}
.lang-switch button.active { background: var(--accent); color: #ffffff; }
.lang-switch button:hover:not(.active) { color: var(--text); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 12px; font-size: 15px; font-weight: 700;
  cursor: pointer; border: none; transition: all .25s;
}
.btn-primary { background: linear-gradient(135deg, var(--accent-bright), #ea580c); color: #ffffff; }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(234, 88, 12, 0.35); }
.btn-outline { background: #ffffff; color: var(--accent); border: 1.5px solid var(--accent-border); }
.btn-outline:hover { background: var(--accent-dim); border-color: var(--accent); }
.btn-wa { background: #25d366; color: #ffffff; }
.btn-wa:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35); }
.btn-sm { padding: 9px 18px; font-size: 13px; border-radius: 10px; }

/* ---------- Hero（保留照片 + 渐变压字） ---------- */
.hero {
  position: relative; min-height: 560px;
  display: flex; align-items: center;
  background: url("../img/hero.jpg") center / cover no-repeat;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(8, 24, 44, 0.62) 0%, rgba(8, 24, 44, 0.38) 45%, rgba(8, 24, 44, 0.10) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: var(--maxw); margin: 0 auto; padding: 80px 24px; width: 100%; }
.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(6, 30, 50, 0.55); border: 1px solid rgba(0, 212, 255, 0.55);
  color: #aef0ff; font-size: 13px; font-weight: 700;
  padding: 7px 14px; border-radius: 999px; margin-bottom: 22px;
  animation: fadeUp .7s ease both;
}
.hero h1 {
  font-size: clamp(34px, 5vw, 56px); font-weight: 900; line-height: 1.15;
  max-width: 720px; margin-bottom: 18px;
  color: #ffffff;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
  animation: fadeUp .7s .1s ease both;
}
.hero h1 em { color: #00d4ff; font-style: normal; }
.hero p { color: rgba(255, 255, 255, 0.88); font-size: 18px; max-width: 620px; margin-bottom: 32px; animation: fadeUp .7s .2s ease both; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp .7s .3s ease both; }

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---------- Sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head .kicker {
  color: var(--accent); font-size: 13px; font-weight: 800;
  text-transform: uppercase; letter-spacing: 2px; margin-bottom: 10px;
}
.section-head h2 { font-size: clamp(26px, 3.4vw, 38px); font-weight: 850; color: var(--text); }
.section-head p { color: var(--text-dim); margin-top: 10px; max-width: 640px; margin-left: auto; margin-right: auto; }

/* 品牌墙 */
.brand-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
  gap: 14px;
}
.brand-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 22px 12px; text-align: center; transition: all .25s; cursor: pointer;
  box-shadow: 0 1px 4px rgba(23, 34, 58, 0.05);
}
.brand-card:hover { border-color: var(--accent-border); transform: translateY(-4px); box-shadow: 0 10px 24px rgba(234, 88, 12, 0.14); }
.brand-card .brand-logo {
  width: 44px; height: 44px; margin: 0 auto 10px; border-radius: 12px;
  background: linear-gradient(135deg, var(--accent-dim), #eaf6fc);
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; color: var(--accent);
  border: 1px solid var(--accent-border);
}
.brand-card b { font-size: 14px; display: block; color: var(--text); }
.brand-card small { color: var(--text-dim); font-size: 12px; }

/* 优势 */
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 18px; }
.feature-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: all .25s;
  box-shadow: 0 1px 4px rgba(23, 34, 58, 0.05);
}
.feature-card:hover { border-color: var(--accent-border); transform: translateY(-4px); box-shadow: 0 10px 24px rgba(234, 88, 12, 0.14); }
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px; margin-bottom: 16px;
  background: var(--accent-dim); border: 1px solid var(--accent-border);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.feature-card h3 { font-size: 17px; margin-bottom: 8px; color: var(--text); }
.feature-card p { color: var(--text-dim); font-size: 14px; }

/* 数据背书 */
.stats-band {
  background: linear-gradient(120deg, #eaf6fc, #f0f7ee);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 24px; text-align: center; }
.stat b { font-size: 40px; font-weight: 900; color: var(--accent); display: block; line-height: 1.1; }
.stat span { color: var(--text-dim); font-size: 14px; }

/* ---------- 车型卡片 ---------- */
.car-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 20px; }
.car-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
  box-shadow: 0 1px 4px rgba(23, 34, 58, 0.05);
}
.car-card:hover { border-color: var(--accent-border); transform: translateY(-5px); box-shadow: 0 14px 32px rgba(234, 88, 12, 0.16); }
.car-thumb {
  height: 170px; position: relative;
  display: flex; align-items: center; justify-content: center;
}
.car-thumb img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
.car-thumb.electric { background: linear-gradient(140deg, #dff2fb, #eef8fd); }
.car-thumb.hybrid   { background: linear-gradient(140deg, #dcf1fa, #e9f7f2); }
.car-thumb.gasoline { background: linear-gradient(140deg, #e9eef7, #f2f6fb); }
.car-thumb svg { width: 78%; max-width: 240px; opacity: .95; }
.car-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.badge {
  font-size: 11px; font-weight: 800; padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.85); border: 1px solid var(--accent-border); color: var(--accent);
  backdrop-filter: blur(4px);
}
.badge.hot { color: #d64545; border-color: rgba(214, 69, 69, 0.4); }
.badge.new { color: var(--success); border-color: rgba(26, 158, 110, 0.4); }
.badge.disc { color: #b07d1a; border-color: rgba(176, 125, 26, 0.4); }
.car-fuel {
  position: absolute; bottom: 12px; right: 12px;
  font-size: 11px; font-weight: 700; color: var(--text-dim);
  background: rgba(255, 255, 255, 0.85); padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px);
  border: 1px solid var(--border);
}
.car-body { padding: 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.car-brand { color: var(--accent); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.5px; }
.car-name { font-size: 17px; font-weight: 800; color: var(--text); }
.car-specs { display: flex; gap: 14px; color: var(--text-dim); font-size: 13px; flex-wrap: wrap; }
.car-price-row { margin-top: auto; display: flex; align-items: center; justify-content: space-between; padding-top: 12px; border-top: 1px dashed var(--border); }
.car-price { color: var(--accent); font-weight: 900; font-size: 17px; }
.car-price small { color: var(--text-dim); font-weight: 500; font-size: 12px; }

/* 筛选栏 */
.filter-bar {
  display: flex; gap: 12px; flex-wrap: wrap; align-items: center;
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 14px 16px; margin-bottom: 26px;
  box-shadow: 0 1px 4px rgba(23, 34, 58, 0.05);
}
.filter-bar select, .filter-bar input {
  background: var(--bg-soft); border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 10px 14px; font-size: 14px; outline: none;
  font-family: inherit;
}
.filter-bar select:focus, .filter-bar input:focus { border-color: var(--accent); }
.filter-bar input[type="text"] { flex: 1; min-width: 180px; }
.result-count { color: var(--text-dim); font-size: 13px; margin-left: auto; }

/* ---------- 评价（对标 ddongauto 版式：左图右文，大引号） ---------- */
.review-stack { display: flex; flex-direction: column; gap: 56px; }
.review-row {
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 44px; align-items: center;
}
.review-row.rev .review-photo { order: 2; }
.review-row.rev .review-content { order: 1; }
.review-photo img {
  width: 100%; height: 340px; object-fit: cover;
  border-radius: var(--radius); box-shadow: 0 12px 32px rgba(23, 34, 58, 0.12);
}
.review-content { position: relative; }
.review-quote-mark {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 110px; line-height: 0.6; height: 52px;
  color: var(--accent); opacity: 0.85; margin-bottom: 26px;
}
.review-content p { color: var(--text-dim); font-size: 16px; line-height: 1.8; margin-bottom: 26px; }
.review-who b { font-size: 17px; color: var(--text); margin-right: 10px; }
.review-who .review-country { color: var(--accent); font-size: 14px; font-weight: 600; }
.review-stars { color: #f5a623; letter-spacing: 4px; font-size: 17px; margin: 10px 0 6px; }
.review-who .review-car { color: var(--text-dim); font-size: 13px; }
@media (max-width: 820px) {
  .review-stack { gap: 40px; }
  .review-row { grid-template-columns: 1fr; gap: 18px; }
  .review-row.rev .review-photo { order: 0; }
  .review-row.rev .review-content { order: 1; }
  .review-photo img { height: 220px; }
  .review-quote-mark { font-size: 80px; margin-bottom: 14px; }
}

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.news-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden; transition: all .25s; display: flex; flex-direction: column;
  box-shadow: 0 1px 4px rgba(23, 34, 58, 0.05);
}
.news-card:hover { border-color: var(--accent-border); transform: translateY(-4px); box-shadow: 0 10px 24px rgba(234, 88, 12, 0.14); }
.news-cover { height: 150px; background: linear-gradient(135deg, #e3f1fa, #f0f7fb); display: flex; align-items: center; justify-content: center; font-size: 40px; }
.news-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-date { color: var(--accent); font-size: 12px; font-weight: 700; }
.news-body h3 { font-size: 16px; line-height: 1.4; color: var(--text); }
.news-body p { color: var(--text-dim); font-size: 13px; }
.read-more { color: var(--accent); font-size: 13px; font-weight: 700; margin-top: auto; }

/* ---------- 询盘表单 / 联系 ---------- */
.contact-wrap { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; align-items: start; }
.contact-card {
  background: var(--panel); border: 1px solid var(--border); border-radius: var(--radius); padding: 32px;
  box-shadow: 0 1px 4px rgba(23, 34, 58, 0.05);
}
.contact-info h3 { font-size: 24px; margin-bottom: 14px; color: var(--text); }
.contact-info p { color: var(--text-dim); margin-bottom: 22px; }
.contact-line { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 16px; font-size: 14px; }
.contact-line .icon { color: var(--accent); font-size: 18px; width: 24px; text-align: center; }
.contact-line b { color: var(--text); }
.contact-line a { color: var(--text); }
.contact-line a:hover { color: var(--accent); }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-size: 13px; font-weight: 700; color: var(--text-dim); }
.form-field input, .form-field select, .form-field textarea {
  background: #ffffff; border: 1px solid var(--border); color: var(--text);
  border-radius: 10px; padding: 12px 14px; font-size: 14px; outline: none;
  font-family: inherit; transition: border-color .2s;
}
.form-field input:focus, .form-field select:focus, .form-field textarea:focus { border-color: var(--accent); }
.form-success {
  display: none; background: rgba(26, 158, 110, 0.10); border: 1px solid rgba(26, 158, 110, 0.4);
  color: var(--success); border-radius: 10px; padding: 12px 16px; font-size: 14px; margin-top: 14px;
}
.form-success.show { display: block; animation: fadeUp .4s ease both; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, #e3f4fc, #edf6fb);
  border: 1px solid var(--accent-border); border-radius: 20px;
  padding: 52px 40px; text-align: center;
  box-shadow: 0 4px 20px rgba(234, 88, 12, 0.10);
}
.cta-band h2 { font-size: clamp(24px, 3vw, 34px); margin-bottom: 12px; color: var(--text); }
.cta-band p { color: var(--text-dim); margin-bottom: 26px; }

/* ---------- Footer（浅色） ---------- */
.site-footer { border-top: 1px solid var(--border); background: #ffffff; padding: 56px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 36px; }
.footer-grid h4 { font-size: 15px; margin-bottom: 14px; color: var(--text); }
.footer-grid p, .footer-grid a { color: var(--text-dim); font-size: 14px; display: block; margin-bottom: 8px; }
.footer-grid a:hover { color: var(--accent); }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 22px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--text-dim); font-size: 13px;
}

/* ---------- WhatsApp 浮动按钮 ---------- */
.wa-float {
  position: fixed; right: 22px; bottom: 22px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45);
  transition: transform .25s; animation: breathing 3s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); }
.wa-float svg { width: 30px; height: 30px; fill: #ffffff; }
@keyframes breathing {
  0%, 100% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 8px 28px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- 页面头部（子页面） ---------- */
.page-hero {
  background: linear-gradient(120deg, #eaf4fb, #f2f7fa);
  border-bottom: 1px solid var(--border);
  padding: 64px 0;
}
.page-hero h1 { font-size: clamp(28px, 4vw, 42px); font-weight: 900; color: var(--text); }
.page-hero p { color: var(--text-dim); margin-top: 10px; max-width: 680px; }

/* 响应式 */
@media (max-width: 900px) {
  .main-nav { display: none; }
  .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
