/* 服务方案页面样式 */
.services-detail-header {
  width: 100%;
  height: 100%;
}

.services-detail-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.services-header h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 1rem;
}

.services-header p {
  font-size: 1.1rem;
  color: #666;
  max-width: 600px;
  margin: 0 auto;
}

/* 服务方案大块样式 */
.service-blocks {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 80px;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.service-block {
  background: white;
  border-radius: 16px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-block:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 48px rgba(44, 90, 160, 0.15);
}

.service-block:hover .service-block__arrow {
  transform: translateX(5px);
}

.service-block__icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #2c5aa0, #4a90e2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 2rem;
  color: white;
}

.service-block__title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin-bottom: 15px;
}

.service-block__desc {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.service-block__arrow {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: all 0.3s ease;
}

.service-text h2 {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 20px;
  border-bottom: 3px solid var(--primary-color);
  padding-bottom: 10px;
}

.service-text p {
  font-size: 1.1rem;
  color: #666;
  line-height: 1.8;
  margin-bottom: 30px;
}

/* 服务类型样式 */
.service-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.service-type {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 30px;
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
}

.service-type:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(24, 144, 255, 0.1);
  transform: translateY(-2px);
}

.service-type h3 {
  font-size: 1.3rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 15px;
}

.service-type p {
  font-size: 1rem;
  color: #666;
  line-height: 1.6;
  margin-bottom: 20px;
}

.feature-list {
  list-style: none;
  padding: 0;
}

.feature-list li {
  position: relative;
  padding-left: 25px;
  margin-bottom: 10px;
  color: #555;
  font-size: 0.95rem;
}

.feature-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
}

/* ICL类型样式 */
.icl-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.icl-type {
  background: linear-gradient(135deg, #f8f9fa, #e9ecef);
  border-radius: 12px;
  padding: 30px;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
}

.icl-type:hover {
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.icl-type h3 {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 15px;
}

/* 晶体类型样式 */
.lens-types {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.lens-type {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
}

.lens-type:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(24, 144, 255, 0.1);
  transform: translateY(-2px);
}

.lens-type h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.lens-type p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
}

/* 检查项目样式 */
.examination-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.exam-item {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.exam-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(24, 144, 255, 0.1);
  transform: translateY(-2px);
}

.exam-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.exam-item p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.5;
  margin: 0;
}

/* 流程步骤样式 */
.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.step-number {
  width: 50px;
  height: 50px;
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  font-weight: bold;
  flex-shrink: 0;
}

.step-content h3 {
  font-size: 1.2rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.step-content p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 适合人群样式 */
.eligibility-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 15px;
  list-style: none;
  padding: 0;
  margin-bottom: 50px;
}

.eligibility-list li {
  background: #f8f9fa;
  padding: 15px 20px;
  border-radius: 8px;
  border: 2px solid var(--border-light);
  font-size: 0.95rem;
  color: #555;
  transition: all 0.3s ease;
}

.eligibility-list li:hover {
  border-color: var(--primary-color);
  box-shadow: 0 2px 8px rgba(24, 144, 255, 0.1);
  transform: translateY(-2px);
}

/* 家长须知样式 */
.parent-guide {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.guide-item {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  padding: 25px;
  text-align: center;
  transition: all 0.3s ease;
}

.guide-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 15px;
}

.guide-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

.guide-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(24, 144, 255, 0.1);
  transform: translateY(-2px);
}

/* 护理说明样式 */
.care-instructions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 25px;
  margin-bottom: 50px;
}

.care-item {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 25px;
  border: 2px solid var(--border-light);
  transition: all 0.3s ease;
}

.care-item:hover {
  border-color: var(--primary-color);
  box-shadow: 0 4px 16px rgba(24, 144, 255, 0.1);
  transform: translateY(-2px);
}

.care-item h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 10px;
}

.care-item p {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.6;
  margin: 0;
}

/* 常见问题样式 */
.faq-section {
  margin-bottom: 50px;
}

.faq-item {
  background: white;
  border: 2px solid #e9ecef;
  border-radius: 12px;
  margin-bottom: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--primary-color);
}

.faq-question {
  background: #f8f9fa;
  padding: 20px 25px;
  font-size: 1.1rem;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  position: relative;
}

.faq-question:after {
  content: "+";
  position: absolute;
  right: 25px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  color: var(--primary-color);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-question:after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
  padding: 20px 25px;
  max-height: 200px;
}

.faq-answer p {
  font-size: 1rem;
  color: #666;
  line-height: 1.7;
  margin: 0;
}

/* CTA按钮样式 */
.cta-box {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: white;
  border-radius: 16px;
  padding: 40px;
  text-align: center;
  margin-top: 50px;
}

.cta-box h3 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.cta-box p {
  font-size: 1.1rem;
  margin-bottom: 25px;
  opacity: 0.9;
}

/* 响应式设计 */
@media (max-width: 768px) {
  /* 主体内容移动端适配 */
  .services-main {
    padding: 40px 0;
  }

  .container {
    padding: 0 20px;
  }

  .services-header {
    margin-bottom: 40px;
  }

  .services-header h1 {
    font-size: 1.8rem;
  }

  .services-header p {
    font-size: 1rem;
  }

  /* 服务方案大块移动端适配 */
  .service-blocks {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 60px;
  }

  .service-block {
    padding: 30px 20px;
  }

  .service-block__icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }

  .service-block__title {
    font-size: 1.3rem;
  }

  .service-text h2 {
    font-size: 1.5rem;
  }

  .service-text p {
    font-size: 1rem;
  }

  /* 网格布局移动端适配 */
  .service-types,
  .icl-types,
  .lens-types,
  .examination-items,
  .process-steps,
  .eligibility-list,
  .parent-guide,
  .care-instructions {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-type,
  .icl-type,
  .lens-type,
  .exam-item,
  .guide-item,
  .care-item {
    padding: 20px;
  }

  .step {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .step-number {
    margin: 0 auto;
  }

  /* CTA按钮移动端适配 */
  .cta-box {
    padding: 30px 20px;
  }

  .cta-box h3 {
    font-size: 1.3rem;
  }

  .cta-box p {
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .services-header h1 {
    font-size: 1.5rem;
  }

  .service-block__title {
    font-size: 1.2rem;
  }

  .service-text h2 {
    font-size: 1.3rem;
  }

  .service-detail {
    padding: 30px 15px;
  }

  .service-type,
  .icl-type,
  .lens-type,
  .exam-item,
  .guide-item,
  .care-item {
    padding: 15px;
  }

  .cta-box {
    padding: 25px 15px;
  }
}
