/* The shared header and footer keep their site styles. */
body.contact-page {
  margin: 0;
  color-scheme: dark;
  background: radial-gradient(ellipse 75% 75% at 63% -23%, #1a223b, transparent 70%), #090b13;
}
.pa-consultation {
  --consult-paper: #f3f4f9;
  --consult-muted: #aeb7cc;
  --consult-line: #2c3245;
  --consult-accent: #ff9c88;
  width: min(1180px, calc(100% - 112px));
  margin-inline: auto;
  color: var(--consult-paper);
  font: 16px/normal "Segoe UI", "Microsoft YaHei", "PingFang SC", system-ui, sans-serif;
}
.pa-consultation, .pa-consultation * { box-sizing: border-box; }
body.contact-page .pa-consultation :is(h1,h2,p,a,button,summary,span,strong) { font-family: inherit; }
.pa-consultation a { color: inherit; text-decoration: none; }
.pa-consultation button { font: inherit; color: inherit; cursor: pointer; }
.pa-consultation [hidden] { display: none; }
.pa-consultation :is(a,button,summary):focus-visible { outline: 2px solid #a9beff; outline-offset: 4px; }
.pa-consultation ::selection { color: white; background: #425789; }
.consult-icon {
  flex: none; width: 18px; height: 18px; fill: none; stroke: currentColor;
  stroke-width: 1.65; stroke-linecap: round; stroke-linejoin: round;
}

.consult-hero {
  width: calc(100% - 2 * clamp(20px, 6vw, 96px));
  min-height: clamp(555px, 68svh, 750px);
  margin-inline: auto; padding-block: 132px 62px;
}
.consult-breadcrumb, .consult-actions, .consult-location, .consult-cases {
  display: flex; align-items: center;
}
.consult-breadcrumb { gap: 10px; margin-bottom: 33px; font-size: 13px; color: #a6afc5; }
.consult-breadcrumb span { color: #dfe4f3; }
.consult-breadcrumb .consult-icon { width: 13px; height: 13px; }
.consult-hero-grid {
  display: grid; grid-template-columns: minmax(0,.98fr) minmax(0,1.02fr);
  align-items: center; gap: clamp(30px,5vw,84px);
}
.consult-copy h1 {
  margin: 0 0 20px; font-size: clamp(47px,4.4vw,66px); font-weight: 560;
  line-height: 1.18; letter-spacing: -.035em; text-wrap: balance;
}
.consult-copy h1 span { display: block; }
.consult-intro { max-width: 27em; margin: 0 0 29px; color: #c1c9dc; font-size: clamp(15px,1.25vw,18px); line-height: 1.8; }
.consult-actions { gap: 25px; flex-wrap: wrap; scroll-margin-top: 90px; }
.consult-phone { display: inline-flex; align-items: center; border-radius: 9px; background: var(--consult-accent); color: #241b24; }
.consult-dial {
  display: inline-flex; align-items: center; gap: 10px; min-height: 47px; padding: 0 12px 0 18px;
  border-radius: 9px 0 0 9px; font-weight: 650; letter-spacing: .012em; font-variant-numeric: tabular-nums;
}
.pa-consultation .consult-copy-phone {
  position: relative; display: grid; place-items: center; width: 44px; height: 44px;
  padding: 0; border: 0; border-radius: 0 9px 9px 0; color: #402936; background: transparent;
}
.consult-copy-phone:before { content: ""; position: absolute; inset: 13px auto 13px 0; border-left: 1px solid #693f485c; }
.consult-copy-phone .consult-icon { width: 15px; height: 15px; }
.consult-copy-phone .consult-icon-check, .consult-copy-phone[data-done] .consult-icon-copy { display: none; }
.consult-copy-phone[data-done] .consult-icon-check { display: block; }
.consult-dial:hover, .pa-consultation .consult-copy-phone:hover, .pa-consultation .consult-copy-phone[data-done] { background: #ffb19e; }
.pa-consultation .consult-cases { min-height: 44px; gap: 6px; font-size: 14px; color: #e2e5f1; }
.consult-cases .consult-icon, .consult-location .consult-icon { width: 15px; height: 15px; }
.pa-consultation :is(.consult-breadcrumb a,.consult-cases,.consult-resources a):hover { color: var(--consult-accent); }
.consult-location { gap: 7px; margin: 19px 0 0; color: var(--consult-muted); font-size: 13px; }
.consult-location .consult-icon { color: #a0b6e9; }

.consult-advisor {
  position: relative; isolation: isolate; overflow: hidden; display: grid; grid-template-columns: 51% 49%;
  min-height: 306px; border-radius: 16px; box-shadow: 0 14px 42px -32px #06070d;
  background: linear-gradient(120deg, #242d50, #28365c 30%, #1a294a 62%, #15203a);
}
.consult-advisor:before {
  content: ""; position: absolute; z-index: -1; inset: 0; opacity: .46;
  background: url("/figma-site/assets/figma/contact-report-wave.svg") center / 100% 100% no-repeat;
}
.consult-advisor:after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 1px 0 #cad8ff32; pointer-events: none; }
.consult-portrait-area { position: relative; z-index: 0; align-self: stretch; min-width: 0; pointer-events: none; }
.consult-portrait-area:before { content: ""; position: absolute; inset: -5% -20% -10% -18%; background: radial-gradient(ellipse at 45% 46%, #5b76b682, transparent 65%); }
.consult-portrait {
  position: absolute; bottom: 0; left: -16%; width: 130%; height: 100%; max-width: none;
  object-fit: contain; object-position: center bottom; filter: drop-shadow(12px 12px 16px #0c172c55);
  mask-image: linear-gradient(to bottom, black 82%, #0008 100%);
}
.consult-advisor-info { z-index: 1; position: relative; align-self: center; padding: 24px 21px 25px 5px; }
.consult-role { margin: 0 0 5px; font-size: 13px; letter-spacing: .02em; color: #c8d6ec; }
.consult-name { margin: 0 0 18px; font-size: 34px; font-weight: 560; line-height: 1.2; letter-spacing: .02em; }
.consult-qr { display: block; width: 112px; height: 112px; padding: 8px; background: white; border-radius: 9px; cursor: zoom-in; }
.consult-qr img, .consult-dialog figure img { display: block; width: 100%; height: 100%; object-fit: contain; }
.consult-qr-caption { margin: 7px 0 0; color: #d5dff3; font-size: 13px; line-height: 1.55; }
.consult-phone-caption { display: none; }

.consult-brief, .consult-faq { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(30px,5vw,84px); border-top: 1px solid var(--consult-line); }
.consult-brief { padding: 40px 0 38px; }
.consult-brief h2, .consult-faq h2 { margin: 0; font-weight: 550; font-size: clamp(25px,2.4vw,35px); line-height: 1.3; letter-spacing: -.022em; }
.consult-brief-intro p { max-width: 25em; margin: 13px 0 20px; color: var(--consult-muted); font-size: 15px; line-height: 1.8; }
.pa-consultation .consult-copy-brief {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding-inline: 15px;
  border: 1px solid #35415b; border-radius: 8px; background: #171e2f; color: #e0e9ff; font-size: 14px;
}
.consult-copy-brief .consult-icon { width: 16px; height: 16px; }
.pa-consultation .consult-copy-brief:hover { background: #232e48; }
.pa-consultation button[hidden] { display: none; }
.consult-fields { align-self: start; margin: 0; }
.consult-fields > div {
  display: grid; grid-template-columns: minmax(105px,32%) 1fr; align-items: baseline; gap: 12px;
  padding: 11px 0; border-bottom: 1px solid #252b3c; font-size: 14px; line-height: 1.5;
}
.consult-fields > div:first-child { padding-top: 3px; }
.consult-fields dt { color: #edf0fa; font-weight: 550; }
.consult-fields dd { margin: 0; color: #b4bfd5; }
.consult-faq { padding: 32px 0 48px; }
.consult-faq h2 { font-size: 24px; }
.consult-faq details { border-bottom: 1px solid #252b3c; padding-bottom: 10px; margin-bottom: 10px; }
.consult-faq summary { cursor: pointer; min-height: 32px; color: #cbd4e7; line-height: 1.7; }
.consult-faq details p { color: var(--consult-muted); line-height: 1.8; font-size: 14px; }
.consult-resources { display: flex; flex-wrap: wrap; gap: 8px 20px; padding-bottom: 18px; font-size: 13px; color: var(--consult-muted); }
.consult-resources a { display: inline-flex; align-items: center; min-height: 36px; }
.consult-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.consult-dialog {
  width: min(320px, calc(100% - 36px)); max-height: calc(100% - 32px); padding: 21px;
  color: #f3f4f9; border: 1px solid #37425e; border-radius: 16px; background: #151c2c; box-shadow: 0 16px 54px #0008;
}
.consult-dialog::backdrop { background: #050710bf; }
.consult-dialog form { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.consult-dialog h2 { margin: 0; font-size: 17px; }
.consult-dialog button { display: grid; place-items: center; width: 44px; height: 44px; background: transparent; border: 0; }
.consult-dialog figure { margin: 0; padding: 12px; background: white; border-radius: 8px; }
.consult-dialog figure img { height: auto; aspect-ratio: 1; }
.consult-dialog textarea { display: block; width: 100%; padding: 10px; color: inherit; background: #0c1120; border: 1px solid #43526e; border-radius: 5px; font: inherit; line-height: 1.6; }

@media (min-width: 1550px) {
  .consult-hero { padding-block: 151px 70px; }
  .consult-advisor { min-height: 337px; }
}
@media (max-width: 1000px) {
  .pa-consultation { width: calc(100% - 64px); }
  .consult-hero { padding-top: 117px; }
  .consult-hero-grid, .consult-brief, .consult-faq { gap: 32px; }
  .consult-advisor { min-height: 284px; }
  .consult-actions { gap: 14px; }
  .consult-intro { margin-bottom: 21px; }
  .consult-portrait { left: -20%; width: 138%; }
  .consult-fields > div { grid-template-columns: 100px 1fr; }
}
@media (max-width: 740px) {
  .pa-consultation { width: calc(100% - 40px); }
  .consult-hero { min-height: 0; padding-block: 104px 28px; }
  .consult-breadcrumb { font-size: 12px; margin-bottom: 23px; }
  .consult-hero-grid, .consult-brief, .consult-faq { grid-template-columns: minmax(0,1fr); gap: 23px; }
  .consult-copy h1 { font-size: clamp(32px,6.75vw,46px); line-height: 1.22; margin-bottom: 11px; text-wrap: initial; }
  .consult-copy h1 span { display: inline; }
  .consult-intro { font-size: 15px; line-height: 1.7; max-width: 32em; margin-bottom: 18px; }
  .consult-dial { min-height: 44px; font-size: 15px; }
  .consult-actions { gap: 20px; }
  .pa-consultation .consult-cases { font-size: 13px; }
  .consult-location { margin-top: 12px; font-size: 12px; }
  .consult-advisor { min-height: 0; height: 167px; grid-template-columns: 40% 60%; border-radius: 12px; }
  .consult-portrait { width: 127%; left: -14%; object-position: center top; }
  .consult-role { margin: 0 0 4px; font-size: 12px; }
  .consult-name { font-size: 25px; margin: 0; }
  .consult-advisor-info {
    align-self: stretch; display: grid; grid-template-columns: minmax(0,1fr) auto;
    grid-template-rows: auto auto auto; align-content: center; column-gap: 4px; padding: 12px 14px 12px 0;
  }
  .consult-role, .consult-name { grid-column: 1/-1; }
  .consult-qr { margin-top: 9px; grid-area: 3/1; width: 62px; height: 62px; padding: 4px; align-self: center; border-radius: 4px; }
  .consult-qr-caption { align-self: end; grid-area: 3/1/4/-1; margin: 0 0 1px 70px; font-size: 12px; pointer-events: none; }
  .consult-desktop-caption { display: none; }
  .consult-phone-caption { display: inline; }
  .consult-brief { padding: 27px 0 29px; gap: 18px; }
  .consult-brief h2 { font-size: 25px; }
  .consult-brief-intro p { margin: 8px 0 14px; font-size: 14px; line-height: 1.7; }
  .consult-fields > div { grid-template-columns: minmax(84px,30%) 1fr; gap: 8px; padding: 9px 0; font-size: 13px; }
  .consult-faq { padding: 25px 0; gap: 16px; }
  .consult-faq h2 { font-size: 23px; }
}
@media (max-width: 360px) {
  .pa-consultation { width: calc(100% - 32px); }
  .consult-breadcrumb { margin-bottom: 16px; }
  .consult-copy h1 { font-size: 30px; }
  .consult-actions { gap: 13px; }
  .consult-advisor { grid-template-columns: 42% 58%; }
  .consult-advisor-info { padding-right: 8px; }
  .consult-qr-caption { margin-left: 66px; font-size: 11px; }
}
