/* ============================================================
   安途交通设施有限公司 — 全站样式
   设计系统：工业深蓝 #1B4F8A / 安全橙 #F27A24 / 石墨灰阶
   ============================================================ */

:root {
  --blue: #1b4f8a;
  --blue-dark: #0f2b4c;
  --blue-deep: #0a1f38;
  --orange: #f27a24;
  --orange-dark: #d9641a;
  --ink: #1c2530;
  --gray-1: #4a5568;
  --gray-2: #8494a7;
  --line: #e3e9f0;
  --bg-soft: #f4f7fa;
  --white: #ffffff;
  --shadow-sm: 0 2px 10px rgba(15, 43, 76, 0.08);
  --shadow-md: 0 10px 34px rgba(15, 43, 76, 0.14);
  --radius: 6px;
  --font: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  --wrap: 1200px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.75;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  text-wrap: pretty;
}

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

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

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section--soft { background: var(--bg-soft); }
.section--dark { background: var(--blue-deep); color: #c9d6e4; }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-head .kicker {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 4px;
  color: var(--orange);
  text-transform: uppercase;
  margin-bottom: 12px;
}
.sec-head h2 {
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 900;
  color: var(--blue-dark);
  line-height: 1.3;
}
.section--dark .sec-head h2 { color: var(--white); }
.sec-head .sub { margin-top: 14px; color: var(--gray-2); max-width: 640px; margin-left: auto; margin-right: auto; }
.section--dark .sec-head .sub { color: #8fa6bd; }
.sec-head .bar {
  width: 56px; height: 4px; border-radius: 2px;
  background: var(--orange);
  margin: 18px auto 0;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 34px;
  font-size: 15px; font-weight: 700;
  border-radius: var(--radius);
  transition: transform .25s ease, box-shadow .25s ease, background .25s ease;
  cursor: pointer;
}
.btn--orange { background: var(--orange); color: #fff; box-shadow: 0 8px 22px rgba(242, 122, 36, .35); }
.btn--orange:hover { background: var(--orange-dark); transform: translateY(-2px); }
.btn--ghost { border: 1px solid rgba(255,255,255,.5); color: #fff; }
.btn--ghost:hover { background: rgba(255,255,255,.12); transform: translateY(-2px); }
.btn--blue { background: var(--blue); color: #fff; }
.btn--blue:hover { background: var(--blue-dark); transform: translateY(-2px); }
.btn .arrow { transition: transform .25s ease; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- 顶部信息条 ---------- */
.topbar {
  background: var(--blue-deep);
  color: #9fb4ca;
  font-size: 13px;
}
.topbar .wrap { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.topbar .contact span { margin-right: 26px; }
.topbar svg { width: 13px; height: 13px; vertical-align: -2px; margin-right: 6px; fill: var(--orange); }
.topbar .slogan { letter-spacing: 1px; }

/* ---------- 主导航 ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}
.header .wrap { display: flex; align-items: center; height: 76px; gap: 32px; }
.brand { display: flex; align-items: center; gap: 12px; margin-right: auto; }
.brand img { width: 46px; height: 46px; }
.brand .name { font-size: 20px; font-weight: 900; color: var(--blue-dark); line-height: 1.2; }
.brand .en { font-size: 11px; letter-spacing: 2.5px; color: var(--gray-2); font-weight: 500; }

.nav { display: flex; gap: 6px; }
.nav a {
  position: relative;
  padding: 26px 16px;
  font-size: 15.5px; font-weight: 500;
  color: var(--ink);
  transition: color .2s;
}
.nav a::after {
  content: "";
  position: absolute; left: 16px; right: 16px; bottom: 18px;
  height: 3px; border-radius: 2px;
  background: var(--orange);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .3s ease;
}
.nav a:hover, .nav a.active { color: var(--blue); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }

.header .cta { white-space: nowrap; padding: 11px 24px; }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 0; background: none; cursor: pointer;
  flex-direction: column; justify-content: center; align-items: center; gap: 6px;
}
.nav-toggle span { width: 24px; height: 2.5px; background: var(--blue-dark); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }

/* ---------- 首页 Hero ---------- */
.hero {
  position: relative;
  min-height: 640px;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero .slides, .hero .slide { position: absolute; inset: 0; }
.hero .slide {
  opacity: 0;
  transition: opacity 1.2s ease;
}
.hero .slide.on { opacity: 1; }
.hero .slide img { width: 100%; height: 100%; object-fit: cover; }
.hero .slide::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,31,56,.88) 8%, rgba(10,31,56,.55) 48%, rgba(10,31,56,.15) 100%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero .tag {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 14px; font-weight: 700; letter-spacing: 3px;
  color: #ffb27a;
  margin-bottom: 22px;
}
.hero .tag::before { content: ""; width: 40px; height: 2px; background: var(--orange); }
.hero h1 {
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 900;
  line-height: 1.25;
  max-width: 700px;
}
.hero p.lead {
  margin: 22px 0 38px;
  max-width: 560px;
  font-size: 17px;
  color: #c9d6e4;
}
.hero .actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero .dots {
  position: absolute; z-index: 3;
  left: 50%; bottom: 34px; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero .dots button {
  width: 34px; height: 4px; border: 0; border-radius: 2px;
  background: rgba(255,255,255,.35);
  cursor: pointer; transition: background .3s;
}
.hero .dots button.on { background: var(--orange); }

/* ---------- 数据条 ---------- */
.stats { background: var(--blue); color: #fff; }
.stats .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr);
  padding-top: 40px; padding-bottom: 40px;
  gap: 20px;
}
.stat { text-align: center; position: relative; }
.stat + .stat::before {
  content: ""; position: absolute; left: -10px; top: 12%;
  height: 76%; width: 1px; background: rgba(255,255,255,.18);
}
.stat .num { font-size: clamp(30px, 3.6vw, 44px); font-weight: 900; line-height: 1.1; }
.stat .num em { font-style: normal; color: var(--orange); font-size: .6em; margin-left: 4px; }
.stat .label { margin-top: 8px; font-size: 14px; color: #b9cde2; }

/* ---------- 关于（首页） ---------- */
.about-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: 64px; align-items: center; }
.about-media { position: relative; }
.about-media img.main { border-radius: var(--radius); box-shadow: var(--shadow-md); }
.about-media .badge {
  position: absolute; right: -22px; bottom: -28px;
  background: var(--orange); color: #fff;
  border-radius: var(--radius);
  padding: 22px 28px;
  box-shadow: var(--shadow-md);
  text-align: center;
}
.about-media .badge b { display: block; font-size: 34px; font-weight: 900; line-height: 1.1; }
.about-media .badge span { font-size: 13px; opacity: .9; }
.about-text .kicker { color: var(--orange); font-weight: 700; letter-spacing: 3px; font-size: 14px; }
.about-text h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 900; color: var(--blue-dark); margin: 10px 0 20px; line-height: 1.35; }
.about-text p { color: var(--gray-1); margin-bottom: 16px; }
.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 26px 0 34px; }
.about-points li { display: flex; gap: 10px; align-items: flex-start; font-weight: 500; font-size: 15px; }
.about-points svg { flex: none; width: 20px; height: 20px; margin-top: 4px; fill: var(--orange); }

/* ---------- 产品卡片 ---------- */
.prod-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.prod-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .3s ease, box-shadow .3s ease;
}
.prod-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.prod-card .pic { height: 200px; overflow: hidden; }
.prod-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.prod-card:hover .pic img { transform: scale(1.07); }
.prod-card .body { padding: 22px 22px 26px; }
.prod-card h3 { font-size: 18px; font-weight: 700; color: var(--blue-dark); }
.prod-card .en { font-size: 12px; letter-spacing: 1px; color: var(--gray-2); margin: 4px 0 10px; }
.prod-card p { font-size: 14px; color: var(--gray-1); }
.prod-card .more {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 16px; font-size: 14px; font-weight: 700; color: var(--orange);
}
.prod-card .more svg { width: 14px; height: 14px; fill: currentColor; transition: transform .25s; }
.prod-card:hover .more svg { transform: translateX(4px); }

/* ---------- 流程/实力 ---------- */
.strength-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.strength {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--radius);
  padding: 34px 30px;
  transition: border-color .3s, background .3s;
}
.strength:hover { border-color: var(--orange); background: rgba(242,122,36,.06); }
.strength .no { font-size: 15px; font-weight: 900; color: var(--orange); letter-spacing: 1px; }
.strength h3 { font-size: 19px; color: #fff; margin: 12px 0 10px; }
.strength p { font-size: 14px; color: #9fb4ca; }

/* ---------- 案例 ---------- */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.case-card { position: relative; border-radius: var(--radius); overflow: hidden; height: 300px; }
.case-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.case-card:hover img { transform: scale(1.06); }
.case-card .veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,31,56,0) 35%, rgba(10,31,56,.9) 100%);
}
.case-card .info { position: absolute; left: 24px; right: 24px; bottom: 20px; color: #fff; }
.case-card .info .cat { font-size: 12px; font-weight: 700; letter-spacing: 2px; color: #ffb27a; }
.case-card .info h3 { font-size: 18px; margin-top: 6px; line-height: 1.4; }
.case-card .info p { font-size: 13px; color: #b9cde2; margin-top: 6px; }

/* ---------- 新闻 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.news-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: transform .3s, box-shadow .3s;
}
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.news-card .pic { height: 190px; overflow: hidden; }
.news-card .pic img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.news-card:hover .pic img { transform: scale(1.06); }
.news-card .body { padding: 22px 24px 26px; }
.news-card time { font-size: 13px; color: var(--gray-2); }
.news-card h3 { font-size: 17px; font-weight: 700; color: var(--blue-dark); margin: 8px 0 10px; line-height: 1.5; }
.news-card p { font-size: 14px; color: var(--gray-1); }

/* ---------- CTA 横条 ---------- */
.cta-band {
  background: linear-gradient(115deg, var(--blue-dark), var(--blue));
  color: #fff;
  padding: 64px 0;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute; right: -120px; top: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  border: 60px solid rgba(242,122,36,.18);
}
.cta-band .wrap { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band h2 { font-size: clamp(24px, 3vw, 32px); font-weight: 900; }
.cta-band p { color: #b9cde2; margin-top: 8px; }

/* ---------- 子页 Banner ---------- */
.page-banner {
  position: relative;
  height: 320px;
  display: flex; align-items: center;
  color: #fff;
  overflow: hidden;
}
.page-banner img.bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.page-banner::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(10,31,56,.9), rgba(10,31,56,.45));
}
.page-banner .wrap { position: relative; z-index: 2; }
.page-banner h1 { font-size: clamp(30px, 4vw, 44px); font-weight: 900; }
.page-banner .crumb { margin-top: 12px; font-size: 14px; color: #b9cde2; }
.page-banner .crumb a:hover { color: var(--orange); }
.page-banner .crumb span { margin: 0 8px; color: var(--orange); }

/* ---------- 关于我们页 ---------- */
.milestones { position: relative; padding-left: 34px; }
.milestones::before { content: ""; position: absolute; left: 8px; top: 6px; bottom: 6px; width: 2px; background: var(--line); }
.milestones li { position: relative; padding-bottom: 34px; }
.milestones li:last-child { padding-bottom: 0; }
.milestones li::before {
  content: ""; position: absolute; left: -32px; top: 8px;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--orange); box-shadow: 0 0 0 4px rgba(242,122,36,.18);
}
.milestones .year { font-weight: 900; color: var(--blue); font-size: 18px; }
.milestones p { color: var(--gray-1); font-size: 15px; margin-top: 4px; }

.honor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.honor {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 22px; text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.honor:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.honor svg { width: 44px; height: 44px; fill: var(--blue); margin: 0 auto 14px; }
.honor h3 { font-size: 16px; color: var(--blue-dark); }
.honor p { font-size: 13px; color: var(--gray-2); margin-top: 6px; }

/* ---------- 产品页 ---------- */
.filter-bar { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-bottom: 48px; }
.filter-bar button {
  border: 1px solid var(--line); background: #fff;
  padding: 10px 26px; border-radius: 100px;
  font-size: 14.5px; font-weight: 500; color: var(--gray-1);
  cursor: pointer; transition: .25s;
  font-family: var(--font);
}
.filter-bar button:hover { border-color: var(--orange); color: var(--orange); }
.filter-bar button.on { background: var(--blue); border-color: var(--blue); color: #fff; }

.prod-lg { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.prod-lg .prod-card .pic { height: 260px; }
.spec-table { width: 100%; border-collapse: collapse; margin-top: 14px; font-size: 14px; }
.spec-table th, .spec-table td { border: 1px solid var(--line); padding: 9px 14px; text-align: left; }
.spec-table th { background: var(--bg-soft); color: var(--blue-dark); font-weight: 700; width: 38%; }
.spec-table td { color: var(--gray-1); }

/* ---------- 联系页 ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 50px; align-items: start; }
.contact-list li { display: flex; gap: 18px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.contact-list li:last-child { border-bottom: 0; }
.contact-list .ic {
  flex: none; width: 52px; height: 52px; border-radius: var(--radius);
  background: var(--bg-soft);
  display: flex; align-items: center; justify-content: center;
}
.contact-list .ic svg { width: 24px; height: 24px; fill: var(--blue); }
.contact-list h3 { font-size: 16px; color: var(--blue-dark); }
.contact-list p { color: var(--gray-1); font-size: 15px; margin-top: 4px; }
.contact-side { background: var(--blue-deep); color: #c9d6e4; border-radius: var(--radius); padding: 40px 36px; }
.contact-side h3 { color: #fff; font-size: 20px; margin-bottom: 18px; }
.contact-side p { font-size: 14.5px; margin-bottom: 14px; }
.contact-side .hot { font-size: 30px; font-weight: 900; color: var(--orange); margin: 6px 0 18px; }

/* ---------- 页脚 ---------- */
.footer { background: var(--blue-deep); color: #8fa6bd; padding: 70px 0 0; font-size: 14.5px; }
.footer .cols { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer .f-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer .f-brand img { width: 42px; height: 42px; }
.footer .f-brand b { color: #fff; font-size: 18px; }
.footer h4 { color: #fff; font-size: 16px; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 30px; height: 2px; background: var(--orange); }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--orange); }
.footer .f-contact li { display: flex; gap: 10px; }
.footer .f-contact svg { flex: none; width: 16px; height: 16px; fill: var(--orange); margin-top: 5px; }
.footer .copy {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 22px 0;
  text-align: center;
  font-size: 13px;
  color: #6c8199;
}

/* ---------- 返回顶部 ---------- */
.to-top {
  position: fixed; right: 26px; bottom: 26px; z-index: 90;
  width: 46px; height: 46px; border: 0; border-radius: var(--radius);
  background: var(--blue); color: #fff; cursor: pointer;
  box-shadow: var(--shadow-md);
  opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: .3s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--orange); }
.to-top svg { width: 20px; height: 20px; fill: #fff; margin: auto; }

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

/* ---------- 响应式 ---------- */
@media (max-width: 1024px) {
  .prod-grid { grid-template-columns: repeat(2, 1fr); }
  .strength-grid, .case-grid, .news-grid { grid-template-columns: repeat(2, 1fr); }
  .footer .cols { grid-template-columns: 1fr 1fr; }
  .stats .wrap { grid-template-columns: repeat(2, 1fr); gap: 34px; }
  .stat:nth-child(3)::before { display: none; }
  .about-grid { grid-template-columns: 1fr; gap: 60px; }
  .about-media .badge { right: 10px; }
  .contact-grid { grid-template-columns: 1fr; }
  .honor-grid { grid-template-columns: repeat(2, 1fr); }
  .prod-lg { grid-template-columns: 1fr; }
}

@media (max-width: 760px) {
  .section { padding: 60px 0; }
  .topbar .slogan { display: none; }
  .nav {
    position: fixed; top: 114px; left: 0; right: 0;
    background: #fff;
    flex-direction: column; gap: 0;
    padding: 10px 24px 20px;
    box-shadow: var(--shadow-md);
    transform: translateY(-8px);
    opacity: 0; visibility: hidden;
    transition: .3s;
  }
  .nav.open { transform: none; opacity: 1; visibility: visible; }
  .nav a { padding: 14px 4px; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header .cta { display: none; }
  .hero { min-height: 520px; }
  .prod-grid, .strength-grid, .case-grid, .news-grid, .honor-grid { grid-template-columns: 1fr; }
  .footer .cols { grid-template-columns: 1fr; gap: 34px; }
  .about-points { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}
