/* ==========================================================
   联系我们
========================================================== */

.contact-page,
.contact-page * {
    box-sizing: border-box;
}

.contact-page {
    width: 100%;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.contact-container {
    width: 1200px;
    max-width: calc(100% - 40px);
    margin: 0 auto;
}

/* ==========================================================
   联系主体
========================================================== */

.contact-main-section {
    padding: 92px 0 96px;
}

.contact-heading {
    max-width: 760px;
    margin-bottom: 52px;
}

.contact-section-label {
    margin-bottom: 10px;

    color: #331d1e;

    font-size: 13px;
    font-weight: 500;

    letter-spacing: 2px;
}

.contact-section-title {
    margin: 0 0 18px;

    color: #331d1e;

    font-size: 34px;
    font-weight: 500;

    line-height: 1.4;
}

.contact-section-desc {
    margin: 0;

    color: #6b5553;

    font-size: 15px;

    line-height: 2;
}

/* ==========================================================
   联系方式卡片
========================================================== */

.contact-info-grid {
    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 18px;
}

.contact-info-card {
    position: relative;

    min-height: 230px;

    padding: 34px 32px;

    overflow: hidden;

    border:
        1px solid #e9eef5;

    border-radius: 6px;

    background: #ffffff;

    transition:
        transform .2s ease,
        border-color .2s ease,
        box-shadow .2s ease;
}

.contact-info-card:hover {
    transform: translateY(-3px);

    border-color: #dce5f0;

    box-shadow:
        0 15px 36px rgba(15, 23, 42, .055);
}

.contact-info-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 48px;
    height: 48px;

    margin-bottom: 32px;

    border-radius: 50%;

    background: #f7f2f1;

    color: #331d1e;

    font-size: 20px;
}

.contact-info-name {
    margin-bottom: 9px;

    color: #331d1e;

    font-size: 18px;
    font-weight: 500;

    line-height: 1.5;
}

.contact-info-desc {
    margin-bottom: 16px;

    color: #9c8683;

    font-size: 13px;

    line-height: 1.7;
}

.contact-info-value {
    color: #4a3534;

    font-size: 15px;

    line-height: 1.8;

    word-break: break-word;
}

.contact-info-value a {
    color: inherit;

    text-decoration: none;
}

.contact-info-value a:hover {
    color: #331d1e;
}

/* ==========================================================
   分割介绍
========================================================== */

.contact-intro-section {
    padding: 84px 0;

    background: #faf7f5;
}

.contact-intro {
    display: grid;

    grid-template-columns:
        300px
        minmax(0, 1fr);

    gap: 90px;

    align-items: start;
}

.contact-intro-title {
    margin: 0;

    color: #331d1e;

    font-size: 30px;
    font-weight: 500;

    line-height: 1.45;
}

.contact-intro-content {
    max-width: 720px;

    color: #6b5553;

    font-size: 15px;

    line-height: 2;
}

.contact-intro-content p {
    margin: 0 0 16px;
}

.contact-intro-content p:last-child {
    margin-bottom: 0;
}

/* ==========================================================
   后台正文
========================================================== */

.contact-content-section {
    padding: 80px 0;
}

.contact-content {
    color: #5c4645;

    font-size: 15px;

    line-height: 2;
}

/* ==========================================================
   底部咨询
========================================================== */

.contact-action-section {
    padding: 0 0 96px;
}

.contact-action {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    padding: 46px 50px;

    overflow: hidden;

    border-radius: 6px;

    background:
        linear-gradient(
            135deg,
            #14213b 0%,
            #182a4c 100%
        );
}

.contact-action::after {
    content: "";

    position: absolute;

    top: -100px;
    right: -40px;

    width: 300px;
    height: 300px;

    border:
        1px solid rgba(255, 255, 255, .06);

    border-radius: 50%;
}

.contact-action-content {
    position: relative;
    z-index: 2;
}

.contact-action-title {
    margin: 0 0 10px;

    color: #ffffff;

    font-size: 25px;
    font-weight: 500;

    line-height: 1.5;
}

.contact-action-desc {
    margin: 0;

    color: rgba(255, 255, 255, .62);

    font-size: 14px;

    line-height: 1.8;
}

.contact-action-right {
    position: relative;
    z-index: 2;

    flex: 0 0 auto;
}

.contact-action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-width: 150px;
    height: 46px;

    padding: 0 28px;

    border-radius: 23px;

    background: #ffffff;

    color: #331d1e;

    font-size: 14px;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease;
}

.contact-action-button:hover {
    color: #331d1e;

    background: #faf7f5;

    transform: translateY(-1px);
}

/* ==========================================================
   响应式
========================================================== */

@media screen and (max-width: 1240px) {

    .contact-container {
        width: auto;
        max-width: none;

        margin: 0 20px;
    }

}

@media screen and (max-width: 992px) {

    .contact-main-section {
        padding: 64px 0;
    }

    .contact-info-grid {
        grid-template-columns:
            1fr;
    }

    .contact-info-card {
        min-height: auto;
    }

    .contact-intro {
        grid-template-columns:
            1fr;

        gap: 28px;
    }

    .contact-intro-section {
        padding: 64px 0;
    }

}

@media screen and (max-width: 768px) {

    .contact-container {
        margin: 0 15px;
    }

    .contact-main-section {
        padding: 48px 0 52px;
    }

    .contact-heading {
        margin-bottom: 32px;
    }

    .contact-section-title {
        font-size: 27px;
    }

    .contact-section-desc {
        font-size: 14px;
    }

    .contact-info-card {
        padding: 28px 24px;
    }

    .contact-info-icon {
        margin-bottom: 24px;
    }

    .contact-intro-section {
        padding: 48px 0;
    }

    .contact-intro-title {
        font-size: 25px;
    }

    .contact-intro-content {
        font-size: 14px;
    }

    .contact-content-section {
        padding: 48px 0;
    }

    .contact-action-section {
        padding-bottom: 54px;
    }

    .contact-action {
        display: block;

        padding: 30px 24px;
    }

    .contact-action-title {
        font-size: 21px;
    }

    .contact-action-right {
        margin-top: 24px;
    }

    .contact-action-button {
        width: 100%;
    }

}
