/* 联系我们专有样式：联系信息栏 / 询盘表单 */

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: clamp(28px, 4.5vw, 64px);
  align-items: start;
}

.contact-info { display: grid; gap: 26px; }

.contact-block h2 {
  margin-bottom: 12px;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--muted);
}

.contact-block p { font-size: 15.5px; line-height: 1.8; }

.contact-block a {
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid rgba(78, 125, 72, 0.28);
  transition: color 0.2s var(--ease), border-color 0.2s var(--ease);
}

.contact-block a:hover { color: var(--brand); border-color: var(--brand); }

.contact-phone {
  font-size: clamp(24px, 3vw, 32px);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1.3;
}

.contact-note {
  padding-left: 16px;
  border-left: 2px solid var(--accent);
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

/* ---------- 表单 ---------- */

.lead-panel {
  padding: clamp(22px, 3vw, 38px);
  background: var(--surface);
  border-top: 2px solid var(--brand);
}

.lead-panel h2 { font-size: 20px; font-weight: 600; }
.lead-panel .lead-hint { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.75; }

.lead-form { margin-top: 22px; }

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

.field { display: flex; flex-direction: column; gap: 7px; }
.field--full { grid-column: 1 / -1; }

.field label {
  font-size: 13px;
  letter-spacing: 0.03em;
  color: var(--muted);
}

.field .req { color: var(--accent); }

.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  color: var(--ink);
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.field textarea { min-height: 132px; resize: vertical; }

.field select {
  appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%),
    linear-gradient(135deg, var(--muted) 50%, transparent 50%);
  background-position: calc(100% - 20px) 21px, calc(100% - 15px) 21px;
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 38px;
}

.field input:hover,
.field select:hover,
.field textarea:hover { border-color: rgba(78, 125, 72, 0.45); }

.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--brand);
  box-shadow: 0 0 0 3px rgba(78, 125, 72, 0.13);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 20px;
}

.form-status {
  flex: 1 1 200px;
  min-height: 22px;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

.form-status.is-ok { color: var(--brand); }
.form-status.is-err { color: #a4343a; }

.lead-form .btn[disabled] {
  opacity: 0.62;
  cursor: progress;
  transform: none;
}

.form-foot {
  margin-top: 16px;
  font-size: 12.5px;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: minmax(0, 1fr); }
}
