html,
body {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, "Microsoft Yahei", sans-serif;
    color: #222;
    margin: 0;
    background: #fff;
    overflow-x: hidden;
    overflow-y: auto;
}

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 2000;
    /* background: linear-gradient(90deg, rgba(8, 36, 100, 0), rgba(6, 30, 92, 0)); */
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: none;
    border-bottom: 0;
}

.site-header.scrolled {
    /* background: rgba(255, 255, 255, 0.40); */
    background: linear-gradient(90deg, rgba(8, 36, 100, .5), rgba(6, 30, 92, .5));
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-img {
    height: 28px;
    width: auto;
}

.logo-text {
    font-weight: 600;
    font-size: 18px;
    color: #fff;
}

.main-nav {
    display: flex;
    gap: 80px;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 15px;
    letter-spacing: .02em;
}

.nav-link:hover {
    color: #e6f0ff;
}

.nav-actions {
    display: flex;
    gap: 14px;
    align-items: center;
    margin-left: 18px;
}

.lang-wrapper {
    position: relative;
}

.lang-dropdown {
    position: absolute;
    top: 32px;
    right: 0;
    display: none;
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, .08);
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
    min-width: 120px;
    z-index: 1001;
}

.lang-wrapper:hover .lang-dropdown {
    display: block;
}

.lang-dropdown a {
    display: block;
    padding: 8px 12px;
    color: #333;
    text-decoration: none;
    font-size: 14px;
}

.lang-dropdown a:hover {
    background: rgba(0, 0, 0, .05);
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    padding: 0;
}

.nav-actions button {
    background: rgba(255, 255, 255, .28);
    border: 1px solid rgba(255, 255, 255, .4);
    border-radius: 8px;
}

.site-header.scrolled .nav-actions button {
    background: rgba(255, 255, 255, .60);
    border-color: rgba(255, 255, 255, .7);
}

.lang-btn svg {
    width: 18px;
    height: 18px;
}

.search-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    padding: 0;
}

.search-btn svg {
    width: 16px;
    height: 16px;
}


/* 移动端菜单按钮与抽屉 */

.hamburger-btn svg {
    width: 18px;
    height: 18px;
}

.hamburger-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 32px;
    width: 32px;
    padding: 0;
    line-height: 0;
    box-sizing: border-box;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80vw;
    max-width: 360px;
    height: 100vh;
    background: rgba(255, 255, 255, .97);
    box-shadow: -10px 0 20px rgba(0, 0, 0, .12);
    z-index: 1500;
    transition: right .25s ease;
    display: flex;
    flex-direction: column;
}

.mobile-menu.open {
    right: 0;
}

.mm-header {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    height: 56px;
    padding: 0 12px;
}

.mm-close {
    background: none;
    border: 0;
    font-size: 28px;
    line-height: 1;
    color: #333;
}

.mm-list {
    display: flex;
    flex-direction: column;
    padding: 8px 12px;
}

.mm-list a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 8px;
    font-size: 16px;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.mm-list a:after {
    content: none;
}

@media (min-width:768px) {
    .hamburger-btn,
    .mobile-menu {
        display: none;
    }
}

.hero {
    position: relative;
    display: flex;
    align-items: center;
    padding-top: 72px;
    aspect-ratio: 16/9;
    height: auto;
    width: 100%;
}

.carousel {
    position: absolute;
    inset: 0;
}

.carousel .slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    animation: fadeSlide 15s infinite;
}

.carousel .s2 {
    animation-delay: 5s;
}

.carousel .s3 {
    animation-delay: 10s;
}


/* 手动控制轮播时停用动画并以active显示 */

.carousel.manual .slide {
    animation: none;
    opacity: 0;
}

.carousel.manual .slide.active {
    opacity: 1;
}


/* Hero 左右箭头 */

.hero-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: 2px solid #cdd6ea;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    z-index: 3000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-arrow.left {
    left: 100px;
}

.hero-arrow.right {
    right: 100px;
}

.hero-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #cdd6ea;
    border-bottom: 2px solid #cdd6ea;
    transform: translate(-50%, -50%) rotate(135deg);
}

.hero-arrow.right::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.hero-arrow.disabled {
    opacity: .55;
    border-color: #e0e7f5;
    cursor: default;
    box-shadow: none;
}

.hero-arrow.disabled::before {
    border-right-color: #e0e7f5;
    border-bottom-color: #e0e7f5;
}

.hero-indicator {
    position: absolute;
    left: 50%;
    bottom: 20px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    z-index: 3000;
    font-weight: 500;
}

.hero-indicator .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #fff;
    animation: heroDotPulse 1.4s infinite ease-in-out;
}

.hero-indicator .text {
    font-size: 14px;
    letter-spacing: .06em;
}

@keyframes heroDotPulse {
    0% { transform: scale(1); opacity: .9; }
    50% { transform: scale(1.6); opacity: .7; }
    100% { transform: scale(1); opacity: .9; }
}

@keyframes fadeSlide {
    0% {
        opacity: 1;
        transform: scale(1.02);
    }
    5% {
        opacity: 1;
        transform: scale(1);
    }
    45% { opacity: 1; }
    50% { opacity: 0; }
    100% {
        opacity: 0;
    }
}

.hero:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 22, 72, .42), rgba(3, 22, 72, .15) 40%, rgba(255, 255, 255, .0));
}

.hero-content {
    position: relative;
    text-align: center;
    color: #fff;
}

.hero h1 {
    font-size: 42px;
    letter-spacing: .1em;
    margin: 0 0 8px;
}

.hero .sub {
    font-size: 18px;
    opacity: .9;
}

.section {
    padding: 56px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #111;
    margin-bottom: 60px;
}

.section-desc {
    font-size: 15px;
    line-height: 1.8;
    color: #555;
}

.about-intro {
    background: #fff;
}

.intro-wrap {
    display: grid;
    grid-template-columns: 33.333% 1fr;
    gap: 40px;
    align-items: flex-start;
}

.intro-gallery {
    display: block;
}

.intro-thumb {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    border-radius: 0;
    object-fit: cover;
}

.intro-thumb:first-child {
    display: block;
}


/* 产品亮点卡片图片统一高度与裁剪 */

.news-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    border-radius: 0;
}

.intro-title {
    font-size: 26px;
    font-weight: 600;
    margin-bottom: 12px;
    color: #1e2430;
}

.intro-desc {
    color: #5f6c85;
    line-height: 1.9;
    font-size: 15px;
}

.preview-lines {
    position: relative;
    padding: 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
}

.preview-wrap {
    position: relative;
    width: 100%;
}

.preview-img {
    width: 100%;
    height: auto;
    display: block;
}

.preview-lines:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(3, 22, 72, .35), rgba(3, 22, 72, .15) 40%, rgba(255, 255, 255, .0));
}

.preview-overlay {
    position: absolute;
    inset: 0;
    color: #fff;
}

.vline {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 1px;
    background: rgba(255, 255, 255, .35);
}

.v1 {
    left: 10%;
}

.v2 {
    left: 30%;
}

.v3 {
    left: 50%;
}

.v4 {
    left: 70%;
}

.v5 {
    left: 90%;
}

.text-block {
    position: absolute;
    color: #fff;
}

.tb-vision {
    left: 31%;
    top: 42%;
    width: calc(20% - 40px);
    padding-left: 16px;
}

.tb-concept {
    left: 51%;
    top: 42%;
    width: calc(20% - 40px);
    padding-left: 16px;
}

.text-block .title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.text-block .desc {
    font-size: 14px;
    line-height: 1.9;
    opacity: .95;
    word-break: break-word;
    overflow-wrap: anywhere;
}

.env-wrap {
    position: relative;
    padding: 0 56px;
}

.env-grid {
    display: flex;
    gap: 24px;
    margin-top: 16px;
    transition: transform .3s ease;
}

.env-item {
    position: relative;
    overflow: visible;
    border-radius: 0;
    background: #f7f7f7;
    flex: 0 0 calc((100% - 48px) / 3);
}

.env-item img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    aspect-ratio: 16/9;
    object-fit: cover;
}

.env-wrap {
    padding: 0;
    overflow: hidden;
}

.env-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .92);
    border: 1px solid #cdd6ea;
    box-shadow: 0 6px 16px rgba(0, 0, 0, .12);
    z-index: 3000;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.env-arrow.left {
    left: -35px;
}

.env-arrow.right {
    right: -35px;
}

.env-arrow::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 10px;
    height: 10px;
    border-right: 2px solid #cdd6ea;
    border-bottom: 2px solid #cdd6ea;
    transform: translate(-50%, -50%) rotate(135deg);
}

.env-arrow.right::before {
    transform: translate(-50%, -50%) rotate(-45deg);
}

.env-arrow.disabled {
    opacity: .5;
    cursor: default;
    border-color: #e0e7f5;
    box-shadow: none;
    pointer-events: none;
}
.env-arrow.disabled::before {
    border-right-color: #e0e7f5;
    border-bottom-color: #e0e7f5;
}

.news {
    position: relative;
    background: #f1f6ff;
    padding-top: 40px;
    padding-bottom: 32px;
}

.news-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.news-wrap {
    padding: 0;
    position: relative;
    z-index: 1;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 16px;
}

.news-card {
    display: block;
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(32, 68, 152, .08);
    text-decoration: none;
    color: #222;
}

#news .news-card,
#news .news-card:hover,
#news .news-card:focus,
#news .news-card:active {
    text-decoration: none;
}

.news-card img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    display: block;
    object-fit: cover;
    /* border-radius: 8px; */
}

.news-body {
    padding: 16px 18px;
}

.news-tag {
    color: #6f86c3;
    font-size: 12px;
    margin-bottom: 8px;
}

.news-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1e2430;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-desc {
    font-size: 13px;
    color: #5f6c85;
    line-height: 1.8;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.news-more {
    font-size: 12px;
    color: #8a9bb8;
}

.news-listmore {
    margin-top: 18px;
}

.news-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 43, 132, .55);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    z-index: 1000;
}
.news-modal.show {
    display: flex;
}
.news-modal .modal-dialog {
    background: #fff;
    border-radius: 10px;
    width: 860px;
    max-width: 95%;
    box-shadow: 0 10px 40px rgba(32, 68, 152, .2);
    position: relative;
    overflow: hidden;
    transform: translateY(10px);
    opacity: 0;
    animation: newsModalIn .18s ease-out forwards;
    height: 80vh;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
}
@keyframes newsModalIn {
    to { transform: translateY(0); opacity: 1; }
}
.news-modal .modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    width: 34px;
    height: 34px;
    border: 0;
    background: rgba(0,0,0,.05);
    color: #333;
    border-radius: 50%;
    font-size: 18px;
    line-height: 34px;
    cursor: pointer;
}
.news-modal .modal-header {
    padding: 16px 20px 0;
}
.news-modal .modal-tag {
    color: #6f86c3;
    font-size: 12px;
    margin-bottom: 6px;
}
.news-modal .modal-title {
    font-size: 22px;
    font-weight: 700;
    color: #1e2430;
    margin-bottom: 12px;
}
.news-modal .modal-body {
    padding: 0 20px 20px;
    flex: 1 1 auto;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}
.news-modal .modal-image {
    width: 100%;
    height: auto;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 12px;
}
.news-modal .modal-content {
    font-size: 14px;
    color: #4b5a77;
    line-height: 1.9;
    white-space: pre-wrap;
    border: 0;
    outline: none;
    background: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
}

.btn.btn-secondary {
    background: #e9edf9;
    border: 0;
    color: #0b2b84;
    border-radius: 6px;
    padding: 8px 14px;
}

.contact {
    background: #0b2b84;
    color: #fff;
    padding: 56px 0;
}

.contact-wrap {
    text-align: center;
    padding: 20px 0 40px;
}

.contact-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 6px;
}

.contact-sub {
    opacity: .9;
    margin: 6px 0 50px;
}

.contact-form {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr auto;
    gap: 14px;
    align-items: center;
}

.form-input {
    background: rgba(39, 74, 156, .28);
    border: 1px solid rgba(160, 188, 255, .55);
    height: 42px;
    padding: 0 14px;
    font-size: 14px;
    color: #eaf1ff;
}

.form-input::placeholder {
    color: #888;
    opacity: .95;
}

.form-input:focus {
    outline: 0;
    border-color: #bcd1ff;
    box-shadow: 0 0 0 2px rgba(160, 188, 255, .25);
}

.btn-submit {
    width: 180px;
    height: 42px;
    background: #1a3fa2;
    color: #fff;
    border: 1px solid #133389;
    font-weight: 700;
    padding: 0 22px;
    letter-spacing: .02em;
}
.btn.btn-submit:hover,
.btn.btn-submit:focus,
.btn.btn-submit:active {
    color: #fff;
}

.site-footer {
    background: #fff;
    color: #333;
    padding: 24px 0 0;
    margin-top: 0;
}

.footer-row1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    padding-top: 35px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #082464;
    padding: 10px 0;
}

.footer-brand img {
    height: 28px;
}

.brand-text {
    font-size: 18px;
    font-weight: 700;
}

.footer-social {
    display: flex;
    gap: 14px;
}

.footer-social img {
    width: 24px;
    height: 24px;
    display: block;
}

.footer-sep {
    height: 1px;
    background: #e5ebf7;
    margin: 30px 0;
}

.footer-row2 {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 32px;
    align-items: start;
    padding-top: 8px;
    padding-bottom: 25px;
}

.footer-nav {
    display: flex;
    gap: 32px;
    margin-bottom: 12px;
}

.friends-line {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 16px 32px;
    align-items: start;
}

.friends-list {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px 32px;
}

.friends-line .friend-icon {
    width: 60px;
    height: 60px;
    border-radius: 4px;
    object-fit: cover;
}

.friends-line .friend-text {
    font-size: 14px;
    color: #2b3b6c;
}

.footer-nav a {
    color: #1e2430;
    text-decoration: none;
    font-size: 14px;
    text-align: left;
}

.footer-nav a:hover {
    color: #082464;
}

.friends {
    display: block;
}

.friends-label {
    color: #1e2430;
    margin-bottom: 8px;
    font-size: 14px;
}

.friends-row {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
    align-items: flex-start;
}

.friend-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
}

.friend-icon {
    width: auto;
    height: 20px;
    display: block;
    margin-bottom: 5px;
}

.friend-text {
    font-size: 13px;
    color: #5f6c85;
    text-align: center;
}

.footer-right .contact-item {
    margin-bottom: 6px;
    color: #5f6c85;
    font-size: 12px;
    line-height: 1.8;
    display: grid;
    grid-template-columns: 60px 1fr;
    column-gap: 12px;
    align-items: start;
}

.footer-bottombar {
    background: #0b2b84;
    color: #ccc;
    margin-top: 18px;
    padding: 20px 150px;
    display: flex;
    justify-content: space-between;
    font-size: 10px;
}

.footer-bottombar a {
    color: #eaf1ff;
}

.contact-form {
    /* grid-template-columns: 1fr 1fr; */
}

.form-input.wide {
    grid-column: 1/3;
}

.footer-top {
    grid-template-columns: 1fr;
}

.env-item img {
    height: auto;
}

.float-buttons {
    position: fixed;
    right: 32px;
    bottom: 150px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    z-index: 1200;
}

.float-btn {
    position: relative;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid rgba(11, 43, 132, .12);
    box-shadow: 0 10px 20px rgba(0, 0, 0, .12);
    display: flex;
    align-items: center;
    justify-content: center;
}

.float-btn img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 36px;
    height: 36px;
    object-fit: contain;
    display: block;
}

.fb-top {
    display: none;
}

.fb-top.show {
    display: flex;
}
