@import url("products.css");

.inquiry-page {
  background: #edf6f8;
  color: var(--ink);
}

.inquiry-page .site-header {
  position: absolute;
  top: 20px;
}

.inquiry-page .brand {
  flex: none;
}

.inquiry-page .desktop-nav a[aria-current="page"] {
  color: var(--blue);
}

.inquiry-hero {
  min-height: 560px;
  padding: 154px 0 146px;
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 82% 22%, rgba(255, 255, 255, .95) 0 7%, transparent 32%),
    linear-gradient(124deg, #eef8fa 0%, #dff2f6 58%, #ceecf2 100%);
}

.inquiry-hero::before,
.inquiry-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  border: 1px solid rgba(40, 184, 197, .24);
  border-radius: 50%;
  transform: rotate(-12deg);
}

.inquiry-hero::before {
  width: 640px;
  height: 260px;
  right: -210px;
  bottom: -74px;
}

.inquiry-hero::after {
  width: 430px;
  height: 176px;
  right: -34px;
  bottom: 2px;
  border-color: rgba(11, 123, 211, .16);
}

.inquiry-hero-inner {
  position: relative;
  z-index: 1;
}

.inquiry-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #567186;
  font-size: 12px;
}

.inquiry-breadcrumb a:hover {
  color: var(--blue);
}

.inquiry-hero-copy {
  max-width: 880px;
  margin-top: 60px;
}

.inquiry-hero h1 {
  max-width: 850px;
  margin: 0;
  color: #174b86;
  font-family: Bahnschrift, "Arial Narrow", sans-serif;
  font-size: clamp(58px, 6.2vw, 92px);
  font-stretch: condensed;
  font-weight: 650;
  letter-spacing: -.035em;
  line-height: .95;
  text-wrap: balance;
}

html[lang="zh-CN"] .inquiry-hero h1 {
  max-width: 760px;
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-size: clamp(48px, 5.1vw, 74px);
  letter-spacing: -.025em;
  line-height: 1.14;
  line-break: strict;
}

html[lang="zh-CN"] .request-rail h2,
html[lang="zh-CN"] .inquiry-panel-head h2 {
  font-family: "Microsoft YaHei UI", "Microsoft YaHei", "PingFang SC", sans-serif;
  font-weight: 680;
  letter-spacing: -.02em;
  line-height: 1.22;
}

.inquiry-hero-copy > p {
  max-width: 660px;
  margin: 28px 0 0;
  color: #48697e;
  font-size: 17px;
  line-height: 1.75;
}

.inquiry-workspace {
  padding: 0 0 132px;
  background:
    linear-gradient(#edf6f8 0 145px, #ffffff 145px 100%);
}

.inquiry-layout {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  align-items: start;
  gap: 34px;
  transform: translateY(-88px);
}

.request-rail {
  min-height: 680px;
  padding: 34px 30px 30px;
  position: sticky;
  top: 28px;
  overflow: hidden;
  background: var(--navy);
  color: #ffffff;
  box-shadow: 0 26px 64px rgba(21, 67, 103, .22);
}

.request-rail::before {
  content: "";
  height: 6px;
  position: absolute;
  inset: 0 0 auto;
  background: linear-gradient(90deg, var(--blue) 0 45%, var(--cyan) 45% 72%, var(--acid) 72% 91%, var(--orange) 91%);
}

.request-rail h2 {
  max-width: 220px;
  margin: 0;
  font-size: 26px;
  font-weight: 650;
  letter-spacing: -.02em;
  line-height: 1.2;
}

.request-rail > p {
  margin: 13px 0 0;
  color: #c9d9e7;
  font-size: 13px;
  line-height: 1.65;
}

.material-route {
  height: 205px;
  margin: 34px -8px 26px;
  position: relative;
  perspective: 760px;
}

.material-route::after {
  content: "";
  height: 1px;
  position: absolute;
  z-index: 4;
  top: 5px;
  right: 8px;
  left: 8px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .82), transparent);
  box-shadow: 0 8px 18px rgba(114, 222, 237, .24);
  animation: route-scan 5.6s var(--ease) infinite;
}

.route-layer {
  height: 51px;
  padding: 0 16px;
  position: absolute;
  right: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, .25);
  color: rgba(255, 255, 255, .72);
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-size: 11px;
  letter-spacing: .04em;
  transform: rotateX(56deg) rotateZ(-5deg);
  transition:
    transform .55s var(--ease),
    background .35s ease,
    color .35s ease,
    box-shadow .35s ease;
}

.route-layer span {
  font-size: 10px;
  opacity: .75;
}

.route-layer:nth-child(1) {
  top: 4px;
  background: rgba(40, 184, 197, .35);
}

.route-layer:nth-child(2) {
  top: 61px;
  background: rgba(11, 123, 211, .48);
}

.route-layer:nth-child(3) {
  top: 118px;
  background: rgba(199, 239, 80, .18);
}

.request-rail[data-current-stage="1"] .route-layer:nth-child(1),
.request-rail[data-current-stage="2"] .route-layer:nth-child(2),
.request-rail[data-current-stage="3"] .route-layer:nth-child(3) {
  z-index: 2;
  background: var(--acid);
  color: var(--navy-deep);
  box-shadow: 0 13px 26px rgba(3, 27, 54, .24);
  transform: translateY(-5px) rotateX(49deg) rotateZ(-3deg);
}

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

.request-step {
  min-height: 86px;
  padding: 0 0 28px 58px;
  position: relative;
  color: #aec4d4;
}

.request-step:not(:last-child)::after {
  content: "";
  width: 1px;
  position: absolute;
  top: 38px;
  bottom: 0;
  left: 20px;
  background: rgba(255, 255, 255, .23);
}

.request-step::before {
  content: attr(data-step);
  width: 40px;
  height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .38);
  border-radius: 50%;
  font-family: "Times New Roman", Times, serif;
  font-size: 15px;
  line-height: 1;
}

.request-step strong {
  display: block;
  color: #ffffff;
  font-size: 14px;
  font-weight: 650;
}

.request-step span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
  line-height: 1.5;
}

.request-step.is-active::before,
.request-step.is-complete::before {
  border-color: var(--acid);
  background: var(--acid);
  color: var(--navy-deep);
}

.request-step.is-active span {
  color: #ffffff;
}

.rail-note {
  margin-top: 6px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .17);
  color: #c8d9e6;
  font-size: 13px;
  line-height: 1.55;
}

.inquiry-panel {
  min-width: 0;
  padding: 50px clamp(30px, 5vw, 72px) 58px;
  background: #ffffff;
  box-shadow: 0 28px 74px rgba(35, 83, 112, .14);
}

.inquiry-panel-head {
  max-width: 720px;
  padding-bottom: 34px;
  border-bottom: 1px solid #d9e6eb;
}

.inquiry-panel-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(30px, 3vw, 42px);
  font-weight: 650;
  letter-spacing: -.025em;
  line-height: 1.12;
}

.inquiry-panel-head p {
  max-width: 640px;
  margin: 15px 0 0;
  color: #536f82;
  font-size: 14px;
  line-height: 1.7;
}

.privacy-note {
  margin: 18px 0 0;
  display: flex;
  align-items: center;
  gap: 9px;
  color: #49687d;
  font-size: 13px;
}

.privacy-note svg {
  width: 17px;
  height: 17px;
  flex: none;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
}

.form-error-summary {
  margin-top: 30px;
  padding: 18px 20px;
  background: #fff1f3;
  color: #85152a;
  border: 1px solid #e8a7b4;
}

.form-error-summary:focus {
  outline: 3px solid rgba(11, 123, 211, .28);
  outline-offset: 3px;
}

.form-error-summary strong {
  display: block;
  font-size: 14px;
}

.form-error-summary p {
  margin: 5px 0 0;
  font-size: 12px;
  line-height: 1.5;
}

.inquiry-form {
  margin-top: 38px;
}

.form-section {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-section + .form-section {
  margin-top: 48px;
  padding-top: 44px;
  border-top: 1px solid #d9e6eb;
}

.form-section > legend {
  width: 100%;
  margin: 0 0 24px;
  color: var(--navy);
  font-size: 19px;
  font-weight: 700;
}

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

.form-field {
  min-width: 0;
}

.form-field.full {
  grid-column: 1 / -1;
}

.form-field label,
.form-field-label {
  display: block;
  margin-bottom: 9px;
  color: #24465f;
  font-size: 13px;
  font-weight: 650;
}

.required-mark {
  margin-left: 3px;
  color: #b51f3a;
}

.field-hint {
  margin: 7px 0 0;
  color: #61778a;
  font-size: 13px;
  line-height: 1.5;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  min-height: 52px;
  padding: 13px 15px;
  border: 1px solid #b7cbd5;
  border-radius: 0;
  outline: 0;
  background: #fbfdfe;
  color: #173451;
  font: inherit;
  font-size: 14px;
  transition:
    border-color .2s ease,
    background .2s ease,
    box-shadow .2s ease;
}

.form-field select {
  padding-right: 42px;
}

.form-field textarea {
  min-height: 126px;
  resize: vertical;
  line-height: 1.6;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: #607588;
  opacity: 1;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
  border-color: #779cac;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(11, 123, 211, .16);
}

.form-field input[aria-invalid="true"],
.form-field select[aria-invalid="true"],
.form-field textarea[aria-invalid="true"] {
  border-color: #b51f3a;
  background: #fffafa;
}

.field-error {
  margin: 7px 0 0;
  color: #9d1730;
  font-size: 12px;
  line-height: 1.45;
}

.choice-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.choice-item {
  min-height: 58px;
  padding: 0 14px;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #b7cbd5;
  background: #fbfdfe;
  color: #24465f;
  cursor: pointer;
}

.choice-item:hover {
  border-color: #779cac;
}

.choice-item:has(input:checked) {
  border-color: var(--blue);
  background: #edf7fb;
}

.choice-item input {
  width: 18px;
  height: 18px;
  min-height: 0;
  margin: 0;
  accent-color: var(--blue);
}

.choice-item span {
  font-size: 13px;
  font-weight: 650;
}

.choice-group[aria-invalid="true"] .choice-item {
  border-color: #b51f3a;
}

.file-input {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  min-height: 0 !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
}

.file-upload-control {
  min-height: 58px;
  margin: 0 !important;
  display: flex !important;
  align-items: stretch;
  border: 1px solid #b7cbd5;
  background: #fbfdfe;
  color: #405f74;
  cursor: pointer;
  transition:
    border-color .2s ease,
    box-shadow .2s ease;
}

.file-upload-control:hover {
  border-color: #779cac;
}

.file-input:focus-visible + .file-upload-control {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(11, 123, 211, .16);
}

.file-button {
  padding: 0 17px;
  display: inline-flex;
  align-items: center;
  flex: none;
  background: #e5f1f5;
  color: var(--navy);
  font-size: 12px;
  font-weight: 750;
}

.file-name {
  min-width: 0;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  overflow: hidden;
  color: #526d80;
  font-size: 12px;
  font-weight: 500;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.consent-row {
  margin-top: 30px;
}

.consent-label {
  min-height: 44px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: #405f74;
  font-size: 13px;
  line-height: 1.6;
  cursor: pointer;
}

.consent-label input {
  width: 24px;
  height: 24px;
  min-height: 0;
  margin: 1px 0 0;
  flex: none;
  accent-color: var(--blue);
}

.form-actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.form-submit {
  min-width: 230px;
  min-height: 58px;
  padding: 0 25px;
  border: 0;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  background: var(--acid);
  color: var(--navy-deep);
  font-weight: 750;
  cursor: pointer;
  transition:
    transform .2s var(--ease),
    background .2s ease,
    box-shadow .2s ease;
}

.form-submit:hover {
  background: #d3f66b;
  box-shadow: 0 10px 22px rgba(88, 126, 25, .16);
  transform: translateY(-2px);
}

.form-submit:focus-visible {
  outline: 3px solid rgba(11, 123, 211, .34);
  outline-offset: 4px;
}

.form-submit:disabled {
  background: #d5e0c0;
  color: #627052;
  cursor: wait;
  box-shadow: none;
  transform: none;
}

.form-submit-arrow {
  font-size: 18px;
}

.form-submit.is-loading .form-submit-arrow {
  width: 18px;
  height: 18px;
  border: 2px solid rgba(16, 57, 99, .28);
  border-top-color: var(--navy-deep);
  border-radius: 50%;
  font-size: 0;
  animation: form-spin .8s linear infinite;
}

.form-action-note {
  max-width: 300px;
  margin: 0;
  color: #60778a;
  font-size: 13px;
  line-height: 1.5;
}

.honeypot-field {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  clip: rect(1px, 1px, 1px, 1px) !important;
  white-space: nowrap !important;
}

.submission-result {
  min-height: 520px;
  padding: 76px 0 30px;
}

.result-signal {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--acid);
  color: var(--navy-deep);
  font-size: 30px;
  font-weight: 800;
}

.submission-result h2 {
  max-width: 660px;
  margin: 28px 0 0;
  color: var(--navy);
  font-size: clamp(34px, 4.5vw, 56px);
  letter-spacing: -.03em;
  line-height: 1.06;
}

.submission-result > p {
  max-width: 640px;
  margin: 19px 0 0;
  color: #4d6a7f;
  font-size: 15px;
  line-height: 1.75;
}

.result-reference {
  margin-top: 28px;
  padding: 18px 20px;
  display: inline-grid;
  gap: 4px;
  background: #edf6f8;
  color: #526f82;
  font-size: 13px;
}

.result-reference strong {
  color: var(--navy);
  font-family: Bahnschrift, "Segoe UI", sans-serif;
  font-size: 18px;
  letter-spacing: .02em;
}

.preview-delivery-note {
  max-width: 680px;
  margin-top: 26px;
  padding: 18px 20px;
  border: 1px solid #cf9f42;
  background: #fff8e7;
  color: #6d4b0c;
  font-size: 12px;
  line-height: 1.6;
}

.result-actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.result-actions .button {
  min-width: 190px;
}

.inquiry-page :focus-visible {
  outline-color: var(--blue);
}

@keyframes form-spin {
  to {
    transform: rotate(360deg);
  }
}

@keyframes route-scan {
  0%,
  18% {
    opacity: 0;
    transform: translateY(0);
  }

  32% {
    opacity: .9;
  }

  72% {
    opacity: .55;
  }

  88%,
  100% {
    opacity: 0;
    transform: translateY(154px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .inquiry-page *,
  .inquiry-page *::before,
  .inquiry-page *::after {
    animation: none !important;
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

@media (max-width: 1020px) {
  .inquiry-layout {
    grid-template-columns: 270px minmax(0, 1fr);
    gap: 22px;
  }

  .request-rail {
    padding-inline: 24px;
  }

  .inquiry-panel {
    padding-inline: 36px;
  }

  .choice-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 780px) {
  .form-field input,
  .form-field select,
  .form-field textarea {
    font-size: 16px;
  }

  .inquiry-page .site-header {
    top: 12px;
  }

  .inquiry-hero {
    min-height: 0;
    padding: 116px 0 118px;
  }

  .inquiry-hero-copy {
    margin-top: 40px;
  }

  .inquiry-hero h1,
  html[lang="zh-CN"] .inquiry-hero h1 {
    font-size: clamp(45px, 12vw, 64px);
  }

  .inquiry-hero-copy > p {
    font-size: 15px;
  }

  .inquiry-workspace {
    padding-bottom: 90px;
    background: linear-gradient(#edf6f8 0 74px, #ffffff 74px 100%);
  }

  .inquiry-layout {
    grid-template-columns: 1fr;
    gap: 0;
    transform: translateY(-58px);
  }

  .request-rail {
    min-height: 0;
    padding: 28px 24px 24px;
    position: relative;
    top: 0;
  }

  .request-rail h2,
  .request-rail > p,
  .rail-note {
    display: none;
  }

  .material-route {
    height: 96px;
    margin: 0 0 13px;
  }

  .route-layer {
    height: 31px;
    padding-inline: 12px;
    font-size: 9px;
    transform: rotateX(48deg) rotateZ(-3deg);
  }

  .route-layer span {
    font-size: 8px;
  }

  .route-layer:nth-child(1) {
    top: 0;
  }

  .route-layer:nth-child(2) {
    top: 28px;
  }

  .route-layer:nth-child(3) {
    top: 56px;
  }

  .request-rail[data-current-stage="1"] .route-layer:nth-child(1),
  .request-rail[data-current-stage="2"] .route-layer:nth-child(2),
  .request-rail[data-current-stage="3"] .route-layer:nth-child(3) {
    transform: translateY(-2px) rotateX(43deg) rotateZ(-2deg);
  }

  .material-route::after {
    animation-duration: 4.8s;
  }

  .request-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
  }

  .request-step {
    min-height: 62px;
    padding: 48px 4px 0;
    text-align: center;
  }

  .request-step::before {
    left: 50%;
    transform: translateX(-50%);
  }

  .request-step:not(:last-child)::after {
    width: auto;
    height: 1px;
    top: 20px;
    right: calc(-50% + 22px);
    bottom: auto;
    left: calc(50% + 22px);
  }

  .request-step span {
    display: none;
  }

  .inquiry-panel {
    padding: 38px 24px 46px;
    box-shadow: none;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field.full {
    grid-column: auto;
  }

  .form-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .form-submit {
    width: 100%;
  }

  .form-action-note {
    max-width: none;
  }

  .file-upload-control {
    align-items: stretch;
    flex-direction: column;
  }

  .file-button,
  .file-name {
    min-height: 44px;
  }
}

@media (max-width: 480px) {
  .inquiry-hero {
    padding-bottom: 104px;
  }

  .inquiry-breadcrumb {
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
  }

  .inquiry-hero h1,
  html[lang="zh-CN"] .inquiry-hero h1 {
    font-size: 40px;
    line-height: 1.16;
  }

  .request-step strong {
    font-size: 12px;
  }

  .inquiry-panel {
    padding-inline: 20px;
  }

  .inquiry-panel-head h2 {
    font-size: 30px;
  }

  .form-section + .form-section {
    margin-top: 38px;
    padding-top: 36px;
  }
}
