:root {
    --cxl-red: #da251d;
    --cxl-red-dark: #b71914;
    --cxl-red-deep: #8f1512;
    --cxl-ink: #17191d;
    --cxl-ink-2: #23262b;
    --cxl-text: #30343a;
    --cxl-muted: #747a83;
    --cxl-line: #e6e8eb;
    --cxl-soft: #f5f6f7;
    --cxl-soft-warm: #f8f6f3;
    --cxl-white: #fff;
    --cxl-container: 1320px;
    --cxl-header-h: 84px;
    --cxl-radius: 4px;
    --cxl-shadow: 0 18px 48px rgba(20, 24, 30, .10);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    overflow-x: hidden;
    color: var(--cxl-text);
    background: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", Arial, sans-serif;
    font-size: 16px;
    line-height: 1.72;
    -webkit-font-smoothing: antialiased;
}
body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
button, input, textarea, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
.cxl-container { width: min(calc(100% - 40px), var(--cxl-container)); margin-inline: auto; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.site-main { min-height: 55vh; }

/* Header */
.site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    height: var(--cxl-header-h);
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid rgba(20,24,30,.08);
    box-shadow: 0 2px 14px rgba(20,24,30,.04);
    transition: height .25s ease, box-shadow .25s ease;
}
.site-header.is-scrolled { box-shadow: 0 8px 28px rgba(20,24,30,.10); }
.site-header__inner {
    height: 100%;
    display: grid;
    grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
    align-items: center;
    column-gap: 28px;
}
.site-logo { justify-self: start; display: inline-flex; align-items: center; }
.site-logo img { width: 148px; height: 60px; object-fit: contain; }
.desktop-navigation { justify-self: center; height: 100%; }
.desktop-menu { display: flex; align-items: stretch; height: 100%; gap: 4px; }
.desktop-menu > li { position: relative; display: flex; align-items: stretch; }
.desktop-menu > li > a {
    position: relative;
    display: flex;
    align-items: center;
    padding: 0 18px;
    color: #292d33;
    font-size: 16px;
    font-weight: 600;
    white-space: nowrap;
    transition: color .2s ease;
}
.desktop-menu > li > a::after {
    content: "";
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    background: var(--cxl-red);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .22s ease;
}
.desktop-menu > li:hover > a,
.desktop-menu > .current-menu-item > a,
.desktop-menu > .current-menu-ancestor > a,
.desktop-menu > .cxl-product-current > a { color: var(--cxl-red); }
.desktop-menu > li:hover > a::after,
.desktop-menu > .current-menu-item > a::after,
.desktop-menu > .current-menu-ancestor > a::after,
.desktop-menu > .cxl-product-current > a::after { transform: scaleX(1); }
.header-phone {
    justify-self: end;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 42px;
    padding: 0 16px;
    border-left: 1px solid var(--cxl-line);
    color: var(--cxl-red);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: .02em;
}
.header-phone__icon { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--cxl-red); font-size: 14px; }
.mobile-menu-button { display: none; width: 44px; min-width: 44px; height: 44px; min-height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.mobile-menu-button span { display: block; height: 2px; margin: 5px 0; background: var(--cxl-ink); transition: transform .2s ease, opacity .2s ease; }
.mobile-menu-overlay, .mobile-navigation { display: none; }

/* Shared section language */
.cxl-section { padding: 88px 0; }
.section-heading { margin: 0 auto 42px; text-align: center; max-width: 760px; }
.section-heading--left { margin-left: 0; text-align: left; }
.section-heading__eyebrow,
.applications-heading__eyebrow,
.home-inquiry__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--cxl-red);
    font-family: "Segoe UI", Arial, sans-serif;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.section-heading__eyebrow::before,
.applications-heading__eyebrow::before,
.home-inquiry__eyebrow::before { content: ""; width: 28px; height: 3px; background: var(--cxl-red); }
.section-heading h2,
.applications-heading h2,
.home-inquiry h2 { margin: 0; color: var(--cxl-ink); font-size: clamp(30px, 3vw, 42px); line-height: 1.28; letter-spacing: -.03em; }
.section-heading__description { margin: 14px auto 0; color: var(--cxl-muted); font-size: 16px; }
.section-heading--left .section-heading__description { margin-left: 0; }
.cxl-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 46px;
    padding: 0 24px;
    border: 1px solid var(--cxl-red);
    border-radius: 2px;
    color: #fff;
    background: var(--cxl-red);
    font-size: 15px;
    font-weight: 700;
    transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.cxl-button:hover { background: var(--cxl-red-dark); border-color: var(--cxl-red-dark); transform: translateY(-1px); }
.section-action { margin-top: 38px; text-align: center; }
.section-action--mobile { display: none; }
.empty-state { padding: 32px; color: var(--cxl-muted); background: var(--cxl-soft); text-align: center; }

/* Inner pages */
body:not(.home) .cxl-inner-hero { margin-top: 0; }

/* Footer */
.site-footer { position: relative; color: #c8ccd2; background: #17191d; }
.site-footer__grid { display: grid; grid-template-columns: 1.65fr .8fr .9fr .8fr 1.35fr; gap: 42px; padding-top: 62px; padding-bottom: 52px; }
.site-footer h2 { margin: 0 0 20px; color: #fff; font-size: 17px; font-weight: 700; }
.footer-brand__logo { display: inline-block; padding: 8px 10px; background: #fff; border-radius: 2px; }
.footer-brand__logo-image { width: 148px; height: 60px; object-fit: contain; }
.footer-brand > h2 { margin: 18px 0 10px; font-size: 16px; }
.footer-brand__intro { max-width: 330px; margin: 0; color: #9ea4ad; font-size: 14px; line-height: 1.8; }
.footer-brand__badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.footer-brand__badges span { padding: 5px 9px; border: 1px solid #3a3e45; color: #b9bec6; font-size: 12px; }
.footer-menu li + li { margin-top: 11px; }
.footer-menu a { color: #aeb3bb; font-size: 14px; transition: color .18s ease, padding-left .18s ease; }
.footer-menu a:hover { color: #fff; padding-left: 4px; }
.footer-contact__item { margin-bottom: 16px; }
.footer-contact__item span { display: block; margin-bottom: 3px; color: #777e88; font-size: 12px; }
.footer-contact__item a { color: #cdd1d7; font-size: 14px; word-break: break-word; }
.footer-contact__item--phone a { color: #fff; font-family: Arial, sans-serif; font-size: 22px; font-weight: 700; }
.site-footer__bottom { border-top: 1px solid #2b2e34; }
.site-footer__bottom-inner { min-height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 20px; color: #737983; font-size: 13px; }
.site-footer__bottom-inner p { margin: 0; }
.footer-legal__menu { display: flex; gap: 20px; }
.footer-legal a:hover { color: #fff; }
.site-footer__mobile { display: none; }
.mobile-dock { display: none; }
.cxl-back-to-top {
    position: fixed;
    right: 24px;
    bottom: 28px;
    z-index: 900;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    padding: 0;
    border: 0;
    border-radius: 2px;
    color: #fff;
    background: var(--cxl-red);
    box-shadow: 0 10px 28px rgba(218,37,29,.28);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    cursor: pointer;
    transition: .2s ease;
}
.cxl-back-to-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.cxl-back-to-top svg { width: 22px; fill: currentColor; }

@media (max-width: 1120px) {
    :root { --cxl-header-h: 76px; }
    .desktop-menu > li > a { padding-inline: 11px; font-size: 15px; }
    .desktop-menu > li > a::after { left: 11px; right: 11px; }
    .header-phone { padding-left: 10px; padding-right: 0; font-size: 15px; }
    .site-footer__grid { grid-template-columns: 1.5fr .8fr .9fr .9fr; }
    .footer-contact { grid-column: 1 / -1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; padding-top: 24px; border-top: 1px solid #2b2e34; }
    .footer-contact h2 { grid-column: 1 / -1; margin-bottom: 0; }
}

@media (max-width: 900px) {
    :root { --cxl-header-h: 68px; }
    .cxl-container { width: min(calc(100% - 32px), var(--cxl-container)); }
    .site-header__inner { display: flex; gap: 20px; }
    .site-logo img { width: 126px; height: auto; }
    .desktop-navigation, .header-phone { display: none; }
    .mobile-menu-button { display: block; margin-left: auto; }
    .mobile-menu-overlay {
        display: block;
        position: fixed;
        inset: 0;
        z-index: 1090;
        background: rgba(8,10,13,.56);
        opacity: 0;
        visibility: hidden;
        transition: .22s ease;
    }
    .mobile-navigation {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1100;
        width: min(84vw, 360px);
        height: 100dvh;
        background: #fff;
        transform: translateX(102%);
        transition: transform .26s ease;
        box-shadow: -10px 0 36px rgba(0,0,0,.18);
    }
    .menu-open .mobile-menu-overlay { opacity: 1; visibility: visible; }
    .menu-open .mobile-navigation { transform: translateX(0); }
    .mobile-navigation__head { min-height: 68px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; border-bottom: 1px solid var(--cxl-line); }
    .mobile-navigation__head strong { color: var(--cxl-ink); }
    .mobile-navigation__head button { width: 44px; min-width: 44px; height: 44px; min-height: 44px; border: 0; background: transparent; color: #555; font-size: 30px; cursor: pointer; }
    .mobile-menu { padding: 10px 20px; }
    .mobile-menu li { border-bottom: 1px solid var(--cxl-line); }
    .mobile-menu a { display: block; padding: 15px 2px; color: #282c31; font-size: 16px; font-weight: 600; }
    .mobile-menu .current-menu-item > a,
    .mobile-menu .cxl-product-current > a { color: var(--cxl-red); }
    .mobile-navigation__phone { margin: auto 20px 24px; min-height: 48px; display: flex; align-items: center; justify-content: center; color: #fff; background: var(--cxl-red); font-size: 14px; font-weight: 700; }
    .cxl-section { padding: 64px 0; }
    .site-footer__desktop { display: none; }
    .site-footer__mobile { display: block; padding-top: 44px; padding-bottom: 36px; }
    .footer-mobile-brand { text-align: center; }
    .footer-mobile-brand .footer-brand__logo { margin: 0 auto; }
    .footer-mobile-brand h2 { margin: 16px 0 8px; }
    .footer-mobile-brand p { max-width: 560px; margin: 0 auto; color: #9399a2; font-size: 13px; }
    .footer-brand__badges { justify-content: center; }
    .footer-mobile-contact { display: grid; gap: 5px; margin-top: 28px; padding: 22px 0; text-align: center; border-top: 1px solid #2b2e34; border-bottom: 1px solid #2b2e34; }
    .footer-mobile-contact h2 { margin-bottom: 8px; }
    .footer-mobile-contact a { color: #abb0b8; font-size: 13px; }
    .footer-mobile-contact__phone { color: #fff !important; font-family: Arial, sans-serif; font-size: 22px !important; font-weight: 700; }
    .footer-mobile-menus details { border-bottom: 1px solid #2b2e34; }
    .footer-mobile-menus summary { padding: 15px 0; color: #d6d9de; cursor: pointer; }
    .footer-menu--mobile { padding: 0 0 16px 12px; }
    .site-footer__bottom-inner { min-height: auto; padding: 20px 0 88px; flex-direction: column; justify-content: center; text-align: center; }
    .mobile-dock {
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 950;
        height: 62px;
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        border-top: 1px solid #e7e8ea;
        background: rgba(255,255,255,.98);
        box-shadow: 0 -6px 22px rgba(20,24,30,.08);
    }
    .mobile-dock a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; color: #666c74; font-size: 11px; }
    .mobile-dock svg { width: 21px; height: 21px; fill: currentColor; }
    .mobile-dock a.is-active, .mobile-dock a:hover { color: var(--cxl-red); }
    .cxl-back-to-top { right: 14px; bottom: 76px; width: 40px; height: 40px; }
}

@media (max-width: 600px) {
    .cxl-container { width: min(calc(100% - 24px), var(--cxl-container)); }
    .cxl-section { padding: 52px 0; }
    .section-heading { margin-bottom: 30px; }
    .section-heading h2, .applications-heading h2, .home-inquiry h2 { font-size: 28px; }
    .section-heading__description { font-size: 14px; }
}

img.is-image-missing { visibility: hidden; }
