/* ======================
   全局设置 + 平滑滚动
====================== */
html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "PingFang SC", "Helvetica Neue", Arial, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* 标题使用 Outfit 字体，更有品牌辨识度 */
h1, h2, h3, h4, h5, h6,
.section-title, .banner-headline, .carousel-title,
.footer-logo, .stat h3 {
    font-family: "Outfit", "Microsoft YaHei", "PingFang SC", sans-serif;
}

/* ======================
   无障碍: Skip to content
====================== */

/* ======================
   noscript 提示
====================== */
noscript {
    display: block;
    padding: 20px;
    background: #fff3cd;
    color: #856404;
    text-align: center;
    font-size: 15px;
    border-bottom: 1px solid #ffc107;
}

.skip-link {
    position: absolute;
    top: -100%;
    left: 16px;
    z-index: 9999;
    padding: 12px 24px;
    background: #003366;
    color: #fff;
    font-weight: 600;
    border-radius: 0 0 8px 8px;
    transition: top 0.2s;
}

.skip-link:focus {
    top: 0;
}

/* ======================
   无障碍: 焦点样式
====================== */
:focus-visible {
    outline: 2px solid #003366;
    outline-offset: 2px;
}

a:focus:not(:focus-visible),
button:focus:not(:focus-visible) {
    outline: none;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.btn {
    display: inline-block;
    padding: 14px 36px;
    background-color: #003366;
    color: white;
    border-radius: 4px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #004a8a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 51, 102, 0.3);
}

.section {
    padding: 100px 0;
}

/* 区块标题 - 参考富森/博科的装饰线条风格 */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 12px;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: "";
    display: block;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, #003366, #0066cc);
    margin: 16px auto 0;
    border-radius: 2px;
}

.section-subtitle {
    color: #888;
    font-size: 16px;
    letter-spacing: 2px;
}

/* 图标统一居中 */
.icon i {
    display: block;
    margin: 0 auto 15px;
    font-size: 50px;
    color: #003366;
}

/* ======================
   HEADER & NAV - 更精致的导航
====================== */
header {
    background-color: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(10px);
    box-shadow: 0 1px 3px rgba(0, 51, 102, 0.08);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
}

.logo a {
    display: inline-block;
}

.logo img {
    height: 40px;
    transition: transform 0.3s;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav-links a {
    margin-left: 40px;
    color: #555;
    font-size: 15px;
    font-weight: 500;
    transition: color 0.3s;
    position: relative;
}

.nav-links a::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #003366;
    transition: width 0.3s ease;
}

.nav-links a:hover {
    color: #003366;
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-links a.active {
    color: #003366;
    font-weight: 600;
}

.nav-links a.active::after {
    width: 100%;
}

/* 汉堡菜单按钮 */
.hamburger {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 200;
    position: relative;
}

.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 5px 0;
    transition: all 0.3s;
    transform-origin: center;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* ======================
   BANNER - 全屏沉浸式 Hero
====================== */
.banner {
    min-height: 100dvh;
    height: auto;
    min-height: 700px;
    background-image: url('../images/banner-bg.jpg');
    background-color: #0a1628;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.banner::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        180deg,
        rgba(0, 0, 0, 0.55) 0%,
        rgba(0, 20, 50, 0.7) 100%
    );
    z-index: 1;
}

.banner-content {
    position: relative;
    z-index: 2;
    padding: 0 20px;
    max-width: 900px;
}

.banner-headline {
    font-size: 64px;
    margin-bottom: 16px;
    font-weight: 800;
    text-shadow: 0 4px 20px rgba(0,0,0,0.4);
    letter-spacing: 2px;
    text-wrap: balance;
    animation: fadeInUp 1s ease;
}

.banner-sub {
    font-size: 20px;
    margin-bottom: 16px;
    opacity: 0.9;
    font-weight: 300;
    letter-spacing: 4px;
    animation: fadeInUp 1s ease 0.2s both;
}

.tagline {
    background-color: rgba(0, 51, 102, 0.8);
    color: white;
    padding: 12px 40px;
    font-size: 16px;
    margin-bottom: 40px;
    display: inline-block;
    border-radius: 30px;
    letter-spacing: 4px;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255,255,255,0.15);
    animation: fadeInUp 1s ease 0.4s both;
}

.cta-container {
    display: flex;
    gap: 40px;
    margin-top: 20px;
    justify-content: center;
    animation: fadeInUp 1s ease 0.6s both;
}

.cta-card {
    background: rgba(255, 255, 255, 0.95);
    width: 280px;
    padding: 35px 30px;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 20, 50, 0.2);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    display: block;
    backdrop-filter: blur(10px);
}

.cta-card:hover {
    transform: translateY(-12px);
    box-shadow: 0 30px 80px rgba(0, 20, 50, 0.25);
}

.cta-card .icon i {
    font-size: 44px;
    color: #003366;
    margin-bottom: 18px;
    transition: transform 0.3s;
}

.cta-card:hover .icon i {
    transform: scale(1.15);
}

.cta-card h3 {
    font-size: 18px;
    margin-bottom: 6px;
    color: #1a1a2e;
    font-weight: 700;
}

.cta-card p {
    color: #888;
    font-size: 13px;
    letter-spacing: 1px;
}

/* ======================
   SERVICES - 优化服务区块
====================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================
   SERVICES - 优化服务区块
====================== */
.services {
    background-color: #fafbfc;
}

.services-content-layout {
    display: flex;
    gap: 60px;
    margin-top: 40px;
    align-items: flex-start;
}

.services-text {
    flex: 1.3;
    min-width: 320px;
}

.intro-text {
    font-size: 15px;
    line-height: 2;
    color: #666;
    margin-bottom: 24px;
    max-width: 65ch;
}

.services-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.1);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.service-item {
    background: white;
    padding: 35px 25px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 51, 102, 0.04);
    text-align: center;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    border: 1px solid rgba(0,0,0,0.04);
    min-height: 190px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.service-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #003366, #0066cc);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-item:hover::before {
    transform: scaleX(1);
}

.service-item:hover {
    background-color: #003366;
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 51, 102, 0.2);
}

.service-item:hover i,
.service-item:hover h3,
.service-item:hover p {
    color: #fff;
}

.service-item:hover .icon i {
    color: rgba(255,255,255,0.9);
}

.service-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 700;
    color: #1a1a2e;
}

.service-item p {
    font-size: 14px;
    color: #888;
    line-height: 1.6;
}

/* ======================
   ABOUT - 参考富森的数字动画风格
====================== */
.about {
    background-color: #0a1628;
    color: white;
    position: relative;
    overflow: hidden;
}

.about::before {
    content: "";
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,102,204,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.about .section-title {
    color: white;
}

.about .section-title::after {
    background: linear-gradient(90deg, #4a9eff, #0066cc);
}

.about .section-subtitle {
    color: rgba(255,255,255,0.5);
}

.about-content-wrapper {
    display: flex;
    padding: 0;
}

.about-content {
    width: 100%;
    padding: 0;
}

.about .intro-text {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    line-height: 2;
    max-width: 800px;
    margin: 0 auto 20px;
}

.about .mission-text {
    font-weight: 600;
    color: rgba(255,255,255,0.85);
}

.stats {
    display: flex;
    justify-content: center;
    gap: 80px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
    position: relative;
}

.stat::after {
    content: "";
    position: absolute;
    right: -40px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background: rgba(255,255,255,0.15);
}

.stat:last-child::after {
    display: none;
}

.stat h3 {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    font-variant-numeric: tabular-nums;
}

.stat p {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    margin-top: 8px;
    letter-spacing: 1px;
}

/* ======================
   CONTACT - 更精致的联系区域
====================== */
.contact-section {
    background: linear-gradient(135deg, #003366 0%, #001a33 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="0.5" fill="rgba(255,255,255,0.03)"/></pattern></defs><rect fill="url(%23grain)" width="100" height="100"/></svg>');
}

.contact-section .section-title {
    color: white;
}

.contact-section .section-title::after {
    background: linear-gradient(90deg, #4a9eff, #fff);
}

.contact-section .section-subtitle {
    color: rgba(255,255,255,0.5);
}

.contact-content {
    padding: 50px 0;
    position: relative;
    z-index: 1;
}

.contact-content .contact-icon i {
    font-size: 56px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 20px;
}

.contact-content h3 {
    margin-bottom: 16px;
    font-size: 28px;
    font-weight: 700;
}

.contact-content p {
    margin-bottom: 32px;
    font-size: 17px;
    color: rgba(255,255,255,0.7);
}

.contact-content .btn {
    background-color: white;
    color: #003366;
    font-weight: 700;
    padding: 16px 48px;
    border-radius: 6px;
    letter-spacing: 2px;
}

.contact-content .btn:hover {
    background-color: #e8f0ff;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}

.footer-info {
    display: flex;
    justify-content: center;
    gap: 40px;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    flex-wrap: wrap;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.footer-info div {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ======================
   FOOTER - 更完善的底部
====================== */
footer {
    background-color: #0a1628;
    color: white;
    padding: 50px 0 30px;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-menu a {
    color: rgba(255,255,255,0.5);
    margin-right: 36px;
    font-size: 14px;
    transition: color 0.3s;
}

.footer-menu a:hover {
    color: white;
}

.footer-logo {
    font-size: 28px;
    font-weight: 800;
    color: white;
    letter-spacing: 2px;
}

.footer-logo span {
    color: #4a9eff;
}

.footer-bottom {
    text-align: center;
    color: rgba(255,255,255,0.3);
    font-size: 13px;
}

.footer-legal {
    margin-bottom: 12px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.footer-legal a {
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    transition: color 0.3s;
}

.footer-legal a:hover {
    color: rgba(255,255,255,0.8);
}

.footer-legal span {
    color: rgba(255,255,255,0.15);
    font-size: 12px;
}

/* ======================
   滚动动画
====================== */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(60px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

/* ======================
   语言切换 — 分段切换器
====================== */
.lang-switch {
    display: inline-flex;
    margin-left: 20px;
    vertical-align: middle;
    position: relative;
}

.lang-current {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #555;
    cursor: pointer;
    border: 1px solid rgba(0, 51, 102, 0.12);
    border-radius: 8px;
    background: transparent;
    transition: all 0.25s ease;
    font-family: inherit;
    letter-spacing: 0.3px;
}

.lang-current:hover {
    color: #003366;
    border-color: rgba(0, 51, 102, 0.3);
}

.lang-current i {
    font-size: 14px;
    color: #003366;
}

.lang-current .arrow {
    font-size: 10px;
    margin-left: 2px;
    transition: transform 0.25s ease;
}

.lang-switch.open .lang-current .arrow {
    transform: rotate(180deg);
}

.lang-dropdown {
    display: none;
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 8px 30px rgba(0, 51, 102, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    padding: 6px;
    min-width: 120px;
    z-index: 200;
    animation: lang-drop-in 0.2s ease;
}

.lang-switch.open .lang-dropdown {
    display: block;
}

@keyframes lang-drop-in {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-opt {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
    border: none;
    background: transparent;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #555;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    border-radius: 6px;
    letter-spacing: 0.3px;
}

.lang-opt:hover {
    background: rgba(0, 51, 102, 0.06);
    color: #003366;
}

.lang-opt.active {
    background: rgba(0, 51, 102, 0.08);
    color: #003366;
    font-weight: 700;
}

.lang-opt .check {
    margin-left: auto;
    font-size: 12px;
    color: #003366;
    opacity: 0;
}

.lang-opt.active .check {
    opacity: 1;
}

/* ======================
   客户 Logo 墙
====================== */
.clients-section {
    background-color: #fff;
    padding: 60px 0 40px;
    overflow: hidden;
}

.clients-marquee {
    width: 100%;
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.clients-track {
    display: flex;
    align-items: center;
    gap: 60px;
    width: max-content;
    animation: clients-scroll 100s linear infinite;
}

.clients-track:hover {
    animation-play-state: paused;
}

.clients-slide {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 160px;
    height: 50px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.clients-slide:hover {
    opacity: 1;
}

.clients-slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.clients-slide .client-text {
    font-size: 13px;
    font-weight: 700;
    color: #333;
    white-space: nowrap;
    text-align: center;
    line-height: 1.3;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    background: #f5f6f8;
    border-radius: 6px;
    padding: 6px 14px;
    border: 1px solid #eee;
}

.clients-slide .client-text .client-sub {
    display: block;
    font-size: 10px;
    font-weight: 500;
    color: #999;
    margin-top: 2px;
    letter-spacing: 0;
    text-transform: none;
}

@media (max-width: 768px) {
    .clients-slide .client-text {
        font-size: 11px;
        padding: 5px 10px;
    }
    .clients-slide .client-text .client-sub {
        font-size: 9px;
    }
}

@keyframes clients-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-33.333%);
    }
}

@media (max-width: 768px) {
    .clients-section {
        padding: 40px 0 30px;
    }

    .clients-track {
        gap: 36px;
        animation-duration: 70s;
    }

    .clients-slide {
        width: 130px;
        height: 44px;
    }
}

/* ======================
   为什么选择 Deray
====================== */
.why-choose {
    background-color: #fff;
}

.why-choose-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 40px;
}

.why-choose-card {
    padding: 28px 24px;
    text-align: left;
    transition: background-color 0.3s ease;
    border-bottom: 1px solid #eee;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.why-choose-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(0,51,102,0.03), transparent);
}

.why-choose-card:nth-child(4) {
    background: linear-gradient(135deg, rgba(0,51,102,0.03), transparent);
}

.why-choose-card:nth-child(n+4) {
    border-bottom: none;
}

.why-choose-card:hover {
    background-color: #f8f9fb;
}

.why-choose-card i {
    font-size: 28px;
    color: #003366;
    flex-shrink: 0;
    margin-top: 2px;
}

.why-choose-card h4 {
    font-size: 15px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.why-choose-card p {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
}

/* ======================
   子页面 Banner
====================== */

/* 面包屑导航 */
.breadcrumb {
    margin-bottom: 20px;
    font-size: 13px;
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeInUp 0.8s ease 0.1s both;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
    transition: color 0.3s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    color: rgba(255,255,255,0.35);
    margin: 0 8px;
}

.breadcrumb span:last-child {
    color: rgba(255,255,255,0.85);
    font-weight: 500;
}
.subpage-banner {
    height: auto;
    min-height: 400px;
    max-height: 60vh;
}

/* ======================
   RESPONSIVE
====================== */
@media (max-width: 992px) {
    .cta-container {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cta-card {
        width: 90%;
        max-width: 320px;
    }

    .banner-headline {
        font-size: 48px;
    }

    .banner-text-left .banner-title-main {
        font-size: 40px;
    }

    .stats {
        gap: 40px;
    }

    .stat::after {
        display: none;
    }

    .why-choose-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .why-choose-card {
        flex-direction: column;
        gap: 8px;
    }
}

@media (max-width: 768px) {
    /* 汉堡菜单 */
    .hamburger {
        display: block;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 8px 30px rgba(0, 51, 102, 0.1);
    }

    .nav-links.active {
        display: flex;
    }

    .nav-links a {
        margin: 0;
        padding: 14px 0;
        border-bottom: 1px solid #f0f0f0;
    }

    .nav-links a::after {
        display: none;
    }

    .lang-switch {
        margin-left: 0;
        margin-top: 12px;
        align-self: flex-start;
    }

    .lang-dropdown {
        right: auto;
        left: 0;
    }

    nav {
        position: relative;
    }

    .banner {
        min-height: 100dvh;
        height: auto;
        min-height: 500px;
        background-attachment: scroll;
    }

    .subpage-banner {
        min-height: 300px;
        max-height: 50vh;
    }

    .banner-headline {
        font-size: 32px;
        letter-spacing: 1px;
        margin-bottom: 12px;
    }

    .banner-sub {
        font-size: 15px;
        letter-spacing: 3px;
        margin-bottom: 12px;
    }

    .banner-text-left .banner-title-main {
        font-size: 28px;
    }

    .banner-text-left .banner-title-sub {
        font-size: 16px;
        letter-spacing: 3px;
    }

    .cta-container {
        gap: 16px;
    }

    .cta-card {
        width: 100%;
        max-width: none;
        padding: 24px 20px;
    }

    .cta-card .icon i {
        font-size: 36px;
        margin-bottom: 12px;
    }

    .cta-card h3 {
        font-size: 16px;
    }

    .about-content-wrapper,
    .services-content-layout {
        flex-direction: column;
    }

    .about-content,
    .services-text {
        width: 100%;
    }

    .services-media-and-cards {
        width: 100%;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .service-item {
        padding: 20px 16px;
        min-height: auto;
    }

    .service-item .icon i {
        font-size: 36px;
    }

    .section {
        padding: 60px 0;
    }

    .section-title {
        font-size: 28px;
    }

    .stats {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 24px;
    }

    .stat h3 {
        font-size: 32px;
    }

    .why-choose-grid {
        grid-template-columns: 1fr;
    }

    .why-choose-card {
        flex-direction: row;
        gap: 16px;
        border-bottom: 1px solid #eee;
        padding: 20px 0;
    }

    .why-choose-card:last-child {
        border-bottom: none;
    }

    .footer-top {
        flex-direction: column;
        gap: 20px;
    }

    .footer-info {
        flex-direction: column;
        align-items: center;
        gap: 16px;
    }
}

/* 触摸设备按下反馈 */
@media (hover: none) {
    .service-item:active {
        transform: scale(0.97);
        transition-duration: 0.1s;
    }

    .cta-card:active {
        transform: scale(0.97) translateY(-6px);
        transition-duration: 0.1s;
    }

    .btn:active {
        transform: scale(0.97);
        transition-duration: 0.1s;
    }

    .why-choose-card:active {
        background-color: #f0f2f5;
    }

    .carousel-dot:active {
        transform: scale(1.3);
    }
}
/* === style2.css 内容 === */
/* ======================
   子页面 Tab 切换布局
====================== */
.service-tabs {
    margin-top: 20px;
}

.tab-nav {
    display: flex;
    gap: 0;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    position: relative;
}

.tab-nav::-webkit-scrollbar {
    height: 0;
}

@media (max-width: 768px) {
    .tab-nav {
        mask-image: linear-gradient(to right, #000 90%, transparent 100%);
        -webkit-mask-image: linear-gradient(to right, #000 90%, transparent 100%);
    }
}

.tab-btn {
    padding: 14px 28px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    position: relative;
    border-bottom: 3px solid transparent;
    margin-bottom: -2px;
    font-family: inherit;
}

.tab-btn:hover {
    color: #003366;
    background-color: rgba(0, 51, 102, 0.04);
}

.tab-btn.active {
    color: #003366;
    border-bottom-color: #003366;
}

.tab-panel {
    display: none;
    animation: tabFadeIn 0.4s ease;
}

.tab-panel.active {
    display: block;
}

@keyframes tabFadeIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

.tab-panel-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 50px;
    padding: 40px 0;
    align-items: start;
}

.tab-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.tab-card {
    padding: 20px 18px;
    text-align: left;
    transition: background-color 0.2s ease;
    cursor: default;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    border-radius: 12px;
    background: rgba(0, 51, 102, 0.03);
}

.tab-card:hover {
    background-color: rgba(0, 51, 102, 0.06);
}

.tab-card .icon i {
    font-size: 36px;
    color: #003366;
    flex-shrink: 0;
    margin-top: 2px;
}

.tab-card h4 {
    font-size: 16px;
    color: #1a1a2e;
    font-weight: 700;
    margin-bottom: 4px;
}

.tab-card p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

/* Tab 面板右侧信息区 */
.tab-info h3 {
    font-size: 24px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}

.tab-info > .section-subtitle {
    display: block;
    color: #888;
    font-size: 14px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.tab-info > .intro-text {
    font-size: 15px;
    line-height: 2;
    color: #666;
    margin-bottom: 16px;
}

/* 服务优势列表 */
.service-advantages {
    margin-top: 28px;
    padding-top: 24px;
    border-top: 1px solid #eee;
}

.service-advantages h4 {
    font-size: 16px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.service-advantages h4 i {
    color: #003366;
}

.advantages-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.advantages-list li {
    padding: 8px 0;
    padding-left: 24px;
    position: relative;
    font-size: 14px;
    color: #555;
    line-height: 1.7;
}

.advantages-list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 14px;
    width: 8px;
    height: 8px;
    background: linear-gradient(135deg, #003366, #0066cc);
    border-radius: 50%;
}

/* 服务特色网格 */
.service-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 12px;
    margin-top: 30px;
}

.service-feature {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.06), rgba(0, 102, 204, 0.04));
    padding: 16px 14px;
    border-radius: 8px;
    text-align: left;
    transition: background 0.2s ease;
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.service-feature:hover {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.1), rgba(0, 102, 204, 0.07));
}

.service-feature i {
    font-size: 20px;
    color: #003366;
    flex-shrink: 0;
    margin-top: 1px;
}

.service-feature h5 {
    font-size: 13px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 2px;
}

.service-feature p {
    font-size: 12px;
    color: #666;
}

/* ======================
   子页面 banner 文字
====================== */
.banner-text-left {
    text-align: left;
    max-width: 600px;
}

.banner-text-left .banner-title-main {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 8px;
}

.banner-text-left .banner-title-sub {
    font-size: 20px;
    letter-spacing: 6px;
    opacity: 0.9;
}

/* ======================
   子页面关于部分样式
====================== */
.subpage-about .about-content {
    width: 100%;
    padding: 40px;
    box-sizing: border-box;
}

/* ======================
   服务流程板块
====================== */
.service-process {
    margin-top: 40px;
}

.process-steps {
    display: flex;
    gap: 0;
    justify-content: space-between;
    position: relative;
    margin-top: 30px;
}

.process-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: 60px;
    right: 60px;
    height: 2px;
    background: linear-gradient(90deg, #003366, #0066cc);
    opacity: 0.3;
}

.process-step {
    text-align: center;
    flex: 1;
    position: relative;
    z-index: 1;
}

.process-step .step-num {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, #003366, #0066cc);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 12px;
    box-shadow: 0 4px 15px rgba(0, 51, 102, 0.3);
}

.process-step h5 {
    font-size: 14px;
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 4px;
}

.process-step p {
    font-size: 12px;
    color: #888;
}

/* ======================
   仓库实景轮播 Banner
====================== */
.warehouse-carousel-section {
    padding: 0;
    margin: 0;
    max-width: none;
}

.warehouse-carousel {
    position: relative;
    height: auto;
    min-height: 80vh;
    max-height: 95vh;
    overflow: hidden;
    background: #0a1628;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 80vh;
}

.carousel-slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 2;
}

.carousel-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 20, 50, 0.75) 0%,
        rgba(0, 40, 80, 0.55) 50%,
        rgba(0, 0, 0, 0.45) 100%
    );
    z-index: 1;
}

.carousel-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    padding: 40px 20px;
    animation: carouselFadeUp 0.8s ease both;
}

.carousel-slide.active .carousel-content {
    animation: carouselFadeUp 0.8s ease both;
}

@keyframes carouselFadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.carousel-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 24px;
    border-radius: 100px;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 20px;
    font-weight: 500;
}

.carousel-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 12px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    letter-spacing: 3px;
}

.carousel-subtitle {
    font-size: 18px;
    opacity: 0.9;
    letter-spacing: 4px;
    font-weight: 300;
    margin-bottom: 36px;
}

.carousel-stats {
    display: flex;
    gap: 48px;
    justify-content: center;
}

.carousel-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
}

.carousel-stat span {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: 1px;
}

.carousel-stat small {
    font-size: 12px;
    opacity: 0.7;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* 详情信息面板 - 左下角 */
.carousel-detail {
    position: absolute;
    bottom: 60px;
    left: 0;
    z-index: 5;
    background: rgba(0, 10, 30, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 0 12px 0 0;
    padding: 20px 28px;
    max-width: 520px;
    color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.6s ease 0.3s, transform 0.6s ease 0.3s;
}

.carousel-slide.active .carousel-detail {
    opacity: 1;
    transform: translateY(0);
}

.carousel-detail p {
    font-size: 13px;
    line-height: 1.8;
    margin: 0;
    padding: 3px 0;
}

.carousel-detail strong {
    color: rgba(255, 255, 255, 0.6);
    font-weight: 500;
}

/* 圆点导航 */
.carousel-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    gap: 12px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.6);
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
}

.carousel-dot:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.3);
}

.carousel-dot.active {
    background: #fff;
    border-color: #fff;
    transform: scale(1.15);
}

/* 左右箭头 */
.carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0 0 2px 0;
}

.carousel-arrow:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-prev { left: 24px; }
.carousel-next { right: 24px; }

/* 暂停/播放按钮 */
.carousel-pause {
    position: absolute;
    bottom: 32px;
    right: 24px;
    z-index: 10;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 轮播进度条 */
.carousel-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 3px;
    background: linear-gradient(90deg, #4a9eff, #0066cc);
    z-index: 10;
    width: 0;
    transition: width 50ms linear;
}

.carousel-pause:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

.carousel-pause .fa-pause {
    display: inline;
}

.carousel-pause .fa-play {
    display: none;
}

.carousel-pause.paused .fa-pause {
    display: none;
}

.carousel-pause.paused .fa-play {
    display: inline;
}

/* ======================
   响应式调整
====================== */
@media (max-width: 992px) {
    .tab-panel-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .process-steps {
        flex-wrap: wrap;
        gap: 20px;
    }

    .process-steps::before {
        display: none;
    }

    .process-step {
        flex: 0 0 calc(50% - 10px);
    }
}

@media (max-width: 768px) {
    .tab-btn {
        padding: 12px 18px;
        font-size: 14px;
    }

    .tab-cards {
        grid-template-columns: 1fr;
    }

    .service-features {
        grid-template-columns: 1fr;
    }

    .banner-text-left .banner-title-main {
        font-size: 32px;
    }

    .process-step {
        flex: 0 0 100%;
    }

    .warehouse-carousel {
        min-height: 60vh;
    }

    .carousel-slides {
        min-height: 60vh;
    }

    .carousel-title {
        font-size: 32px;
    }

    .carousel-subtitle {
        font-size: 15px;
        letter-spacing: 2px;
    }

    .carousel-stats {
        gap: 28px;
    }

    .carousel-stat span {
        font-size: 22px;
    }

    .carousel-arrow {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .carousel-prev { left: 12px; }
    .carousel-next { right: 12px; }

    .carousel-detail {
        max-width: 360px;
        padding: 14px 18px;
        bottom: 70px;
    }

    .carousel-detail p {
        font-size: 12px;
    }

    .carousel-dots {
        bottom: 24px;
    }
}

@media (max-width: 480px) {
    .warehouse-carousel,
    .carousel-slides {
        min-height: 50vh;
    }

    .carousel-title {
        font-size: 26px;
    }

    .carousel-subtitle {
        font-size: 13px;
    }

    .carousel-stats {
        gap: 18px;
    }

    .carousel-stat span {
        font-size: 18px;
    }

    .carousel-stat small {
        font-size: 10px;
    }

    .carousel-arrow {
        display: none;
    }

    .carousel-detail {
        max-width: 100%;
        left: 0;
        right: 0;
        border-radius: 0;
        padding: 12px 16px;
        bottom: 70px;
    }

    .carousel-detail p {
        font-size: 11px;
        line-height: 1.6;
    }

    .carousel-dots {
        bottom: 20px;
    }

    .carousel-dot {
        width: 16px;
        height: 16px;
    }

    .carousel-pause {
        bottom: 20px;
        right: 16px;
        width: 32px;
        height: 32px;
    }
}
