﻿.case-banner {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.m_banner-item {
    width: 100%;
    position: relative;
    overflow: hidden;
    height: 280px;
}

.m_banner-img {
    display: block;
    width: 1920px;
    height: 280px;
    position: absolute;
    left: 50%;
    top: 0;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
}

.m_banner-imgm {
    display: none;
}

.m_banner-container {
    width: 1400px;
    height: 100%;
    position: relative;
    margin: 0 auto;
}

.m_banner-container p {
    font-size: 38px;
    color: #E60012;
    font-weight: 900;
    padding-top: 98px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.select-section {
    margin-bottom: 18px;
    padding-top: 24px;
    background-color: #fff;
}

.select-pannel {
    width: 1170px;
    margin: 0 auto;
    min-height: auto;
    background: #fff;
    border: none;
    border-radius: 10px;
    padding: 0px 15px;
}

.select-pannel>ul {
    width: 100%;
}

.select-pannel>ul>li {
    border-bottom: #DBDBDB 1px dashed;
    min-height: 60px;
    display: flex;
    align-items: center;
    width: 100%;
    clear: both;
}

.select-pannel>ul>li:last-child {
    border: none;
}

.select-pannel>ul>li>div {
    display: inline-block;
    margin: 0;
    vertical-align: top;
}

.li-title {
    width: 90px;
    font-size: 16px;
    height: 55px;
    line-height: 55px;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    padding: 0px 5px;
}

.li-content {
    height: 55px;
    overflow: hidden;
    width: 90%;
    padding: 12.5px 10px;
    padding-bottom: 7.5px;
    padding-left: 0px;
}

.li-content>div {
    font-size: 16px;
    width: auto;
    min-width: 40px;
    max-width: 200px;
    cursor: pointer;
    user-select: none;
    padding: 2px 5px;
    height: 30px;
    text-align: center;
    line-height: 26px;
    border-radius: 2px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-family: PingFang SC;
    font-weight: 400;
    color: #666666;
    display: inline-block;
    vertical-align: top;
}

.li-content>div.active {
    background: none;
    color: #ee2233;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 600;
}

.li-content>a {
    font-size: 16px;
    width: auto;
    min-width: 40px;
    max-width: 200px;
    cursor: pointer;
    user-select: none;
    padding: 2px 5px;
    height: 30px;
    text-align: center;
    line-height: 26px;
    border-radius: 2px;
    margin-right: 5px;
    margin-bottom: 5px;
    font-family: PingFang SC;
    font-weight: 400;
    color: #666666;
    display: inline-block;
    vertical-align: top;
}

.li-content>a.active {
    background: none;
    color: #ee2233;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 600;
}

.li-height-auto {
    height: auto !important;
}

.li-height-auto+.li-open .icon-bottom {
    display: none !important;
}

.li-height-auto+.li-open .icon-arrow-top {
    display: inline !important;
}

.li-open>span {
    color: #ee2233;
}

.li-open {
    width: 50px;
    height: 55px;
    cursor: pointer;
    user-select: none;
    text-align: center;
    padding-top: 17px;
}

.li-open>.icon-bottom {
    display: inline;
}

.li-open>.icon-arrow-top {
    display: none;
}

.li-open>i {
    color: #ee2233;
    font-size: 14px;
}

.search-active-list {
    padding: 30px 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 1170px;
    margin: 0 auto;
    min-height: 400px;
}

.empty-pannel {
    width: 100%;
    height: 300px;
    text-align: center;
}

.empty-pannel>img {
    width: 160px;
    height: 140px;
    margin-bottom: 20px;
}

.empty-pannel>p:nth-child(2) {
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 500;
    color: rgba(51, 51, 51, 1);
    margin-bottom: 10px;
}

.empty-pannel>p:nth-child(3) {
    width: 110px;
    height: 34px;
    background: rgba(225, 76, 70, 1);
    border-radius: 5px;
    font-size: 14px;
    font-family: PingFang SC;
    font-weight: 400;
    color: rgba(255, 255, 255, 1);
    line-height: 34px;
    text-align: center;
    margin: 0 auto;
    user-select: none;
    cursor: pointer;
}

.empty-pannel>p:nth-child(3)>a {
    color: rgba(255, 255, 255, 1);
}

.article-item {
    width: 32.1%;
    height: 300px;
    background: #FFFFFF;
    box-shadow: 0px 2px 12px 0px rgb(0 0 0 / 6%);
    border-radius: 6px;
    float: left;
    display: block;
    margin: 0 7px 20px 7px;
    overflow: hidden;
}

.article-item>div {
    width: 100%;
}

.article-item>div>img {
    width: 100%;
    padding: 30px;
    border: solid 1px #f0f0f0;
}

.article-info {
    padding: 0 30px;
}

.article-info {
    padding: 0 30px;
}

.article-title {
    width: 100%;
    font-size: 18px;
    text-align: center;
    font-family: PingFangSC-Medium, PingFang SC;
    font-weight: 500;
    line-height: 60px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    height: 60px;
    text-align: left;
}

.article-title:hover {
    color: #ee2233;
}

.article-summary {
    width: 100%;
    height: 75px;
    font-size: 16px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #555555;
    line-height: 26px;
    color: #555555;
    -webkit-line-clamp: 3;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (min-width:992px) {
    .col-md-2 {
        width: 15.66666667%;
    }
}

@media only all and (max-width:870px) {
    .m_banner-item {
        height: 303px;
    }

    .m_banner-img {
        display: none;
    }

    .m_banner-imgm {
        display: block;
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
    }

    .m_banner-container p {
        padding-top: 32px;
        font-size: 20px;
        text-align: center;
    }
}

@media only all and (max-width:1450px) {
    .g_w {
        /*width: 1200px;*/
    }
}

.paginator {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 50px;
}

.paginator .cpb {
    background: #C13939 none repeat scroll 0 0;
    border: 1px solid #CCCCCC;
    color: #FFFFFF;
    font-weight: bold;
    margin: 5px 4px 0 0;
    padding: 6px 12px;
}

.paginator a {
    background: #FFFFFF none repeat scroll 0 0;
    border: 1px solid #ddd;
    color: #C13939;
    margin: 5px 4px 0 0;
    padding: 6px 12px;
    text-decoration: none;
}

.paginator a:hover {
    background: #C13939 none repeat scroll 0 0;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}

.paginator .page-num-current{ 
    background: #C13939 none repeat scroll 0 0;
    border: 1px solid #FFFFFF;
    color: #FFFFFF;
}
.case .grid-wrapper {
    width: 1400px;
    position: relative;
    margin: 0 auto;
    margin: 5rem auto;
}

.case .nine-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.case .card {
    background: transparent;
    display: flex;
    flex-direction: column;
    border: 1px solid #e7e7e7;
}

.case .card-image {
    width: 100%;
    aspect-ratio: 6 / 3;
    overflow: hidden;
    background-color: #f4f6f9;
}

.case .card-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

.case .card-title {
    padding: 1.5rem 0.2rem 1.5rem 0.2rem;
    text-align: center;
    background-color: #f8f8f8;
}

.case .card-title h3 {
    font-size: 1.6rem;
    font-weight: 500;
    color: #1a2c3e;
    letter-spacing: normal;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 768px) {
    .case .grid-wrapper {
        width: 100%;
        padding: 10px;
    }
    .case .nine-grid {
        gap: 1rem;
    }

    .case .card-title h3 {
        font-size: 1rem;
    }

    .case .card-title {
        padding: 0.6rem 0.2rem 0.2rem;
    }
}

@media (max-width: 640px) {
    .case .nine-grid {
        gap: 0.8rem;
    }

    .case .card-title h3 {
        font-size: 0.9rem;
    }
}

@media (max-width: 560px) {
    .case .nine-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
}

@media (max-width: 420px) {
    .case .nine-grid {
        gap: 0.7rem;
    }

    .case .card-title h3 {
        font-size: 0.85rem;
    }
}

/* 关于我们 */

.certificate-carousel {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    position: relative;
}

/* 九宫格外层容器 (相对定位用来放置箭头) */
.grid-wrapper {
    position: relative;
    background: transparent;
    border-radius: 1.5rem;
    padding: 0.25rem 0;
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1.8rem;
    transition: opacity 0.2s ease;
}

/* 卡片样式：纯白背景，上图下标题，柔和阴影，无多余装饰 */
.cert-card {
    background: #ffffff;
    border-radius: 1.25rem;
    overflow: hidden;
    box-shadow: 0 12px 24px -10px rgba(0, 0, 0, 0.08);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    display: flex;
    flex-direction: column;
    cursor: default;
}

.cert-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 30px -12px rgba(0, 0, 0, 0.15);
}

/* 图片区域: 4:3比例，整洁裁剪 */
.cert-image {
    width: 100%;
    /* aspect-ratio: 3 / 4; */
    background-color: #eef2f8;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.cert-card:hover .cert-image img {
    transform: scale(1.02);
}

/* 标题区：纯粹标题文字，居中，无额外线条或图标 */
.cert-title {
    padding: 1rem 0.8rem 1.2rem;
    text-align: center;
}

.cert-title h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: #1e2f3e;
    line-height: 1.4;
    margin: 0;
    letter-spacing: 0.2px;
}

/* 左右箭头样式 - 精致现代，悬停深色 */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 20;
    border: 1px solid #e9edf2;
    font-size: 2rem;
    font-weight: 400;
    user-select: none;
    color: #e60012;
    font-family: system-ui, monospace;
}

.nav-arrow:hover {
    background: #e60012;
    color: white;
    transform: translateY(-50%) scale(1.02);
}

/* 左右箭头具体位置: 1400px总宽下 箭头半突出于容器外部 */
.arrow-left {
    left: -28px;
}

.arrow-right {
    right: -28px;
}

/* 分页指示器：圆点 + 页码信息，整洁简单 */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 2.2rem;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.dot {
    width: 9px;
    height: 9px;
    background: #cbdbe0;
    border-radius: 50%;
    transition: all 0.2s ease;
    cursor: pointer;
}

.dot.active {
    background: #e60012;
    width: 28px;
    border-radius: 20px;
}

.page-text {
    font-size: 0.85rem;
    color: #4a5b6e;
    background: rgba(255,255,255,0.7);
    padding: 0.2rem 0.9rem;
    border-radius: 40px;
    font-weight: 500;
    margin-left: 0.4rem;
}

/* ---------- 响应式适配 (保持总宽1400px约束，窄屏自动缩放) ---------- */
@media (max-width: 1280px) {
    .cert-grid {
        gap: 1.4rem;
    }
    .arrow-left {
        left: -20px;
    }
    .arrow-right {
        right: -20px;
    }
    .nav-arrow {
        width: 44px;
        height: 44px;
        font-size: 1.8rem;
    }
}

@media (max-width: 1024px) {
    .cert-grid {
        gap: 1.2rem;
    }
    .arrow-left {
        left: -16px;
    }
    .arrow-right {
        right: -16px;
    }
    .nav-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.6rem;
    }
    .cert-title h3 {
        font-size: 1rem;
    }
}

@media (max-width: 820px) {
    .cert-grid {
        gap: 1rem;
    }
    .arrow-left {
        left: -12px;
    }
    .arrow-right {
        right: -12px;
    }
    .nav-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.4rem;
    }
    .cert-title {
        padding: 0.8rem 0.5rem 1rem;
    }
    .cert-title h3 {
        font-size: 0.92rem;
    }
}

/* 平板及手机：保持三列布局但内缩间隙，极致窄屏时箭头调整，不丢失九宫格体验 */
@media (max-width: 640px) {
    .cert-grid {
        gap: 0.8rem;
    }
    .cert-title h3 {
        font-size: 0.85rem;
    }
    .nav-arrow {
        width: 32px;
        height: 32px;
        font-size: 1.2rem;
    }
    .arrow-left {
        left: -10px;
    }
    .arrow-right {
        right: -10px;
    }
}

@media (max-width: 540px) {
    .cert-grid {
        gap: 0.7rem;
    }
    .cert-title {
        padding: 0.6rem 0.3rem 0.8rem;
    }
    .cert-title h3 {
        font-size: 0.78rem;
    }
    .nav-arrow {
        width: 30px;
        height: 30px;
        font-size: 1.1rem;
        background: rgba(255,255,255,0.95);
    }
    .arrow-left {
        left: -8px;
    }
    .arrow-right {
        right: -8px;
    }
}

/* 切换时禁用点击辅助 (防止快速点击导致动画冲突) */
.disable-interaction {
    pointer-events: none;
    opacity: 0.9;
}

/* 保证卡片点击无额外边框 */
.cert-card:active {
    transform: scale(0.99);
}

/* 新闻详情tag */


.news-footer-module {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
    border-radius: 1.25rem;
    padding: 2rem 0;
}

/* ========= 标签云区域 ========= */
.tags-section {
    margin-bottom: 2.5rem;
    border-bottom: 1px solid #eef2f6;
    padding-bottom: 1.8rem;
}

.tags-label {
    display: inline-block;
    font-size: 1.6rem;
    color: #333;
    margin-bottom: 1rem;
    position: relative;
}

.tags-label::after {
    content: '';
    display: block;
    width: 28px;
    height: 2px;
    background: #e60012;
    margin-top: 6px;
    border-radius: 2px;
}

.tags-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    align-items: center;
}

/* tag 标签样式：简约圆角，无过多装饰，悬停视觉反馈 */
.tag {
    display: inline-block;
    padding: 0.4rem 1rem;
    background-color: #f0f3f8;
    color: #333;
    border-radius: 30px;
    font-size: 1.5rem;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    line-height: 1.3;
}

.tag:hover {
    background-color: #e6edf4;
    color: #e60012;
    border-color: #cbdde9;
    transform: translateY(-1px);
}

/* ========= 上一篇 / 下一篇 双栏区域 ========= */
.pagination-articles {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1.5rem;
}

/* 左右卡片公用样式 */
.nav-card {
    flex: 1;
    min-width: 200px;
    background: #f8f8f8;
    border-radius: 1rem;
    transition: all 0.25s ease;
    border: 1px solid #eef2f8;
    overflow: hidden;
}

.nav-card:hover {
    background: #ffffff;
    border-color: #dee5ed;
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.04);
    transform: translateY(-2px);
}

/* 链接去掉默认样式，块级便于点击 */
.nav-link {
    display: block;
    text-decoration: none;
    padding: 1.2rem 1.5rem;
    width: 100%;
    height: 100%;
}

/* 导航头部（上一篇 / 下一篇 文字） */
.nav-direction {
    font-size: 1.4rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    color: #7f8c9a;
    margin-bottom: 0.6rem;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 50px;
}

/* 箭头符号模拟 (简洁) */
.nav-direction .arrow-icon {
    font-size: 1.4rem;
    font-weight: 500;
}

/* 文章标题 */
.article-title {
    font-size: 1.45rem;
    font-weight: 600;
    color: #1e2f3e;
    line-height: 1.4;
    transition: color 0.2s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    word-break: break-word;
}

.nav-card:hover .article-title {
    color: #e60012;
}

/* 当没有上一篇或下一篇时的禁用样式（置灰不可点） */
.nav-card.disabled {
    opacity: 0.6;
    background: #f8f9fc;
    pointer-events: none;
    border-color: #eef2f6;
}

.nav-card.disabled .nav-link {
    cursor: default;
}

.nav-card.disabled:hover {
    transform: none;
    box-shadow: none;
}

/* 右对齐下一篇（保持布局工整） */
.pagination-articles .nav-card:last-child {
    text-align: right;
}

.nav-card:last-child .nav-direction {
    justify-content: flex-end;
}

.nav-card:last-child .article-title {
    text-align: right;
}

/* 响应式：小于900px 改为上下结构，间距保持舒适 */
@media (max-width: 900px) {
    .news-footer-module {
        padding: 1.5rem;
    }
    .pagination-articles {
        flex-direction: column;
        gap: 1rem;
    }
    .nav-card:last-child .nav-direction,
    .nav-card:last-child .article-title,
    .nav-card:last-child .article-meta {
        text-align: left;
        justify-content: flex-start;
    }
    .nav-link {
        padding: 1rem 1.2rem;
    }
}

@media (max-width: 640px) {
    .news-footer-module {
        padding: 1.25rem;
    }
    .tag {
        padding: 0.3rem 0.8rem;
        font-size: 0.75rem;
    }
    .article-title {
        font-size: 1.6rem;
    }
    .nav-link {
        padding: 0.9rem 1rem;
    }
    .nav-direction {
        margin-bottom: 10px;
    }
}

/* 联系我们 */
.contact .contact-wrapper {
    max-width: 1400px;
    width: 100%;
    margin: 8rem auto;
    background: #ffffff;
    border-radius: 2rem;
    box-shadow: 0 5px 15px 4px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    transition: all 0.2s ease;
}

/* 双栏网格布局 */
.contact .contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

/* ========= 左侧区域 ========= */
.contact .contact-info {
    background: #ffffff;
    padding: 2.8rem 2.5rem;
    border-right: 1px solid #eef2f8;
}

.contact .company-badge {
    margin-bottom: 2rem;
}

.contact .company-badge h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #0a2b3e;
    letter-spacing: -0.3px;
    display: inline-block;
    border-left: 4px solid #e60012;
    padding-left: 1rem;
}

.contact .contact-details {
    margin: 2rem 0 2.2rem 0;
}

.contact .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 6.0rem;
}

.contact .contact-icon {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: #eef3fc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c7cb6;
    font-weight: 600;
    font-size: 1.8rem;
}

.contact .contact-text {
    flex: 1;
}

.contact .contact-label {
    font-size: 1.6rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #333;
    margin-bottom: 0.2rem;
}

.contact .contact-value {
    font-size: 1.6rem;
    font-weight: 500;
    color: #000;
    line-height: 1.4;
}

.contact .address-detail {
    display: block;
    font-size: 1.6rem;
    color: #4f6f8f;
    margin-top: 4px;
}

.contact .service-message {
    padding: 1.2rem 0 0.8rem 0;
    border-top: 1px solid #eef2f8;
    margin-top: 1rem;
}

.contact .greeting {
    font-size: 2.3rem;
    font-weight: 700;
    color: #333;
    margin: 1rem 0;
}

.contact .service-desc {
    color: #333;
    line-height: 1.65;
    font-size: 1.6rem;
    margin-bottom: 3rem;
}

.contact .highlight-text {
    color: #e60012;
}

.contact .promise {
    font-size: 1.6rem;
    color: #2b5c7c;
    border-left: 3px solid #2c7cb6;
    padding-left: 1rem;
    margin-top: 0.75rem;
    font-weight: 450;
}

/* ========= 右侧区域：表单 ========= */
.contact .form-area {
    background: #ffffff;
    padding: 2.8rem 2.5rem;
}

.contact .form-header {
    margin-bottom: 1.8rem;
}

.contact .form-header h3 {
    font-size: 1.5em;
    font-weight: 700;
    color: #e60012;
    margin-bottom: 2.4rem;
}

.contact .form-header p {
    color: #333;
    font-size: 1.6rem;
    border-left: 4px solid #e60012;
    padding-left: 0.8rem;
}

.contact .form-group {
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.contact .form-row {
    display: grid;
    /* grid-template-columns: 1fr 1fr; */
    gap: 1rem;
}

.contact label {
    font-size: 1.6rem;
    font-weight: normal;
    color: #1f485f;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.contact .required-star {
    color: #d9534f;
    font-size: 1rem;
}

.contact input, 
.contact select {
    width: 100%;
    padding: 0.85rem 1rem;
    font-size: 1.5rem;
    font-family: inherit;
    border: 1px solid #e2e9f2;
    border-radius: 1rem;
    background: #ffffff;
    transition: all 0.2s;
    outline: none;
    color: #1f384c;
}

.contact input:focus, 
.contact select:focus {
    border-color: #2c7cb6;
    box-shadow: 0 0 0 3px rgba(44,124,182,0.1);
}

.contact input::placeholder {
    color: #b9ccdf;
}

.contact .submit-btn {
    background: #333;
    color: white;
    border: none;
    padding: 0.9rem 1.4rem;
    font-size: 1.8rem;
    border-radius: 2rem;
    cursor: pointer;
    transition: all 0.25s;
    width: 100%;
    margin-top: 2.5rem;
    letter-spacing: 0.5px;
    font-family: inherit;
}

.contact .submit-btn:hover {
    background: #e60012;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(31,90,126,0.2);
}

.contact .submit-btn:active {
    transform: translateY(0);
}

/* 提示消息样式 */
.contact .form-message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 1rem;
    font-size: 0.85rem;
    text-align: center;
    display: none;
}

.contact .form-message.success {
    background: #e0f3e8;
    color: #1e6f3f;
    border-left: 4px solid #2b9e5c;
    display: block;
}

.contact .form-message.error {
    background: #fee9e6;
    color: #bc4e2c;
    border-left: 4px solid #e05a3a;
    display: block;
}

.contact .form-message.loading {
    background: #eef2fc;
    color: #2c7cb6;
    border-left: 4px solid #2c7cb6;
    display: block;
}

/* 响应式布局 */
@media (max-width: 980px) {
    .contact .contact-grid {
        grid-template-columns: 1fr;
    }
    .contact .contact-info {
        border-right: none;
        border-bottom: 1px solid #eef2f8;
        padding: 2rem 1.8rem;
    }
    .contact .form-area {
        padding: 2rem 1.8rem;
    }
    .contact body {
        padding: 1rem;
    }
}

@media (max-width: 640px) {
    .contact .contact-info, 
    .contact .form-area {
        padding: 1.6rem;
    }
    .contact .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }
    .contact .company-badge h2 {
        font-size: 1.5rem;
    }
    .contact .greeting {
        font-size: 1.1rem;
    }
    .contact .form-header h3 {
        font-size: 1.3rem;
    }
    .contact .contact-item {
        gap: 0.7rem;
    }
}

@media (max-width: 480px) {
    .contact .contact-icon {
        width: 30px;
        height: 30px;
        font-size: 0.85rem;
    }
    .contact .contact-value {
        font-size: 0.9rem;
    }
    .contact .submit-btn {
        padding: 0.8rem;
    }
}
