/*
CaspiaSupply Contact Page
Isolated namespace: ccontact-*
*/

.ccontact-page {
    color: #11131a;
    background: #ffffff;
}

.ccontact-page *,
.ccontact-page *::before,
.ccontact-page *::after {
    box-sizing: border-box;
}

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

.ccontact-benefits {
    border-bottom: 1px solid #e3e5e9;
}

.ccontact-benefits-grid {
    min-height: 74px;
    display: grid;
    grid-template-columns:
        repeat(4, minmax(0, 1fr));
    align-items: center;
    gap: 22px;
}

.ccontact-benefit {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    align-items: center;
    gap: 12px;
}

.ccontact-benefit-icon {
    width: 30px;
    height: 30px;
    display: grid;
    place-items: center;
}

.ccontact-benefit-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.55;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ccontact-benefit h2 {
    margin: 0 0 3px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.2;
}

.ccontact-benefit p {
    margin: 0;
    color: #747887;
    font-size: 9px;
    line-height: 1.35;
}

.ccontact-hero {
    padding: 50px 0 48px;
    text-align: center;
}

.ccontact-hero h1 {
    margin: 0;
    font-size: clamp(42px, 5vw, 58px);
    font-weight: 760;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.ccontact-hero p {
    max-width: 790px;
    margin: 22px auto 0;
    color: #383d49;
    font-size: 14px;
    line-height: 1.7;
}

.ccontact-divider {
    height: 1px;
    background: #dfe2e7;
}

.ccontact-main {
    padding: 54px 0 62px;
}

.ccontact-main-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.28fr)
        minmax(340px, .82fr);
    gap: 78px;
    align-items: start;
}

.ccontact-offices h2 {
    margin: 0;
    font-size: 29px;
    font-weight: 500;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.ccontact-offices-intro {
    max-width: 590px;
    margin: 20px 0 0;
    color: #252a34;
    font-size: 13px;
    line-height: 1.75;
}

.ccontact-office-grid {
    display: grid;
    grid-template-columns:
        repeat(2, minmax(0, 1fr));
    gap: 46px;
    margin-top: 62px;
}

.ccontact-office-title {
    display: flex;
    align-items: center;
    gap: 13px;
}

.ccontact-office-title svg,
.ccontact-office-email svg {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.ccontact-office-title h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
}

.ccontact-office-card > p {
    margin: 8px 0 0 33px;
    color: #444a55;
    font-size: 11px;
    line-height: 1.7;
}

.ccontact-office-email {
    display: flex;
    align-items: flex-start;
    gap: 13px;
    margin-top: 28px;
}

.ccontact-office-email a {
    color: #1d2230;
    font-size: 11px;
    line-height: 1.55;
    text-decoration: none;
}

.ccontact-office-email a:hover {
    text-decoration: underline;
}

.ccontact-form-column {
    padding-top: 3px;
}

.ccontact-form-intro {
    margin: 0 0 26px;
    color: #777b86;
    font-size: 12px;
    line-height: 1.65;
}

.ccontact-form {
    display: grid;
    gap: 16px;
}

.ccontact-field {
    display: grid;
    gap: 8px;
}

.ccontact-field > span {
    color: #11131a;
    font-size: 10px;
    font-weight: 600;
}

.ccontact-field input,
.ccontact-field textarea,
.ccontact-newsletter-line input {
    width: 100%;
    border: 1px solid #d8dce3;
    border-radius: 6px;
    outline: none;
    color: #161a22;
    background: #ffffff;
    font: inherit;
    transition:
        border-color .16s ease,
        box-shadow .16s ease;
}

.ccontact-field input {
    height: 36px;
    padding: 0 12px;
    font-size: 12px;
}

.ccontact-field textarea {
    min-height: 74px;
    padding: 10px 12px;
    resize: vertical;
    font-size: 12px;
    line-height: 1.6;
}

.ccontact-field input:focus,
.ccontact-field textarea:focus,
.ccontact-newsletter-line input:focus {
    border-color: #858b96;
    box-shadow:
        0 0 0 3px
        rgba(17, 19, 26, .05);
}

.ccontact-submit,
.ccontact-newsletter-line button {
    min-height: 35px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 6px;
    color: #ffffff;
    background: #05070c;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition:
        opacity .16s ease,
        transform .16s ease;
}

.ccontact-submit {
    width: max-content;
    min-width: 102px;
    padding: 0 17px;
}

.ccontact-submit:hover,
.ccontact-newsletter-line button:hover {
    opacity: .86;
}

.ccontact-submit:active,
.ccontact-newsletter-line button:active {
    transform: translateY(1px);
}

.ccontact-submit:disabled,
.ccontact-newsletter-line button:disabled {
    opacity: .55;
    cursor: wait;
}

.ccontact-alert {
    margin-bottom: 15px;
    padding: 10px 12px;
    border: 1px solid #dbe0e6;
    border-radius: 6px;
    color: #404650;
    background: #f7f8fa;
    font-size: 11px;
    line-height: 1.5;
}

.ccontact-alert.is-success {
    color: #1d6a56;
    border-color: #cce8de;
    background: #effaf6;
}

.ccontact-alert.is-error {
    color: #9a3f3f;
    border-color: #f0d2d2;
    background: #fff5f5;
}

.ccontact-alert.is-info {
    color: #425a87;
    border-color: #d5dff2;
    background: #f3f7ff;
}

.ccontact-newsletter {
    padding: 44px 0 46px;
    border-top: 1px solid #e0e3e7;
}

.ccontact-newsletter-grid {
    display: grid;
    grid-template-columns:
        minmax(0, 1.1fr)
        minmax(380px, .9fr);
    gap: 90px;
    align-items: start;
}

.ccontact-newsletter h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 720;
    line-height: 1.25;
    letter-spacing: -.025em;
}

.ccontact-newsletter p {
    max-width: 450px;
    margin: 13px 0 0;
    color: #5d626e;
    font-size: 11px;
    line-height: 1.6;
}

.ccontact-newsletter-line {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        88px;
    gap: 9px;
}

.ccontact-newsletter-line input {
    height: 35px;
    padding: 0 12px;
    font-size: 11px;
}

.ccontact-terms {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 11px;
    color: #747985;
    font-size: 9px;
    line-height: 1.45;
}

.ccontact-terms input {
    width: 13px;
    height: 13px;
    flex: 0 0 auto;
    margin: 1px 0 0;
    accent-color: #161922;
}

.ccontact-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

@media (max-width: 920px) {
    .ccontact-benefits-grid {
        grid-template-columns:
            repeat(2, minmax(0, 1fr));
        padding: 16px 0;
    }

    .ccontact-main-grid,
    .ccontact-newsletter-grid {
        grid-template-columns: 1fr;
        gap: 46px;
    }

    .ccontact-form-column {
        max-width: 620px;
    }
}

@media (max-width: 620px) {
    .ccontact-container {
        width: calc(100% - 24px);
    }

    .ccontact-benefits-grid,
    .ccontact-office-grid {
        grid-template-columns: 1fr;
    }

    .ccontact-benefits-grid {
        gap: 14px;
    }

    .ccontact-hero {
        padding: 38px 0 36px;
    }

    .ccontact-hero h1 {
        font-size: 40px;
    }

    .ccontact-main {
        padding: 38px 0 46px;
    }

    .ccontact-office-grid {
        gap: 30px;
        margin-top: 40px;
    }

    .ccontact-newsletter {
        padding: 36px 0;
    }

    .ccontact-newsletter-line {
        grid-template-columns: 1fr;
    }

    .ccontact-newsletter-line button {
        min-height: 38px;
    }
}


/* CONTACT-PAGE-MIN-FONT-14-V2 */

/*
 * 联系我们页面最小字号统一为14px。
 * 标题仍保留更大的层级。
 */

.ccontact-page {
    font-size: 14px;
}

/* 顶部四项服务 */

.ccontact-benefit h2 {
    font-size: 15px;
}

.ccontact-benefit p {
    font-size: 14px;
    line-height: 1.5;
}

/* 页面标题说明 */

.ccontact-hero p {
    font-size: 16px;
    line-height: 1.75;
}

/* 地址区域 */

.ccontact-offices-intro {
    font-size: 15px;
}

.ccontact-office-title h3 {
    font-size: 19px;
}

.ccontact-office-card > p {
    font-size: 14px;
    line-height: 1.7;
}

.ccontact-office-email a {
    font-size: 14px;
}

/* 留言表单 */

.ccontact-form-intro {
    font-size: 14px;
    line-height: 1.7;
}

.ccontact-field > span {
    font-size: 14px;
}

.ccontact-field input,
.ccontact-field textarea {
    font-size: 14px;
}

.ccontact-submit {
    font-size: 14px;
}

/* 提示信息 */

.ccontact-alert {
    font-size: 14px;
}

/* 邮件订阅 */

.ccontact-newsletter p {
    font-size: 14px;
    line-height: 1.65;
}

.ccontact-newsletter-line input {
    font-size: 14px;
}

.ccontact-newsletter-line button {
    font-size: 14px;
}

.ccontact-terms {
    font-size: 14px;
    line-height: 1.55;
}

/* 输入框占位文字 */

.ccontact-page input::placeholder,
.ccontact-page textarea::placeholder {
    font-size: 14px;
}
