/* ============================================================
   CONTACT PAGE — 联系我们专属样式
============================================================ */

/* ============================================================
   HERO
============================================================ */
.contact-hero {
  position: relative; min-height: 420px; margin-top: var(--nav-h);
  display: flex; align-items: center; overflow: hidden;
  background: linear-gradient(135deg, #0F172A 0%, #1A3A6B 50%, #0D2137 100%);
}
.contact-hero::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(41,169,225,0.12), transparent 55%),
    radial-gradient(circle at 85% 20%, rgba(244,121,32,0.08), transparent 45%),
    repeating-linear-gradient(90deg, transparent, transparent 120px, rgba(255,255,255,0.02) 121px),
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.015) 61px);
}
.contact-hero-inner {
  position: relative; z-index: 2; max-width: 1100px; margin: 0 auto; padding: 72px 5% 64px;
  width: 100%;
}
.contact-hero-tag {
  display: inline-block; padding: 6px 18px; background: rgba(41,169,225,0.15);
  color: var(--blue); font-size: 13px; font-weight: 700; letter-spacing: 0.12em; border-radius: 30px;
  border: 1px solid rgba(41,169,225,0.25); margin-bottom: 24px;
}
.contact-hero h1 {
  font-size: clamp(30px, 4.5vw, 46px); font-weight: 800; color: #fff; letter-spacing: 0.01em;
  line-height: 1.2; margin-bottom: 18px;
}
.contact-hero h1 em { font-style: normal; color: var(--blue); }
.contact-hero p { font-size: 17px; color: rgba(255,255,255,0.65); max-width: 600px; line-height: 1.75; }
.contact-hero-dots {
  position: absolute; right: 8%; top: 50%; transform: translateY(-50%);
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; opacity: 0.15;
}
.contact-hero-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--blue); animation: heroDotPulse 3s ease-in-out infinite; }
.contact-hero-dot:nth-child(odd) { animation-delay: 0.6s; background: var(--orange); }
@keyframes heroDotPulse { 0%,100%{opacity:.2} 50%{opacity:.7} }

/* ============================================================
   INFO CARDS
============================================================ */
.info-section { padding: 80px 5%; background: var(--white); }
.info-section-inner { max-width: 1100px; margin: 0 auto; }
.section-label {
  font-size: 26px; font-weight: 800; color: var(--blue); letter-spacing: 0.02em;
  margin-bottom: 44px; padding-left: 4px;
}
.info-cards-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
}
.info-card {
  background: #FAFBFD; border-radius: 14px; padding: 34px 22px 28px;
  border-top: 4px solid var(--blue); position: relative; transition: all 0.4s cubic-bezier(.4,0,.2,1);
  overflow: hidden;
}
.info-card::after {
  content: ''; position: absolute; bottom: -20px; right: -15px;
  width: 80px; height: 80px; border-radius: 50%;
  background: radial-gradient(circle, rgba(41,169,225,0.07), transparent 70%);
}
.info-card:hover { transform: translateY(-6px); box-shadow: 0 16px 44px rgba(26,58,107,0.09); background: #fff; }
.info-card-header { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.info-card-icon {
  width: 44px; height: 44px; border-radius: 11px; display: flex; align-items: center; justify-content: center;
  font-size: 22px; flex-shrink: 0; background: rgba(41,169,225,0.10);
}
.info-card-title { font-size: 17px; font-weight: 700; color: var(--navy); letter-spacing: 0.02em; }
.info-card-body p { font-size: 14px; color: var(--muted); line-height: 1.8; }
.info-card-body strong {
  font-size: 17px; color: var(--text); font-weight: 700; letter-spacing: 0.04em;
}
.info-link { color: var(--blue); font-weight: 600; transition: color 0.2s; }
.info-link:hover { text-decoration: underline; color: var(--orange); }

/* ============================================================
   FORM SECTION
============================================================ */
.form-section { padding: 80px 5%; background: var(--offwhite); }
.form-section-inner { max-width: 1100px; margin: 0 auto; display: grid; grid-template-columns: 1fr 380px; gap: 52px; align-items: start; }
.form-left h2 { font-size: 27px; font-weight: 800; color: var(--navy); margin-bottom: 12px; letter-spacing: 0.01em; }
.form-left > p { font-size: 15px; color: var(--muted); margin-bottom: 36px; line-height: 1.75; }

.form-wrap { background: #fff; border-radius: 16px; padding: 40px 36px 36px; box-shadow: 0 4px 24px rgba(0,0,0,0.05); border: 1px solid #EEF2F7; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 22px; }
.form-group label { display: block; font-size: 13px; font-weight: 700; color: var(--navy); margin-bottom: 8px; letter-spacing: 0.03em; }
.form-group label .required { color: #EF4444; margin-left: 2px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%; padding: 13px 16px; border: 1.5px solid #E2E8F0; border-radius: 10px;
  font-size: 14px; font-family: inherit; color: var(--text); background: #FAFBFC;
  transition: all 0.25s; outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(41,169,225,0.08); background: #fff; }
.form-group textarea { resize: vertical; min-height: 110px; }
.form-group select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%2394A3B8' viewBox='0 0 16 16'%3E%3Cpath d='M8 11L3 6h10z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }

.btn-submit {
  width: 100%; padding: 15px; background: linear-gradient(135deg, var(--blue), #1E88C7);
  color: #fff; font-size: 16px; font-weight: 700; border: none; border-radius: 11px;
  cursor: pointer; transition: all 0.35s; letter-spacing: 0.05em;
  box-shadow: 0 6px 22px rgba(41,169,225,0.28); margin-top: 6px;
}
.btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(41,169,225,0.4); }
.btn-submit:active { transform: translateY(0); }

/* 右侧辅助信息 */
.form-sidebar { position: sticky; top: 92px; }
.sidebar-card { background: #fff; border-radius: 14px; padding: 32px 26px; box-shadow: 0 4px 20px rgba(0,0,0,0.05); border: 1px solid #EEF2F7; margin-bottom: 20px; }
.sidebar-card h3 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.sidebar-item { display: flex; align-items: flex-start; gap: 12px; padding: 11px 0; border-bottom: 1px dashed #F1F5F9; }
.sidebar-item:last-child { border-bottom: none; }
.sidebar-item-icon { font-size: 18px; flex-shrink: 0; margin-top: 1px; }
.sidebar-item-text { font-size: 13px; color: var(--muted); line-height: 1.65; }
.sidebar-item-text strong { color: var(--text); font-weight: 600; }
.work-hours { background: linear-gradient(135deg, #EFF6FF, #DBEAFE); border-radius: 10px; padding: 16px 18px; margin-top: 12px; }
.work-hours p { font-size: 12px; color: #475569; line-height: 1.7; }
.work-hours strong { color: var(--blue); }

/* ============================================================
   CTA BANNER (Contact)
============================================================ */
.cta-banner {
  background: linear-gradient(135deg, #F0F8FF 0%, #EBF5FF 50%, #F5F8FF 100%);
  border-left: 5px solid var(--blue); padding: 36px 5%; margin: 0 5%; border-radius: 0 14px 14px 0;
  position: relative; overflow: hidden;
}
.cta-banner::after {
  content: ''; position: absolute; right: -30px; top: -30px; width: 160px; height: 160px;
  border-radius: 50%; background: radial-gradient(circle, rgba(41,169,225,0.06), transparent 70%);
}
.cta-banner-inner { max-width: 1100px; margin: 0 auto; position: relative; z-index: 2; }
.cta-banner h3 { font-size: 19px; font-weight: 800; color: var(--blue); margin-bottom: 10px; line-height: 1.6; }
.cta-banner p { font-size: 15px; color: var(--muted); line-height: 1.8; }
.cta-banner-btn {
  display: inline-flex; align-items: center; gap: 8px; margin-top: 20px;
  padding: 12px 32px; background: linear-gradient(135deg, var(--blue), #1E88C7);
  color: #fff; font-size: 15px; font-weight: 700; border-radius: 10px;
  box-shadow: 0 6px 22px rgba(41,169,225,0.28); transition: all 0.3s;
}
.cta-banner-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(41,169,225,0.4); }

/* ============================================================
   OFFICE PHOTO SECTION
============================================================ */
.office-photo-section {
  padding: 72px 5% 64px;
  background: #f8fafc;
  text-align: center;
}
.office-photo-inner {
  max-width: 1100px;
  margin: 0 auto;
}
.office-photo-label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--blue, #29A9E1);
  margin-bottom: 10px;
}
.office-photo-title {
  font-size: 32px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 10px;
}
.office-photo-title em {
  font-style: normal;
  color: var(--blue, #29A9E1);
}
.office-photo-sub {
  color: #64748b;
  font-size: 15px;
  margin-bottom: 36px;
}
.office-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,0.12);
  line-height: 0;
}
.office-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.office-photo-wrap:hover img {
  transform: scale(1.02);
}

/* ============================================================
   CONTACT RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .info-cards-grid { grid-template-columns: repeat(2, 1fr); }
  .form-section-inner { grid-template-columns: 1fr; }
  .form-sidebar { position: static; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
}
@media (max-width: 768px) {
  .contact-hero { min-height: 320px; }
  .contact-hero-inner { padding: 48px 5% 40px; }
  .info-section, .form-section { padding: 56px 5%; }
  .info-cards-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .info-card { padding: 24px 16px 20px; }
  .form-wrap { padding: 28px 20px 24px; }
  .form-row { grid-template-columns: 1fr; }
  .section-label { font-size: 21px; }
  .cta-banner { margin: 0 4%; padding: 28px 20px; }
  .form-sidebar { grid-template-columns: 1fr; }
  .office-photo-section { padding: 48px 5% 40px; }
  .office-photo-title { font-size: 24px; }
  .office-photo-wrap { border-radius: 12px; }
}
