:root {
    --site-ink: #202c3c;
    --site-deep: #153868;
    --site-primary: #2667b8;
    --site-blue: #3f6eab;
    --site-steel: #526b8d;
    --site-copper: #d97732;
    --site-text: #344256;
    --site-muted: #6c798b;
    --site-line: #d9e1eb;
    --site-paper: #f1f4f8;
    --site-warm: #fff3e7;
    --site-banner-height: 260px;
    --site-banner-overlay: linear-gradient(90deg, rgba(21, 56, 104, .92), rgba(38, 82, 140, .55));
    --bs-primary: #2667b8;
    --bs-primary-rgb: 38, 103, 184;
    --bs-success: #526b8d;
    --bs-success-rgb: 82, 107, 141;
    --bs-info: #3f6eab;
    --bs-info-rgb: 63, 110, 171;
    --bs-warning: #d97732;
    --bs-warning-rgb: 217, 119, 50;
    --bs-body-color: #344256;
    --bs-body-bg: #fff;
}

html {
    scroll-behavior: smooth;
}

body {
    color: var(--site-text);
    background: #fff;
    font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans CJK SC", sans-serif;
    line-height: 1.7;
}

a {
    color: var(--site-deep);
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

a:hover {
    color: var(--site-primary);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 2px solid var(--site-copper);
    outline-offset: 3px;
}

.navbar.site-header {
    min-height: 72px;
    padding-top: 0;
    padding-bottom: 0;
    background: rgba(255, 255, 255, .98);
    border-bottom: 1px solid rgba(32, 44, 60, .1);
    box-shadow: 0 4px 18px rgba(32, 44, 60, .08);
}

.site-header .container {
    min-height: 72px;
}

.head-sm-height {
    height: 72px !important;
}

.site-header .navbar-brand img {
    display: block;
    width: auto;
    max-width: 210px;
    height: auto;
    max-height: 50px;
    object-fit: contain;
}

.site-header .navbar-nav .nav-link {
    position: relative;
    padding: 1.3rem .78rem;
    color: #4d5c70;
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
}

.site-header .navbar-nav .nav-link::after {
    position: absolute;
    right: .78rem;
    bottom: 12px;
    left: .78rem;
    height: 2px;
    content: "";
    background: var(--site-copper);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .18s ease;
}

.site-header .navbar-nav .nav-link:hover,
.site-header .navbar-nav .nav-link.active {
    color: var(--site-primary);
}

.site-header .navbar-nav .nav-link:hover::after,
.site-header .navbar-nav .nav-link.active::after {
    transform: scaleX(1);
}

.navbar-toggler {
    color: var(--site-deep);
    border-color: var(--site-line);
}

.home-hero {
    position: relative;
    height: var(--site-banner-height);
    overflow: hidden;
    background: var(--site-deep);
}

.home-hero .swiper-wrapper,
.home-hero .swiper-slide {
    height: 100%;
}

.home-hero .swiper-slide {
    position: relative;
    overflow: hidden;
    background: var(--site-deep);
}

.home-hero .swiper-slide::after {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    content: "";
    background: var(--site-banner-overlay);
}

.home-hero .swiper-slide > a,
.home-hero .swiper-slide > img {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
}

.home-hero .slideshow {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.home-hero .container {
    position: absolute;
    z-index: 2;
    inset: 0;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.home-hero-content {
    width: min(720px, 100%);
    pointer-events: none;
}

.hero-title,
.page-top h1 {
    max-width: 100%;
    margin: 0 0 7px;
    color: #fff;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.hero-subtitle,
.page-top p {
    max-width: 720px;
    margin: 0;
    color: #d7e2f1;
    font-size: 15px;
    font-weight: 400;
    line-height: 1.7;
    overflow-wrap: anywhere;
}

.home-hero .swiper-button-prev,
.home-hero .swiper-button-next {
    z-index: 3;
    color: #fff;
}

.home-hero .swiper-button-prev::after,
.home-hero .swiper-button-next::after {
    font-size: 28px;
}

.home-hero .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, .75);
    opacity: 1;
}

.home-hero .swiper-pagination-bullet-active {
    width: 22px;
    border-radius: 5px;
    background: var(--site-copper);
}

.site-section {
    padding-top: 72px !important;
    padding-bottom: 72px !important;
}

.site-section h2.section-title {
    position: relative;
    margin: 0 0 10px;
    color: var(--site-ink);
    font-size: 30px;
    font-weight: 700;
    line-height: 1.35;
    overflow-wrap: anywhere;
}

.section-title::after {
    display: block;
    width: 42px;
    height: 3px;
    margin: 11px auto 0;
    content: "";
    background: var(--site-primary);
}

.section-subtitle {
    margin: 0 0 34px;
    color: var(--site-muted);
    font-size: 15px;
    line-height: 1.65;
}

.products-section {
    background: #fff;
}

.product-card {
    height: calc(100% - 30px);
    overflow: hidden;
    background: #fff;
    border: 1px solid var(--site-line);
    border-top: 3px solid var(--site-primary);
    border-radius: 5px;
    box-shadow: 0 4px 16px rgba(32, 44, 60, .06);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.products-section .row > :nth-child(4n + 2) .product-card {
    border-top-color: var(--site-blue);
}

.products-section .row > :nth-child(4n + 3) .product-card {
    border-top-color: var(--site-steel);
}

.products-section .row > :nth-child(4n) .product-card {
    border-top-color: var(--site-copper);
}

.product-card:hover {
    box-shadow: 0 12px 25px rgba(32, 44, 60, .12);
    transform: translateY(-4px);
}

.product-card .card-img-150 {
    height: 180px;
    overflow: hidden;
    background: var(--site-paper);
}

.product-card .card-img-top {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.product-card:hover .card-img-top {
    transform: scale(1.035);
}

.product-card .card-body {
    padding: 18px 19px 20px;
}

.product-card .card-title {
    margin-bottom: 10px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
}

.product-card .card-title a,
.news-item h5 a {
    color: var(--site-ink);
}

.product-card .card-title a:hover,
.news-item h5 a:hover {
    color: var(--site-primary);
}

.product-card .card-text {
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.75;
}

.company-section {
    color: var(--site-text);
    background: var(--site-paper);
    border-top: 1px solid #e1e7ef;
    border-bottom: 1px solid #e1e7ef;
}

.company-section .section-title::after {
    background: var(--site-copper);
}

.company-description {
    color: #4b5a70;
    font-size: 15px;
    line-height: 2;
}

.news-section {
    background: var(--site-warm);
}

.news-section .section-title::after {
    background: var(--site-blue);
}

.news-item {
    min-height: 108px;
    padding: 19px 21px;
    background: #fff;
    border: 1px solid #e5e9ef;
    border-left: 3px solid var(--site-blue);
    border-radius: 3px;
    transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease;
}

.news-item:hover {
    border-left-color: var(--site-copper);
    box-shadow: 0 7px 18px rgba(32, 44, 60, .08);
    transform: translateY(-2px);
}

.news-item h5 {
    margin: 0 0 7px;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
}

.news-item p,
.news-item p a {
    color: var(--site-muted);
    font-size: 13px;
    line-height: 1.8;
}

.news-item p a:hover {
    color: var(--site-primary);
}

.text-success {
    color: var(--site-steel) !important;
}

.text-info {
    color: var(--site-blue) !important;
}

.text-warning {
    color: var(--site-copper) !important;
}

.btn-info,
.btn-success,
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-hover-color: #fff;
    --bs-btn-active-color: #fff;
    --bs-btn-hover-bg: #205899;
    --bs-btn-hover-border-color: #205899;
    --bs-btn-active-bg: #194a83;
    --bs-btn-active-border-color: #194a83;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #526b8d;
    --bs-btn-disabled-border-color: #526b8d;
    --bs-btn-focus-shadow-rgb: 38, 103, 184;
    color: #fff;
    border-color: transparent;
}

.btn-info {
    background: var(--site-blue);
}

.btn-success {
    background: var(--site-steel);
}

.btn-primary {
    background: var(--site-primary);
}

.btn-info:hover,
.btn-success:hover,
.btn-primary:hover {
    color: #fff;
    filter: brightness(.91);
}

.page-top {
    position: relative;
    isolation: isolate;
    display: flex;
    min-height: var(--site-banner-height);
    align-items: center;
    overflow: hidden;
    padding-top: 46px !important;
    padding-bottom: 46px !important;
    background-color: var(--site-deep) !important;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-top::before {
    position: absolute;
    z-index: 0;
    inset: 0;
    content: "";
    background: var(--site-banner-overlay);
}

.page-top .container {
    position: relative;
    z-index: 1;
}

.pages {
    min-height: 460px;
    padding-top: 22px;
    padding-bottom: 48px;
}

.position,
.position a {
    color: var(--site-muted);
    font-size: 13px;
}

.position a:hover {
    color: var(--site-primary);
}

.pages h2,
.pages h3,
.pages h4 {
    color: var(--site-ink);
}

.pages .card,
.pages .figure {
    overflow: hidden;
    border: 1px solid var(--site-line);
    border-radius: 5px;
    box-shadow: 0 4px 15px rgba(32, 44, 60, .06);
}

.pages .figure img {
    max-width: 100%;
    height: auto;
}

.content {
    color: #4b5a70;
    font-size: 15px;
    line-height: 2;
}

.content h2,
.content h3,
.content h4 {
    color: var(--site-ink);
}

.content a {
    color: var(--site-primary);
}

.content img {
    height: auto;
    border-radius: 4px;
}

.sonsort .btn {
    margin-right: 6px;
    border-radius: 3px;
}

.page-num,
.page-link {
    color: var(--site-primary);
    border-color: var(--site-line);
}

.page-num-current,
.page-num:hover,
.page-link:hover {
    color: #fff;
    background: var(--site-primary);
    border-color: var(--site-primary);
}

.site-footer {
    margin-top: 0 !important;
    color: #d4deec;
    background: var(--site-ink);
    border-top: 3px solid var(--site-copper) !important;
}

.site-footer h5 {
    margin-bottom: 14px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.site-footer ul {
    color: #c2cede;
    font-size: 13px;
}

.site-footer a {
    color: #e0e8f3;
}

.site-footer a:hover {
    color: #f0b36a;
}

.site-footer .copyright {
    color: #b4c1d3;
    border-color: rgba(255, 255, 255, .14) !important;
    font-size: 12px;
}

.mobile-contact {
    background: var(--site-primary);
    box-shadow: 0 -4px 18px rgba(21, 56, 104, .18);
}

.mobile-contact a {
    color: #fff;
    font-size: 13px;
    font-weight: 600;
}

.mobile-contact .border-end {
    border-color: rgba(255, 255, 255, .24) !important;
}

.online dl {
    background: var(--site-primary);
}

.online dl:hover {
    background: var(--site-copper);
}

.online dl dt {
    border-color: var(--site-line);
    box-shadow: 0 9px 26px rgba(32, 44, 60, .14);
}

.online dl dt h3 {
    color: var(--site-ink);
    border-color: var(--site-line);
}

.online dl dt button {
    background: var(--site-primary);
    border-radius: 3px;
    font-size: 15px;
}

.online dl dt button:hover {
    background: var(--site-copper);
}

.form-control:focus {
    border-color: rgba(38, 103, 184, .55);
    box-shadow: 0 0 0 .2rem rgba(38, 103, 184, .14);
}

@media (max-width: 1199.98px) {
    .navbar.site-header,
    .site-header .container {
        min-height: 66px;
    }

    .head-sm-height {
        height: 66px !important;
    }

    .site-header .navbar-collapse {
        padding: 3px 0 12px;
    }

    .site-header .navbar-nav .nav-link {
        padding: 10px 4px;
    }

    .site-header .navbar-nav .nav-link::after {
        right: auto;
        bottom: 5px;
        left: 4px;
        width: 30px;
    }
}

@media (max-width: 575.98px) {
    :root {
        --site-banner-height: 220px;
    }

    .navbar.site-header,
    .site-header .container {
        min-height: 61px;
    }

    .site-header .navbar-brand img {
        max-height: 44px;
    }

    .head-sm-height {
        height: 61px !important;
    }

    .hero-title,
    .page-top h1 {
        font-size: 26px;
    }

    .hero-subtitle,
    .page-top p {
        font-size: 14px;
    }

    .site-section {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }

    .site-section h2.section-title {
        font-size: 25px;
    }

    .section-subtitle {
        margin-bottom: 26px;
        font-size: 14px;
    }

    .product-card .card-img-150 {
        height: 170px;
    }

    .news-item {
        min-height: 0;
        padding: 16px;
    }

    .page-top {
        padding-top: 32px !important;
        padding-bottom: 32px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: .01ms !important;
    }
}
