section.main .wrapper{
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.main .left{
    flex: 0 0 auto;
    width: clamp(450px, calc(28.125vw + 180px), 720px);

    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.main .right{
    flex: 0 0 auto;
    width: clamp(420px, calc(18.75vw + 240px), 600px);

    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding-top: 0;
}

.left .line1{
    margin: 0 0 1rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.25;
}

.left .pill-tag{
    margin-top: calc(10 * var(--rpx));
    margin-bottom: calc(10 * var(--rpx));
}

.left .line2{
    margin: 0;
    font-size: 0.875rem;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.025em;
    color: #9ca3af;
}

.left form{
    margin-top: 1rem;
}

/* 输入容器边框仅在内部控件聚焦时显示 */
.form-input-ctn.gradient-border:hover::after{
    opacity: 0;
}

.form-input-ctn.gradient-border:focus-within::after{
    opacity: 1;
}

/* —— 右侧「联系方式」区块（对齐 matwings 排版，非 Tailwind）—— */

.contact-aside{
    flex: 1;
    display: flex;
    flex-direction: column;
    padding-top: 0;
    width: 100%;
}

.contact-aside-head{
    margin-bottom: 1rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.contact-aside-title{
    margin: 0 0 1rem;
    font-size: 1.875rem;
    font-weight: 700;
    line-height: 1.25;
}

.contact-aside-desc{
    font-size: 0.875rem;
    line-height: 1.5;
    letter-spacing: 0.025em;
    color: #9ca3af;
}

.contact-info-stack{
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.contact-info-card-link{
    display: block;
    width: 100%;
    text-decoration: none;
    color: inherit;
}

.contact-info-card-link:hover .contact-info-card{
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-info-card-link:hover .contact-card-svg{
    color: #0077b5;
}

.contact-info-card{
    position: relative;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 1.25rem;
    width: 100%;
    padding: 0.75rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.contact-info-card:hover{
    border-color: rgba(255, 255, 255, 0.1);
}

.contact-info-card:hover > .contact-card-svg{
    color: var(--theme-blue);
}

.contact-card-svg{
    flex-shrink: 0;
    align-self: center;
    width: 1.25rem;
    height: 1.25rem;
    color: var(--theme-blue);
}

.contact-card-icon-img{
    flex-shrink: 0;
    align-self: center;
    display: block;
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
}

.contact-card-body{
    flex: 1;
    min-width: 0;
}

.contact-card-label{
    margin: 0 0 0.125rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #9ca3af;
}

.contact-card-value{
    margin: 0;
    font-size: 1rem;
    line-height: 1.5;
    letter-spacing: 0.025em;
    color: #fff;
}

.contact-card-value p{
    margin: 0;
}

.contact-card-value a{
    color: inherit;
    text-decoration: none;
}

.contact-card-value a:hover{
    text-decoration: underline;
    color: var(--theme-blue);
}

.contact-info-card-link:hover .contact-card-value{
    color: #fff;
}

.contact-qr-panel{
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.contact-qr-panel-title{
    margin: 0 0 1rem;
    width: 100%;
    text-align: center;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.2em;
}

.contact-qr-row{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3.5rem;
}

.contact-qr-item{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.contact-qr-frame{
    padding: 0.75rem;
    background: #fff;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.contact-qr-img{
    display: block;
    width: 7rem;
    height: 7rem;
    object-fit: contain;
}

.contact-qr-caption{
    font-size: 0.875rem;
    font-weight: 300;
    letter-spacing: 0.12em;
    color: #6b7280;
}

@media (max-width: 960px) {
    .main .left{
        width: 50%;
    }
    .main .right{
        width: calc(50% - 30 * var(--rpx));
    }
}

@media (max-width: 828px) {
    .main .wrapper{
        flex-direction: column;
    }
    .main .left{
        width: 100%;
    }
    .main .right{
        width: 100%;
    }
    .form-fields{
        --column: 1;
    }
}
