.maha-home-contact-wrap {
  --maha-primary: var(--color-primary, #026eb7);
  --maha-primary-dark: #014f85;
  --maha-primary-light: #eaf4fb;

  position: relative;
  background: #fff;
  padding: 100px 0;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.maha-home-contact-wrap > .container {
  width: 100%;
}

/* ---------- 标题区 ---------- */
.maha-home-contact-wrap .section-title-wrap {
  position: relative;
  margin-bottom: 8px;
}

.maha-home-contact-wrap .section-title-wrap .section-title {
  display: inline-block;
  position: relative;
  margin: 0 0 36px;
  padding-bottom: 22px;
  font-size: 40px !important;
  line-height: 1.25 !important;
  font-weight: 700;
  text-transform: none !important;
  color: #111;
  font-family: var(--title-font-family);
}

.maha-home-contact-wrap .section-title-wrap .section-title .section-title-text {
  color: #111;
}

/* 标题下方的主色短横线 */
.maha-home-contact-wrap .section-title-wrap .section-title::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 64px;
  height: 4px;
  margin-left: -32px;
  border-radius: 4px;
  background: var(--maha-primary);
}
.maha-home-contact-wrap .section-title-wrap .section-title::before {
  display: none;
}

.maha-home-contact-wrap .section-title-wrap p {
  display: block;
  max-width: 860px;
  margin: 0 auto;
  font-size: 17px !important;
  line-height: 1.8;
  font-weight: 400;
  color: #555;
  font-family: var(--font-family);
  text-align: start!important;
}

/* ---------- 主按钮（调出询盘，放大） ---------- */
.maha-home-contact-wrap .button-wrapper {
  position: relative;
  padding: 40px 0 28px;
  -webkit-filter: none;
  filter: none;
}

.maha-home-contact-wrap .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 320px;
  padding: 22px 48px;
  font-family: var(--title-font-family);
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.3px;
  text-align: center;
  text-decoration: none;
  color: #fff;
  background: linear-gradient(135deg, #0a82d4 0%, var(--maha-primary) 55%, var(--maha-primary-dark) 100%);
  border: none;
  border-radius: 60px;
  box-shadow: 0 12px 28px rgba(2, 110, 183, 0.35);
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 去掉原来的“黏连气泡”伪元素 */
.maha-home-contact-wrap .button::before,
.maha-home-contact-wrap .button::after {
  display: none;
}

.maha-home-contact-wrap .button svg {
  flex: none;
  transition: transform 0.3s ease;
}

.maha-home-contact-wrap .button:hover {
  color: #fff;
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(2, 110, 183, 0.45);
}

.maha-home-contact-wrap .button:hover svg {
  transform: translateX(5px);
}

/* ---------- 次级按钮组 ---------- */
.maha-home-contact-wrap .maha-btn-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
}

.maha-home-contact-wrap .button-ghost {
  display: inline-block;
  min-width: 210px;
  padding: 14px 28px;
  font-family: var(--title-font-family);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  color: var(--maha-primary);
  background: #fff;
  border: 1.5px solid var(--maha-primary);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.maha-home-contact-wrap .button-ghost:hover {
  color: #fff;
  background: var(--maha-primary);
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(2, 110, 183, 0.25);
}

/* ---------- 响应式 ---------- */
@media (max-width: 1199px) {
  .maha-home-contact-wrap { padding: 80px 0; }
  .maha-home-contact-wrap .section-title-wrap .section-title { font-size: 34px !important; }
}

@media (max-width: 991px) {
  .maha-home-contact-wrap { padding: 60px 0; min-height: 0; }
  .maha-home-contact-wrap .section-title-wrap .section-title { font-size: 28px !important; }
  .maha-home-contact-wrap .section-title-wrap p { font-size: 15px !important; }
}

@media (max-width: 767px) {
  .maha-home-contact-wrap { padding: 44px 0; }
  .maha-home-contact-wrap .section-title-wrap .section-title { font-size: 24px !important; margin-bottom: 26px; }
  .maha-home-contact-wrap .button-wrapper { padding: 28px 0 20px; }
  .maha-home-contact-wrap .button {
    width: 100%;
    min-width: 0;
    box-sizing: border-box;
    padding: 18px 24px;
    font-size: 18px;
  }
  .maha-home-contact-wrap .maha-btn-group {
    flex-direction: column;
    gap: 10px;
  }
  .maha-home-contact-wrap .button-ghost {
    width: 100%;
    box-sizing: border-box;
  }
}