@layer stm-chinese {
    html[lang^="zh"] body.stm-contact-design .elementor-5797 { padding-top: var(--stm-header-height, 84px) !important; }
    html[lang^="zh"] body.stm-contact-design .stm-rh-nav a[aria-current="page"] { color: #006bd9 !important; border-bottom-color: #006bd9 !important; }

    .stm-contact {
        --ct-ink: #0b2542;
        --ct-muted: #49647d;
        --ct-blue: #006ad6;
        --ct-line: #d4e5f6;
        --ct-space: clamp(42px, 4.45vw, 80px);
        position: relative;
        color: var(--ct-ink);
        background: #f7fafd;
        font-size: 17px;
        line-height: 1.7;
    }
    .stm-contact *, .stm-contact *::before, .stm-contact *::after { box-sizing: border-box; }
    html[lang^="zh"] body.stm-contact-design .ct-wrap { width: var(--stm-content-width, 92%) !important; margin: 0 auto !important; }
    .stm-contact .sc-icon { width: 1.25em; height: 1.25em; flex: 0 0 auto; }
    html[lang^="zh"] body.stm-contact-design .stm-contact :is(h1, h2, h3, p, ul, figure) { margin: 0 !important; }
    html[lang^="zh"] body.stm-contact-design .stm-contact ul { list-style: none !important; padding: 0 !important; }
    .stm-contact :is(a, button, input, textarea, select):focus-visible, .ct-privacy-dialog button:focus-visible { outline: 2px solid #006bd9 !important; outline-offset: 3px; }

    .stm-contact.ct-hero, .stm-contact.ct-cta { isolation: isolate; overflow: hidden; background: #082d50; color: #fff; }
    .stm-contact .ct-band-image, .stm-contact:is(.ct-hero, .ct-cta)::after { position: absolute; inset: 0; pointer-events: none; }
    html[lang^="zh"] body.stm-contact-design .stm-contact .ct-band-image { width: 100% !important; height: 100% !important; object-fit: cover; z-index: -2; }
    .stm-contact:is(.ct-hero, .ct-cta)::after { content: ""; z-index: -1; }
    .stm-contact.ct-hero {
        display: flex;
        align-items: center;
        min-height: clamp(390px, 29vw, 570px);
        padding: clamp(44px, 4.5vw, 88px) 0 clamp(40px, 3.8vw, 70px);
    }
    .stm-contact.ct-hero::after { background: linear-gradient(90deg,#05213de8 0%,#052a49bf 36%,#052a4960 60%,transparent 87%); }
    .stm-contact.ct-hero .ct-band-image { object-position: 72% 54%; }
    html[lang^="zh"] body.stm-contact-design .ct-hero .ct-hero-kicker {
        font-size: 15px !important;
        font-weight: 600 !important;
        letter-spacing: .07em;
        color: #f1f8ff !important;
        margin-bottom: 12px !important;
    }
    .ct-hero-kicker span { color: #bad8f2; font-weight: 400; margin-inline-start: 8px; }
    html[lang^="zh"] body.stm-contact-design .ct-hero h1 {
        font-size: clamp(42px, 4.05vw, 76px) !important;
        line-height: 1.2 !important;
        font-weight: 750 !important;
        color: #fff !important;
    }
    html[lang^="zh"] body.stm-contact-design .ct-hero .ct-lead {
        margin-top: 20px !important;
        max-width: 32em !important;
        color: #f0f7ff !important;
        font-size: clamp(18px, 1.48vw, 24px) !important;
        line-height: 1.75 !important;
    }
    html[lang^="zh"] body.stm-contact-design .ct-hero .ct-services {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        width: min(980px, 82%);
        margin-top: clamp(34px, 3.6vw, 64px) !important;
    }
    .ct-services li { display: flex; gap: clamp(9px, 1.1vw, 19px); align-items: center; padding-inline: clamp(11px, 2vw, 30px); }
    .ct-services li:first-child { padding-inline-start: 0; }
    .ct-services li + li { border-inline-start: 1px solid #acd4fa55 !important; }
    .stm-contact .ct-services .sc-icon { width: clamp(27px, 3.15vw, 46px); height: auto; color: #6ebfff; }
    .ct-services :is(strong, span) { display: block; }
    .ct-services strong { color: #fff; font-size: clamp(16px, 1.28vw, 21px); }
    .ct-services span { color: #cee3f7; font-size: clamp(14px, 1.05vw, 17px); margin-top: 5px; }

    .stm-contact.ct-main { padding-block: var(--ct-space); background: #f1f6fb; }
    html[lang^="zh"] body.stm-contact-design .stm-contact.ct-main .ct-contact-grid {
        display: grid !important;
        grid-template-columns: minmax(0, 38fr) minmax(0, 62fr) !important;
        gap: clamp(32px, 4.45vw, 85px) !important;
        align-items: start;
    }
    .ct-heading-group {
        display: flex;
        flex-wrap: wrap;
        align-items: baseline;
        gap: 6px 18px;
        border-inline-start: 2px solid #0b80ef;
        padding-inline-start: clamp(12px, 1.1vw, 19px);
    }
    .stm-contact .ct-heading-translation {
        color: #4f708f;
        font-size: 13px;
        line-height: 1.35;
        letter-spacing: .04em;
    }
    html[lang^="zh"] body.stm-contact-design .stm-contact .ct-heading {
        color: var(--ct-ink) !important;
        font-size: clamp(31px, 2.65vw, 47px) !important;
        line-height: 1.25 !important;
        font-weight: 730 !important;
    }
    html[lang^="zh"] body.stm-contact-design .stm-contact .ct-muted { color: var(--ct-muted) !important; font-size: clamp(17px, 1.25vw, 21px) !important; line-height: 1.75 !important; }
    html[lang^="zh"] body.stm-contact-design .ct-direct > .ct-muted { margin: 26px 0 33px !important; max-width: 31em; }
    .ct-channels { display: grid; gap: clamp(24px, 2.7vw, 43px); }
    .ct-channel { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 20px; align-items: start; }
    .ct-channel > i {
        display: grid !important;
        place-items: center;
        width: clamp(48px, 4.1vw, 65px);
        aspect-ratio: 1;
        border-radius: 50%;
        font-size: clamp(19px, 1.75vw, 26px);
        background: #dfedfc;
        color: #0075e5;
    }
    .ct-channel-label { display: block; color: var(--ct-muted); font-size: 17px; }
    html[lang^="zh"] body.stm-contact-design .ct-contact-value {
        display: block;
        font-size: clamp(20px, 1.7vw, 28px) !important;
        font-weight: 700 !important;
        line-height: 1.4 !important;
        color: var(--ct-ink) !important;
        text-decoration: none;
        overflow-wrap: anywhere;
    }
    html[lang^="zh"] body.stm-contact-design .ct-address-value { font-size: clamp(18px, 1.4vw, 24px) !important; }
    html[lang^="zh"] body.stm-contact-design .ct-secondary-number { color: var(--ct-muted) !important; font-size: 16px !important; margin-top: 6px !important; }
    html[lang^="zh"] body.stm-contact-design .ct-secondary-number a { color: #075faf !important; margin-inline-start: 4px; }
    .ct-direct-actions { display: flex; flex-wrap: wrap; gap: 10px 25px; margin: clamp(24px, 2.8vw, 43px) 0 0; }
    html[lang^="zh"] body.stm-contact-design .stm-contact :is(.ct-direct-actions a, .ct-text-button) {
        display: inline-flex !important;
        gap: 8px;
        align-items: center;
        border: 0 !important;
        background: transparent !important;
        padding: 5px 0 !important;
        color: #075faf !important;
        font-size: 16px !important;
        font-weight: 600;
        text-decoration: none;
        cursor: pointer;
    }
    .ct-direct-actions a i { color: #0074dc; }
    html[lang^="zh"] body.stm-contact-design .stm-contact :is(.ct-direct-actions a, .ct-text-button, .ct-contact-value):hover { text-decoration: underline; }
    .ct-qr-grid { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 24px; }
    .ct-qr-grid img { display: block; width: 115px; height: 115px; object-fit: contain; }
    .ct-qr-grid figcaption { color: var(--ct-muted); margin-top: 6px; font-size: 13px; }

    html[lang^="zh"] body.stm-contact-design .stm-contact.ct-main .ct-form-card {
        width: 100%;
        max-width: none;
        min-width: 0;
        border: 1px solid var(--ct-line);
        border-radius: 8px;
        padding: clamp(24px, 3vw, 46px);
        background: linear-gradient(124deg,#edf5fe,#dfedfc 100%);
    }
    .stm-contact .ct-form-card, .stm-contact.ct-location { scroll-margin-top: calc(var(--stm-header-height, 84px) + 14px); }
    html[lang^="zh"] body.stm-contact-design .ct-form-card > .ct-muted { margin: 16px 0 30px !important; }
    .ct-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px clamp(18px, 2.1vw, 34px); }
    .ct-fields label { display: block; min-width: 0; color: var(--ct-ink); font-size: 17px; font-weight: 600; }
    .ct-required { color: #b42330; }
    .ct-full { grid-column: 1 / -1; }
    .ct-input { position: relative; display: block; margin-top: 8px; }
    .ct-input > i { position: absolute; top: 16px; left: 14px; line-height: 20px; color: #496e92; font-size: 15px; pointer-events: none; }
    html[lang^="zh"] body.stm-contact-design .ct-fields :is(input, select, textarea) {
        display: block !important;
        width: 100% !important;
        min-height: 52px !important;
        margin: 0 !important;
        padding: 10px 13px 10px 40px !important;
        border: 1px solid #cbdff4 !important;
        border-radius: 5px !important;
        background: #fbfdff !important;
        color: #183b59 !important;
        font: 400 17px/1.55 var(--stm-zh-font, sans-serif) !important;
        box-shadow: none !important;
    }
    html[lang^="zh"] body.stm-contact-design .ct-fields :is(input, textarea)::placeholder, html[lang^="zh"] body.stm-contact-design .ct-fields select:invalid { color: #58748e !important; opacity: 1; }
    html[lang^="zh"] body.stm-contact-design .ct-fields select { appearance: none; padding-inline-end: 34px !important; cursor: pointer; }
    .ct-select::after {
        content: "";
        position: absolute;
        right: 16px;
        top: 21px;
        width: 8px;
        height: 8px;
        border: solid #496e92;
        border-width: 0 1px 1px 0;
        transform: rotate(45deg);
        pointer-events: none;
    }
    html[lang^="zh"] body.stm-contact-design .ct-fields textarea { min-height: 154px !important; resize: vertical; padding-bottom: 29px !important; }
    .ct-message-input small { position: absolute; right: 13px; bottom: 8px; color: #526e89; font-size: 12px; font-weight: 400; pointer-events: none; }
    .ct-submit-row { display: flex; justify-content: space-between; align-items: center; gap: 18px; margin-top: 25px; }
    html[lang^="zh"] body.stm-contact-design .ct-form .ct-feedback:not(:empty) { color: #9d3037 !important; margin-top: 12px !important; font-size: 14px !important; }
    html[lang^="zh"] body.stm-contact-design .ct-form .ct-feedback.is-success { color: #15654d !important; }
    html[lang^="zh"] body.stm-contact-design .stm-contact .ct-primary {
        display: inline-flex !important;
        justify-content: center;
        align-items: center;
        gap: 12px;
        flex: 0 0 auto;
        padding: 11px 22px !important;
        min-width: 148px;
        min-height: 49px;
        border: 1px solid transparent !important;
        border-radius: 6px;
        color: #fff !important;
        background: #006ad6 !important;
        font-size: 16px !important;
        font-weight: 650;
        text-decoration: none;
        cursor: pointer;
    }
    html[lang^="zh"] body.stm-contact-design .stm-contact .ct-primary:hover { background: #0057af !important; }
    .stm-contact .ct-primary:disabled { opacity: .65; cursor: wait; }
    .ct-privacy { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: var(--ct-muted); }
    .ct-privacy .sc-icon { color: var(--ct-blue); margin-top: 2px; }
    html[lang^="zh"] body.stm-contact-design .ct-privacy .ct-text-button { display: inline !important; padding: 0 !important; font-size: 15px !important; }
    .ct-honeypot { display: none !important; }
    .ct-copy-status { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

    .stm-contact.ct-location { padding-block: var(--ct-space) clamp(26px, 2.45vw, 44px); }
    html[lang^="zh"] body.stm-contact-design .stm-contact .ct-section-intro { margin: 13px 0 29px !important; }
    .ct-map-panel {
        overflow: hidden;
        background: #eaf3fb;
        border: 1px solid #cfdfeb;
        border-radius: 8px;
    }
    .stm-contact .ct-map-frame, .stm-contact .ct-map-image {
        display: block;
        width: 100%;
        height: clamp(320px,34vw,520px);
        border: 0;
        object-fit: contain;
    }
    html[lang^="zh"] body.stm-contact-design .ct-map-link {
        display: flex;
        align-items: center;
        gap: .5em;
        width: fit-content;
        margin: 12px 16px 12px auto;
        color: var(--ct-blue) !important;
        font-size: 15px !important;
        font-weight: 650;
    }
    .stm-contact.ct-business { padding-bottom: var(--ct-space); }
    .ct-business .ct-wrap { border-top: 1px solid #dce8f2; padding-top: clamp(24px, 2.6vw, 44px); }
    .ct-business-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(12px, 1.35vw, 24px); }
    .ct-business-grid li { display: flex; }
    html[lang^="zh"] body.stm-contact-design .ct-business-grid a {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 8px;
        flex: 1;
        text-align: center;
        padding: clamp(23px, 2.2vw, 37px) 16px;
        background: #edf5fd !important;
        border: 1px solid var(--ct-line);
        border-radius: 8px;
        color: var(--ct-ink) !important;
        text-decoration: none !important;
    }
    html[lang^="zh"] body.stm-contact-design .ct-business-grid a:hover { background: #deedfc !important; border-color: #a4c7ed; }
    .stm-contact .ct-business-grid .sc-icon { color: #0074df; width: 43px; height: 43px; margin-bottom: 4px; }
    .ct-business-grid strong { font-size: clamp(19px, 1.52vw, 25px); font-weight: 700; }
    .ct-business-grid span { color: var(--ct-muted); font-size: clamp(15px,1.12vw,18px); }

    .stm-contact.ct-cta { display: flex; align-items: center; min-height: clamp(240px, 18vw, 340px); padding-block: clamp(29px, 3vw, 53px); }
    .stm-contact.ct-cta::after { background: linear-gradient(90deg,#062947e8 0%,#06294786 45%,transparent 75%); }
    .stm-contact.ct-cta .ct-band-image { object-position: 62% 61%; }
    html[lang^="zh"] body.stm-contact-design .ct-cta h2 { max-width: 24em; font-size: clamp(27px, 2.35vw, 43px) !important; line-height: 1.3 !important; color: #fff !important; font-weight: 730 !important; }
    html[lang^="zh"] body.stm-contact-design .ct-cta p { max-width: 33em; color: #d5e9fc !important; margin-top: 14px !important; font-size: 17px !important; }
    .ct-cta .ct-primary { margin-top: 18px; }

    .ct-privacy-dialog { width: min(540px, calc(100% - 40px)); padding: 36px; border: 1px solid #cfdfed; border-radius: 8px; color: #193750; }
    .ct-privacy-dialog::backdrop { background: #05274399; }
    .ct-privacy-dialog > button { position: absolute; right: 12px; top: 10px; background: none !important; border: 0; padding: 10px; color: #173b5a !important; cursor: pointer; }
    .ct-privacy-dialog h2 { font-size: 26px; margin: 0 0 18px; }
    .ct-privacy-dialog p { font-size: 16px; line-height: 1.9; }

    @media (max-width: 1000px) {
        html[lang^="zh"] body.stm-contact-design .ct-hero .ct-services { width: min(100%, 660px); }
    }
    @media (max-width: 760px) {
        .stm-contact.ct-hero { min-height: 0; }
        .stm-contact.ct-hero::after { background: linear-gradient(90deg,#062746f2,#062746ab); }
        html[lang^="zh"] body.stm-contact-design .ct-hero .ct-services { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 0; }
        .ct-services li:nth-child(odd) { padding-inline-start: 0; border: 0 !important; }
        html[lang^="zh"] body.stm-contact-design .stm-contact.ct-main .ct-contact-grid { grid-template-columns: minmax(0, 1fr) !important; }
        .ct-channel { gap: 12px; }
        .ct-business-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    }
    @media (max-width: 480px) {
        .ct-fields { grid-template-columns: minmax(0, 1fr); gap: 14px; }
        .ct-submit-row { flex-direction: column; align-items: stretch; }
    }
}
