/* ========================
   共用基础样式 - common.css
   ======================== */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
  color: #2e3033;
  background: #ffffff;
  line-height: 1.5;
  min-width: 320px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  border: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
}

input {
  font-family: inherit;
}



/* 变量 - IE 兼容模式下不使用 CSS 自定义属性 */

/* IE 兼容: flexbox gap 替代方案 */
.header-inner,
.header-right,
.nav,
.login,
.login-text,
.footer-top,
.footer-contact-list,
.footer-contact-item,
.footer-bottom,
.footer-police,
.mobile-menu-btn {
  display: -ms-flexbox;
  display: flex;
}

/* .header-inner > * + * { margin-left: 94px; } */
.header-right > * + * { margin-left: 17px; }
/* .nav > * + * { margin-left: 8px; } */
.login > * + * { margin-left: 8px; }
.login-text > * + * { margin-left: 16px; }
.mobile-menu-btn > * + * { margin-top: 5px; }
.footer-top > * + * { margin-left: 15px; }
.footer-contact-list > * + * { margin-left: 24px; }
.footer-contact-item > * + * { margin-left: 10px; }
.footer-bottom > * + * { margin-left: 16px; }
.footer-police > * + * { margin-left: 6px; }

/* ========================
   头部
   ======================== */
.header {
  position: relative;
  z-index: 100;
  width: 100%;
  height: 92px;
  background: #ffffff;
  box-shadow: 0 2px 3.5px rgba(0,0,0,0.15);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1920px;
  height: 100%;
  margin: 0 auto;
  padding: 0 260px;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  /* IE 兼容: max-width 限制 */
  max-width: 100%;
}

.header-right {
  display: flex;
  align-items: center;
}

.nav {
  display: flex;
  align-items: center;
  height: 35px;
  margin-left: -80px;
}

.nav-item {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 35px;
  padding: 0 13px;
  font-size: 18px;
  color: #4c4c4c;
  letter-spacing: -0.45px;
  line-height: 1.6667;
  border-radius: 4px;
  transition: color 0.2s ease, background 0.2s ease;
}

.nav-item:hover {
  color: #028446;
  background: rgba(2,132,70,0.06);
}

.nav-item.active {
  color: #028446;
  background: rgba(2,132,70,0.06);
}

.nav-item {
  color: #000000;
  font-weight: 500;
}

.header-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 166px;
  height: 32px;
  padding: 0 16px;
  background: #ffffff;
  border: 1px solid #dddddd;
  border-radius: 48px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.header-search:hover,
.header-search:focus-within,
.header-search.focus-within {
  border-color: #54bb7d;
  box-shadow: 0 0 0 3px rgba(2,132,70,0.08);
}

.header-search input {
  width: 100%;
  height: 100%;
  padding-right: 22px;
  border: none;
  outline: none;
  background: transparent;
  font-size: 13px;
  color: #2e3033;
}

.header-search input::placeholder {
  color: #c8c8c8;
}

.header-search svg {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 15.26px;
  height: 14.5px;
  flex-shrink: 0;
  color: #999c9d;
  pointer-events: none;
}

.login {
  display: flex;
  align-items: center;
}

.login-icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.login-text {
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #2e3033;
  letter-spacing: -0.45px;
  line-height: 1.6667;
}

.login-text span {
  cursor: pointer;
  transition: color 0.2s ease;
}

.login-text span:hover {
  color: #028446;
}

.login-divider {
  width: 1px;
  height: 22px;
  background: #2e3033;
}

.login-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 12px;
  border-radius: 20px;
  background: linear-gradient(135deg, #54bb7d 0%, #3a9d63 100%);
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(84, 187, 125, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  cursor: pointer;
}

.login-btn:hover {
  background: linear-gradient(135deg, #62c88a 0%, #43ae70 100%);
  box-shadow: 0 6px 16px rgba(84, 187, 125, 0.5);
  transform: translateY(-1px);
}

.login-btn:active {
  transform: translateY(0);
  box-shadow: 0 3px 8px rgba(84, 187, 125, 0.35);
}

.login-btn-icon {
  width: 20px;
  height: 20px;
  color: #fff;
  flex-shrink: 0;
}

.mobile-nav {
  display: none;
  position: absolute;
  top: 92px;
  left: 0;
  right: 0;
  z-index: 99;
  background: #ffffff;
  padding: 12px 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 16px;
  color: #4c4c4c;
  border-bottom: 1px solid #dddddd;
}

.mobile-nav a:last-child {
  border-bottom: none;
}

.mobile-nav a.active {
  color: #028446;
  font-weight: 500;
}

.mobile-menu-btn {
  display: none;
  width: 32px;
  height: 32px;
  flex-direction: column;
  justify-content: center;
}

.mobile-menu-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background: #2e3033;
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

/* ========================
   页脚
   ======================== */
.footer {
  width: 100%;
  padding: 43px 0 0;
  background: #181c1a;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  margin-bottom: 35px;
}

.footer-logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
  display: block;
  /* IE 兼容: max-width 限制 */
  max-width: 100%;
}

.footer-title {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.6px;
  line-height: 1.2;
}

.footer-contact-bar {
  width: 100%;
  height: 52px;
  padding: 14px 35px;
  background: rgba(255,255,255,0.05);
  border-radius: 4px;
}

.footer-contact-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  font-size: 16px;
  white-space: nowrap;
}

.footer-contact-label {
  color: #9e9e9e;
}

.footer-contact-value {
  color: #ffffff;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  padding: 20px 0 24px;
  margin-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.2);
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}

.footer-bottom a {
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

.footer-support {
  color: #ffffff;
}

.footer-police {
  display: flex;
  align-items: center;
}

.footer-police img {
  width: 18px;
  height: 20px;
}

/* ========================
   响应式（头部/页脚）
   ======================== */
@media (max-width: 1559px) {
  .header-inner {
    padding: 0 40px;
  }

  .header-inner > * + * { margin-left: 32px; }

  .footer-inner {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1199px) {
  .header-inner {
    padding: 0 24px;
  }

  .header-inner > * + * { margin-left: 20px; }

  /* .nav > * + * { margin-left: 4px; } */

  .nav-item {
    font-size: 16px;
    padding: 0 8px;
  }

  .login-text {
    font-size: 16px;
  }

  .login-text > * + * { margin-left: 10px; }

  .header-search {
    width: 140px;
  }

  .footer-contact-list {
    flex-wrap: wrap;
    justify-content: flex-start;
  }

  .footer-contact-list > * + * { margin-left: 24px; }

  .footer-contact-bar {
    height: auto;
    min-height: 52px;
  }
}

@media (max-width: 991px) {
  .header {
    height: 64px;
  }

  .header-inner {
    padding: 0 16px;
  }

  .nav,
  .header-search,
  .login,
  .login-btn {
    display: none;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .logo-img {
    height: 38px;
  }

  .footer-contact-list {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-contact-list > * + * { margin-left: 0; margin-top: 8px; }

  .footer-contact-bar {
    padding: 12px 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 16px;
  }

  .footer-bottom > * + * { margin-left: 0; margin-top: 8px; }
}

@media (max-width: 575px) {
  .footer-top {
    flex-direction: column;
    text-align: center;
  }
}


.m-pagination-jump {
  width: auto;
}

.m-pagination-page > li > a {
  height: 30px;
  line-height: 30px;
  padding: 0 11px;
  border-radius: 2px;
}

.m-pagination-group > input {
  height: 30px;
  line-height: 30px;
  border-radius: 2px 0 0 2px;
}

.m-pagination-group > button,
.m-pagination-info {
  height: 32px;
  line-height: 32px;
}

.m-pagination-group > button {
  border-radius: 0 2px 2px 0;
}
.m-pagination-group > button:hover {
  border-color: #3bae6f;
}

.m-pagination-page > li.active > a {
  border-color: #3bae6f;
  background-color: #3bae6f;
}

.m-pagination-page > li:hover > a {
  border-color: #3bae6f;
}


.hidden {
  display: none !important;
}

.login-out{
	/* margin-left: 10px; */
	cursor: pointer;
}

/* ========================
   浮动快速通道
   ======================== */
.float-service {
  position: fixed;
  right: 20px;
  bottom: 270px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.float-trigger {
  border-radius: 50%;
  box-shadow: 0 4px 20px rgba(15, 139, 68, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  flex-shrink: 0;
}

.float-trigger:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(15, 139, 68, 0.6);
}

.float-trigger img {
  object-fit: contain;
}

.float-card {
  width: 220px;
  margin-bottom: 12px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(0, 20, 8, 0.95) 0%, rgba(12, 42, 24, 0.95) 100%);
  border: 1px solid rgba(131, 194, 55, 0.3);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  overflow: hidden;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

.float-card.active {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.float-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: linear-gradient(90deg, #0f8b44 0%, #83c237 100%);
}

.float-card-header span {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
}

.float-card-close {
  width: 24px;
  height: 24px;
  border: none;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}

.float-card-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

.float-card-body {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.float-card-btn {
  display: flex;
  align-items: center;
  padding: 10px 14px;
  border-radius: 8px;
  background: rgba(2, 132, 70, 0.25);
  border: 1px solid rgba(131, 194, 55, 0.2);
  color: #fff;
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.float-card-btn:hover {
  background: rgba(2, 132, 70, 0.5);
  border-color: rgba(131, 194, 55, 0.5);
  transform: translateX(4px);
}

.float-btn-icon {
  margin-right: 10px;
  font-size: 16px;
  color: #83c237;
}

/* ========================
   弹窗
   ======================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  -ms-flex-align: center;
  -ms-flex-pack: center;
}

.modal-overlay.active {
  display: flex;
  display: -ms-flexbox;
}

.modal-box {
  width: 520px;
  padding: 40px 30px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(0, 31, 12, 0.95) 0%, rgba(0, 61, 24, 0.95) 100%);
  border: 1px solid rgba(131, 194, 55, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  position: relative;
  -webkit-animation: modalIn 0.3s ease;
  animation: modalIn 0.3s ease;
}

@-webkit-keyframes modalIn {
  from { opacity: 0; -webkit-transform: scale(0.9); }
  to { opacity: 1; -webkit-transform: scale(1); }
}

@keyframes modalIn {
  from { opacity: 0; transform: scale(0.9); }
  to { opacity: 1; transform: scale(1); }
}

.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: #fff;
  font-size: 20px;
  line-height: 32px;
  text-align: center;
  cursor: pointer;
  transition: background 0.2s ease;
  padding: 0;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.3);
}

.modal-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 30px;
  display: flex;
  display: -ms-flexbox;
  align-items: center;
  -ms-flex-align: center;
  justify-content: center;
  -ms-flex-pack: center;
}

.modal-title > * + * {
  margin-left: 10px;
}

.modal-arrow {
  color: #83c237;
  font-size: 24px;
}

.modal-options {
  display: flex;
  display: -ms-flexbox;
  justify-content: center;
  -ms-flex-pack: center;
  gap: 30px;
}

.modal-option {
  width: 180px;
  padding: 30px 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(53, 99, 71, 0.56) 42.3%, rgba(40, 151, 65, 0.84) 100%);
  border: 1px solid rgba(131, 194, 55, 0.2);
  display: flex;
  display: -ms-flexbox;
  flex-direction: column;
  -ms-flex-direction: column;
  align-items: center;
  -ms-flex-align: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.modal-option:hover {
  border-color: rgba(131, 194, 55, 0.6);
  box-shadow: 0 8px 24px rgba(15, 139, 68, 0.4);
  -webkit-transform: translateY(-4px);
  transform: translateY(-4px);
}

.modal-option-icon {
  font-size: 48px;
  line-height: 1;
}

.modal-option-text {
  font-size: 18px;
  font-weight: 700;
}

.modal-options.three-col {
  gap: 20px;
}

.modal-options.three-col .modal-option {
  width: 140px;
  padding: 20px 15px;
}

/* ---------- 咨询表单弹窗 ---------- */
.modal-box-form {
  width: 640px;
  padding: 36px 40px;
  max-height: 90vh;
  overflow-y: auto;
  background: #ffffff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  color: #333333;
  position: relative;
}

.modal-box-form .modal-close {
  background: #f0f0f0;
  color: #666666;
}

.modal-box-form .modal-close:hover {
  background: #e0e0e0;
}

.modal-form-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #00170c;
  margin-bottom: 28px;
}

.modal-form {
  width: 100%;
}

.modal-form-section {
  margin-bottom: 28px;
}

.modal-form-section:last-of-type {
  margin-bottom: 0;
}

.modal-form-section-title {
  font-size: 18px;
  font-weight: 700;
  color: #028446;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid #e8f5ee;
}

.modal-form-row {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}

.modal-form-row:last-child {
  margin-bottom: 0;
}

.modal-form-label {
  width: 100px;
  flex-shrink: 0;
  font-size: 15px;
  color: #333333;
  text-align: right;
  padding-right: 16px;
}

.modal-form-field {
  flex: 1;
  min-width: 0;
}

.modal-form-field-inline {
  display: flex;
  gap: 12px;
}

.modal-form-input,
.modal-form-select,
.modal-form-textarea {
  width: 100%;
  height: 42px;
  padding: 0 14px;
  font-size: 14px;
  color: #333333;
  background: #ffffff;
  border: 1px solid #d9d9d9;
  border-radius: 6px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.modal-form-input:focus,
.modal-form-select:focus,
.modal-form-textarea:focus {
  border-color: #028446;
  box-shadow: 0 0 0 3px rgba(2, 132, 70, 0.08);
}

.modal-form-input::placeholder,
.modal-form-textarea::placeholder {
  color: #bfbfbf;
}

.modal-form-input-short {
  flex: 1;
}

.modal-form-select {
  appearance: auto;
  -webkit-appearance: menulist;
  padding-right: 8px;
  cursor: pointer;
}

.modal-form-select option[disabled] {
  color: #bfbfbf;
}

.modal-form-textarea {
  height: 100px;
  padding: 10px 14px;
  resize: vertical;
  line-height: 1.6;
}

.modal-form-actions {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid #e8f5ee;
}

.modal-form-btn {
  min-width: 160px;
  height: 44px;
  font-size: 16px;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
  border-radius: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-form-btn-save {
  color: #028446;
  background: #ffffff;
  border: 1px solid #028446;
}

.modal-form-btn-save:hover {
  background: #f0faf4;
}

.modal-form-btn-submit {
  color: #ffffff;
  background: #028446;
  border: 1px solid #028446;
}

.modal-form-btn-submit:hover {
  background: #036d3a;
  border-color: #036d3a;
}

@media (max-width: 767px) {
  .modal-box-form {
    width: 90vw;
    padding: 24px 16px;
  }

  .modal-form-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .modal-form-label {
    width: auto;
    text-align: left;
    padding-right: 0;
    margin-bottom: 6px;
  }

  .modal-form-field {
    width: 100%;
  }

  .modal-form-field-inline {
    flex-direction: column;
    gap: 8px;
  }

  .modal-form-actions {
    flex-direction: column;
    gap: 12px;
  }

  .modal-form-btn {
    width: 100%;
  }
}

/* ---------- 验证码 ---------- */
.verify-field {
  display: flex;
  align-items: center;
  gap: 12px;
}

.verify-input {
  width: 140px !important;
  flex-shrink: 0;
}

.modal-form .verify-input {
  width: 140px;
  flex-shrink: 0;
}

/* ---------- 提交成功提示弹窗 ---------- */
.modal-success-box {
  width: 420px;
  padding: 40px 36px 36px;
  border-radius: 12px;
  background: #ffffff;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid #e8e8e8;
  position: relative;
  text-align: center;
  -webkit-animation: modalIn 0.3s ease;
  animation: modalIn 0.3s ease;
}

.modal-success-box .modal-close {
  background: #f0f0f0;
  color: #666666;
  top: 12px;
  right: 12px;
}

.modal-success-box .modal-close:hover {
  background: #e0e0e0;
}

.modal-success-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 20px;
}

.modal-success-icon svg {
  width: 100%;
  height: 100%;
}

.modal-success-title {
  font-size: 20px;
  font-weight: 700;
  color: #00170c;
  margin-bottom: 16px;
}

.modal-success-desc {
  font-size: 14px;
  color: #666666;
  line-height: 1.8;
  margin-bottom: 16px;
}

.modal-success-desc p {
  margin: 0;
}

.modal-success-phone {
  font-size: 14px;
  color: #ff4d4f;
  margin-bottom: 28px;
}

.modal-success-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 200px;
  height: 44px;
  padding: 0 24px;
  font-size: 15px;
  color: #028446;
  background: #ffffff;
  border: 1px solid #028446;
  border-radius: 22px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: "Source Han Sans CN", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.modal-success-btn:hover {
  background: #f0faf4;
}

.modal-success-btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

@media (max-width: 767px) {
  .modal-success-box {
    width: 86vw;
    padding: 28px 20px 24px;
  }
}

/* layer.msg 弹窗文字修复（避免继承 body 白色文字） */
.layui-layer-msg,
.layui-layer-msg .layui-layer-content {
  color: #333333 !important;
}