.el-card {
    --el-card-border-radius: .5rem;
}

.carousel-height {
    height: 500px;
}

.product-card {
    padding-top: 65px;
    padding-bottom: 75px;
}

.product-container{
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.el-tabs--right {
    flex-direction: row-reverse;
}

.el-tabs--right .el-tabs__header.is-right {
    margin-right: 10px;
}

.el-tabs__content{
    border-left: 1.5px solid var(--el-border-color-light);
}

.el-tabs--left, .el-tabs--right {
    overflow: unset;
}

.el-tabs__content {
    overflow: unset;
    height: 100%;
}

.el-tabs--right .el-tabs__item.is-right {
    width: 240px;
}

.el-tab-pane {
    padding: 12px 10px;
}

.el-tab-pane .first-title {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 24px;
}

.text-title-t3 {
    font-weight: 700;
    font-size: 24px;
    line-height: 30px;
    color: #252b3a;
}

.el-tab-pane .first-title span {
    -webkit-line-clamp: 1;
    line-clamp: 1;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.gutter-row {
    margin-left: -5px;
    margin-right: -5px;
}

.gutter-col {
    padding-right: 5px;
    padding-left: 5px;
    margin-bottom: 10px;
    cursor: pointer;
}

.card-list-container .card-item .card-title {
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 4px;
}

p:last-child {
    margin-bottom: 0;
}

p:first-child {
    margin-top: 0;
}

.card-title {
    margin-top: 0;
    font-size: 1.075rem;
    font-weight: 600;
    color: #111827;
    margin-bottom: 4px;
}

.card-text-body {
    margin-top: 0;
    color: #6b7280;
    font-weight: 500;
    font-size: .875rem;
    line-height: 1.25rem;
    text-overflow: ellipsis;
}

.banner-main {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    height: 500px;
    justify-content: center;
    position: relative;
}

.banner-title {
    display: inline-block;
    max-width: calc(100% - 56px);
}

.banner-title .text-title-t2 {
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    overflow: hidden;
    text-overflow: ellipsis;
}

.text-title-t2 {
    font-weight: 700;
    font-size: 40px;
    line-height: 50px;
    color: #252b3a;
}

.banner-btnGroup {
    align-items: center;
    border-bottom: 2px solid transparent;
    color: var(--el-menu-text-color);
    display: inline-flex;
}

@media (min-width: 1024px) {
    .banner-title{
        margin-top: -50px;
    }

    .gutter-row {
        margin-left: -10px;
        margin-right: -10px;
    }

    .gutter-col {
        padding-right: 10px;
        padding-left: 10px;
        margin-bottom: 20px;
    }

    .el-tab-pane {
        padding: 12px 20px;
    }
}

@media (max-width: 1440px) {
    .product-container{
        max-width: 1200px;
    }
}

@media (max-width: 640px) {

    .carousel-height {
        height: 280px;
    }

    .el-tabs--right .el-tabs__item.is-right {
        width: 100%;
    }

    .el-tabs__content{
        border-left: 0;
    }

    .product-container{
        margin-left: 10px;
        margin-right: 10px;
    }

    .product-card {
        padding-top: 25px;
        padding-bottom: 35px;
    }

    .banner-main {
        height: 280px;
    }
}

:root {
    --primary: #3b82f6;
    --primary-deep: #2563eb;
    --text-main: #111827;
    --text-sub: #6b7280;
    --bg-soft: #f8faff;
    --card-bg: rgba(255,255,255,.92);
    --shadow-main: 0 12px 40px rgba(16, 24, 40, 0.08);
    --shadow-hover: 0 18px 48px rgba(59, 130, 246, 0.14);
    --radius-xl: 22px;
    --radius-lg: 18px;
    --radius-md: 14px;
    --border-soft: 1px solid rgba(15, 23, 42, 0.06);
}

/* ============ Banner ============ */
.contact-banner {
    position: relative;
    min-height: 420px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.banner-mask {
    display: none;
}

.banner-main {
    position: relative;
    z-index: 2;
    width: 100%;
}

.banner-title {
    max-width: 760px;
    padding: 20px 0;
}

.text-title-t2 span {
    display: inline-block;
    font-size: 3rem;
    line-height: 1.2;
    font-weight: 800;

}

.banner-subtitle {
    margin-top: 18px;
    font-size: 1.08rem;
    line-height: 1.9;
    max-width: 680px;
}

/* ============ 通用 section ============ */
.section {
    position: relative;
    padding: 90px 0;
    background: #ffffff;
}

.home-stack .section {
    background:
            radial-gradient(circle at top right, rgba(59,130,246,.06), transparent 20%),
            radial-gradient(circle at bottom left, rgba(99,102,241,.05), transparent 25%),
            rgb(248, 250, 254);
}

@media (min-width: 1024px) {
    .home-stack .section {
        padding-bottom: 120px;
    }
}

.section-head {
    text-align: center;
    margin-bottom: 50px;
}

.section-head-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 14px;
    letter-spacing: .2px;
}

.section-head-subtitle {
    font-size: 1rem;
    color: var(--text-sub);
    line-height: 1.9;
    max-width: 860px;
    margin: 0 auto;
    font-weight: 400;
}

/* ============ 联系方式卡片 ============ */
.contact-info-group {
    margin-top: 18px;
}

.contact-info {
    position: relative;
    text-align: center;
    padding: 40px 26px 34px;
    border-radius: var(--radius-xl);
    border: var(--border-soft);
    box-shadow: var(--shadow-main);
    overflow: hidden;
    transition: all .35s ease;
    background: linear-gradient(180deg, rgba(255,255,255,.98), rgba(255,255,255,.92));
    backdrop-filter: blur(8px);
}

.contact-info::before {
    content: '';
    position: absolute;
    top: -80px;
    right: -80px;
    width: 180px;
    height: 180px;
    background: radial-gradient(circle, rgba(59,130,246,.12), transparent 68%);
    transition: all .35s ease;
}

.contact-info:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(59,130,246,.12);
}

.contact-info:hover::before {
    transform: scale(1.15);
}

.contact-info-icon {
    width: 88px;
    height: 88px;
    margin: 0 auto 18px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(59,130,246,.12), rgba(37,99,235,.08));
    box-shadow: inset 0 1px 0 rgba(255,255,255,.65);
}

.contact-info-icon .el-icon {
    font-size: 42px;
    color: var(--primary);
}

.xs-title {
    font-size: 1.28rem;
    font-weight: 700;
    color: var(--text-main);
    margin-bottom: 12px;
}

.contact-info a {
    display: block;
    color: var(--text-sub);
    font-size: 15px;
    line-height: 1.9;
    word-break: break-word;
    text-decoration: none;
    transition: all .25s ease;
}

.contact-info a:hover {
    color: var(--primary);
}

/* ============ 留言表单 ============ */
.contact-form-wrap {
    max-width: 860px;
    margin: 0 auto;
    background: var(--card-bg);
    border: var(--border-soft);
    box-shadow: var(--shadow-main);
    border-radius: 28px;
    padding: 42px 34px;
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.contact-form-wrap::before {
    content: '';
    position: absolute;
    top: -120px;
    right: -120px;
    width: 260px;
    height: 260px;
    background: radial-gradient(circle, rgba(59,130,246,.10), transparent 68%);
    pointer-events: none;
}

.space-y-6 {
    max-width: 100%;
    margin: 0 auto !important;
    position: relative;
    z-index: 2;
}

.contact-form-1 {
    margin-top: 0;
}

.form-item {
    margin-top: 1.25rem;
}

.form-item:first-child {
    margin-top: 0;
}

/* ============ Element Plus 输入框美化 ============ */
.el-input,
.el-textarea,
.el-select {
    width: 100%;
}

.el-input__wrapper,
.el-textarea__inner,
.el-select__wrapper,
.el-select--large .el-select__wrapper  {
    min-height: 52px;
    transition: all .25s ease !important;
    background: #fff !important;
    padding-left: 14px;
    padding-right: 14px;
}

.el-textarea__inner {
    min-height: 180px !important;
    padding-top: 14px !important;
    line-height: 1.8;
}

.el-input__icon {
    color: #94a3b8;
    font-size: 16px;
}

/* ============ 提交按钮 ============ */
.submit-btn {
    width: 100%;
    height: 54px;
    border-radius: 16px !important;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: .5px;
    border: none !important;
    background: linear-gradient(135deg, var(--primary), var(--primary-deep)) !important;
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.28);
    transition: all .3s ease;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 30px rgba(37, 99, 235, 0.34);
}

/* ============ 响应式 ============ */
@media (max-width: 992px) {
    .text-title-t2 span {
        font-size: 2.4rem;
    }

    .section {
        padding: 70px 0;
    }

    .contact-form-wrap {
        padding: 32px 24px;
    }
}

@media (max-width: 640px) {
    .contact-banner {
        min-height: 320px;
    }

    .text-title-t2 span {
        font-size: 2rem;
    }

    .banner-subtitle {
        font-size: .96rem;
        line-height: 1.8;
        margin-top: 14px;
    }

    .contact-info-group {
        margin-top: 8px;
    }

    .contact-info {
        padding: 28px 18px 24px;
        border-radius: 18px;
    }

    .contact-info-icon {
        width: 72px;
        height: 72px;
        border-radius: 20px;
        margin-bottom: 14px;
    }

    .contact-info-icon .el-icon {
        font-size: 34px;
    }

    .xs-title {
        font-size: 1.1rem;
        margin-bottom: 8px;
    }

    .section-head-title {
        font-size: 1.6rem;
    }

    .section-head-subtitle {
        font-size: .95rem;
        line-height: 1.8;
    }

    .contact-form-wrap {
        border-radius: 22px;
        padding: 24px 18px;
    }

    .el-input__wrapper,
    .el-textarea__inner,
    .el-select__wrapper,
    .el-select--large .el-select__wrapper {
        min-height: 48px;
    }

    .submit-btn {
        height: 50px;
        border-radius: 14px !important;
    }

    .gutter-col {
        margin-bottom: 20px;
    }
}

.el-input, .el-input__wrapper, .el-textarea__inner, .el-select__wrapper {
    border-radius: .575rem;
}

.el-input-group__prepend {
    border-radius: .575rem 0 0 .575rem;
}