/* 汽车救援平台 - 首页样式 */
/* 所有自定义类使用 zh_ 前缀 */
/* 参考 Figma 设计稿配色：#d41011 (红色), #f2e5de (浅米色) */

/* ========== 全局样式 ========== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', 'Microsoft YaHei', 'PingFang SC', 'Hiragino Sans GB', sans-serif;
  color: #000;
  line-height: 1.6;
  overflow-x: hidden;
  background: #fff;
}

.zh_main {
  width: 100%;
  overflow: hidden;
}

/* ========== Hero 主视觉区 - 参考Figma设计 ========== */
.zh_hero {
  position: relative;
  background: #f2e5de;
  padding: 100px 0 0;
  overflow: hidden;
}

.zh_hero_container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 96px 80px;
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
  align-items: flex-start;
}

/* 左侧内容区 */
.zh_hero_left {
  display: flex;
  flex-direction: column;
  padding-top: 40px;
}

.zh_hero_label {
  display: inline-block;
  font-size: 16px;
  font-weight: 400;
  color: #d41011;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 20px;
}

.zh_hero_title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.2;
  color: #000;
  margin-bottom: 20px;
}

.zh_hero_highlight {
  color: #d41011;
}

.zh_hero_desc {
  font-size: 16px;
  color: #333;
  line-height: 1.6;
  margin-bottom: 40px;
}

/* 特色功能卡片 */
.zh_hero_feature_card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.zh_hero_feature_icon {
  width: 56px;
  height: 56px;
  background: #d41011;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  flex-shrink: 0;
  box-shadow: 0 8px 20px rgba(212, 16, 17, 0.3);
}

.zh_hero_feature_info {
  flex: 1;
}

.zh_hero_feature_title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
}

.zh_hero_feature_text {
  font-size: 12px;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.zh_hero_feature_btn {
  display: inline-block;
  background: #d41011;
  color: #fff;
  padding: 10px 40px;
  border-radius: 30px;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(212, 16, 17, 0.3);
}

.zh_hero_feature_btn:hover {
  background: #a30d0e;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 16, 17, 0.4);
}

/* 右侧图片区 */
.zh_hero_right {
  position: relative;
}

.zh_hero_images {
  position: relative;
  width: 100%;
  height: 536px;
}

.zh_hero_img_main {
  position: absolute;
  left: 0;
  top: 0;
  width: 506px;
  height: 438px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.zh_hero_img_main img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zh_hero_img_top {
  position: absolute;
  right: 0;
  top: 0;
  width: 294px;
  height: 207px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 3;
}

.zh_hero_img_top img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.zh_hero_img_bottom {
  position: absolute;
  right: 0;
  bottom: 0;
  width: 294px;
  height: 207px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  z-index: 1;
}

.zh_hero_img_bottom img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 统计数据条 */
.zh_hero_stats_bar {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 96px 20px;
}

.zh_hero_stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  background: #d41011;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(212, 16, 17, 0.3);
}

.zh_hero_stat_item {
  padding: 30px 20px;
  text-align: center;
  color: #fff;
  position: relative;
}

.zh_hero_stat_item:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 25%;
  height: 50%;
  width: 1px;
  background: rgba(255, 255, 255, 0.2);
}

.zh_hero_stat_value {
  font-size: 36px;
  font-weight: 700;
  margin-bottom: 8px;
}

.zh_hero_stat_label {
  font-size: 20px;
  font-weight: 500;
  opacity: 0.95;
}

/* ========== 拖车服务展示区 ========== */
.zh_towing {
  padding: 100px 0;
  background: #fff;
}

.zh_towing_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.zh_towing_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.zh_towing_title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.zh_towing_subtitle {
  font-size: 16px;
  color: #666;
}

.zh_towing_more {
  color: #d41011;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.zh_towing_more:hover {
  gap: 12px;
}

.zh_towing_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 30px;
}

.zh_towing_card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
  transition: all 0.4s ease;
}

.zh_towing_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(212, 16, 17, 0.2);
}

.zh_towing_card_img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

.zh_towing_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.zh_towing_card:hover .zh_towing_card_img img {
  transform: scale(1.1);
}

.zh_towing_card_overlay {
  position: absolute;
  top: 15px;
  right: 15px;
  width: 50px;
  height: 50px;
  background: rgba(212, 16, 17, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 22px;
}

.zh_towing_card_body {
  padding: 25px;
}

.zh_towing_card_title {
  font-size: 18px;
  font-weight: 700;
  color: #000;
  margin-bottom: 12px;
  line-height: 1.4;
}

.zh_towing_card_desc {
  font-size: 14px;
  color: #666;
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.zh_towing_card_desc i {
  color: #d41011;
  font-size: 14px;
}

.zh_towing_card_link {
  color: #d41011;
  text-decoration: none;
  font-size: 15px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap 0.3s ease;
}

.zh_towing_card_link:hover {
  gap: 10px;
}

/* ========== 汽车救援服务展示区 ========== */
.zh_rescue {
  padding: 100px 0;
  background: #f9f9f9;
}

.zh_rescue_container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.zh_rescue_header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
}

.zh_rescue_title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
}

.zh_rescue_subtitle {
  font-size: 16px;
  color: #666;
}

.zh_rescue_more {
  color: #d41011;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.3s ease;
}

.zh_rescue_more:hover {
  gap: 12px;
}

.zh_rescue_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 30px;
}

.zh_rescue_card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  position: relative;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
  display: flex;
  flex-direction: column;
}

.zh_rescue_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px rgba(212, 16, 17, 0.15);
}

.zh_rescue_card_icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #d41011 0%, #a30d0e 100%);
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 28px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(212, 16, 17, 0.3);
}

.zh_rescue_card_img {
  width: 100%;
  height: 150px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 20px;
}

.zh_rescue_card_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.zh_rescue_card:hover .zh_rescue_card_img img {
  transform: scale(1.08);
}

.zh_rescue_card_content {
  flex: 1;
}

.zh_rescue_card_title {
  font-size: 20px;
  font-weight: 700;
  color: #000;
  margin-bottom: 10px;
  line-height: 1.3;
}

.zh_rescue_card_info {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

.zh_rescue_card_btn {
  width: 45px;
  height: 45px;
  background: #f2e5de;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d41011;
  font-size: 18px;
  text-decoration: none;
  align-self: flex-end;
  margin-top: 15px;
  transition: all 0.3s ease;
}

.zh_rescue_card:hover .zh_rescue_card_btn {
  background: #d41011;
  color: #fff;
  transform: rotate(45deg);
}

/* ========== 平台优势区 ========== */
.zh_features {
  padding: 100px 0;
  background: #fff;
}

.zh_features_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.zh_features_header {
  text-align: center;
  margin-bottom: 60px;
}

.zh_features_title {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.zh_features_subtitle {
  font-size: 16px;
  color: #666;
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.8;
}

.zh_features_grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.zh_features_card {
  background: #fff;
  padding: 40px 30px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
  transition: all 0.4s ease;
}

.zh_features_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(212, 16, 17, 0.15);
}

.zh_features_card_icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #d41011 0%, #a30d0e 100%);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 36px;
  margin: 0 auto 25px;
  box-shadow: 0 10px 25px rgba(212, 16, 17, 0.3);
}

.zh_features_card_title {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  margin-bottom: 15px;
}

.zh_features_card_text {
  font-size: 15px;
  color: #666;
  line-height: 1.7;
}

/* ========== CTA 行动号召区 ========== */
.zh_cta {
  padding: 100px 0;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  position: relative;
  overflow: hidden;
}

.zh_cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #d41011 0%, #a30d0e 100%);
}

.zh_cta_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 30px;
}

.zh_cta_content {
  text-align: center;
}

.zh_cta_title {
  font-size: 48px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 20px;
  line-height: 1.2;
}

.zh_cta_text {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 40px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.8;
}

.zh_cta_actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}

.zh_cta_btn {
  padding: 18px 40px;
  border-radius: 25px;
  font-size: 17px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.3s ease;
}

.zh_cta_btn_primary {
  background: #d41011;
  color: #fff;
  box-shadow: 0 8px 25px rgba(212, 16, 17, 0.4);
}

.zh_cta_btn_primary:hover {
  background: #a30d0e;
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(212, 16, 17, 0.5);
}

.zh_cta_btn_secondary {
  border: 2px solid #fff;
  color: #fff;
  background: transparent;
}

.zh_cta_btn_secondary:hover {
  background: #fff;
  color: #d41011;
}

/* ========== 响应式设计 ========== */
@media (max-width: 1400px) {
  .zh_hero_container,
  .zh_hero_stats_bar {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 1200px) {
  .zh_hero_title {
    font-size: 36px;
  }

  .zh_hero_images {
    height: 450px;
  }

  .zh_hero_img_main {
    width: 420px;
    height: 360px;
  }

  .zh_hero_img_top,
  .zh_hero_img_bottom {
    width: 240px;
    height: 170px;
  }

  .zh_towing_title,
  .zh_rescue_title,
  .zh_features_title {
    font-size: 36px;
  }

  .zh_cta_title {
    font-size: 38px;
  }
}

@media (max-width: 992px) {
  .zh_hero_container {
    grid-template-columns: 1fr;
    gap: 60px;
    padding-left: 30px;
    padding-right: 30px;
  }

  .zh_hero_left {
    padding-top: 0;
  }

  .zh_hero_images {
    height: 400px;
    max-width: 600px;
    margin: 0 auto;
  }

  .zh_hero_img_main {
    width: 360px;
    height: 300px;
  }

  .zh_hero_img_top,
  .zh_hero_img_bottom {
    width: 200px;
    height: 140px;
  }

  .zh_hero_stats {
    grid-template-columns: repeat(3, 1fr);
  }

  .zh_hero_stats_bar {
    padding-left: 30px;
    padding-right: 30px;
  }

  .zh_features_grid {
    grid-template-columns: 1fr;
  }

  .zh_rescue_grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .zh_hero {
    padding: 60px 0 0;
  }

  .zh_hero_container {
    padding-bottom: 60px;
  }

  .zh_hero_title {
    font-size: 28px;
  }

  .zh_hero_desc {
    font-size: 14px;
  }

  .zh_hero_feature_title {
    font-size: 20px;
  }

  .zh_hero_images {
    height: 350px;
  }

  .zh_hero_img_main {
    position: relative;
    width: 100%;
    height: 250px;
    margin-bottom: 15px;
  }

  .zh_hero_img_top {
    position: relative;
    width: calc(50% - 8px);
    height: 140px;
    display: inline-block;
    margin-right: 8px;
    right: auto;
    top: auto;
  }

  .zh_hero_img_bottom {
    position: relative;
    width: calc(50% - 8px);
    height: 140px;
    display: inline-block;
    right: auto;
    bottom: auto;
  }

  .zh_hero_stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }

  .zh_hero_stats_bar {
    padding-left: 20px;
    padding-right: 20px;
  }

  .zh_hero_stat_item {
    padding: 20px 15px;
    border-radius: 20px !important;
  }

  .zh_hero_stat_item:not(:last-child)::after {
    display: none;
  }

  .zh_hero_stat_value {
    font-size: 28px;
  }

  .zh_hero_stat_label {
    font-size: 14px;
  }

  .zh_towing,
  .zh_rescue,
  .zh_features,
  .zh_cta {
    padding: 60px 0;
  }

  .zh_towing_header,
  .zh_rescue_header {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .zh_towing_title,
  .zh_rescue_title,
  .zh_features_title {
    font-size: 28px;
  }

  .zh_towing_grid {
    grid-template-columns: 1fr;
  }

  .zh_rescue_grid {
    grid-template-columns: 1fr;
  }

  .zh_cta_title {
    font-size: 28px;
  }

  .zh_cta_text {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .zh_hero_title {
    font-size: 24px;
  }

  .zh_hero_desc {
    font-size: 14px;
  }

  .zh_hero_feature_card {
    flex-direction: column;
  }

  .zh_hero_feature_icon {
    width: 48px;
    height: 48px;
    font-size: 20px;
  }

  .zh_hero_images {
    height: auto;
  }

  .zh_hero_img_main {
    height: 200px;
  }

  .zh_hero_img_top,
  .zh_hero_img_bottom {
    width: 100%;
    height: 150px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .zh_hero_stats {
    grid-template-columns: 1fr;
  }

  .zh_hero_stat_item {
    height: 70px;
  }

  .zh_hero_stat_value {
    font-size: 24px;
  }

  .zh_hero_stat_label {
    font-size: 12px;
  }

  .zh_cta_btn {
    width: 100%;
    justify-content: center;
  }

  .zh_cta_actions {
    flex-direction: column;
  }
}
