/* 联系我们页 */

/* 页面横幅（复用 sub-banner 结构） */
.sub-banner {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 3264 / 608;
  min-height: 240px;
  max-height: 380px;
  margin-top: 80px;
  margin-top: var(--header-height);
  overflow: hidden;
  background: #2a1d0e;
}

.sub-banner .bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.72;
}

.sub-banner .content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  z-index: 2;
}

.sub-banner h1 {
  font-size: 36px;
  font-weight: 500;
  letter-spacing: 6px;
  margin-bottom: 8px;
}

.sub-banner .en {
  font-size: 14px;
  letter-spacing: 6px;
  color: var(--color-primary-light);
  text-transform: uppercase;
}

.contact-page {
  padding: 56px 0 80px;
}

/* 电话预约 CTA */
.contact-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, #5a4321 0%, #2a1d0e 100%);
  padding: 40px 48px;
  margin-bottom: 40px;
}

.cta-text h2 {
  font-size: 24px;
  color: #fff;
  letter-spacing: 3px;
  margin-bottom: 10px;
}

.cta-text p {
  font-size: 13.5px;
  line-height: 1.9;
  color: rgba(255, 255, 255, 0.78);
  max-width: 560px;
}

.cta-phones {
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 8px 40px;
}

.cta-phone {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  text-decoration: none;
  flex-shrink: 0;
}

.cta-phone .cta-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  letter-spacing: 3px;
  margin-bottom: 4px;
}

.cta-phone .cta-num {
  font-size: 34px;
  font-weight: 600;
  letter-spacing: 2px;
  color: #fff;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.4);
  padding-bottom: 4px;
  transition: color 0.2s ease;
}

.cta-phone:hover .cta-num {
  color: var(--color-primary-light);
}

/* 地址卡片 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  max-width: 920px;
  margin: 0 auto;
}

.contact-card {
  background: #fff;
  border: 1px solid var(--color-border);
  padding: 36px 28px;
  transition: all 0.3s ease;
}

.contact-card:hover {
  border-color: #d9c9ae;
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(90, 67, 33, 0.1);
}

.cc-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(138, 106, 58, 0.1);
  color: var(--color-primary);
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.contact-card h3 {
  font-size: 17px;
  color: var(--color-text);
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.cc-addr {
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  margin-bottom: 10px;
}

.cc-tip {
  font-size: 12.5px;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 14px;
}

.cc-link {
  font-size: 13px;
  color: var(--color-primary);
  text-decoration: none;
  letter-spacing: 1px;
}

.cc-link:hover {
  text-decoration: underline;
}

/* 其他信息 */
.contact-extra {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 24px;
}

.extra-item {
  background: var(--color-bg-soft);
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.extra-label {
  font-size: 13px;
  color: var(--color-text-muted);
  letter-spacing: 2px;
  flex-shrink: 0;
}

.extra-value {
  font-size: 14.5px;
  color: var(--color-text);
  letter-spacing: 1px;
}

/* ===== 响应式 ===== */
@media (max-width: 960px) {
  .sub-banner {
    height: clamp(300px, 62vw, 520px);
    max-height: none;
  }

  .sub-banner .bg {
    background-position: 18% center;
  }

  .contact-cta {
    padding: 32px 28px;
  }

  .cta-phone {
    align-items: flex-start;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-extra {
    grid-template-columns: 1fr;
  }

  .sub-banner h1 {
    font-size: 28px;
  }
}

@media (max-width: 600px) {
  .sub-banner {
    height: clamp(280px, 72vw, 360px);
  }

  .sub-banner .bg {
    background-position: 12% center;
  }

  .sub-banner h1 {
    font-size: 24px;
    letter-spacing: 4px;
  }

  .sub-banner .en {
    font-size: 12px;
    letter-spacing: 4px;
  }

  .contact-cta {
    padding: 28px 20px;
  }

  .cta-text h2 {
    font-size: 20px;
    letter-spacing: 2px;
  }

  .cta-phone {
    width: 100%;
    align-items: flex-start;
  }

  .cta-phones {
    width: 100%;
    gap: 0;
  }

  .cta-phone .cta-num {
    display: block;
    width: 100%;
    font-size: 22px;
    line-height: 1.5;
    letter-spacing: 0;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
  }
}
