* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif; background: #fdf2f2; color: #333; }
a { text-decoration: none; color: inherit; }
ul,li{
    list-style: none;
}
.header {
  background: linear-gradient(135deg, #d35400, #f39c12);
  color: #fff;
  padding: 0 16px;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,.15);
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  height: 56px;
  gap: 12px;
}
.header .logo { font-size: 20px; font-weight: 700; letter-spacing: 1px; white-space: nowrap; }
.header .logo span { color: #ffeaa7; }
.header .nav {
  display: flex;
  gap: 4px;
  margin-left: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.header .nav a {
  color: rgba(255,255,255,.85);
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 14px;
  white-space: nowrap;
  transition: .2s;
}
.header .nav a:hover,
.header .nav a.active { background: rgba(255,255,255,.2); color: #fff; }

.menu-toggle {
  display: none; background: none; border: none; cursor: pointer;
  padding: 8px; flex-direction: column; gap: 5px; margin-left: auto;
  z-index: 101;
}
.menu-toggle span {
  display: block; width: 24px; height: 2.5px; background: #fff;
  border-radius: 2px; transition: .3s;
}
.menu-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.open span:nth-child(2) { opacity: 0; }
.menu-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.5); z-index: 98;
  opacity: 0; pointer-events: none; transition: .3s;
}
.nav-overlay.open { opacity: 1; pointer-events: auto; }

.filter-bar {
  background: #fff;
  padding: 12px 16px;
  border-bottom: 2px solid #fce4e4;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-items: center;
}
.filter-bar .label { font-size: 13px; color: #999; margin-right: 4px; }
.filter-bar .tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 13px;
  border: 1px solid #ddd;
  color: #666;
  cursor: pointer;
  transition: .2s;
  background: #fff;
}
.filter-bar .tag:hover,
.filter-bar .tag.active { border-color: #e67e22; color: #e67e22; background: #fef5e7; }
.filter-bar .tag-red { background: #e67e22; color: #fff; border-color: #e67e22; }
.filter-bar .tag-red:hover { background: #d35400; }

.banner {
  background: linear-gradient(135deg, #1a1a2e 0%, #d35400 50%, #f39c12 100%);
  padding: 0 16px;
  position: relative;
  overflow: hidden;
}
.banner-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 260px;
  gap: 30px;
}
.banner-text { flex: 1; padding: 30px 0; }
.banner-text h1 { font-size: 36px; font-weight: 800; color: #fff; line-height: 1.2; }
.banner-text h1 span { color: #ffeaa7; }
.banner-text p {
  font-size: 16px;
  color: rgba(255,255,255,.8);
  margin-top: 12px;
  line-height: 1.6;
  max-width: 520px;
}
.banner-text .banner-btn {
  display: inline-block;
  margin-top: 18px;
  padding: 12px 32px;
  background: #ffeaa7;
  color: #e67e22;
  font-size: 15px;
  font-weight: 700;
  border-radius: 8px;
  transition: .2s;
}
.banner-text .banner-btn:hover { background: #fff; transform: translateY(-2px); }
.banner-stats { display: flex; gap: 24px; flex-shrink: 0; }
.banner-stats .stat { text-align: center; color: #fff; }
.banner-stats .stat .num { font-size: 32px; font-weight: 800; color: #ffeaa7; }
.banner-stats .stat .lbl { font-size: 13px; color: rgba(255,255,255,.7); margin-top: 4px; }
.banner::after {
  content: '';
  position: absolute;
  right: -80px;
  top: -80px;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: rgba(255,255,255,.04);
}

.container { max-width: 1200px; margin: 0 auto; padding: 16px; }

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title h2 {
  font-size: 18px;
  font-weight: 600;
  border-left: 4px solid #e67e22;
  padding-left: 10px;
}
.section-title .more { font-size: 13px; color: #999; }

.car-list { display: flex; flex-direction: column; gap: 12px; }
.car-item {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: .2s;
  cursor: pointer;
}
.car-item:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.car-item .img-wrap {
  flex: 0 0 200px;
  width: 200px;
  height: 150px;
  overflow: hidden;
  position: relative;
  background: #eee;
}
.car-item .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .3s;
}
.car-item:hover .img-wrap img { transform: scale(1.05); }
.car-item .img-wrap .badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: #e67e22;
  color: #fff;
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
}
.car-item .info {
  flex: 1;
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  min-width: 0;
}
.car-item .info .brand-tag {
  display: inline-block;
  background: #fef5e7;
  color: #e67e22;
  font-size: 11px;
  padding: 1px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
  align-self: flex-start;
}
.car-item .info h3 {
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.car-item .info .desc {
  font-size: 13px;
  color: #888;
  line-height: 1.5;
  margin-top: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.car-item .info .meta {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  padding-top: 10px;
}
.car-item .info .meta .price { font-size: 18px; font-weight: 700; color: #e67e22; }
.car-item .info .meta .price small { font-size: 12px; font-weight: 400; color: #999; }
.car-item .info .meta .dealer { font-size: 12px; color: #999; }
.car-item .info .meta .dealer i { font-style: normal; margin-right: 2px; }
.car-item .info .tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: 6px;
}
.car-item .info .tags span {
  font-size: 11px;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #eee;
  color: #888;
}

.wa-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(37, 211, 102, .4);
  transition: .2s;
  cursor: pointer;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 6px 24px rgba(37, 211, 102, .5); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.footer {
  background: #2c2c2c;
  color: #aaa;
  text-align: center;
  padding: 24px 16px;
  font-size: 13px;
  margin-top: 20px;
}
.footer a { color: #d35400; }

/* Detail page */
.breadcrumb { font-size: 13px; color: #999; margin-bottom: 14px; display: flex; flex-wrap: wrap; gap: 4px; }
.breadcrumb a { color: #e67e22; }
.breadcrumb span { color: #999; }

.detail-main {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  display: flex;
  flex-wrap: wrap;
}
.detail-gallery { flex: 0 0 50%; max-width: 50%; padding: 20px; }
.detail-gallery .main-img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 8px;
  background: #eee;
  display: block;
}
.detail-gallery .thumb-row {
  display: flex;
  gap: 8px;
  margin-top: 10px;
  overflow-x: auto;
}
.detail-gallery .thumb-row img {
  flex: 0 0 72px;
  width: 72px;
  height: 54px;
  object-fit: cover;
  border-radius: 6px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: .2s;
  background: #eee;
}
.detail-gallery .thumb-row img.active,
.detail-gallery .thumb-row img:hover { border-color: #e67e22; }

.detail-info { flex: 1; padding: 20px 24px 20px 0; min-width: 280px; }
.detail-info .brand-tag {
  display: inline-block;
  background: #fef5e7;
  color: #e67e22;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
  margin-bottom: 8px;
}
.detail-info h1 { font-size: 22px; font-weight: 700; line-height: 1.3; }
.detail-info .subtitle { font-size: 14px; color: #888; margin-top: 6px; }
.detail-info .price-box {
  background: #fef5e7;
  border-radius: 8px;
  padding: 14px 16px;
  margin-top: 16px;
  display: flex;
  align-items: baseline;
  gap: 10px;
  flex-wrap: wrap;
}
.detail-info .price-box .label { font-size: 13px; color: #888; }
.detail-info .price-box .price { font-size: 28px; font-weight: 700; color: #e67e22; }
.detail-info .price-box .price small { font-size: 14px; font-weight: 400; color: #999; }
.detail-info .price-box .tag {
  background: #e67e22;
  color: #fff;
  font-size: 12px;
  padding: 2px 10px;
  border-radius: 4px;
  margin-left: auto;
}
.detail-info .action-bar { display: flex; gap: 10px; margin-top: 18px; flex-wrap: wrap; }
.detail-info .action-bar .btn {
  flex: 1;
  min-width: 120px;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  border: none;
  transition: .2s;
}
.detail-info .action-bar .btn-primary { background: #e67e22; color: #fff; }
.detail-info .action-bar .btn-primary:hover { background: #d35400; }
.detail-info .action-bar .btn-outline { background: #fff; color: #e67e22; border: 1px solid #e67e22; }
.detail-info .action-bar .btn-outline:hover { background: #fef5e7; }

.detail-info .dealer-info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #f0f0f0;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.detail-info .dealer-info .d-icon {
  width: 40px; height: 40px; border-radius: 50%;
  background: #fef5e7;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
}
.detail-info .dealer-info .d-name { font-size: 14px; font-weight: 600; }
.detail-info .dealer-info .d-addr { font-size: 12px; color: #999; }
.detail-info .dealer-info .d-phone {
  margin-left: auto;
  background: #fef5e7;
  color: #e67e22;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
}

.section { margin-top: 20px; }
.specs-grid {
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.specs-grid .spec-item {
  padding: 12px 16px;
  border-bottom: 1px solid #f5f5f5;
  border-right: 1px solid #f5f5f5;
  display: flex;
  flex-direction: column;
}
.specs-grid .spec-item:nth-child(even) { border-right: none; }
.specs-grid .spec-item .s-label { font-size: 12px; color: #999; margin-bottom: 2px; }
.specs-grid .spec-item .s-value { font-size: 14px; color: #333; }

.dealer-list { display: flex; flex-direction: column; gap: 10px; }
.dealer-card {
  background: #fff;
  border-radius: 10px;
  padding: 16px;
  box-shadow: 0 1px 4px rgba(0,0,0,.06);
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.dealer-card .dc-name { font-size: 14px; font-weight: 600; min-width: 100px; }
.dealer-card .dc-addr { font-size: 12px; color: #999; flex: 1; }
.dealer-card .dc-price { font-size: 16px; font-weight: 700; color: #e67e22; }
.dealer-card .dc-btn {
  background: #e67e22;
  color: #fff;
  padding: 6px 16px;
  border-radius: 6px;
  font-size: 13px;
  cursor: pointer;
  border: none;
  transition: .2s;
}
.dealer-card .dc-btn:hover { background: #d35400; }

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: #e67e22;
  font-size: 14px;
  margin-bottom: 14px;
}
.back-link:hover { text-decoration: underline; }

@media (max-width: 768px) {
  .header-inner { height: 48px; }
  .header .logo { font-size: 17px; }
  .menu-toggle { display: flex; }
  .header .nav {
    position: fixed; top: 48px; left: 0; right: 0;
    margin-left: 0; flex-direction: column; gap: 0;
    background: #d35400; padding: 0 16px;
    transform: translateY(-110%); opacity: 0;
    transition: .3s; pointer-events: none; z-index: 99;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
    overflow-x: visible;
  }
  .header .nav.open {
    transform: translateY(0); opacity: 1; pointer-events: auto;
  }
  .header .nav a {
    font-size: 15px; padding: 14px 0;
    border-bottom: 1px solid rgba(255,255,255,.1);
    border-radius: 0; display: block;
  }
  .header .nav a:last-child { border-bottom: none; }
  .filter-bar { padding: 10px 12px; gap: 6px; }
  .filter-bar .tag { font-size: 12px; padding: 3px 10px; }
  .container { padding: 10px; }
  .car-item { flex-direction: row; border-radius: 8px; }
  .car-item .img-wrap { flex: 0 0 140px; width: 140px; height: 110px; }
  .car-item .info { padding: 10px 12px; }
  .car-item .info h3 { font-size: 15px; }
  .car-item .info .meta .price { font-size: 16px; }
  .banner-inner { flex-direction: column; text-align: center; min-height: auto; padding: 24px 0; }
  .banner-text h1 { font-size: 24px; }
  .banner-text p { font-size: 14px; max-width: 100%; }
  .banner-text .banner-btn { padding: 10px 24px; font-size: 14px; }
  .banner-stats .stat .num { font-size: 24px; }
  .detail-main { flex-direction: column; }
  .detail-gallery { flex: none; max-width: 100%; padding: 12px; }
  .detail-gallery .main-img { height: 220px; }
  .detail-info { padding: 0 12px 16px; }
  .detail-info h1 { font-size: 18px; }
  .detail-info .price-box .price { font-size: 22px; }
  .detail-info .action-bar .btn { font-size: 13px; padding: 10px; min-width: 80px; }
  .specs-grid { grid-template-columns: 1fr; }
  .specs-grid .spec-item:nth-child(even) { border-right: 1px solid #f5f5f5; }
  .dealer-card .dc-price { width: 100%; }
}

/* List / Listing page */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}
.page-header h1 {
  font-size: 20px;
  font-weight: 700;
  border-left: 4px solid #e67e22;
  padding-left: 10px;
}
.page-header .count { font-size: 13px; color: #999; }
.page-header .sort { display: flex; gap: 6px; }
.page-header .sort a {
  font-size: 13px;
  color: #999;
  padding: 4px 10px;
  border-radius: 4px;
  border: 1px solid #eee;
  transition: .2s;
}
.page-header .sort a:hover,
.page-header .sort a.active { color: #e67e22; border-color: #e67e22; background: #fef5e7; }

.pagination {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
  flex-wrap: wrap;
}

.pagination a, .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 10px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid #eee;
  background: #fff;
  color: #666;
  transition: .2s;
}
.pagination a:hover { border-color: #e67e22; color: #e67e22; }
.pagination .active { background: #e67e22; color: #fff; border-color: #e67e22; }
.pagination .disabled { opacity: .4; cursor: default; }

.breadcrumb.list-breadcrumb {
  max-width: 1200px;
  margin: 14px auto 0;
  padding: 0 16px;
}

.breadcrumb.list-breadcrumb a { color: #e67e22; }

@media (max-width: 768px) {
  .page-header h1 { font-size: 17px; }
  .pagination a, .pagination span { min-width: 32px; height: 32px; font-size: 13px; }
  .page-header .sort { display: none; }
}

/* About page */
.about-hero {
  background: linear-gradient(135deg, #1a1a2e, #d35400);
  padding: 60px 16px;
  text-align: center;
  color: #fff;
}
.about-hero h1 { font-size: 36px; font-weight: 800; }
.about-hero h1 span { color: #ffeaa7; }
.about-hero p { font-size: 16px; color: rgba(255,255,255,.8); margin-top: 12px; max-width: 600px; margin-left: auto; margin-right: auto; }

.about-section { padding: 40px 16px; background: #fff; }
.about-section:nth-child(even) { background: #fafafa; }
.about-section .inner { max-width: 1200px; margin: 0 auto; }
.about-section h2 {
  font-size: 24px; font-weight: 700; text-align: center; margin-bottom: 30px;
  position: relative;
}
.about-section h2::after {
  content: ''; display: block; width: 60px; height: 3px; background: #e67e22;
  margin: 10px auto 0; border-radius: 2px;
}
.about-section .intro-text { font-size: 15px; color: #666; line-height: 1.8; text-align: center; max-width: 800px; margin: 0 auto; }

.stats-row { display: flex; justify-content: center; gap: 40px; margin-top: 30px; flex-wrap: wrap; }
.stats-row .stat { text-align: center; }
.stats-row .stat .num { font-size: 36px; font-weight: 800; color: #e67e22; }
.stats-row .stat .lbl { font-size: 14px; color: #888; margin-top: 4px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; }
.team-grid .member { text-align: center; }
.team-grid .member .avatar {
  width: 120px; height: 120px; border-radius: 50%; background: #f0f0f0;
  margin: 0 auto 14px; display: flex; align-items: center; justify-content: center;
  font-size: 40px; color: #ccc;
}
.team-grid .member h4 { font-size: 16px; font-weight: 600; }
.team-grid .member .role { font-size: 13px; color: #999; margin-top: 4px; }

.values-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.values-list .value {
  background: #fff; border-radius: 10px; padding: 24px; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); border: 1px solid #f0f0f0;
}
.values-list .value .icon { font-size: 36px; margin-bottom: 10px; }
.values-list .value h4 { font-size: 16px; font-weight: 600; }
.values-list .value p { font-size: 13px; color: #888; margin-top: 6px; line-height: 1.6; }

.contact-row { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.contact-row .card {
  background: #fff; border-radius: 10px; padding: 24px; text-align: center;
  box-shadow: 0 1px 4px rgba(0,0,0,.06); border: 1px solid #f0f0f0;
}
.contact-row .card .c-icon { font-size: 32px; margin-bottom: 8px; }
.contact-row .card h4 { font-size: 15px; font-weight: 600; }
.contact-row .card p { font-size: 13px; color: #888; margin-top: 6px; }

/* News page (no images) */
.news-list { display: flex; flex-direction: column; gap: 10px; }
.news-card {
  background: #fff; border-radius: 10px; box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: .2s; cursor: pointer; display: block;
}
.news-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.news-card .info { padding: 16px 20px; }
.news-card .info .date { font-size: 12px; color: #999; }
.news-card .info h3 { font-size: 16px; font-weight: 600; margin-top: 4px; line-height: 1.4; }
.news-card .info .excerpt { font-size: 14px; color: #666; margin-top: 6px; line-height: 1.6; }
.news-card .info .read-more { display: inline-block; margin-top: 8px; font-size: 13px; color: #e67e22; font-weight: 600; }

/* Cases page */
.cases-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 24px; }
.case-card {
  background: #fff; border-radius: 10px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06);
  transition: .2s; cursor: pointer; display: block; text-decoration: none; color: inherit;
}
.case-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.12); transform: translateY(-2px); }
.case-card .img-wrap { width: 100%; height: 220px; overflow: hidden; background: #eee; position: relative; }
.case-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: .3s; }
.case-card:hover .img-wrap img { transform: scale(1.05); }
.case-card .img-wrap .client-badge {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
  padding: 30px 16px 12px; color: #fff;
}
.case-card .img-wrap .client-badge h3 { font-size: 18px; font-weight: 700; }
.case-card .img-wrap .client-badge span { font-size: 12px; opacity: .8; }
.case-card .body { padding: 16px; }
.case-card .body .desc { font-size: 13px; color: #888; line-height: 1.6; }
.case-card .body .results { margin-top: 12px; display: flex; gap: 16px; flex-wrap: wrap; }
.case-card .body .results .result { font-size: 13px; }
.case-card .body .results .result strong { color: #e67e22; font-size: 15px; }

@media (max-width: 768px) {
  .about-hero { padding: 40px 16px; }
  .about-hero h1 { font-size: 26px; }
  .about-section { padding: 28px 16px; }
  .about-section h2 { font-size: 20px; }
  .stats-row .stat .num { font-size: 28px; }
  .team-grid { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
  .team-grid .member .avatar { width: 90px; height: 90px; font-size: 30px; }
  .cases-list { grid-template-columns: 1fr; }
  .page-header .sort { display: none; }
}

@media (max-width: 480px) {
  .car-item .img-wrap { height: 180px; }
  .car-item .info .desc { -webkit-line-clamp: 1; }
  .section-title h2 { font-size: 16px; }
  .detail-gallery .main-img { height: 180px; }
  .detail-info .price-box .price { font-size: 20px; }
  .about-hero h1 { font-size: 22px; }
  .case-card .img-wrap { height: 180px; }
}
