/* Contact page: reuse the homepage palette, navigation, type and footer. */
.mc-contact .mc-hero {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: #eef6ff;
}
.mc-hero-art {
  position: absolute;
  z-index: -2;
  width: 100%;
  height: 100%;
  inset: 0;
  object-fit: cover;
  object-position: center;
}
.mc-hero::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #f3f9ff 0%, rgba(243, 249, 255, .94) 35%, rgba(243, 249, 255, .04) 75%);
}
.mc-hero-copy {
  min-height: 348px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-block: 58px 64px;
}
.mc-contact .mc-hero h1 {
  font-size: 46px;
  font-weight: 500;
  line-height: 1.35;
  letter-spacing: -1px;
  margin: 18px 0 22px;
}
.mc-hero h1 span { color: var(--mh-blue); }
.mc-contact .mc-hero-description {
  max-width: 530px;
  font-size: 16px;
  color: #536b89;
  line-height: 1.9;
}
.mc-section { padding: 60px 0; }
/* The legacy theme forces section backgrounds to transparent. */
.maple-contact-v2 .mc-presales, .maple-contact-v2 .mc-help { background: var(--mh-surface) !important; }
.mc-section-head { margin-bottom: 28px; }
.mc-contact .mc-section-head h2 {
  font-size: 30px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: -.5px;
}
.mc-support-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.mc-support-card {
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--mh-line);
  border-radius: 4px;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.mc-support-card:hover, .mc-support-card:focus-within {
  border-color: #9ec3fb;
  box-shadow: 0 8px 24px rgba(25, 75, 130, .06);
}
.mc-card-icon { display: block; color: var(--mh-blue); flex: 0 0 40px; width: 40px; height: 40px; }
.mc-card-icon svg { display: block; width: 100%; height: 100%; }
.mc-card-body { min-width: 0; display: flex; flex: 1; flex-direction: column; align-self: stretch; align-items: flex-start; }
.mc-contact .mc-card-body h3 { font-size: 21px; font-weight: 500; line-height: 1.4; margin: 0 0 13px; }
.mc-contact .mc-card-body p { color: var(--mh-muted); font-size: 13px; line-height: 1.9; margin-bottom: 22px; }
.mc-card-action { margin-top: auto; }
.mc-phone { color: var(--mh-blue); font-size: 23px; font-weight: 500; line-height: 44px; letter-spacing: .3px; overflow-wrap: anywhere; }
.mc-contact .mc-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  min-height: 44px;
  padding: 10px 18px;
  border: 1px solid var(--mh-blue);
  border-radius: 2px;
  background: var(--mh-blue);
  color: #fff;
  font-size: 13px;
  font-weight: 500;
  line-height: 22px;
  transition: background .2s, border-color .2s;
}
.mc-button span { font-size: 18px; line-height: 1; }
.mc-contact .mc-button:hover { background: #0055d6; border-color: #0055d6; }
.mc-aftersales .mc-support-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mc-aftersales .mc-support-card { flex-direction: column; padding: 28px 24px; gap: 24px; }
.mc-aftersales .mc-card-icon { width: 34px; height: 34px; flex-basis: 34px; }
.mc-aftersales .mc-card-body h3 { font-size: 19px; }
.mc-aftersales .mc-card-body p { min-height: 75px; }
.mc-aftersales .mc-button { background: #fff; color: var(--mh-blue); }
.mc-aftersales .mc-button:hover { background: #edf5ff; border-color: var(--mh-blue); }
.mc-aftersales .mc-phone { font-size: 21px; }
.mc-help-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.mc-help-card { min-width: 0; background: #fff; border: 1px solid var(--mh-line); border-radius: 4px; padding: 26px 28px; }
.mc-help-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 19px; margin-bottom: 12px; border-bottom: 1px solid var(--mh-line); }
.mc-contact .mc-help-head h3 { font-size: 18px; font-weight: 500; line-height: 1.5; }
.mc-help-more { display: inline-flex; align-items: center; gap: 9px; color: var(--mh-blue); font-size: 12px; white-space: nowrap; }
.mc-help-more span { font-size: 17px; }
.mc-help-item a { display: block; min-height: 44px; padding: 11px 0; color: var(--mh-muted); font-size: 13px; line-height: 1.7; }
.mc-help-card a:hover { color: var(--mh-blue); }
.maple-contact-v2 .mh-footer [aria-current="page"] { color: var(--mh-blue); }
@media (max-width: 1100px) {
  .mc-aftersales .mc-support-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .mc-aftersales .mc-card-body p { min-height: 50px; }
  .mc-support-card { padding: 26px; gap: 20px; }
  .mc-help-card { padding: 22px; }
}
@media (max-width: 760px) {
  .mc-section { padding: 40px 0; }
  .mc-hero-copy { min-height: 280px; padding-block: 40px; }
  .mc-contact .mc-hero h1 { font-size: 36px; margin-block: 15px 18px; }
  .mc-contact .mc-hero-description { font-size: 14px; max-width: 390px; }
  .mc-hero::after { background: linear-gradient(90deg, rgba(243, 249, 255, .97), rgba(243, 249, 255, .88) 50%, rgba(243, 249, 255, .45)); }
  .mc-presales .mc-support-grid, .mc-help-grid { grid-template-columns: 1fr; }
  .mc-support-grid, .mc-help-grid { gap: 16px; }
  .mc-section-head { margin-bottom: 22px; }
  .mc-contact .mc-section-head h2 { font-size: 25px; }
  .mc-contact .mc-help-head h3 { font-size: 17px; }
}
@media (max-width: 480px) {
  .mc-hero-copy { min-height: 266px; }
  .mc-hero-art { object-position: 66% center; }
  .mc-contact .mc-hero h1 { font-size: 34px; }
  .mc-contact .mc-hero-description { font-size: 13px; max-width: 305px; }
  .mc-aftersales .mc-support-grid { grid-template-columns: 1fr; gap: 16px; }
  .mc-support-card, .mc-aftersales .mc-support-card { padding: 23px 20px; gap: 18px; flex-direction: row; }
  .mc-card-icon, .mc-aftersales .mc-card-icon { flex: 0 0 29px; width: 29px; height: 29px; }
  .mc-contact .mc-card-body h3 { font-size: 18px; margin-bottom: 10px; }
  .mc-contact .mc-card-body p { font-size: 12px; min-height: 0; margin-bottom: 19px; }
  .mc-contact .mc-card-body p br { display: none; }
  .mc-contact .mc-phone { font-size: 22px; }
  .mc-help-card { padding: 22px 24px; }
}
