
.f-contact-2-form {
    --column-gap: 30px;
    --column-gap-mobile: 16px;
    margin-top: 60px;
    margin-bottom: 60px
}

@media screen and (max-width: 767px) {
    .f-contact-2-form {
        margin-top: 40px;
        margin-bottom: 40px
    }
}


@media screen and (max-width: 1279px) {
    .f-contact-2-form .f-row {
        flex-wrap: wrap-reverse
    }
}

.f-contact-2-form .form-field form-field--input {
    vertical-align: middle
}

.f-contact-2-form__heading {
    font-size: 24px;
    line-height: 1.333;
    font-weight: 500;
    margin-bottom: 10px
}

.f-contact-2-form__description {
    color: rgb(var(--color-foreground-secondary));
    margin-bottom: 40px
}

@media screen and (max-width: 1023px) {
    .f-contact-2-form__description {
        margin-bottom: 24px
    }
}

.f-contact-2-form__message {
    margin-bottom: 20px;
}

@media screen and (max-width: 1023px) {
    .f-contact-2-form__message {
        margin-top: var(--column-gap-mobile)
    }
}

.f-contact-2-form__save {
    display: flex;
    align-items: start;
    margin-bottom: 30px
}

.f-contact-2-form__save input {
    width: 14px;
    height: 14px
}


.f-contact-2-form__main {
    margin-left: auto;
    margin-right: auto;
    padding: 20px;
    background-color: rgb(var(--color-background-secondary));
    height: fit-content;
}

.f-contact-2-form__info.position-left {
}

.f-contact-form__message {
    margin-bottom: 20px;
}

.f-contact-form__message.custom-form__checkbox {
    display: flex;
    flex-direction: column;
}

.f-contact-form__message.custom-form__radio {
    display: flex;
    gap: 15px
}
@media screen and (min-width: 1280px) {
    .f-contact-2-form__main {
        padding: 40px;
    }

    .f-contact-2-form__main.position-right {
        order: 2;
    }
}

.f-contact-content-box {
    gap: 100px;
    display: flex;

}

.f-contact-2-form .f-contact-form__heading {
    font-size: 36px;
}

@media screen and (max-width: 1024px) {
    .f-contact-content-box {
        gap: 60px;
    }
}

@media screen and (max-width: 769px) {
    .f-contact-content-box {
        gap: 40px;
    }
}


.f-contact-information {
    margin-top: 50px;
    margin-bottom: 50px
}

.f-contact-information .f-row {
    --column-gap: 60px
}

@media screen and (max-width: 1023px) {
    .f-contact-information .f-row {
        --column-gap: 30px
    }
}

@media screen and (max-width: 767px) {
    .f-contact-information .f-row {
        --column-gap: 0;
        --row-gap-mobile: 30px;
        flex-direction: column
    }
}

.f-contact-information h3 {
    margin-bottom: 10px
}

.f-contact-information__text {
    color: rgb(var(--color-foreground-secondary))
}

.social-media-links {
    display: flex;
    align-items: center;
    column-gap: 24px;
    row-gap: 12px;
    flex-wrap: wrap
}

.social-media-links--item {
    display: flex;
    align-items: center
}

.social-media-links--label {
    padding-left: 10px
}

.custom-form-width {
    width: 100%;
    flex-shrink: 0;
}

@media screen and (min-width: 1280px) {

    .custom-form-width {
        width: var(--tab-form-width);
    }
}

.f-info-box-frid {
    display: grid;
    grid-template-columns: repeat(var(--items), minmax(0, 1fr));
    gap: var(--row-gap);
    margin-top: 45px;
}

@media screen and (max-width: 769px) {
    .f-info-box-frid {
        grid-template-columns: repeat(1, minmax(0, 1fr));
        gap: var(--row-gap-mobile);

    }
}

.f-info-box-frid .f-info-box {
    display: flex;
    align-items: center;
    gap: 20px;

}

.f-info-box-frid .f-info-box-left-img {
    width: 100%;
}

.f-info-box-frid .f-info-box__content {
    word-break: break-all;
}

.f-contact-2-form .f-info-box__subtitle {
    margin-bottom: 15px;
}

.f-contact-2-form .f-info-box__description {
    margin-top: 30px;
}


/* Contact表单-2 样式2（工作流程 + 悬浮表单）
   背景图通过卡片实例的「自定义 CSS」配置，例如：
   .f-contact-2-form--style-2{background-image:url('https://www.cloudimagestorage.top/theme/new_default_theme_b2b/decoration/multipage/bg/work-process-01.webp');background-size:cover;background-position:center;background-repeat:no-repeat;}
*/

/* 整体左右分栏：左侧信息 + 右侧表单卡片 */
.f-contact-2-form--style-2 .f-contact-content-box {
    display: grid;
    grid-template-columns: minmax(0, 6fr) minmax(0, 4fr);
    gap: clamp(40px, 6vw, 90px);
    align-items: center;
}

.f-contact-2-form--style-2 .f-contact-2-form__info {
    order: 1;
}
.f-contact-2-form--style-2 .f-color-{
    background-color: rgb(var(--color-background-secondary));
}
.f-contact-2-form--style-2 .f-contact-form__main {
    order: 2;
    width: 100%;
    max-width: none;
    border-top: 4px solid rgb(var(--color-button));
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.10);
    padding: 36px 34px 40px;
}

.f-contact-2-form--style-2 f-contact {
    --tab-form-width: 100% !important;
}

/* 信息区标题（红色小图标 + 标签） */
.f-contact-2-form--style-2 .f-info-box__subtitle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-weight: 700;
    font-size: 13px;
    margin-bottom: 14px;
}

.f-contact-2-form--style-2 .f-info-box__subtitle::before {
}

.f-contact-2-form--style-2 .f-info-box__title {
    font-size: clamp(30px, 3.4vw, 50px);
    line-height: 1.12;
    margin: 0 0 24px;
    max-width: 560px;
    color: rgb(var(--color-heading));
}

.f-contact-2-form--style-2 .f-info-box__description {
    color: rgb(var(--color-foreground-secondary));
    max-width: 480px;
    margin-bottom: 40px;
    line-height: 1.7;
}

/* 步骤：三列网格（编号 | 标题 | 描述） */
.f-contact-2-form--style-2 .f-info-box-frid {
    display: grid;
    grid-template-columns: 55px auto auto;
    column-gap: clamp(20px, 3vw, 30px);
    row-gap: 38px;
    align-items: center;
    margin: 0;
}

.f-contact-2-form--style-2 .f-info-box--style-2 {
    display: contents;
}

.f-contact-2-form--style-2 .f-info-box__step {
    grid-column: 1;
    width: 50px;
    height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgb(var(--color-heading));
    color: #FFFFFF;
    font-weight: 700;
    line-height: 1;
    position: relative;
    z-index: 1;
}

.f-contact-2-form--style-2 .f-info-box--style-2:not(:last-of-type) .f-info-box__step::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50px;
    bottom: -50px;
    width: 0;
    border-left: 2px dashed rgba(0, 0, 0, 0.18);
}

@media screen and (max-width: 769px) {
   .f-contact-2-form.f-contact-2-form--style-2 .f-info-box--style-2 .f-info-box__step::after {
        content: "";
        position: absolute;
        left: 50%;
        top: 60px;
        bottom: -40px;
        width: 0;
        border-left: 2px dashed rgba(0, 0, 0, 0.18);
        height: 35%;

    }
    .f-contact-2-form--style-2 .f-info-box__step{
        margin-top: 10px;
    }
}

.f-contact-2-form--style-2 .f-info-box--style-2 .f-info-box__step-title {
    grid-column: 2;
    font-weight: 700;
    line-height: 1.4;
    margin: 0;
    color: rgb(var(--color-heading));
}

.f-contact-2-form--style-2 .f-info-box--style-2 .f-info-box__content {
    grid-column: 3;
    line-height: 1.65;
    margin: 0;
    color: rgb(var(--color-foreground-secondary));
}

/* 表单卡片内容 */
.f-contact-2-form--style-2 .f-contact-form__form-fields > div {
    width: 100% !important;
}

.f-contact-2-form--style-2 .f-contact-form__heading {
    font-weight: 700;
    margin-bottom: 10px;
    color: rgb(var(--color-heading));
}
.f-contact-2-form .f-contact-form__description {
    margin-bottom: 24px;
}
.f-contact-2-form .notification{
    background-color: #FFFFFF;
}
.f-contact-2-form--style-2 .f-contact-form__description {
    color: rgb(var(--color-foreground-secondary));
    margin-bottom: 24px;
}

.f-contact-2-form--style-2 .f-contact-form__form-fields {
    gap: 16px;
    margin-bottom: 18px;
}

.f-contact-2-form--style-2 .f-contact-submit {
    margin-top: 8px;
}

/* 移动端：垂直堆叠（编号在上，标题、描述依次向下；信息区在上、表单在下） */
@media screen and (max-width: 989px) {
    .f-contact-2-form--style-2 {
        background: #FFFFFF !important;
        background-image: none !important;
    }

    .f-contact-2-form--style-2 .f-contact-content-box {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .f-contact-2-form--style-2 .f-info-box-frid {
        grid-template-columns: 1fr;
        row-gap: 15px;
    }
    .f-contact-2-form--style-2 .f-info-box--style-2 .f-info-box__step-title{
        margin-top: 20px;
    }

    .f-contact-2-form--style-2 .f-info-box__step,
    .f-contact-2-form--style-2 .f-info-box--style-2 .f-info-box__step-title,
    .f-contact-2-form--style-2 .f-info-box--style-2 .f-info-box__content {
        grid-column: 1;
    }

    .f-contact-2-form--style-2 .f-info-box__title {
        font-size: 40px;
    }
}

.f-contact-2-form--style-2 .f-info-box:hover .f-info-box__step {
    background-color: rgb(var(--color-button));
    border-color: rgb(var(--color-button));
    color: rgb(var(--color-button-text));
}

@media screen and (min-width: 990px) {
    .f-contact-2-form--style-2 .f-contact-content-box {
        grid-template-columns: minmax(0, 1fr) minmax(0, var(--form-width-pct, 40%));
        gap: clamp(40px, 6vw, 90px);
    }

    .f-contact-2-form--style-2 .f-contact-content-box:has(.f-contact-form__main.position-left) {
        grid-template-columns: minmax(0, var(--form-width-pct, 40%)) minmax(0, 1fr);
    }

    .f-contact-2-form--style-2 .f-contact-form__main.position-left {
        order: 1;
    }

    .f-contact-2-form--style-2 .f-contact-2-form__info.position-left {
        order: 2;
    }
}
