html,
  body {
    min-height: 100%;
    background: #120000;
  }
  body {
    min-height: 100vh;
  }
  .contact-page {
    position: relative;
    overflow: hidden;
    min-height: 720px;
    padding: 128px 0 136px;
    background:
      radial-gradient(circle at 78% 14%, rgba(204, 17, 38, .15), transparent 27%),
      linear-gradient(135deg, rgba(18, 0, 0, .94), rgba(7, 0, 1, .99)),
      url("{$basepath}/xunfeng/img/img48.jpg") no-repeat center / cover;
  }
  .contact-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(204, 17, 38, .8), transparent);
  }
  .contact-page::after {
    content: 'CONTACT';
    position: absolute;
    right: -18px;
    bottom: -42px;
    color: rgba(255, 255, 255, .025);
    font-size: clamp(100px, 15vw, 260px);
    font-weight: 700;
    line-height: 1;
    letter-spacing: -.05em;
    pointer-events: none;
  }
  .contact-shell {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(260px, 31%) minmax(0, 1fr);
    gap: clamp(60px, 8vw, 140px);
    align-items: start;
  }
  .contact-heading {
    padding-bottom: 24px;
    border-bottom: 4px solid #CC1126;
  }
  .contact-heading .brand-mark {
    display: block;
    height: 40px;
    margin-bottom: 32px;
  }
  .contact-heading h1 {
    color: #fff;
    font-size: clamp(40px, 4vw, 64px);
    font-weight: 400;
    line-height: 1.15;
  }
  .contact-heading .en-title {
    margin-top: 12px;
    color: #999;
    font-size: 20px;
    letter-spacing: .05em;
    text-transform: uppercase;
  }
  .contact-heading .intro {
    max-width: 390px;
    margin-top: 34px;
    color: #B1B1B1;
    font-size: 16px;
    line-height: 1.9;
  }
  .contact-details {
    display: grid;
    gap: 14px;
    margin-top: 34px;
  }
  .contact-detail {
    display: flex;
    align-items: flex-start;
    color: #AFAFAF;
    font-size: 14px;
    line-height: 1.7;
  }
  .contact-detail svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    margin: 3px 12px 0 0;
    color: #CC1126;
  }
  .contact-detail a {
    color: inherit;
  }
  .contact-detail a:hover {
    color: #fff;
  }
  .contact-card {
    position: relative;
    padding: clamp(32px, 4vw, 64px);
    border: 1px solid rgba(255, 255, 255, .1);
    background: rgba(12, 7, 8, .78);
    box-shadow: 0 28px 80px rgba(0, 0, 0, .25);
    backdrop-filter: blur(8px);
  }
  .contact-card::before {
    content: '';
    position: absolute;
    top: -1px;
    left: clamp(32px, 4vw, 64px);
    width: 84px;
    height: 3px;
    background: #CC1126;
  }
  .contact-card-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 42px;
  }
  .contact-card-head h2 {
    color: #fff;
    font-size: 30px;
    font-weight: 400;
  }
  .contact-card-head p {
    color: #777;
    font-size: 13px;
  }
  .contact-form {
    user-select: text;
  }
  .contact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 30px;
  }
  .contact-field {
    position: relative;
  }
  .contact-field--wide {
    grid-column: 1 / -1;
    margin-top: 8px;
  }
  .contact-field label {
    display: block;
    margin-bottom: 12px;
    color: #C8C3C4;
    font-size: 14px;
  }
  .contact-field .required {
    margin-left: 4px;
    color: #CC1126;
  }
  .contact-field input,
  .contact-field textarea {
    display: block;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 0;
    outline: none;
    background: rgba(255, 255, 255, .045);
    color: #fff;
    font-size: 15px;
    transition: border-color .25s, background-color .25s, box-shadow .25s;
  }
  .contact-field input {
    height: 54px;
    padding: 0 18px;
  }
  .contact-field textarea {
    min-height: 170px;
    padding: 17px 18px;
    line-height: 1.7;
    resize: vertical;
  }
  .contact-field input::placeholder,
  .contact-field textarea::placeholder {
    color: #6F696A;
  }
  .contact-field input:hover,
  .contact-field textarea:hover {
    border-color: rgba(255, 255, 255, .22);
  }
  .contact-field input:focus,
  .contact-field textarea:focus {
    border-color: #CC1126;
    background: rgba(255, 255, 255, .065);
    box-shadow: 0 0 0 3px rgba(204, 17, 38, .1);
  }
  .contact-field.is-error input,
  .contact-field.is-error textarea {
    border-color: #CC1126;
  }
  .contact-error {
    display: none;
    margin-top: 7px;
    color: #E06A77;
    font-size: 12px;
  }
  .contact-field.is-error .contact-error {
    display: block;
  }
  .contact-verify {
    margin-top: 30px;
  }
  .contact-verify-label {
    display: block;
    margin-bottom: 12px;
    color: #C8C3C4;
    font-size: 14px;
  }
  .contact-slider {
    position: relative;
    width: 100%;
    height: 56px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .045);
    color: #8C8586;
    touch-action: none;
    user-select: none;
  }
  .contact-slider.is-loading {
    opacity: .6;
    pointer-events: none;
  }
  .contact-slider-progress {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 27px;
    background: linear-gradient(90deg, rgba(204, 17, 38, .24), rgba(204, 17, 38, .08));
    transition: width .08s linear;
  }
  .contact-slider-target {
    position: absolute;
    top: 5px;
    left: 70%;
    width: 44px;
    height: 44px;
    border: 1px dashed rgba(204, 17, 38, .8);
    background: rgba(204, 17, 38, .07);
    pointer-events: none;
  }
  .contact-slider-target::before,
  .contact-slider-target::after {
    content: '';
    position: absolute;
    background: #CC1126;
  }
  .contact-slider-target::before {
    top: 50%;
    left: 10px;
    right: 10px;
    height: 1px;
  }
  .contact-slider-target::after {
    top: 10px;
    bottom: 10px;
    left: 50%;
    width: 1px;
  }
  .contact-slider-text {
    position: absolute;
    inset: 0 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    letter-spacing: .02em;
    pointer-events: none;
  }
  .contact-slider-handle {
    position: absolute;
    z-index: 2;
    top: -1px;
    left: -1px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    padding: 0;
    border: 1px solid #CC1126;
    border-radius: 0;
    outline: none;
    background: #CC1126;
    color: #fff;
    cursor: grab;
    touch-action: none;
    transition: box-shadow .2s, background-color .2s;
  }
  .contact-slider-handle:focus-visible {
    box-shadow: 0 0 0 3px rgba(204, 17, 38, .25);
  }
  .contact-slider-handle:active,
  .contact-slider.is-dragging .contact-slider-handle {
    cursor: grabbing;
    background: #A70B1D;
  }
  .contact-slider-handle svg {
    width: 23px;
    height: 23px;
  }
  .contact-slider-handle .slider-check {
    display: none;
  }
  .contact-slider.is-passed {
    border-color: rgba(78, 155, 104, .7);
  }
  .contact-slider.is-passed .contact-slider-progress {
    background: linear-gradient(90deg, rgba(78, 155, 104, .25), rgba(78, 155, 104, .08));
  }
  .contact-slider.is-passed .contact-slider-target {
    border-color: #4E9B68;
    background: rgba(78, 155, 104, .12);
  }
  .contact-slider.is-passed .contact-slider-target::before,
  .contact-slider.is-passed .contact-slider-target::after {
    display: none;
  }
  .contact-slider.is-passed .contact-slider-handle {
    border-color: #4E9B68;
    background: #4E9B68;
    cursor: default;
  }
  .contact-slider.is-passed .slider-arrows {
    display: none;
  }
  .contact-slider.is-passed .slider-check {
    display: block;
  }
  .contact-slider.is-passed .contact-slider-text {
    color: #79B88E;
  }
  .contact-slider.is-failed {
    animation: contactSliderShake .35s ease;
    border-color: #CC1126;
  }
  .contact-slider-feedback {
    min-height: 18px;
    margin-top: 7px;
    color: #777;
    font-size: 12px;
    line-height: 18px;
  }
  .contact-slider-feedback.is-error {
    color: #E06A77;
  }
  .contact-slider-feedback.is-success {
    color: #79B88E;
  }
  @keyframes contactSliderShake {
    0%, 100% { transform: translateX(0); }
    30% { transform: translateX(-6px); }
    60% { transform: translateX(6px); }
  }
  .contact-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 34px;
  }
  .contact-privacy {
    display: flex;
    align-items: center;
    color: #777;
    font-size: 13px;
    line-height: 1.6;
  }
  .contact-privacy::before {
    content: '';
    flex: 0 0 5px;
    width: 5px;
    height: 5px;
    margin-right: 10px;
    border-radius: 50%;
    background: #CC1126;
  }
  .contact-submit {
    position: relative;
    flex: 0 0 210px;
    height: 54px;
    overflow: hidden;
    border: 1px solid #CC1126;
    background: #CC1126;
    color: #fff;
    cursor: pointer;
    font-size: 15px;
    letter-spacing: .08em;
  }
  .contact-submit::before {
    content: '';
    position: absolute;
    inset: 0;
    background: #8F0718;
    transform: translateX(-101%);
    transition: transform .3s ease;
  }
  .contact-submit:hover::before {
    transform: translateX(0);
  }
  .contact-submit span {
    position: relative;
    z-index: 1;
  }
  .contact-submit:disabled {
    border-color: #555;
    background: #555;
    cursor: wait;
  }
  .contact-status {
    display: none;
    margin-top: 22px;
    padding: 14px 16px;
    border-left: 3px solid #CC1126;
    background: rgba(204, 17, 38, .08);
    color: #D7D1D2;
    font-size: 14px;
    line-height: 1.6;
  }
  .contact-status.is-visible {
    display: block;
  }
  .contact-status.is-success {
    border-left-color: #4E9B68;
    background: rgba(78, 155, 104, .1);
  }
  .contact-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    white-space: nowrap !important;
  }
  @media screen and (max-width: 1200px) {
    .contact-page {
      padding: 100px 0 110px;
    }
    .contact-shell {
      grid-template-columns: minmax(230px, 28%) minmax(0, 1fr);
      gap: 60px;
    }
    .contact-grid {
      grid-template-columns: repeat(2, minmax(0, 1fr));
      gap: 26px 24px;
    }
    .contact-field:nth-child(3) {
      grid-column: 1 / -1;
    }
  }
  @media screen and (max-width: 900px) {
    .contact-page {
      min-height: 0;
      padding: 58px 0 72px;
    }
    .contact-shell {
      display: block;
    }
    .contact-heading {
      position: relative;
      margin-bottom: 38px;
      padding-bottom: 14px;
      border-bottom: 0;
    }
    .contact-heading::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 0;
      width: 32%;
      height: 2px;
      background: #CC1126;
    }
    .contact-heading .brand-mark {
      height: 27px;
      margin-bottom: 14px;
    }
    .contact-heading h1 {
      font-size: 30px;
    }
    .contact-heading .en-title {
      margin-top: 8px;
      font-size: 12px;
    }
    .contact-heading .intro {
      margin-top: 22px;
      font-size: 14px;
      line-height: 1.8;
    }
    .contact-details {
      margin-top: 22px;
    }
    .contact-card {
      padding: 32px 20px;
    }
    .contact-card::before {
      left: 20px;
      width: 64px;
    }
    .contact-card-head {
      display: block;
      margin-bottom: 30px;
    }
    .contact-card-head h2 {
      font-size: 24px;
    }
    .contact-card-head p {
      margin-top: 8px;
    }
    .contact-grid {
      display: block;
    }
    .contact-field:not(:last-child) {
      margin-bottom: 24px;
    }
    .contact-field--wide {
      margin-top: 0;
    }
    .contact-field textarea {
      min-height: 150px;
    }
    .contact-verify {
      margin-top: 26px;
    }
    .contact-slider-text {
      inset: 0 48px 0 62px;
      justify-content: flex-start;
      font-size: 12px;
    }
    .contact-actions {
      display: block;
      margin-top: 28px;
    }
    .contact-submit {
      width: 100%;
      margin-top: 20px;
    }
  }