/* 去掉轮播Banner默认遮罩 */
.banner-carousel::before {
  background: transparent;
}

/* 首页Banner轮播 自适应高度 */
.banner-carousel {
  height: auto;
  display: block;
  overflow: hidden;
  position: relative;
}
.banner-placeholder {
  width: 100%;
  position: relative;
  z-index: 1;
}
.banner-placeholder picture,
.banner-placeholder img {
  width: 100%;
  height: auto;
  display: block;
}
.banner-placeholder img {
  visibility: hidden;
}
.banner-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.8s ease;
  z-index: 2;
}
.banner-slide.active {
  opacity: 1;
  z-index: 3;
}
.banner-slide picture {
  display: block;
  width: 100%;
  height: 100%;
}
.banner-slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.banner-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}
.banner-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  padding: 0;
  box-shadow: 0 1px 4px rgba(0,0,0,0.3);
}
.banner-dot.active {
  background: #fff;
  box-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.banner-arrows {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  padding: 0 20px;
  z-index: 10;
  pointer-events: none;
}
.banner-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0,0,0,0.25);
  border: none;
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
  pointer-events: auto;
  line-height: 1;
}
.banner-arrow:hover {
  background: rgba(0,0,0,0.45);
}

/* 全宽模块图区域 */
.module-section {
  background: #fff;
}
.full-module {
  width: 100%;
  text-align: center;
  font-size: 0;
  line-height: 0;
  overflow: hidden;
  background: #fff;
}
.full-module .container {
  font-size: 0;
  line-height: 0;
}
.full-module picture {
  display: inline-block;
  max-width: 100%;
  width: 100%;
}
.full-module picture img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  border-radius: var(--border-radius);
}

/* 表单模块 - 容器内宽度，不撑满全屏 */
.form-module {
  padding: 48px 0;
  line-height: normal;
  font-size: 16px;
  background: transparent;
}
.form-module-card {
  width: 100%;
  border-radius: var(--border-radius);
  padding: 48px 40px;
}
.form-module-blue .form-module-card {
  background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}
.form-module-gold .form-module-card {
  background: linear-gradient(135deg, #faf6ef 0%, #f5efe3 100%);
  border-top: 3px solid var(--accent-gold);
  border-bottom: 3px solid var(--accent-gold);
}
.form-module-light .form-module-card {
  background: var(--secondary-color);
  border-top: 2px solid var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
}
.form-module-inner {
  text-align: center;
}
.form-module-inner h3 {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 28px;
  letter-spacing: 2px;
  line-height: 1.4;
  word-break: break-word;
}
.form-module-blue .form-module-inner h3 {
  color: #fff;
}
.form-module-gold .form-module-inner h3 {
  color: var(--primary-color);
}
.form-module-light .form-module-inner h3 {
  color: var(--primary-color);
}

/* 全宽表单布局 */
.full-width-form {
  width: 100%;
}
.full-width-form .form-row {
  display: flex;
  gap: 14px;
  align-items: stretch;
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  flex-wrap: wrap;
}
.full-width-form input,
.full-width-form select {
  flex: 1;
  padding: 14px 18px;
  border-radius: var(--border-radius);
  font-size: 15px;
  font-family: var(--font-family);
  transition: border-color 0.3s, box-shadow 0.3s;
  min-width: 0;
}
.full-width-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.form-module-blue .full-width-form input {
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
}
.form-module-blue .full-width-form input::placeholder {
  color: rgba(255,255,255,0.6);
}
.form-module-blue .full-width-form input:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
  background: rgba(255,255,255,0.2);
}
.form-module-blue .full-width-form input.input-error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255,107,107,0.2);
}
.form-module-blue .full-width-form select {
  background-color: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23fff' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
}
.form-module-blue .full-width-form select option {
  color: #333;
}
.form-module-blue .full-width-form select:focus {
  outline: none;
  border-color: rgba(255,255,255,0.6);
  box-shadow: 0 0 0 3px rgba(255,255,255,0.1);
  background-color: rgba(255,255,255,0.2);
}
.form-module-blue .full-width-form select.input-error {
  border-color: #ff6b6b;
  box-shadow: 0 0 0 3px rgba(255,107,107,0.2);
}
.form-module-gold .full-width-form input {
  background: #fff;
  border: 1px solid #d4c5a0;
  color: #333;
}
.form-module-gold .full-width-form input::placeholder {
  color: #999;
}
.form-module-gold .full-width-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}
.form-module-gold .full-width-form input.input-error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}
.form-module-gold .full-width-form select {
  background-color: #fff;
  border: 1px solid #d4c5a0;
  color: #333;
}
.form-module-gold .full-width-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}
.form-module-gold .full-width-form select.input-error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231,76,60,0.1);
}
.form-module-light .full-width-form input {
  background: #fff;
  border: 1px solid var(--border-color);
  color: #333;
}
.form-module-light .full-width-form input::placeholder {
  color: #999;
}
.form-module-light .full-width-form input:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}
.form-module-light .full-width-form input.input-error {
  border-color: #e74c3c;
  box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

/* 验证码组件 */
.captcha-group {
  flex: 1;
  position: relative;
  display: flex;
  gap: 8px;
  min-width: 0;
}
.captcha-group input {
  flex: 1;
  min-width: 0;
}
.captcha-code {
  width: 100px;
  min-height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: var(--primary-color);
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 4px;
  border-radius: var(--border-radius);
  cursor: pointer;
  user-select: none;
  font-family: monospace;
  transition: background 0.3s;
  flex-shrink: 0;
}
.captcha-code:hover {
  background: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 100%);
}
.form-module-blue .captcha-code {
  background: rgba(255,255,255,0.2);
  color: #fff;
}
.form-module-blue .captcha-code:hover {
  background: rgba(255,255,255,0.3);
}
.form-module-gold .captcha-code {
  background: linear-gradient(135deg, #f5efe3 0%, #ead9b8 100%);
  color: var(--accent-gold);
}
.form-module-gold .captcha-code:hover {
  background: linear-gradient(135deg, #ead9b8 0%, #dfc999 100%);
}
.form-module-light .captcha-code {
  background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
  color: var(--primary-color);
}
.form-module-light .captcha-code:hover {
  background: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 100%);
}
.full-width-form button {
  padding: 14px 40px;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s;
  white-space: nowrap;
  font-family: var(--font-family);
}
.form-module-blue .full-width-form button {
  background: var(--accent-gold);
  color: #fff;
}
.form-module-blue .full-width-form button:hover {
  background: #a07e30;
}
.form-module-gold .full-width-form button {
  background: var(--primary-color);
  color: #fff;
}
.form-module-gold .full-width-form button:hover {
  background: #15307d;
}
.form-module-light .full-width-form button {
  background: var(--primary-color);
  color: #fff;
}
.form-module-light .full-width-form button:hover {
  background: #15307d;
}
.form-success-full {
  text-align: center;
  padding: 20px 0;
}
.form-success-full .success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #27ae60;
  color: #fff;
  font-size: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  line-height: 1;
}
.form-module-blue .form-success-full p {
  color: #fff;
  font-size: 16px;
}
.form-module-gold .form-success-full p {
  color: #333;
  font-size: 16px;
}
.form-module-light .form-success-full p {
  color: #333;
  font-size: 16px;
}

/* 区块标题 */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-header h2 {
  font-size: 32px;
  font-weight: 700;
  color: var(--text-color);
  position: relative;
  display: inline-block;
  padding-bottom: 16px;
}
.section-header h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-gold);
  border-radius: 2px;
}

/* 咨询弹窗样式 */
.consult-modal .modal-box {
  max-width: 480px;
  padding: 36px;
}
.consult-modal .modal-box h3 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--primary-color);
  text-align: center;
}
.consult-modal .form-group {
  margin-bottom: 16px;
}
.consult-modal .form-group label {
  display: block;
  margin-bottom: 6px;
  font-size: 14px;
  font-weight: 500;
  color: #333;
}
.consult-modal .form-group label .required {
  color: #e74c3c;
  margin-left: 2px;
}
.consult-modal .form-group input,
.consult-modal .form-group textarea,
.consult-modal .form-group select {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius);
  font-size: 14px;
  font-family: var(--font-family);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.consult-modal .form-group input:focus,
.consult-modal .form-group textarea:focus,
.consult-modal .form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(30,64,175,0.1);
}
.consult-modal .form-group select {
  background: #fff;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.consult-modal .form-submit {
  width: 100%;
  padding: 12px;
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: var(--border-radius);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.3s;
  font-family: var(--font-family);
}
.consult-modal .form-submit:hover {
  background: #15307d;
}
.captcha-group-modal {
  display: flex;
  gap: 10px;
  align-items: stretch;
}
.captcha-group-modal input {
  flex: 1;
}
.captcha-group-modal .captcha-code {
  width: 110px;
  min-height: 42px;
  border-radius: var(--border-radius);
}

/* 通知专栏区域 */
.news-section {
  padding: 80px 0;
  background: #fff;
}
.news-section .article-list {
  max-width: 1000px;
  margin: 0 auto;
}
.news-section .article-card {
  flex-direction: row;
  width: 100%;
  margin-bottom: 20px;
  gap: 24px;
  padding: 24px;
  align-items: center;
}
.news-section .article-card .card-thumb {
  width: 240px;
  height: 160px;
  flex-shrink: 0;
  border-radius: var(--border-radius);
  overflow: hidden;
}
.news-section .article-card .card-thumb img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  border-radius: var(--border-radius);
}
.news-section .article-card .card-body {
  padding: 0;
  display: flex;
  flex-direction: column;
}
.news-section .article-card .card-body h3 {
  font-size: 18px;
  line-height: 1.5;
  margin-bottom: 10px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.news-section .article-card .card-body p {
  font-size: 14px;
  color: #666;
  line-height: 1.7;
  margin-bottom: 12px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}
.news-section .article-card .card-body .date {
  font-size: 13px;
  color: #999;
  margin-top: auto;
}

/* 响应式适配 */
@media (max-width: 1024px) {
  .full-width-form .form-row {
    gap: 10px;
  }
  .full-width-form button {
    padding: 14px 28px;
  }
}

@media (max-width: 768px) {
  .banner-arrows {
    display: none;
  }
  .banner-dots {
    bottom: 16px;
  }
  .banner-dot {
    width: 10px;
    height: 10px;
  }
  .form-module {
    padding: 32px 0;
  }
  .form-module-card {
    padding: 32px 20px;
  }
  .form-module-inner h3 {
    font-size: 22px;
    margin-bottom: 20px;
    line-height: 1.5;
  }
  .full-width-form .form-row {
    flex-direction: column;
    gap: 10px;
  }
  .full-width-form input,
  .full-width-form select {
    padding: 12px 16px;
    width: 100%;
  }
  .captcha-group {
    width: 100%;
  }
  .captcha-code {
    width: 90px;
    min-height: 46px;
    font-size: 16px;
    letter-spacing: 2px;
  }
  .full-width-form button {
    width: 100%;
    padding: 14px;
  }
  .section-header h2 {
    font-size: 26px;
  }
  .section-header {
    margin-bottom: 32px;
  }
  .consult-modal .modal-box {
    padding: 24px;
  }
  .captcha-group-modal .captcha-code {
    width: 100px;
  }
  .news-section {
    padding: 50px 0;
  }
  .news-section .article-list {
    max-width: 100%;
  }
  .news-section .article-card {
    flex-direction: row !important;
    gap: 12px;
    margin-bottom: 12px;
    box-shadow: none;
    border-radius: 0;
    border-bottom: 1px solid #f0f0f0;
    padding: 16px 0;
    align-items: flex-start;
  }
  .news-section .article-card:hover {
    transform: none;
    box-shadow: none;
  }
  .news-section .article-card .card-thumb {
    width: 112px;
    height: 84px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
  }
  .news-section .article-card .card-thumb img {
    width: 100% !important;
    height: 100% !important;
    border-radius: 6px;
  }
  .news-section .article-card .card-body {
    padding: 0;
    flex: 1;
    min-width: 0;
  }
  .news-section .article-card .card-body h3 {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 8px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }
  .news-section .article-card .card-body p {
    display: none !important;
  }
  .news-section .article-card .card-body .date {
    font-size: 12px;
    margin-top: 0;
  }
}

@media (max-width: 480px) {
  .form-module {
    padding: 24px 0;
  }
  .form-module-card {
    padding: 24px 16px;
  }
  .form-module-inner h3 {
    font-size: 20px;
    margin-bottom: 16px;
    letter-spacing: 1px;
    line-height: 1.45;
  }
  .full-width-form .form-row {
    gap: 8px;
  }
  .full-width-form input,
  .full-width-form select {
    padding: 11px 14px;
    font-size: 14px;
  }
  .captcha-code {
    width: 80px;
    min-height: 44px;
    font-size: 15px;
    letter-spacing: 2px;
  }
  .full-width-form button {
    padding: 12px;
    font-size: 15px;
  }
  .news-section .article-card .card-thumb {
    width: 96px;
    height: 76px;
  }
  .news-section .article-card .card-body h3 {
    font-size: 14px;
    margin-bottom: 6px;
  }
}