.contact-hero {
  padding: 42px 0 42px;
  text-align: center;
  background: #f6f9fd;
}

.contact-hero h1 {
  color: var(--ink);
  font-size: 36px;
  font-weight: 900;
}

.contact-hero p {
  margin-top: 18px;
  color: var(--muted);
  font-size: 16px;
}

.contact-section {
  padding: 22px 0 78px;
  background: #f6f9fd;
}

.contact-layout {
  display: grid;
  grid-template-columns: 395px 837px;
  justify-content: center;
  gap: 48px;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.contact-cards article,
.contact-form {
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-cards article {
  min-height: 134px;
  padding: 33px;
}

.round-icon {
  width: 48px;
  height: 48px;
}

.round-icon.blue {
  color: var(--blue);
  background: #eaf1ff;
}

.round-icon.green {
  color: var(--green);
  background: #e8fbf4;
}

.round-icon.violet {
  color: var(--violet);
  background: #eef0ff;
}

.contact-cards h2 {
  margin-top: 24px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 700;
}

.contact-cards p {
  margin-top: 10px;
  color: var(--muted);
  font-size: 14px;
}

.contact-form {
  padding: 40px;
}

.contact-form h2 {
  margin-bottom: 32px;
  color: var(--ink);
  font-size: 24px;
  font-weight: 600;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 23px;
}

.contact-form label {
  display: block;
  margin-bottom: 24px;
  color: #263248;
  font-size: 14px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  display: block;
  width: 100%;
  margin-top: 8px;
  border: 1px solid rgba(241,245,249,1);
  border-radius: 12px;
  color: #0F172A;
  font-size: 16px;
  font-weight: 600;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form input,
.contact-form select {
  height: 50px;
  padding: 0 16px;
}

.contact-form select {
  background-color: rgba(239,239,239,1);
  /* 去掉默认样式 */
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: #9CA3AF;
}

.contact-form textarea {
  height: 122px;
  resize: none;
  padding: 14px 16px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.08);
}

.contact-form .error {
  border-color: #f05d5e;
}

.submit-btn {
  width: 100%;
  height: 60px;
  margin-top: 14px;
  border-radius: 12px;
  background: var(--blue);
  color: var(--white);
  font-size: 18px;
  font-weight: 600;
}

.submit-btn:hover {
  background-color: #3366ff;
}

.form-tip {
  margin-top: 23px;
  color: #94A3B8;
  font-size: 12px;
  text-align: center;
}

.form-tip.success {
  color: var(--green);
  font-weight: 800;
}

.map-section {
  position: relative;
  height: 384px;
  overflow: hidden;
}

.map-section img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.map-pin {
  position: absolute;
  left: 50%;
  top: 42%;
  min-width: 130px;
  height: 54px;
  padding: 0 20px;
  border-radius: 8px;
  color: var(--ink);
  background: var(--white);
  font-size: 14px;
  font-weight: 900;
  line-height: 54px;
  text-align: center;
  box-shadow: 0 18px 44px rgba(16, 24, 39, 0.18);
  transform: translate(-50%, -50%);
}

.map-pin::before {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-right: 10px;
  border-radius: 50%;
  background: #f25b5b;
  content: "";
}
