/* ═══════════════════════════════════════
   联系我们 - 河北航牌线缆有限公司
   ═══════════════════════════════════════ */

/* ── PAGE HEADER OVERRIDE ── */
.page-header-bg { background-image: url('../images/factory/workshop-1.jpg'); opacity: 0.15; }
.section-title { font-size: clamp(26px, 3.5vw, 40px); }
.section-desc { font-size: 15px; color: var(--muted); line-height: 1.8; }

/* ── CONTACT INFO CARDS ── */
.contact-cards { padding: 72px 2rem 0; }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); }
.contact-card { background: #fff; padding: 36px 28px; transition: background 0.2s; }
.contact-card:hover { background: var(--light); }
.contact-card-icon { font-size: 32px; margin-bottom: 16px; display: block; }
.contact-card-type { font-size: 11px; font-weight: 700; color: var(--orange); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 10px; }
.contact-card-main { font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 6px; line-height: 1.35; }
.contact-card-sub { font-size: 13px; color: var(--muted); }

/* ── MAIN CONTACT SECTION ── */
.contact-main { padding: 72px 2rem; }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }

/* ── FORM ── */
.form-title { font-family: 'Arial Narrow', 'Helvetica Neue', sans-serif; font-size: 26px; font-weight: 600; color: var(--navy); margin-bottom: 8px; }
.form-desc { font-size: 14px; color: var(--muted); margin-bottom: 32px; line-height: 1.7; }
.form-group { margin-bottom: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 20px; }
label { display: block; font-size: 13px; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: 0.02em; }
label .req { color: var(--orange); margin-left: 2px; }
input, select, textarea {
  width: 100%; padding: 12px 16px; font-size: 14px; font-family: inherit;
  border: 1px solid var(--border); color: var(--text); background: #fff;
  transition: border-color 0.2s, box-shadow 0.2s; outline: none;
  border-radius: 0;
}
input:focus, select:focus, textarea:focus { border-color: var(--navy); box-shadow: 0 0 0 3px rgba(11,31,58,0.08); }
select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9bb0' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
textarea { height: 140px; resize: vertical; line-height: 1.6; }
.form-tip { font-size: 12px; color: var(--muted); margin-top: 6px; }
.submit-btn {
  width: 100%; background: var(--orange); color: #fff; border: none; cursor: pointer;
  padding: 16px; font-size: 16px; font-weight: 700; font-family: inherit;
  letter-spacing: 0.04em; transition: background 0.2s; margin-top: 8px;
}
.submit-btn:hover { background: var(--orange-2); }
.form-note { font-size: 12px; color: var(--muted); text-align: center; margin-top: 14px; line-height: 1.7; }

/* ── INFO PANEL ── */
.info-panel { display: flex; flex-direction: column; gap: 0; }
.info-block { padding: 28px 32px; background: var(--light); margin-bottom: 2px; }
.info-block:first-child { background: var(--navy); }
.info-block-title { font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 16px; color: var(--muted); }
.info-block:first-child .info-block-title { color: rgba(255,255,255,0.5); }
.info-item { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 16px; }
.info-item:last-child { margin-bottom: 0; }
.info-item-icon { width: 36px; height: 36px; background: rgba(224,114,48,0.12); display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0; }
.info-block:first-child .info-item-icon { background: rgba(255,255,255,0.08); }
.info-item-label { font-size: 11px; font-weight: 600; color: var(--muted); letter-spacing: 0.08em; text-transform: uppercase; margin-bottom: 3px; }
.info-block:first-child .info-item-label { color: rgba(255,255,255,0.45); }
.info-item-value { font-size: 14px; font-weight: 500; color: var(--navy); line-height: 1.5; }
.info-block:first-child .info-item-value { color: #fff; }

/* ── DEPARTMENTS ── */
.depts-section { padding: 72px 2rem; }
.depts-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 48px; }
.dept-card { border: 1px solid var(--border); padding: 28px 24px; transition: border-color 0.2s, box-shadow 0.2s; }
.dept-card:hover { border-color: var(--orange); box-shadow: 0 4px 20px rgba(224,114,48,0.1); }
.dept-icon { font-size: 28px; margin-bottom: 14px; display: block; }
.dept-name { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.dept-role { font-size: 13px; color: var(--muted); margin-bottom: 14px; }
.dept-contacts { display: flex; flex-direction: column; gap: 6px; }
.dept-contact-item { font-size: 13px; color: var(--muted); display: flex; align-items: center; gap: 8px; }
.dept-contact-item strong { color: var(--navy); font-weight: 600; }

/* ── VALUES SECTION OVERRIDE ── */
.values-section { padding: 72px 2rem; }

/* ── FOOTER OVERRIDE ── */
.footer-top { padding: 56px 2rem 40px; }
.footer-bottom { padding: 18px 2rem; }
.footer-brand a { display: flex; gap: 12px; text-decoration: none; align-items: center; margin-bottom: 14px; }

/* ── SUCCESS TOAST ── */
.toast { position: fixed; bottom: 32px; right: 32px; background: var(--navy); color: #fff; padding: 16px 24px; font-size: 14px; box-shadow: 0 8px 32px rgba(0,0,0,0.2); z-index: 999; transform: translateY(100px); opacity: 0; transition: transform 0.35s, opacity 0.35s; }
.toast.show { transform: translateY(0); opacity: 1; }

/* ── RESPONSIVE (联系我们专属) ── */
@media (max-width: 1024px) {
  .cards-grid { grid-template-columns: 1fr 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .depts-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  .cards-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .depts-grid { grid-template-columns: 1fr; }
}