.contact-shell {
  width: min(1180px, 100% - 2 * clamp(18px, 4vw, 56px));
  margin-inline: auto;
}
.contact-lead {
  background: #172b39;
  color: #fff;
}
.contact-lead-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr);
  align-items: center;
  gap: clamp(24px, 5vw, 74px);
  padding-block: clamp(28px, 5vw, 64px);
}
.contact-lead .eyebrow { color: #f7c64d; margin: 0 0 12px; }
.contact-lead h1 {
  font-size: clamp(34px, 4.6vw, 62px);
  letter-spacing: -.036em;
  line-height: 1.09;
  margin: 0 0 18px;
}
.contact-lead-copy > p:not(.eyebrow) {
  color: #e0e9ef;
  font-size: clamp(15px, 1.6vw, 18px);
  line-height: 1.6;
  margin: 0;
  max-width: 50ch;
}
.contact-lead-image {
  width: 100%;
  height: clamp(185px, 23vw, 300px);
  object-fit: cover;
  object-position: 50% 57%;
  border-radius: 14px;
  border: 1px solid #7994a6;
}
.contact-lead-actions,.quote-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.contact-lead-actions { margin-top: 24px; }
.contact-lead-secondary {
  border: 1px solid #9cb2c0;
  color: #fff;
}
.contact-lead-secondary:hover { background: #2b4657; color: #fff; }
.contact-body { padding-block: clamp(26px, 5vw, 64px) 64px; }
.contact-workspace {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(18px, 3vw, 32px);
}
.contact-panel,.contact-direct {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: clamp(18px, 3vw, 30px);
}
.contact-body,.quote-panel { scroll-margin-block-start: 100px; }
.contact-workspace h2,.contact-next h2,.contact-faq h2 {
  margin: 0 0 14px;
  font-size: clamp(23px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -.02em;
}
.contact-panel-intro {
  margin: 0 0 22px;
  color: var(--muted);
  line-height: 1.6;
}
.quote-field-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px 14px;
}
.quote-field { display: grid; align-content: start; gap: 6px; min-width: 0; }
.quote-field > span { font-size: .875rem; line-height: 1.45; font-weight: 700; }
.quote-field-wide { grid-column: 1 / -1; }
.quote-field input,.quote-field select,.quote-field textarea,.contact-manual-copy {
  width: 100%;
  min-width: 0;
  min-height: 44px;
  border: 1px solid #aebac4;
  border-radius: 7px;
  color: var(--ink);
  background: #fff;
  font: inherit;
  padding: 9px 11px;
}
.quote-field textarea { resize: vertical; }
.quote-field :focus-visible,.contact-page :focus-visible {
  outline: 2px solid #1a6692;
  outline-offset: 2px;
}
.contact-lead :focus-visible { outline-color: #ffce65; }
.quote-actions { margin-top: 18px; }
.quote-actions .button,.contact-lead .button { min-height: 44px; justify-content: center; }
.contact-outline { color: #195775; border: 1px solid #9db5c2; }
.contact-outline:hover { background: #eff6fa; }
.contact-copy-button,.contact-catalog-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;
  font: inherit;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
  color: #195775;
  background: transparent;
  border: 0;
  padding: 0;
  text-align: start;
  cursor: pointer;
}
.quote-note,.contact-feedback {
  margin: 10px 0 0;
  color: #516274;
  font-size: .875rem;
  line-height: 1.5;
}
.contact-feedback { display: block; color: #155e46; }
.contact-manual-copy { margin-top: 10px; }
.contact-page [hidden] { display: none; }
.contact-method {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
  border-block-start: 1px solid var(--line);
  padding-block: 15px;
}
.contact-method:last-child { padding-block-end: 0; }
.contact-method .app-icon { width: 42px; height: 42px; }
.contact-method h3,.contact-next h3 {
  margin: 0 0 4px;
  font-size: 1rem;
  line-height: 1.4;
}
.contact-method p,.contact-next p,.contact-faq-items p {
  margin: 0;
  color: #526174;
  font-size: .9rem;
  line-height: 1.55;
}
.contact-method-link,.contact-wechat-number {
  display: flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  color: #194d69;
  font-size: .9rem;
  font-weight: 700;
}
.contact-method-link bdi { overflow-wrap: anywhere; }
.contact-method-link:hover { text-decoration: underline; }
.contact-method-link.secondary-number { color: #526174; }
.contact-method-copy .contact-copy-button { margin-block-start: -6px; }
.contact-next { margin-block: clamp(40px, 6vw, 66px); }
.contact-next ol {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0;
  padding: 0;
  list-style-position: inside;
  gap: 14px;
}
.contact-next li {
  padding: 16px 18px 20px;
  background: #fff;
  border-radius: 7px;
  border: 1px solid var(--line);
  border-block-start: 3px solid var(--yellow);
}
.contact-next li::marker { color: #536679; font-size: .875rem; font-weight: 750; }
.contact-next h3 { display: inline; }
.contact-next p { margin-block-start: 8px; }
.contact-faq {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.7fr);
  gap: 24px;
  align-items: start;
  padding-block-start: 25px;
  border-block-start: 1px solid var(--line);
}
.contact-faq-items {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
}
.contact-faq-items details + details { border-block-start: 1px solid var(--line); }
.contact-faq-items summary {
  padding: 13px 17px;
  min-height: 46px;
  cursor: pointer;
  font-weight: 700;
}
.contact-faq-items details > p { padding: 0 17px 16px; }

@media (max-width: 820px) {
  .contact-workspace { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 640px) {
  .contact-lead-grid,.quote-field-grid,.contact-next ol,.contact-faq {
    grid-template-columns: minmax(0, 1fr);
  }
  .contact-lead-grid { gap: 20px; }
  .contact-lead h1 {
    font-size: clamp(28px, 6.4vw, 36px);
    line-height: 1.15;
    margin-bottom: 10px;
  }
  .contact-lead-image {
    display: block;
    height: auto;
    aspect-ratio: 2.35;
    border-radius: 12px;
  }
  .contact-lead-actions { margin-top: 16px; }
  .contact-lead-actions,.quote-actions { align-items: stretch; }
  .contact-lead-actions .button,.quote-actions .button {
    flex: 1 1 8.5rem;
    padding-inline: 12px;
    font-size: .875rem;
    line-height: 1.25;
    text-align: center;
    white-space: normal;
  }
  .quote-field input,.quote-field select,.quote-field textarea,.contact-manual-copy {
    font-size: max(16px, 1rem);
  }
  .contact-panel-intro { margin-bottom: 16px; }
  .contact-faq { gap: 12px; }
}
