/*--------------------------------------------------------------
# Services Section
--------------------------------------------------------------*/

.services .services-container {
  margin-bottom: 60px;
}

.services .service-item {
  display: flex;
  background-color: var(--surface-color);
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  height: 100%;
  box-shadow: 0 10px 30px color-mix(in srgb, var(--accent-color), transparent 72%);
  transition: all 0.4s ease;
}

.services .service-item:hover {
  transform: translateY(-8px);
  box-shadow: 0 15px 40px color-mix(in srgb, var(--accent-color), transparent 85%);
}

.services .service-item:hover .service-icon {
  background-color: var(--accent-color);
  color: var(--contrast-color);
}

.services .service-item .service-icon {
  flex: 0 0 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: color-mix(in srgb, var(--accent-color), transparent 90%);
  color: var(--accent-color);
  font-size: 2rem;
  transition: all 0.3s ease;
}

.services .service-content {
  padding: 30px;
  position: relative;
}

.services .service-number {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 3rem;
  font-weight: 800;
  color: color-mix(in srgb, var(--heading-color), transparent 90%);
  opacity: 0.5;
  z-index: 1;
}

.services .service-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--heading-color);
  z-index: 2;
  position: relative;
}

.services .service-text {
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: color-mix(in srgb, var(--default-color), transparent 20%);
  z-index: 2;
  position: relative;
}

.services .cta-box {
  background: linear-gradient(
    135deg,
    color-mix(in srgb, var(--accent-color), transparent 15%),
    color-mix(in srgb, var(--accent-color), transparent 5%)
  );
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px color-mix(in srgb, var(--default-color), transparent 85%);
}

.services .cta-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background-size: cover;
  opacity: 0.05;
  z-index: 1;
}

.services .cta-image img {
  max-width: 150px;
  border: 5px solid color-mix(in srgb, var(--contrast-color), transparent 15%);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.services .cta-content h3 {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: var(--contrast-color);
}

.services .cta-content p {
  color: color-mix(in srgb, var(--contrast-color), transparent 15%);
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.6;
}

.services .primary-btn {
  display: inline-block;
  background-color: var(--contrast-color);
  color: var(--accent-color);
  padding: 12px 25px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.services .primary-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

@media (max-width: 991px) {
  .services .cta-image img {
    margin-bottom: 30px;
  }
  .services .cta-content {
    text-align: center;
  }
}

@media (max-width: 768px) {
  .services {
    padding: 60px 0;
  }
  .services .service-item {
    flex-direction: column;
  }
  .services .service-icon {
    width: 100%;
    height: 80px;
  }
  .services .cta-box {
    padding: 30px 20px;
  }
}


/* ==============================================================
   1. 通用基础与响应式间距 (General & Layout)
   ============================================================== */
.section-padding {
    padding: 90px 0;
}

.section-desc {
    max-width: 720px;
    margin: 0 auto 55px;
    color: var(--muted);
}

.mini-title {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 1px;
}

/* ==============================================================
   2. Hero 通用及特定 Banner 模块 (Hero Sections)
   ============================================================== */
.hero-label {
    display: inline-block;
    margin-bottom: 18px;
    color: #3978bd;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* 基础 Hero */
.hero {
    padding: 110px 0 100px;
    background: var(--light-bg);
}

.hero h1 {
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 24px;
}

.hero p {
    max-width: 760px;
    color: #344256;
    font-size: 18px;
}

/* FAQ Hero */
.faq-hero {
    padding: 105px 0 95px;
    background: var(--light-bg);
}

.faq-hero h1 {
    margin-bottom: 20px;
    font-size: clamp(38px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.25;
}

.faq-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--muted);
    font-size: 18px;
}

/* Guarantee Hero */
.services-hero {
    padding: 90px 0 100px;
    background: var(--contrast-color);
}

.services-hero h1 {
    margin-bottom: 22px;
    font-size: clamp(38px, 5vw, 58px);
    font-weight: 700;
    line-height: 1.25;
	color: #173b68;
}

.services-hero p {
    max-width: 780px;
    margin-bottom: 0;
    color: #344256;
    font-size: 18px;
}

/* ==============================================================
   3. 卡片模块 (Cards & Boxes)
   ============================================================== */
/* 服务卡片 */
.service-card {
    height: 100%;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    transition: all .25s ease;
    color: var(--heading-color);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 47, 87, .08);
}

.service-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--heading-color);
    font-size: 15px;
    font-weight: 700;
}

.service-card h3 {
    margin-bottom: 14px;
    font-size: 22px;
    font-weight: 700;
}

.service-card p {
    margin-bottom: 0;
    color: var(--muted);
}

/* 保障卡片 */
.guarantee-card {
    height: 100%;
    padding: 35px;
    border: 1px solid var(--border);
    border-radius: 16px;
    background: #fff;
    transition: all .25s ease;
}

.guarantee-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 40px rgba(16, 47, 87, .08);
}

.guarantee-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--heading-color);
    font-size: 15px;
    font-weight: 700;
}

.guarantee-card h3 {
    margin-bottom: 14px;
    font-size: 21px;
    font-weight: 700;
}

.guarantee-card p {
    margin-bottom: 0;
    color: var(--heading-color);
}

/* 特殊卡片 & 快捷链接卡片 & 标准框 */
.special-card,
.quick-card,
.standard-box {
    height: 100%;
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: #fff;
}

.special-card h3,
.standard-box h3 {
    margin-bottom: 12px;
    font-size: 20px;
    font-weight: 700;
    color: var(--heading-color);
}

.quick-card h3 {
    margin-bottom: 10px;
    font-size: 20px;
    font-weight: 700;
}

.special-card p,
.quick-card p,
.standard-box p {
    margin-bottom: 0;
    color: var(--muted);
}

/* 提示框 (Notice) */
.notice {
    padding: 30px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: var(--light-bg);
}

.notice h3 {
    margin-bottom: 14px;
    font-size: 20px;
    font-weight: 700;
}

.notice p,
.notice li {
    color: var(--muted);
}

/* ==============================================================
   4. 流程模块 (Process Section)
   ============================================================== */
.process-section {
    background: var(--card-color, var(--light-bg));
}

.process-item {
    position: relative;
    padding: 0 0 55px 85px;
}

.process-item:last-child {
    padding-bottom: 0;
}

.process-item::before {
    content: "";
    position: absolute;
    top: 50px;
    left: 25px;
    width: 1px;
    height: calc(100% - 20px);
    background: #d8dee8;
}

.process-item:last-child::before {
    display: none;
}

.process-icon,
.process-number {
    position: absolute;
    top: 0;
    left: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #fff;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-weight: 700;
}

.process-item h3 {
    margin-bottom: 12px;
    font-size: 22px;
    font-weight: 700;
}

.process-item h3 span {
    display: block;
    margin-bottom: 4px;
    color: var(--primary);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
}

.process-item p {
    margin-bottom: 0;
    color: var(--muted);
}

/* ==============================================================
   5. 折叠面板 (Accordion & FAQ)
   ============================================================== */
.faq-category {
    margin-bottom: 60px;
}

.faq-category:last-child {
    margin-bottom: 0;
}

.faq-category-title {
    margin-bottom: 24px;
    font-size: 25px;
    font-weight: 700;
    padding-left: 10px;
    color: var(--heading-color);
}

.accordion {
    --bs-accordion-border-color: var(--border);
    --bs-accordion-btn-focus-box-shadow: none;
    --bs-accordion-active-bg: #fff;
    --bs-accordion-active-color: var(--primary);
}

.accordion-item {
    margin-bottom: 12px;
    border: 1px solid var(--border) !important;
    border-radius: 10px !important;
    overflow: hidden;
}

.accordion-button {
    padding: 21px 24px;
    background: #fff;
    color: var(--text);
    font-size: 17px;
    font-weight: 600;
}

.accordion-button:not(.collapsed) {
    box-shadow: none;
}

.accordion-body {
    padding: 0 24px 24px;
    color: var(--muted);
}

.accordion-body p:last-child {
    margin-bottom: 0;
}

.accordion-body ul {
    margin-bottom: 0;
    padding-left: 20px;
}

/* ==============================================================
   6. CTA 行动区域与按钮 (CTA Section & Buttons)
   ============================================================== */
.cta-section {
    padding: 90px 0;
    color: var(--heading-color);
}

.cta-section p {
    max-width: 700px;
    margin: 0 auto 30px;
    opacity: .85;
}

.btn-light-custom {
    display: inline-block;
    padding: 13px 28px;
    border-radius: 8px;
    background: #fff;
    color: var(--heading-color);
    text-decoration: none;
    font-weight: 600;
}

.btn-light-custom:hover {
    background: #f1f4f8;
    color: var(--cta-color);
}

/* ==============================================================
   7. 响应式适配 (Media Queries)
   ============================================================== */
@media (max-width: 767.98px) {
    .section-padding {
        padding: 65px 0;
    }

    .hero,
    .services-hero {
        padding: 65px 0 65px;
    }

    .process-item {
        padding-left: 70px;
    }

    .accordion-button {
        padding: 18px 18px;
        font-size: 16px;
    }

    .accordion-body {
        padding: 0 18px 20px;
    }
}