/* ---------- 全局：大背景标题 ---------- */
.carcity-bold-title {
  margin: -55px 0 55px;
  background-repeat: no-repeat;
  background-position: center;
}

.carcity-bold-title p {
  font-size: 120px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.4em;
  color: rgba(13, 14, 20, 0.05);
}

/* =====================================================
   1. 组件外层（防止与上下组件重叠）
   ===================================================== */
.about-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 40px 0 56px;
}

.about-section .carcity-bold-title {
  margin: 0 0 20px;
}

.about-section .carcity-bold-title p {
  margin: 0;
  padding: 0;
  line-height: 1.2;
  font-size: clamp(48px, 7vw, 100px);
  letter-spacing: 0.28em;
  max-width: 100%;
  overflow: hidden;
}

/* 右侧装饰边图：放在内容后面，不拦截点击 */
.about-section .about-shape {
  position: relative;
}

.about-section .shape-thumb-1 {
  position: absolute;
  right: -300px;
  bottom: 500px;
  z-index: -1;
  pointer-events: none;
  animation: 1s fadeInRight;
}

/* =====================================================
   2. 左图 + 右侧标题文案
   ===================================================== */
.about-section .about-thumb img {
  display: block;
  width: 100%;
  height: auto;
  max-width: 100%;
}

.about-section .about-right-sidegape {
  padding-left: 24px;
  min-width: 0;
}

.about-section .carcity-section-title h4 {
  margin: 0;
  padding-bottom: 8px;
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  text-transform: uppercase;
  color: var(--color-primary, #f58220);
}

.about-section .carcity-section-title h2 {
  margin: 0;
  font-size: 40px;
  font-weight: 600;
  line-height: 1.2;
}

.about-section .carcity-section-title h3 {
  margin: 0;
  padding: 14px 0 0;
  font-size: 16px;
  font-weight: 400;
  line-height: 28px;
}

/* =====================================================
   3. 右侧模块网格
   DOM 顺序：[1]模块1 [2]数字 [3]文字列表 [4]模块2
   显示顺序：列表 → 数字横幅 → 模块1 | 模块2
   ===================================================== */
.about-section .row.responsive {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin: 20px 0 0;
  padding-top: 0 !important;
}

.about-section .row.responsive::before,
.about-section .row.responsive::after {
  display: none;
}

.about-section .row.responsive > [class*="col-"] {
  display: flex;
  width: auto;
  max-width: none;
  min-width: 0;
  flex: none;
  padding: 0;
}

.about-section .row.responsive > :nth-child(3) { order: 1; grid-column: 1 / -1; } /* 列表 */
.about-section .row.responsive > :nth-child(2) { order: 2; grid-column: 1 / -1; } /* 数字 */
.about-section .row.responsive > :nth-child(1) { order: 3; }                       /* 模块1 */
.about-section .row.responsive > :nth-child(4) { order: 4; }                       /* 模块2 */

/* =====================================================
   4. 文字列表（对勾圆圈）
   ===================================================== */
.about-section .single-about-box:has(.about-list) {
  width: 100%;
  padding: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.about-section .about-list ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 24px;
  margin: 0;
  padding: 0;
}

.about-section .about-list ul li {
  display: block;
  list-style: none;
}

.about-section .about-list ul li p {
  display: inline-block;
  position: relative;
  margin: 0;
  padding: 0 0 0 24px;
  font-size: 15px;
  line-height: 28px;
  color: #0d0e14;
}

.about-section .about-list ul li p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 7px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 3px solid var(--color-primary, #f58220);
  box-sizing: border-box;
}

/* =====================================================
   5. 卡片通用样式（特性卡片 + 数字横幅）
   ===================================================== */
.about-section .single-about-box:not(:has(.about-list)),
.about-section .about-single-counter {
  width: 100%;
  padding: 20px;
  margin: 0;
  background: #fff;
  border: 1px solid rgba(13, 14, 20, 0.08);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(13, 14, 20, 0.05);
  box-sizing: border-box;
  overflow: visible;
  transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

/* 图标底块（同时去掉原来的灰色小圆点） */
.about-section .about-icon-thumb,
.about-section .about-box-shape {
  display: flex;
  align-items: center;
  justify-content: center;
  position: static;
  float: none;
  width: 52px;
  height: 52px;
  margin: 0;
  border-radius: 12px;
  background: rgba(13, 14, 20, 0.04);
}

.about-section .about-icon-thumb::before,
.about-section .about-icon-thumb::after,
.about-section .about-box-shape::before,
.about-section .about-box-shape::after {
  display: none !important;
  content: none !important;
}

.about-section .about-icon-thumb img,
.about-section .about-box-shape img {
  display: block;
  width: 30px;
  height: 30px;
  object-fit: contain;
}

/* =====================================================
   6. 特性卡片：图标在上，标题 + 描述在下
   ===================================================== */
.about-section .single-about-box:not(:has(.about-list)) .about-icon-thumb {
  margin-bottom: 14px;
}

.about-section .about-title h5 {
  margin: 0;
  padding: 0 0 8px;
  font-size: 20px;
  font-weight: 500;
  line-height: 26px;
}

.about-section .about-desc {
  overflow: hidden;
}

.about-section .about-desc p {
  margin: 0;
  font-size: 15px;
  line-height: 24px;
}

/* =====================================================
   7. 数字横幅：图标 | 大数字 | 说明
   ===================================================== */
.about-section .about-single-counter {
  display: grid;
  grid-template-columns: 52px auto minmax(0, 1fr);
  grid-template-areas: "shape number title";
  align-items: center;
  column-gap: 16px;
  position: relative;
}

.about-section .about-box-shape {
  grid-area: shape;
}

.about-section .counter-number {
  grid-area: number;
  float: none;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0;
  background: none;
  border-radius: 0;
  line-height: 1;
}

.about-section .counter-number p {
  display: block;
  margin: 0;
  font-size: 44px;
  font-weight: 700;
  line-height: 1.1;
  color: var(--color-primary, #f58220);
}

.about-section .about-counter-title {
  grid-area: title;
  min-width: 0;
}

.about-section .about-counter-title h5 {
  position: static;
  margin: 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 26px;
}

/* 悬浮效果：仅鼠标设备 */
@media (hover: hover) and (pointer: fine) {
  .about-section .single-about-box:not(:has(.about-list)):hover,
  .about-section .about-single-counter:hover {
    transform: translateY(-3px);
    border-color: var(--color-primary, #f58220);
    box-shadow: 0 10px 24px rgba(13, 14, 20, 0.1);
  }
}

@media (prefers-reduced-motion: reduce) {
  .about-section .shape-thumb-1 {
    animation: none;
  }

  .about-section .single-about-box:not(:has(.about-list)),
  .about-section .about-single-counter {
    transition: none;
  }
}

/* =====================================================
   响应式
   ===================================================== */

/* ---- 小桌面 / 笔记本 ≤1199：右栏变窄，卡片改单列 ---- */
@media (max-width: 1199px) {
  .about-section {
    padding: 32px 0 48px;
  }

  .about-section .carcity-section-title h2 {
    font-size: 34px;
  }

  .about-section .carcity-section-title h3 {
    font-size: 15px;
    padding-top: 12px;
  }

  .about-section .shape-thumb-1 {
    display: none;
  }

  .about-section .about-right-sidegape {
    padding-left: 20px;
  }

  .about-section .row.responsive {
    grid-template-columns: 1fr;
  }

  .about-section .row.responsive > :nth-child(1),
  .about-section .row.responsive > :nth-child(4) {
    grid-column: 1 / -1;
  }

  /* 单列时卡片改为：图标在左，文字在右 */
  .about-section .single-about-box:not(:has(.about-list)) {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .about-section .single-about-box:not(:has(.about-list)) .about-icon-thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .about-section .single-about-box:not(:has(.about-list)) .about-title,
  .about-section .single-about-box:not(:has(.about-list)) .about-desc {
    grid-column: 2;
  }
}

/* ---- 1024：继续左图右文，再收一点字号和间距 ---- */
@media (max-width: 1024px) {
  .about-section .carcity-section-title h2 {
    font-size: 30px;
  }

  .about-section .about-right-sidegape {
    padding-left: 16px;
  }

  .about-section .counter-number p {
    font-size: 38px;
  }
}

/* ---- 平板及以下 ≤991：上图下文 ---- */
@media (max-width: 991px) {
  .about-section {
    padding: 32px 0 48px;
  }

  .about-section .about-thumb {
    margin-bottom: 20px;
  }

  .about-section .about-thumb img {
    aspect-ratio: 16 / 10;
    object-fit: cover;
  }

  .about-section .about-right-sidegape {
    padding-left: 0;
  }
}

/* ---- 平板竖屏 820：满宽后卡片改回两列 ---- */
@media (max-width: 820px) {
  .about-section .carcity-section-title h2 {
    font-size: 30px;
  }

  .about-section .row.responsive {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-section .row.responsive > :nth-child(1),
  .about-section .row.responsive > :nth-child(4) {
    grid-column: auto;
  }

  .about-section .single-about-box:not(:has(.about-list)) {
    display: block;
  }

  .about-section .single-about-box:not(:has(.about-list)) .about-icon-thumb {
    grid-column: auto;
    grid-row: auto;
    margin: 0 0 14px;
  }

  .about-section .single-about-box:not(:has(.about-list)) .about-title,
  .about-section .single-about-box:not(:has(.about-list)) .about-desc {
    grid-column: auto;
  }
}

/* ---- 手机及大手机 ≤767：卡片单列，图标在左 ---- */
@media (max-width: 767px) {
  .about-section {
    padding: 24px 0 40px;
  }

  .about-section .carcity-bold-title {
    margin-bottom: 16px;
  }

  .about-section .carcity-section-title h2 {
    font-size: 28px;
  }

  .about-section .row.responsive {
    grid-template-columns: 1fr;
    gap: 12px;
    margin-top: 16px;
  }

  .about-section .row.responsive > :nth-child(1),
  .about-section .row.responsive > :nth-child(4) {
    grid-column: 1 / -1;
  }

  .about-section .single-about-box:not(:has(.about-list)) {
    display: grid;
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start;
  }

  .about-section .single-about-box:not(:has(.about-list)) .about-icon-thumb {
    grid-column: 1;
    grid-row: 1 / span 2;
    margin: 0;
  }

  .about-section .single-about-box:not(:has(.about-list)) .about-title,
  .about-section .single-about-box:not(:has(.about-list)) .about-desc {
    grid-column: 2;
  }
}

/* ---- 手机 <480 ---- */
@media (max-width: 479px) {
  .about-section {
    padding: 20px 0 36px;
  }

  .about-section .about-thumb {
    margin-bottom: 16px;
  }

  .about-section .about-thumb img {
    aspect-ratio: 4 / 3;
  }

  .about-section .carcity-section-title h4 {
    font-size: 14px;
  }

  .about-section .carcity-section-title h2 {
    font-size: 24px;
    line-height: 1.3;
  }

  .about-section .carcity-section-title h3 {
    padding-top: 12px;
    font-size: 15px;
    line-height: 26px;
  }

  .about-section .about-list ul {
    flex-direction: column;
    gap: 2px;
  }

  .about-section .about-list ul li p {
    font-size: 14px;
  }

  .about-section .single-about-box:not(:has(.about-list)),
  .about-section .about-single-counter {
    padding: 16px;
  }

  .about-section .single-about-box:not(:has(.about-list)) {
    grid-template-columns: 46px minmax(0, 1fr);
    column-gap: 12px;
  }

  .about-section .about-icon-thumb,
  .about-section .about-box-shape {
    width: 46px;
    height: 46px;
    border-radius: 10px;
  }

  .about-section .about-icon-thumb img,
  .about-section .about-box-shape img {
    width: 26px;
    height: 26px;
  }

  .about-section .about-title h5 {
    padding-bottom: 6px;
    font-size: 18px;
    line-height: 24px;
  }

  .about-section .about-desc p {
    font-size: 14px;
    line-height: 22px;
  }

  /* 数字横幅：图标在左，数字在上，说明在下 */
  .about-section .about-single-counter {
    grid-template-columns: 46px minmax(0, 1fr);
    grid-template-areas:
      "shape number"
      "shape title";
    row-gap: 4px;
    column-gap: 12px;
    align-items: start;
  }

  .about-section .counter-number p {
    font-size: 32px;
  }

  .about-section .about-counter-title h5 {
    font-size: 16px;
    line-height: 22px;
  }
}