/* ========== Contact Hero ========== */
.contact-hero {
  margin-top: var(--header-height);
  background-color: #0a1628;
  padding: 70px 0 80px;
  background-image: url(../img/dot-white.png);
  background-repeat: no-repeat;
  background-position: right bottom;
  background-size: auto ; 
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: start;
}

.contact-hero-left h1 {
  font-size: var(--big-font-size);
  font-weight: 700;
  color: #fff;
  margin-bottom: 32px;
}

.contact-hero-left p {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.contact-form-card {
  background: #0d213f;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  padding: 36px 32px;
}

.form-row {
  margin-bottom: 24px;
}

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

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group label {
  display: block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 8px;
}

.form-group .req {
  color: #ff4d4f;
  margin-left: 3px;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  font-size: 14px;
  color: #fff;
  background: transparent;
  transition: border-color 0.2s ease;
  font-family: inherit;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(0, 102, 255, 0.15);
}

.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%23999' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}

.form-group select option {
  color: var(--color-text);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 110px;
}
.form-submit {
  border: none;
}


/* ========== Contact Team Section ========== */
.contact-team-section {
  position: relative;
  padding: 70px 0;
  background: #fff url(../img/aboutus/contact-bg.jpg) center / cover no-repeat;
  overflow: hidden;
}

.contact-team-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.contact-team-left h2 {
  font-size: var(--big-font-size);
  font-weight: 700;
  color: var(--color-text);
  margin: 0;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.contact-info-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.info-icon {
  width: 24px;
  height: 24px;
}

.info-value {
  font-size: 20px;
  font-weight: 500;
  color: var(--color-text);
}

/* ========== Follow Section ========== */
.follow-section {
  padding: 80px 0;
  background: #eef3fb;
}

.follow-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
}

.follow-left h2 {
  font-size: var(--big-font-size);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 16px;
}

.follow-left p {
  font-size: var(--mid-font-size-sub);
  color: #667085;
}

.follow-right {
  display: flex;
  flex-direction: column;
  /* align-items: center; */
}

.social-icons {
  display: flex;
  gap: 24px;
  /* justify-content: center; */
}

.social-icon-item {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.3s ease;
}

.social-icon-item img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.social-icon-item:hover {
  opacity: 0.7;
}

.follow-divider {
  width: 100%;
  /* max-width: 360px; */
  margin: 28px auto;
  border-top: 1.5px dashed rgba(0, 102, 255, 0.35);
}



.qr-code img {
  width: 160px;
  height: 160px;
  display: block;
  margin-bottom: 16px;
  background: #fff;
  padding: 6px;
  box-sizing: border-box;
}

.qr-code p {
  font-size: 14px;
  color: var(--color-text-light);
}

/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .contact-hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .contact-team-inner {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .follow-inner {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .contact-hero-left h1 {
    font-size: 28px;
  }

  .contact-form-card {
    padding: 24px 20px;
  }

  .form-row-2 {
    grid-template-columns: 1fr;
  }

  .contact-team-left h2 {
    font-size: 32px;
  }

  .follow-left h2 {
    font-size: 28px;
  }

  .follow-right {
    align-items: center;
  }

  .social-icons {
    flex-wrap: wrap;
    justify-content: center;
  }

  .follow-left {
    text-align: center;
  }
  .qr-code img{margin: 0 auto 20px;}
  .contact-hero-left h1{margin-bottom: 10px;}
  .contact-hero-left p{font-size: 18px;}
  .info-value,.follow-left p{font-size: 18px;}
  .social-icon-item img{width: 36px;height: 36px;}
}

/* ========== 表单提交提示 & 蜜罐 ========== */
.cf-hp {
  position: absolute !important;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-notice {
  margin-bottom: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  font-size: 14px;
  line-height: 1.5;
}

.contact-notice-success {
  background: #e8f5ec;
  border: 1px solid #9bd3ae;
  color: #1d6b34;
}

.contact-notice-error {
  background: #fdecec;
  border: 1px solid #f1a9a9;
  color: #a12622;
}
