/* 留言 / 在线报名：仅重做前台表现，PbootCMS 留言字段与接口保持不变。 */
.hk-contact-page,
.hk-contact-page * {
  box-sizing: border-box;
}

.hk-contact-page {
  margin: 0;
  padding-top: 80px;
  background: #f6f8fb;
  color: #1f2937;
  font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif;
}

.hk-contact-page img {
  max-width: 100%;
}

.hk-contact-main {
  padding: 34px 0 72px;
}

.hk-contact-breadcrumb {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0 0 24px;
  color: #94a3b8;
  font-size: 14px;
  line-height: 1.5;
}

.hk-contact-breadcrumb a {
  color: #64748b;
  text-decoration: none;
}

.hk-contact-breadcrumb a:hover {
  color: var(--hk-blue, #0080ff);
}

.hk-contact-hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(320px, 0.92fr);
  gap: 42px;
  align-items: center;
  margin-bottom: 26px;
  padding: 42px 48px;
  overflow: hidden;
  border: 1px solid #e7edf5;
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f4f9ff 64%, #fffbea 100%);
  box-shadow: 0 12px 34px rgba(15, 23, 42, 0.06);
}

.hk-contact-hero::after {
  content: "";
  position: absolute;
  top: -95px;
  right: -70px;
  width: 270px;
  height: 270px;
  border-radius: 50%;
  background: rgba(251, 230, 79, 0.36);
  pointer-events: none;
}

.hk-contact-hero__content,
.hk-contact-hero__facts {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.hk-contact-eyebrow {
  display: inline-flex;
  align-items: center;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  background: #eaf4ff;
  color: #0875df;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.hk-contact-hero h1 {
  margin: 0 0 14px;
  color: #10233f;
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.hk-contact-hero__lead {
  max-width: 650px;
  margin: 0;
  color: #5f6f85;
  font-size: 17px;
  line-height: 1.85;
}

.hk-contact-hero__facts {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.hk-contact-fact {
  min-width: 0;
  padding: 18px 12px;
  border: 1px solid rgba(255, 255, 255, 0.9);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.82);
  text-align: center;
  box-shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

.hk-contact-fact strong,
.hk-contact-fact span {
  display: block;
}

.hk-contact-fact strong {
  margin-bottom: 5px;
  color: #10233f;
  font-size: 17px;
}

.hk-contact-fact span {
  color: #7b8798;
  font-size: 12px;
  line-height: 1.5;
}

.hk-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 26px;
  align-items: start;
}

.hk-contact-form-card,
.hk-contact-side-card {
  min-width: 0;
  border: 1px solid #e7edf5;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.05);
}

.hk-contact-form-card {
  padding: 34px 38px 38px;
}

.hk-contact-form-card__head {
  margin-bottom: 26px;
  padding-bottom: 20px;
  border-bottom: 1px solid #edf1f6;
}

.hk-contact-form-card__head h2 {
  margin: 0 0 8px;
  color: #14253d;
  font-size: 26px;
  line-height: 1.35;
}

.hk-contact-form-card__head p {
  margin: 0;
  color: #7b8798;
  font-size: 14px;
  line-height: 1.7;
}

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

.hk-contact-field {
  min-width: 0;
}

.hk-contact-field--full,
.hk-contact-note,
.hk-contact-submit-wrap {
  grid-column: 1 / -1;
}

.hk-contact-field label {
  display: block;
  margin-bottom: 8px;
  color: #334155;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.hk-contact-field label em {
  margin-left: 3px;
  color: #f04438;
  font-style: normal;
}

.hk-contact-field input,
.hk-contact-field textarea {
  display: block;
  width: 100%;
  max-width: 100%;
  border: 1px solid #dce3ec;
  border-radius: 10px;
  outline: none;
  background: #fbfcfe;
  color: #1f2937;
  font: inherit;
  font-size: 15px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.hk-contact-field input {
  height: 50px;
  padding: 0 15px;
}

.hk-contact-field textarea {
  min-height: 150px;
  padding: 13px 15px;
  resize: vertical;
  line-height: 1.7;
}

.hk-contact-field input:focus,
.hk-contact-field textarea:focus {
  border-color: var(--hk-blue, #0080ff);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(0, 128, 255, 0.1);
}

.hk-contact-field input::placeholder,
.hk-contact-field textarea::placeholder {
  color: #a5afbd;
}

.hk-contact-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 15px;
  border: 1px solid #ffe4a8;
  border-radius: 10px;
  background: #fffaf0;
  color: #8a6214;
  font-size: 13px;
  line-height: 1.65;
}

.hk-contact-note::before {
  content: "!";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  margin-top: 1px;
  border-radius: 50%;
  background: #f7c948;
  color: #5f4300;
  font-size: 12px;
  font-weight: 800;
}

.hk-contact-submit {
  width: 100%;
  min-height: 52px;
  border: 0;
  border-radius: 10px;
  background: var(--hk-yellow, #fbe64f);
  color: #172033;
  cursor: pointer;
  font-size: 16px;
  font-weight: 800;
  transition: transform 0.2s, background 0.2s, box-shadow 0.2s;
}

.hk-contact-submit:hover {
  transform: translateY(-1px);
  background: #f4d91f;
  box-shadow: 0 7px 18px rgba(191, 158, 0, 0.18);
}

.hk-contact-submit:disabled {
  transform: none;
  cursor: wait;
  opacity: 0.7;
  box-shadow: none;
}

.hk-contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
}

.hk-contact-side-card {
  padding: 24px;
}

.hk-contact-side-card--consult {
  background: linear-gradient(145deg, #122844 0%, #193b62 100%);
  color: #fff;
}

.hk-contact-side-card h3 {
  margin: 0 0 16px;
  color: #14253d;
  font-size: 18px;
  line-height: 1.4;
}

.hk-contact-side-card--consult h3 {
  color: #fff;
}

.hk-contact-side-card--consult p {
  margin: 0 0 18px;
  color: #c7d4e4;
  font-size: 14px;
  line-height: 1.75;
}

.hk-contact-hotline {
  display: block;
  margin-bottom: 14px;
  color: #fbe64f;
  font-size: 23px;
  font-weight: 800;
  line-height: 1.3;
  text-decoration: none;
}

.hk-contact-side-card--consult .hk-btn {
  width: 100%;
}

.hk-contact-steps {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hk-contact-steps li {
  position: relative;
  min-height: 38px;
  margin-bottom: 14px;
  padding: 2px 0 0 48px;
  color: #526075;
  font-size: 14px;
  line-height: 1.6;
}

.hk-contact-steps li:last-child {
  margin-bottom: 0;
}

.hk-contact-steps span {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: #edf6ff;
  color: #0875df;
  font-size: 13px;
  font-weight: 800;
}

.hk-contact-recommendations {
  list-style: none;
  margin: 0;
  padding: 0;
}

.hk-contact-recommendations li {
  border-top: 1px solid #edf1f6;
}

.hk-contact-recommendations a {
  display: block;
  padding: 11px 0;
  color: #526075;
  font-size: 14px;
  line-height: 1.55;
  text-decoration: none;
}

.hk-contact-recommendations a:hover {
  color: var(--hk-blue, #0080ff);
}

@media (max-width: 991px) {
  .hk-contact-main {
    padding-top: 24px;
  }

  .hk-contact-hero {
    grid-template-columns: minmax(0, 1fr);
    gap: 26px;
    padding: 34px;
  }

  .hk-contact-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  .hk-contact-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .hk-contact-page .hk-header__actions .hk-site-phone,
  .hk-contact-page .hk-header__actions .hk-consult-link {
    display: none !important;
  }

  .hk-contact-page .hk-site-logo img {
    width: auto;
    max-width: 230px;
    height: 34px;
  }

  .hk-contact-page .hk-container {
    padding-right: 15px;
    padding-left: 15px;
  }

  .hk-contact-main {
    padding: 18px 0 46px;
  }

  .hk-contact-breadcrumb {
    margin-bottom: 14px;
    font-size: 13px;
  }

  .hk-contact-hero {
    margin-bottom: 16px;
    padding: 25px 20px;
    border-radius: 15px;
  }

  .hk-contact-hero::after {
    top: -80px;
    right: -100px;
    width: 220px;
    height: 220px;
  }

  .hk-contact-eyebrow {
    margin-bottom: 10px;
  }

  .hk-contact-hero h1 {
    margin-bottom: 10px;
    font-size: 29px;
  }

  .hk-contact-hero__lead {
    font-size: 15px;
    line-height: 1.75;
  }

  .hk-contact-hero__facts {
    gap: 8px;
  }

  .hk-contact-fact {
    padding: 13px 6px;
  }

  .hk-contact-fact strong {
    font-size: 15px;
  }

  .hk-contact-fact span {
    font-size: 11px;
  }

  .hk-contact-layout,
  .hk-contact-sidebar {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
  }

  .hk-contact-form-card,
  .hk-contact-side-card {
    border-radius: 14px;
  }

  .hk-contact-form-card {
    padding: 23px 18px 24px;
  }

  .hk-contact-form-card__head {
    margin-bottom: 20px;
    padding-bottom: 16px;
  }

  .hk-contact-form-card__head h2 {
    font-size: 22px;
  }

  .hk-contact-form {
    grid-template-columns: minmax(0, 1fr);
    gap: 17px;
  }

  .hk-contact-field--full,
  .hk-contact-note,
  .hk-contact-submit-wrap {
    grid-column: auto;
  }

  .hk-contact-field input {
    height: 48px;
  }

  .hk-contact-field textarea {
    min-height: 130px;
  }

  .hk-contact-side-card {
    padding: 21px 19px;
  }
}
