.contact-page-body {
    min-width: 0;
    overflow-x: hidden;
    background: #eef1f5;
}

.contact-layout {
    width: 100%;
    margin: 0;
    padding: 0;
}

.contact-shell {
    width: 100%;
    background: #ffffff;
}

.contact-site-header {
    width: 100%;
    margin: 0;
    box-shadow: none;
}

.contact-site-header .site-header__inner {
    width: min(1284px, calc(100% - 96px));
    padding: 0 20px;
}

.contact-site-header .site-nav {
    gap: clamp(34px, 3vw, 70px);
}

.contact-page {
    width: 100%;
}

.contact-hero {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.contact-hero__bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.contact-form {
    position: absolute;
    top: 92px;
    right: clamp(92px, 10.4vw, 198px);
    width: 580px;
    min-height: 0;
    padding: 36px 34px 32px;
    border-radius: 5px;
    display: grid;
    grid-template-columns: 1fr;
    gap: 18px;
    background: #ffffff;
    box-shadow: 0 14px 36px rgba(77, 101, 137, 0.1);
}

.contact-form__title {
    color: #1f1f1f;
    font-size: 30px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: 0;
}

.contact-form__field {
    display: grid;
    gap: 10px;
}

.contact-form__label {
    color: #2f333a;
    font-size: 17px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: 0;
}

.contact-form__control-wrap {
    position: relative;
}

.contact-form__control,
.contact-form__select {
    width: 100%;
    height: 52px;
    padding: 0 16px;
    border: 1px solid #c8cdd5;
    border-radius: 3px;
    background: #ffffff;
    color: #1f1f1f;
    font-size: 16px;
    line-height: 1.2;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form__control::placeholder,
.contact-form__phone-input::placeholder {
    color: #b7bcc4;
}

.contact-form__textarea {
    height: 152px;
    padding-top: 12px;
    padding-bottom: 12px;
    line-height: 1.55;
    resize: vertical;
}

.contact-form__control:focus,
.contact-form__select:focus,
.contact-form__phone-field:focus-within,
.contact-form__checkbox-input:focus-visible + .contact-form__checkbox-indicator {
    border-color: #5d8fff;
    box-shadow: 0 0 0 4px rgba(65, 111, 246, 0.11);
}

.contact-form__phone-field {
    position: relative;
    height: 52px;
    border: 1px solid #c8cdd5;
    border-radius: 3px;
    display: flex;
    align-items: stretch;
    background: #ffffff;
    overflow: hidden;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form__phone-code {
    width: 56px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #d9dde4;
    color: #717784;
    font-size: 16px;
    line-height: 1;
    flex-shrink: 0;
}

.contact-form__phone-input {
    min-width: 0;
    flex: 1 1 auto;
    height: 100%;
    padding: 0 42px 0 38px;
    border: 0;
    outline: none;
    color: #1f1f1f;
    background: transparent;
    font-size: 16px;
    line-height: 1.2;
}

.contact-form__required-icon {
    position: absolute;
    top: 50%;
    right: 14px;
    width: 16px;
    height: 16px;
    transform: translateY(-50%);
    pointer-events: none;
}

.contact-form__required-icon img {
    width: 100%;
    height: 100%;
}

.contact-form__select {
    padding-right: 44px;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.contact-form__select-wrap.is-placeholder .contact-form__select {
    color: #b7bcc4;
}

.contact-form__select-icon {
    position: absolute;
    top: 50%;
    right: 16px;
    width: 16px;
    height: 16px;
    border: 1px dashed #969da8;
    border-radius: 2px;
    transform: translateY(-50%);
    pointer-events: none;
}

.contact-form__select-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 6px;
    height: 6px;
    border-right: 1px solid #7b8390;
    border-bottom: 1px solid #7b8390;
    transform: translate(-50%, -64%) rotate(45deg);
}

.contact-form__agreement {
    position: relative;
    display: grid;
    grid-template-columns: 16px minmax(0, 1fr);
    align-items: start;
    gap: 9px;
    cursor: pointer;
}

.contact-form__checkbox-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-form__checkbox-indicator {
    position: relative;
    width: 14px;
    height: 14px;
    margin-top: 4px;
    border: 1px solid #222831;
    border-radius: 50%;
    transition: border-color 0.18s ease, background-color 0.18s ease, box-shadow 0.18s ease;
}

.contact-form__checkbox-input:checked + .contact-form__checkbox-indicator {
    border-color: #276dff;
    background: #276dff;
}

.contact-form__checkbox-input:checked + .contact-form__checkbox-indicator::after {
    content: "";
    position: absolute;
    inset: 4px;
    border-radius: 50%;
    background: #ffffff;
}

.contact-form__agreement-text {
    color: #606977;
    font-size: 12px;
    line-height: 1.45;
    letter-spacing: 0;
}

.contact-form__link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #276dff;
    font: inherit;
    line-height: inherit;
    cursor: pointer;
}

.contact-form__link-button:hover {
    text-decoration: underline;
}

.contact-form__privacy-tip {
    margin: -4px 0 0 25px;
    padding: 9px 12px;
    border-radius: 4px;
    background: #f2f6ff;
    color: #657083;
    font-size: 12px;
    line-height: 1.55;
}

.contact-form__message {
    min-height: 16px;
    color: #657083;
    font-size: 12px;
    line-height: 1.35;
}

.contact-form__message:empty {
    display: none;
}

.contact-form__message.is-error {
    color: #e45e5e;
}

.contact-form__message.is-success {
    color: #276dff;
}

.contact-form__submit {
    width: 100%;
    height: 50px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #246cff;
    color: #ffffff;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    letter-spacing: 0;
    cursor: pointer;
    transition: background 0.18s ease, transform 0.18s ease, opacity 0.18s ease;
}

.contact-form__submit:hover,
.contact-form__submit:focus-visible {
    background: #145bf0;
}

.contact-form__submit:focus-visible {
    outline: 2px solid #78a8ff;
    outline-offset: 3px;
}

.contact-form__submit:active {
    transform: translateY(1px);
}

.contact-form__submit:disabled {
    opacity: 0.72;
    cursor: wait;
}

.contact-form__control-wrap.is-invalid .contact-form__control,
.contact-form__control-wrap.is-invalid .contact-form__select,
.contact-form__phone-field.is-invalid,
.contact-form__agreement.is-invalid .contact-form__checkbox-indicator {
    border-color: #e45e5e;
    box-shadow: 0 0 0 4px rgba(228, 94, 94, 0.11);
}

.contact-success-toast {
    position: fixed;
    inset: 0;
    z-index: 1200;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
}

.contact-success-toast.is-visible {
    opacity: 1;
    pointer-events: auto;
}

.contact-success-toast__card {
    width: 160px;
    min-height: 146px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 18px;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.78);
}

.contact-success-toast__icon {
    position: relative;
    width: 48px;
    height: 48px;
    border: 4px solid #ffffff;
    border-radius: 50%;
}

.contact-success-toast__icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 11px;
    border-left: 4px solid #ffffff;
    border-bottom: 4px solid #ffffff;
    transform: translate(-46%, -62%) rotate(-45deg);
}

.contact-success-toast__text {
    font-size: 17px;
    line-height: 1;
    font-weight: 500;
}

@media (max-width: 1500px) {
    .contact-layout {
        width: 100%;
        padding-top: 0;
    }

    .contact-form {
        top: 58px;
        right: 64px;
        width: 496px;
        min-height: 0;
        padding: 28px;
        gap: 15px;
    }

    .contact-form__control,
    .contact-form__select,
    .contact-form__phone-field {
        height: 46px;
    }
}


.contact-hero__visual { display: block; height: 100%; }
@media (min-width:768px) and (max-width:1100px) { .contact-hero { aspect-ratio:auto; min-height:0; padding-bottom:48px; } .contact-hero__bg { height:auto; } .contact-form { position:relative;top:auto;right:auto;width:min(580px,calc(100% - 48px));margin:28px auto 0; } }

/* 保留原手机版的视觉规格，复用同一份正文。 */
@media (max-width: 767px) {
.contact-form {
    display: grid;
    gap: calc(min(100vw, 750px) * 30 / 750);
}

.contact-form__field {
    display: grid;
    gap: calc(min(100vw, 750px) * 18 / 750);
}

.contact-form__label {
    color: #2b2b2b;
    font-size: calc(min(100vw, 750px) * 28 / 750);
    line-height: 1.25;
    font-weight: 500;
}

.contact-form__control-wrap {
    position: relative;
}

.contact-form__control,
.contact-form__select {
    width: 100%;
    height: calc(min(100vw, 750px) * 74 / 750);
    padding: 0 calc(min(100vw, 750px) * 22 / 750);
    border: 1px solid #d8dde6;
    border-radius: calc(min(100vw, 750px) * 16 / 750);
    background: #ffffff;
    color: #1f1f1f;
    font-size: calc(min(100vw, 750px) * 26 / 750);
    line-height: 1.2;
    outline: none;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form__control::placeholder {
    color: #cccccc;
}

.contact-form__textarea {
    min-height: calc(min(100vw, 750px) * 180 / 750);
    height: auto;
    padding-top: calc(min(100vw, 750px) * 20 / 750);
    padding-bottom: calc(min(100vw, 750px) * 20 / 750);
    line-height: 1.55;
    resize: vertical;
}

.contact-form__control:focus,
.contact-form__select:focus,
.contact-form__checkbox-input:focus-visible + .contact-form__checkbox-indicator {
    border-color: #5c8cf7;
    box-shadow: 0 0 0 calc(min(100vw, 750px) * 6 / 750) rgba(82, 128, 245, 0.12);
}

.contact-form__phone-field {
    position: relative;
    display: flex;
    align-items: stretch;
    border: 1px solid #d8dde6;
    border-radius: calc(min(100vw, 750px) * 16 / 750);
    background: #ffffff;
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease;
}

.contact-form__phone-field:focus-within {
    border-color: #5c8cf7;
    box-shadow: 0 0 0 calc(min(100vw, 750px) * 6 / 750) rgba(82, 128, 245, 0.12);
}

.contact-form__phone-code {
    width: calc(min(100vw, 750px) * 108 / 750);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #e6e6e6;
    color: #2d2d2d;
    font-size: calc(min(100vw, 750px) * 26 / 750);
    line-height: 1;
    flex-shrink: 0;
}

.contact-form__phone-input {
    flex: 1 1 auto;
    min-width: 0;
    height: calc(min(100vw, 750px) * 74 / 750);
    padding: 0 calc(min(100vw, 750px) * 58 / 750) 0 calc(min(100vw, 750px) * 18 / 750);
    border: 0;
    background: transparent;
    color: #1f1f1f;
    font-size: calc(min(100vw, 750px) * 26 / 750);
    line-height: 1.2;
    outline: none;
}

.contact-form__phone-input::placeholder {
    color: #cccccc;
}

.contact-form__required-icon {
    position: absolute;
    top: 50%;
    right: calc(min(100vw, 750px) * 18 / 750);
    width: calc(min(100vw, 750px) * 18 / 750);
    height: calc(min(100vw, 750px) * 18 / 750);
    transform: translateY(-50%);
    pointer-events: none;
}

.contact-form__required-icon img {
    display: block;
    width: 100%;
    height: 100%;
}

.contact-form__select-wrap {
    position: relative;
}

.contact-form__select {
    padding-right: calc(min(100vw, 750px) * 72 / 750);
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.contact-form__select-wrap.is-placeholder .contact-form__select {
    color: #cccccc;
}

.contact-form__select-icon {
    position: absolute;
    top: 50%;
    right: calc(min(100vw, 750px) * 18 / 750);
    width: calc(min(100vw, 750px) * 24 / 750);
    height: calc(min(100vw, 750px) * 24 / 750);
    border: 1px dashed #a7acb6;
    border-radius: calc(min(100vw, 750px) * 4 / 750);
    transform: translateY(-50%);
    pointer-events: none;
}

.contact-form__select-icon::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: calc(min(100vw, 750px) * 8 / 750);
    height: calc(min(100vw, 750px) * 8 / 750);
    border-right: 2px solid #8e939d;
    border-bottom: 2px solid #8e939d;
    transform: translate(-50%, -70%) rotate(45deg);
}

.contact-form__agreement {
    position: relative;
    display: grid;
    grid-template-columns: calc(min(100vw, 750px) * 34 / 750) minmax(0, 1fr);
    gap: calc(min(100vw, 750px) * 16 / 750);
    align-items: flex-start;
    cursor: pointer;
}

.contact-form__checkbox-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.contact-form__checkbox-indicator {
    position: relative;
    width: calc(min(100vw, 750px) * 26 / 750);
    height: calc(min(100vw, 750px) * 26 / 750);
    margin-top: calc(min(100vw, 750px) * 5 / 750);
    border: 2px solid #202020;
    border-radius: 50%;
    transition: border-color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.contact-form__checkbox-input:checked + .contact-form__checkbox-indicator {
    border-color: #4674f4;
    background: #4674f4;
}

.contact-form__checkbox-input:checked + .contact-form__checkbox-indicator::after {
    content: "";
    position: absolute;
    inset: calc(min(100vw, 750px) * 6 / 750);
    border-radius: 50%;
    background: #ffffff;
}

.contact-form__agreement-text {
    color: #6f7785;
    font-size: calc(min(100vw, 750px) * 22 / 750);
    line-height: 1.7;
}

.contact-form__link-button {
    padding: 0;
    border: 0;
    background: transparent;
    color: #4c7cf4;
    font: inherit;
    line-height: inherit;
    vertical-align: baseline;
    cursor: pointer;
}

.contact-form__link-button:hover {
    text-decoration: underline;
}

.contact-form__privacy-tip {
    margin: calc(min(100vw, 750px) * 6 / 750) 0 0 calc(min(100vw, 750px) * 50 / 750);
    padding: calc(min(100vw, 750px) * 14 / 750) calc(min(100vw, 750px) * 18 / 750);
    border-radius: calc(min(100vw, 750px) * 14 / 750);
    background: #f5f8ff;
    color: #6d7684;
    font-size: calc(min(100vw, 750px) * 20 / 750);
    line-height: 1.6;
}

.contact-form__message {
    min-height: calc(min(100vw, 750px) * 28 / 750);
    color: #6d7684;
    font-size: calc(min(100vw, 750px) * 22 / 750);
    line-height: 1.5;
}

.contact-form__message:empty {
    display: none;
}

.contact-form__message.is-error {
    color: #e45e5e;
}

.contact-form__message.is-success {
    color: #4f7df4;
}

.contact-form__submit {
    width: 100%;
    height: calc(min(100vw, 750px) * 84 / 750);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(90deg, #3160f1 0%, #5d9ef5 100%);
    box-shadow: 0 calc(min(100vw, 750px) * 16 / 750) calc(min(100vw, 750px) * 30 / 750) rgba(74, 120, 242, 0.24);
    color: #ffffff;
    font-size: calc(min(100vw, 750px) * 34 / 750);
    line-height: 1;
    font-weight: 500;
    cursor: pointer;
}

.contact-form__submit:active {
    transform: translateY(1px);
}

.contact-form__submit:disabled {
    opacity: 0.72;
    box-shadow: none;
    cursor: wait;
}

.contact-form__control-wrap.is-invalid .contact-form__control,
.contact-form__control-wrap.is-invalid .contact-form__select,
.contact-form__phone-field.is-invalid,
.contact-form__agreement.is-invalid .contact-form__checkbox-indicator {
    border-color: #e45e5e;
    box-shadow: 0 0 0 calc(min(100vw, 750px) * 6 / 750) rgba(228, 94, 94, 0.12);
}


.contact-hero { aspect-ratio:auto; overflow:visible; background:#fff; padding-top:calc(min(100vw,750px)*18/750); min-height:0; }
.contact-hero__visual {height:auto;} .contact-hero__bg {height:auto;}
.contact-form {position:static; width:100%; max-width:none; margin:0; padding:calc(min(100vw,750px)*40/750) calc(min(100vw,750px)*48/750) calc(min(100vw,750px)*90/750);transform:none;background:transparent;border-radius:0;box-shadow:none;}
.contact-form__title,.contact-form__required-icon {display:none;} .contact-form__phone-field {height:auto;}
@media(max-width:420px){.contact-form__phone-code{width:72px;}}

}
