/*-----------------------------------*\
  #STEPS ENHANCED - 三步流程增强样式
\*-----------------------------------*/

.steps-enhanced {
  padding-block: 80px;
}

.steps-grid {
  list-style: none;
  padding: 0;
  margin: 0;
}

.step-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 30px rgba(0, 102, 102, 0.15) !important;
}

.step-number {
  display: inline-flex !important;
  width: 48px;
  height: 48px;
  background: var(--verdigris);
  color: white;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 700;
  margin-block-end: 20px;
  transition: transform 0.3s ease;
}

.step-card:hover .step-number {
  transform: scale(1.1);
}

.step-image img {
  max-width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.step-card:hover .step-image img {
  transform: scale(1.05);
}

/* 响应式布局 */
@media (min-width: 768px) {
  .step-card {
    grid-template-columns: 1fr 240px;
  }
  
  /* 步骤2图片在左侧 */
  .step-card:nth-child(2) .step-image {
    order: -1;
    grid-column: 1;
  }
  
  .step-card:nth-child(2) .step-content {
    grid-column: 2;
  }
}

@media (max-width: 767px) {
  .steps-enhanced {
    padding-block: 60px;
  }
  
  .step-card {
    padding: 30px 20px !important;
  }
  
  .step-number {
    width: 40px !important;
    height: 40px !important;
    font-size: 20px !important;
  }
  
  .step-image {
    order: -1 !important;
  }
  
  .step-image img {
    max-width: 200px;
  }
}

/* 背景图案（可选） */
.steps-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.03;
  background-image: url('../images/steps-bg-pattern.png');
  background-size: cover;
  background-position: center;
  pointer-events: none;
}

/* 打印样式 */
@media print {
  .steps-enhanced {
    background: white !important;
  }
  
  .step-card {
    box-shadow: none !important;
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }
}

