:root {
  --brand: #c98916;
  --brand-dark: #202832;
  --ink: #1f252d;
  --muted: #69717c;
  --line: #dfe3e8;
  --soft: #f3f4f6;
  --accent: #e0a12b;
  --rail: #3d4652;
}

* { box-sizing: border-box; }
body {
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", Arial, sans-serif;
  background: #fff;
}
a { color: inherit; }
a:hover { color: var(--brand); text-decoration: none; }
.container { max-width: 1180px; }

.site-header {
  background: #fff;
  box-shadow: 0 6px 20px rgba(8, 31, 66, .08);
}
.top-strip {
  height: 34px;
  line-height: 34px;
  background: #171d24;
  color: rgba(255,255,255,.86);
  font-size: 13px;
}
.top-phone {
  color: #fff;
  font-weight: 700;
}
.main-nav { min-height: 82px; padding: 10px 0; }
.brand-wrap { display: flex; align-items: center; max-width: none; }
.brand-logo { height: 58px; width: auto; margin-right: 0; object-fit: contain; }
.brand-name { display: none; }
.navbar-light .navbar-nav .nav-link {
  color: var(--ink);
  font-weight: 700;
  padding-left: 14px;
  padding-right: 14px;
}
.navbar-light .navbar-nav .active > .nav-link,
.navbar-light .navbar-nav .nav-link:hover { color: #9b650f; }
.nav-cta {
  border-radius: 4px;
  padding: 10px 18px;
  font-weight: 700;
}
.mobile-call {
  width: 38px;
  height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  background: var(--brand);
  color: #fff;
  margin-left: auto;
  margin-right: 10px;
}
.header-space { height: 116px; }

.navbar-collapse.show {
  display: block !important;
}

.home-hero {
  position: relative;
  min-height: 590px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(105deg, rgba(12, 20, 30, .96) 0%, rgba(18, 29, 42, .88) 42%, rgba(20, 30, 42, .56) 72%, rgba(20, 30, 42, .48) 100%),
    url("../images/railway-hero-user.jpg") center/cover no-repeat;
  color: #fff;
  padding: 80px 0;
  overflow: hidden;
}
.home-hero:before {
  content: "";
  display: none;
}
.home-hero:after {
  content: "";
  position: absolute;
  right: 7%;
  top: 18%;
  width: 34%;
  height: 54%;
  border: 1px solid rgba(255,255,255,.18);
  background:
    linear-gradient(90deg, transparent 0 45%, rgba(255,255,255,.12) 45% 48%, transparent 48% 100%),
    repeating-linear-gradient(0deg, rgba(255,255,255,.1) 0 1px, transparent 1px 32px);
  border-radius: 8px;
  opacity: .18;
}
.home-hero .container { position: relative; z-index: 1; }
.hero-tag,
.section-kicker {
  margin-bottom: 10px;
  color: var(--accent);
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: uppercase;
}
.home-hero h1 {
  font-size: 44px;
  line-height: 1.16;
  font-weight: 900;
  margin-bottom: 18px;
}
.hero-lead {
  max-width: 660px;
  font-size: 18px;
  line-height: 1.8;
  color: rgba(255,255,255,.88);
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}
.btn { border-radius: 4px; font-weight: 700; }
.btn-primary { background: #b97b16; border-color: #b97b16; color: #fff; }
.btn-primary:hover { background: #9b650f; border-color: #9b650f; }
.btn-outline-primary { border-color: #9b650f; color: #9b650f; }
.btn-outline-primary:hover { background: var(--brand); border-color: var(--brand); color: #fff; }
.hero-points {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.hero-points { display: none !important; }
.hero-points span {
  border: 1px solid rgba(255,255,255,.28);
  padding: 8px 12px;
  border-radius: 4px;
  background: rgba(255,255,255,.08);
}
.quick-card {
  background: rgba(255,255,255,.96);
  color: var(--ink);
  border-radius: 8px;
  padding: 28px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, .26);
  border-top: 5px solid var(--accent);
}
.quick-card h2 { font-size: 26px; font-weight: 900; margin-bottom: 8px; }
.quick-card p { color: var(--muted); }
.quick-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 20px 0;
}
.quick-grid a {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #fff;
}
.quick-grid strong { display: block; font-size: 15px; margin-bottom: 6px; }
.quick-grid span { color: #9b650f; font-size: 13px; }
.quick-phone {
  display: block;
  padding: 14px 16px;
  border-radius: 6px;
  background: #fff4dc;
  color: #7a4d08;
  font-weight: 800;
  text-align: center;
}

.section { padding: 72px 0; }
.section-soft { background: var(--soft); }
.supply-section {
  position: relative;
  background:
    linear-gradient(105deg, rgba(13, 21, 31, .94), rgba(22, 31, 43, .84)),
    url("../images/railway-supply-user.jpg") center/cover no-repeat;
  color: #fff;
  overflow: hidden;
}
.supply-section .muted,
.supply-section .section-head p { color: rgba(255,255,255,.78); }
.supply-section .section-kicker { color: #e4ad45; }
.supply-section .advantage-grid div {
  background: rgba(255,255,255,.1);
  border-color: rgba(255,255,255,.18);
  backdrop-filter: blur(2px);
}
.supply-section .advantage-grid span { color: rgba(255,255,255,.78); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.section-head h2,
.section h2 {
  font-size: 32px;
  line-height: 1.25;
  font-weight: 900;
  margin-bottom: 12px;
}
.section-head p,
.muted { color: var(--muted); line-height: 1.8; }

.product-card,
.news-card,
.content-panel,
.form-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  overflow: hidden;
  height: 100%;
}
.product-img {
  display: block;
  aspect-ratio: 1/1;
  background: #fff;
  overflow: hidden;
  padding: 8px;
}
.product-img img {
  width: 100%;
  height: 100%;
  object-fit: contain !important;
  transition: transform .25s ease;
}
.product-card:hover .product-img img { transform: none; }
.product-detail-img {
  aspect-ratio: auto;
  padding: 14px;
  text-align: center;
}
.product-detail-img img {
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: 460px;
  object-fit: contain;
  margin: 0 auto;
}
.product-card:hover .product-detail-img img { transform: none; }
.product-body { padding: 18px; }
.product-body h3,
.news-card h3 {
  font-size: 18px;
  line-height: 1.45;
  font-weight: 800;
}
.product-body p,
.news-card p { color: var(--muted); line-height: 1.7; }
.text-link,
.news-card a { color: #9b650f; font-weight: 800; }

.advantage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.advantage-grid div {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
}
.advantage-grid strong {
  display: block;
  font-size: 18px;
  margin-bottom: 10px;
}
.advantage-grid span { color: var(--muted); line-height: 1.7; }

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
.news-card { padding: 24px; }
.news-img {
  display: block;
  aspect-ratio: 1/1;
  margin: -24px -24px 18px;
  background: var(--soft);
  overflow: hidden;
}
.news-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.news-card time {
  display: block;
  color: #9b650f;
  font-weight: 800;
  margin-bottom: 12px;
}

.page-hero {
  padding: 78px 0;
  background:
    linear-gradient(110deg, rgba(18, 25, 34, .95), rgba(44, 54, 66, .9)),
    url("../images/railway-supply-user.jpg") center/cover no-repeat;
  color: #fff;
}
.page-hero h1 { font-size: 36px; font-weight: 900; margin-bottom: 10px; }
.page-hero p:last-child { max-width: 760px; color: rgba(255,255,255,.84); margin: 0; }
.pages { padding-top: 36px; padding-bottom: 62px; }
.inner-layout {
  background: linear-gradient(180deg, #f6f7f9 0%, #fff 48%);
}
.inner-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, .9fr);
  gap: 22px;
  align-items: stretch;
  margin-bottom: 26px;
}
.inner-intro.intro-full {
  grid-template-columns: 1fr;
}
.inner-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 26px;
  box-shadow: 0 14px 34px rgba(15, 28, 45, .06);
}
.inner-panel.dark {
  background: linear-gradient(135deg, #1b2430, #303948);
  color: #fff;
  border-color: transparent;
}
.inner-panel h2,
.inner-panel h3 {
  font-weight: 900;
  margin-bottom: 14px;
}
.inner-panel p {
  color: var(--muted);
  line-height: 1.85;
}
.inner-panel.dark p,
.inner-panel.dark li {
  color: rgba(255,255,255,.76);
}
.inner-list {
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}
.inner-list li {
  padding: 12px 0;
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.inner-list li:last-child { border-bottom: 0; }
.support-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.support-strip div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: #fff;
}
.support-strip strong {
  display: block;
  margin-bottom: 8px;
  font-size: 17px;
}
.support-strip span {
  color: var(--muted);
  line-height: 1.7;
}
.breadcrumb-line {
  color: var(--muted);
  font-size: 14px;
  margin-bottom: 24px;
}
.empty-state {
  padding: 46px;
  text-align: center;
  color: var(--muted);
  background: var(--soft);
  border-radius: 8px;
}

.article-title { max-width: 900px; margin: 0 auto 12px; text-align: center; }
.article-title h1 { font-size: 34px; font-weight: 900; line-height: 1.35; }
.article-meta { color: var(--muted); text-align: center; border-bottom: 1px solid var(--line); padding-bottom: 18px; margin-bottom: 28px; }
.article-cover {
  margin: 22px 0;
  border-radius: 8px;
  overflow: hidden;
  background: var(--soft);
  text-align: center;
}
.article-cover img {
  width: auto;
  max-width: 100%;
  max-height: 460px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}
.geo-summary,
.faq-box {
  border-left: 4px solid var(--accent);
  background: var(--soft);
  border-radius: 6px;
  padding: 18px 20px;
  margin-bottom: 24px;
}
.content { line-height: 1.9; font-size: 16px; }
.content img { max-width: 100%; height: auto; border-radius: 6px; }
.content h2,
.content h3 { margin-top: 28px; font-weight: 900; }
img {
  -webkit-user-drag: none;
  user-select: none;
}
.article-tags {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin-top: 30px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.article-tags:empty { display: none; }
.article-tags::before { content: '文章标签'; color: var(--muted); font-weight: 700; margin-right: 4px; }
.article-tags a {
  display: inline-flex;
  align-items: center;
  border: 1px solid #e1b45b;
  border-radius: 999px;
  color: #85580d;
  background: #fff9ed;
  padding: 4px 10px;
  font-size: 13px;
}
.related-product-link {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
  padding: 16px 20px;
  border-radius: 7px;
  background: #1c293a;
  color: #fff !important;
  font-weight: 800;
  box-shadow: 0 10px 22px rgba(20, 34, 50, .16);
}
.related-product-link:hover { background: #b17813; color: #fff !important; }

.contact-band {
  background: linear-gradient(110deg, #171d24, #2d3540);
  color: #fff;
  padding: 42px 0;
}
.contact-band-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.contact-band h2 { font-size: 26px; font-weight: 900; margin: 0; }
.contact-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.site-footer {
  background: #101827;
  color: rgba(255,255,255,.72);
  padding: 54px 0 24px;
}
.site-footer h4,
.site-footer h5 { color: #fff; font-weight: 900; margin-bottom: 16px; }
.site-footer p { line-height: 1.8; }
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 10px; }
.site-footer a { color: rgba(255,255,255,.85); }
.footer-contact i { width: 20px; color: var(--accent); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  margin-top: 34px;
  padding-top: 20px;
  text-align: center;
  font-size: 13px;
}

.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1040;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -8px 24px rgba(8, 31, 66, .12);
}
.mobile-bottom-nav a {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 58px;
  color: var(--ink);
  font-size: 12px;
}
.mobile-bottom-nav i { color: #9b650f; font-size: 18px; margin-bottom: 3px; }

@media (max-width: 991.98px) {
  .header-space { height: 78px; }
  .brand-wrap { max-width: 68%; }
  .brand-logo { height: 50px; }
  .brand-name { display: none; }
  .home-hero { min-height: auto; padding: 50px 0; }
  .home-hero h1 { font-size: 34px; }
  .quick-card { margin-top: 28px; }
  .news-grid { grid-template-columns: 1fr 1fr; }
  .contact-band-inner { display: block; }
  .contact-actions { margin-top: 20px; }
  body { padding-bottom: 58px; }
  .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 12px;
    right: 12px;
    display: block !important;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-10px);
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: 0 18px 38px rgba(15, 28, 45, .18);
    padding: 0 14px;
    z-index: 1050;
    pointer-events: none;
    transition: max-height .28s ease, opacity .22s ease, transform .28s ease, padding .28s ease;
  }
  .navbar-collapse.show {
    max-height: 420px;
    opacity: 1;
    transform: translateY(0);
    padding: 10px 14px;
    pointer-events: auto;
  }
  .navbar-toggler {
    transition: border-color .2s ease, background-color .2s ease;
  }
  .navbar-toggler.is-open {
    border-color: var(--brand);
    background: #fff7e8;
  }
  .navbar-nav .nav-link {
    padding: 13px 4px !important;
    border-bottom: 1px solid var(--line);
  }
  .navbar-nav .nav-item:last-child .nav-link {
    border-bottom: 0;
  }
  .inner-intro {
    grid-template-columns: 1fr;
  }
  .support-strip {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .brand-name { display: none; }
  .home-hero h1 { font-size: 30px; }
  .hero-lead { font-size: 16px; }
  .quick-grid,
  .advantage-grid,
  .news-grid { grid-template-columns: 1fr; }
  .section { padding: 50px 0; }
  .section-head h2,
  .section h2,
  .article-title h1 { font-size: 26px; }
  .page-hero { padding: 54px 0; }
  .page-hero h1 { font-size: 28px; }
  .section-head { margin-bottom: 22px; }
  .section-head p { font-size: 14px; }
  .product-card { border-radius: 6px; }
  .product-img { aspect-ratio: 1/1; }
  .product-body { padding: 12px; }
  .product-body h3 { font-size: 15px; margin-bottom: 6px; }
  .product-body p { display: none; }
  .product-body .text-link { font-size: 13px; }
  .section .row > [class*="col-"].mb-4 { margin-bottom: 12px !important; }
}
