/* ==========================================================================
   拓冰建站 pgsm.cn - 首页专属样式
   ========================================================================== */

/* ====== 首页特色：户外风数据条带 ====== */
.outdoor-strip {
  background: linear-gradient(135deg, var(--olive-ink) 0%, var(--olive-deep) 100%);
  padding: 40px 0;
  position: relative;
  overflow: hidden;
}

.outdoor-strip::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: repeating-linear-gradient(45deg, transparent 0, transparent 20px, rgba(181, 165, 114, 0.04) 20px, rgba(181, 165, 114, 0.04) 22px);
}

.strip-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
  position: relative;
  z-index: 2;
}

.strip-cell {
  text-align: center;
  color: var(--sand);
  padding: 0 14px;
  border-right: 1px dashed rgba(244, 239, 226, 0.15);
}

.strip-cell:last-child {
  border-right: none;
}

.strip-cell .s-num {
  font-size: 38px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--khaki-light);
  line-height: 1;
  margin-bottom: 8px;
}

.strip-cell .s-num .red {
  color: var(--red-bright);
}

.strip-cell .s-label {
  font-size: 13px;
  color: rgba(244, 239, 226, 0.7);
}

/* ====== 核心模块导览（户外标签风） ====== */
.module-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-bottom: 50px;
}

.module-nav a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 9px 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-pill);
  font-size: 13.5px;
  color: var(--olive-deep);
  font-weight: 500;
  transition: all 0.3s ease;
}

.module-nav a::before {
  content: "#";
  color: var(--red);
  font-weight: 700;
}

.module-nav a:hover {
  background: var(--olive-deep);
  color: #fff;
  border-color: var(--olive-deep);
  transform: translateY(-2px);
}

.module-nav a:hover::before {
  color: var(--khaki-light);
}

/* ====== 快速入口（六宫格图标门） ====== */
.quick-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.quick-card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 32px 28px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  transition: all 0.4s ease;
  overflow: hidden;
}

.quick-card::after {
  content: "";
  position: absolute;
  right: -30px;
  bottom: -30px;
  width: 90px;
  height: 90px;
  border-radius: 50%;
  background: var(--sand-2);
  transition: all 0.4s ease;
  z-index: 0;
}

.quick-card > * {
  position: relative;
  z-index: 1;
}

.quick-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--red);
}

.quick-card:hover::after {
  background: var(--red-soft);
  transform: scale(1.3);
}

.quick-card .q-ico {
  width: 54px;
  height: 54px;
  border-radius: var(--r-sm);
  background: linear-gradient(135deg, var(--olive-soft), var(--olive-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--khaki-light);
  transition: all 0.4s ease;
}

.quick-card:hover .q-ico {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: #fff;
}

.quick-card .q-body h3 {
  font-size: 18px;
  margin-bottom: 6px;
}

.quick-card .q-body p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 12px;
}

.quick-card .q-body .q-link {
  font-size: 13px;
  color: var(--red);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ====== 推广服务横排（首页专属） ====== */
.promo-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.promo-flow .pf-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 26px 22px;
  text-align: center;
  position: relative;
  transition: all 0.4s ease;
}

.promo-flow .pf-item::before {
  content: counter(pf, decimal-leading-zero);
  counter-increment: pf;
  position: absolute;
  top: 14px;
  right: 16px;
  font-size: 28px;
  font-family: var(--font-en);
  font-weight: 700;
  color: var(--sand-3);
}

.promo-flow {
  counter-reset: pf;
}

.promo-flow .pf-item:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--olive-soft);
}

.promo-flow .pf-ico {
  width: 56px;
  height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--sand-2);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--red);
  transition: all 0.4s ease;
}

.promo-flow .pf-item:hover .pf-ico {
  background: linear-gradient(135deg, var(--red-bright), var(--red));
  color: #fff;
}

.promo-flow .pf-item h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.promo-flow .pf-item p {
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.7;
}

/* ====== 客户评价 ====== */
.quote-card {
  background: var(--white);
  border-radius: var(--r-md);
  padding: 32px 30px;
  border: 1px solid var(--line);
  border-left: 4px solid var(--red);
  transition: all 0.3s ease;
}

.quote-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.quote-card .q-mark {
  font-size: 40px;
  font-family: var(--font-en);
  color: var(--khaki);
  line-height: 1;
  margin-bottom: 12px;
}

.quote-card .q-text {
  font-size: 14.5px;
  color: var(--body);
  line-height: 1.9;
  margin-bottom: 18px;
}

.quote-card .q-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-card .q-author .qa-name {
  font-weight: 600;
  color: var(--ink);
  font-size: 14px;
}

.quote-card .q-author .qa-role {
  font-size: 12px;
  color: var(--muted);
}

/* ====== 响应式 ====== */
@media (max-width: 1100px) {
  .strip-row { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .strip-cell:nth-child(2) { border-right: none; }
  .quick-grid { grid-template-columns: repeat(2, 1fr); }
  .promo-flow { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .strip-row { grid-template-columns: 1fr 1fr; }
  .quick-grid { grid-template-columns: 1fr; }
  .promo-flow { grid-template-columns: 1fr; }
  .strip-cell { border-right: none; padding: 10px; }
  .strip-cell .s-num { font-size: 30px; }
}
