/* 2. Global Reset */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', sans-serif; color: #111; background-color: #fff; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
img { max-width: 100%; display: block; }

/* 3. Header (Desktop - 原封不动) */
header {
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid #f0f0f0;
}
.logo-container { display: flex; align-items: center; gap: 10px; }
.logo-svg { height: 28px; }
.logo-text { font-size: 18px; font-weight: 700; letter-spacing: -0.5px; }
nav ul { display: flex; list-style: none; gap: 25px; }
nav a { font-size: 13px; font-weight: 500; text-transform: uppercase; color: #666; padding: 8px 16px; border-radius: 999px; transition: background-color 0.25s ease, color 0.25s ease; }
nav a:hover { color: #0070c0; }
nav a.active { background: #0070c0; color: #fff; }
nav a.active:hover { color: #fff; }

/* 4. Hero Section (Desktop) */
.hero { width: 100%; background-color: #111; }
.hero-content { display: flex; width: 100%; min-height: 80vh; flex-wrap: nowrap; }
.hero-text { flex: 1; min-width: 50%; color: #fff; padding: 80px 8%; display: flex; flex-direction: column; justify-content: center; }
.hero-text h1 { font-weight: 800; font-size: clamp(2.5rem, 5vw, 4.2rem); line-height: 1.05; margin-bottom: 25px; letter-spacing: -2px; }
.hero-text p { font-size: 16px; opacity: 0.7; margin-bottom: 40px; }
.hero-image-area { flex: 1; min-width: 50%; height: 80vh; overflow: hidden; }
.hero-main-img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; }
.btn-white { background: #fff; color: #111; padding: 16px 35px; border-radius: 30px; font-size: 13px; font-weight: 700; text-transform: uppercase; width: fit-content; }

/* 5. Stats & Experience (Desktop) */
.stats-bar {
    background-color: #fbc3bc;
    padding: 35px 20px;
    text-align: center;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.1rem;
}

.experience {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.experience .container {
    display: flex;
    max-width: 1450px;    /* 略微放宽容器，让大图有更多施展空间 */
    margin: 0 auto;
    padding: 0 4%;        /* 略微缩小两侧留白 */
    align-items: center;
    /* 核心修改：将间距从 180px 缩小到 80px，消除疏离感 */
    gap: 80px;
    flex-direction: row-reverse;
}

.experience-image {
    /* 核心修改：将比例从 1.6 提升到 2.2，图片现在占据了绝对的主导地位 */
    flex: 2.2;
    /* 核心修改：保留向右的偏移，让它依然有那种贴近边缘的高级感 */
    transform: translateX(50px);
    line-height: 0;
}

.experience-content {
    /* 文字部分保持紧凑 */
    flex: 0.6;
    text-align: left;
}

.experience-content h2 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 2.8rem;
    font-style: italic;
    font-weight: bold;
    line-height: 1.1;
    margin-bottom: 25px;
}

.experience-content p {
    font-size: 15px;
    color: #555;
    margin-bottom: 35px;
    line-height: 1.5;
}

.exp-img {
    width: 100%;
    height: 580px;        /* 再次增加高度，配合更宽的图片，保持壮观的比例 */
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 20px 45px rgba(0,0,0,0.1);
}

.btn-black {
    background: #111;
    color: #fff;
    padding: 16px 35px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

/* 6. Process Section (Desktop) */
.process { background-color: #fbc3bc; padding: 80px 5%; text-align: center; }
.process h2 { font-size: 2.5rem; margin-bottom: 60px; font-weight: 800; text-transform: uppercase; letter-spacing: -1.5px; }
.process-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 40px; max-width: 1100px; margin: 0 auto; }
.process-item { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.icon { height: 60px; display: flex; align-items: center; }
.svg-icon { width: 40px; height: 40px; }
.process-item p { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; }

/* 6.5 Floating Contact QR */
.floating-qr {
    position: fixed;
    right: 20px;
    top: 92px;
    bottom: auto;
    z-index: 1500;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.qr-item {
    width: clamp(96px, 11vw, 132px);
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid #e8e8e8;
    border-radius: 10px;
    padding: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.14);
    backdrop-filter: blur(2px);
    cursor: pointer;
}

.qr-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    border-radius: 6px;
    display: block;
}

.qr-item p {
    margin-top: 6px;
    text-align: center;
    font-size: 11px;
    font-weight: 700;
    color: #333;
    text-transform: none;
}

.qr-preview-modal {
    position: fixed;
    inset: 0;
    z-index: 2600;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.65);
    padding: 20px;
}

.qr-preview-modal.show {
    display: flex;
}

.qr-preview-content {
    width: min(90vw, 440px);
    background: #fff;
    border-radius: 14px;
    padding: 14px;
    position: relative;
    box-shadow: 0 18px 36px rgba(0, 0, 0, 0.24);
}

.qr-preview-content img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: contain;
    border-radius: 8px;
}

.qr-preview-content p {
    margin-top: 10px;
    text-align: center;
    font-size: 14px;
    font-weight: 700;
    color: #222;
}

.qr-preview-close {
    position: absolute;
    top: 6px;
    right: 8px;
    border: none;
    background: transparent;
    font-size: 30px;
    line-height: 1;
    color: #444;
    cursor: pointer;
}

/* ==========================================================================
   8. SITE FOOTER (shared with about page)
   ========================================================================== */
.mobile-footer { background: #0070c0; color: #fff; text-align: center; padding: 26px 20px; }
.mobile-footer .footer-inner { max-width: 1200px; margin: 0 auto; }
.mobile-footer h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 14px; }
.mobile-footer p { font-size: 14px; line-height: 1.7; }
.mobile-footer a { color: inherit; text-decoration: none; }
.mobile-footer a:hover { text-decoration: underline; }
.mobile-footer .footer-tagline { margin-top: 12px; font-style: italic; opacity: 0.9; }
.mobile-footer .copyright { font-size: 10px; opacity: 0.5; margin-top: 16px; }

@media (min-width: 769px) {
    .mobile-footer { text-align: center; padding: 54px 10%; }
    .mobile-footer h2 { font-size: 2rem; }
    .mobile-footer p { font-size: 16px; }
}

/* ==========================================================================
   7. MOBILE OPTIMIZATION (PHONE PAGE)
   ========================================================================== */
@media (max-width: 768px) {
    /* 手机端导航栏：转变为 Logo 下方的按钮条 */
    header {
        padding: 10px 15px;
        flex-direction: column; /* Logo 与 导航纵向排列 */
        gap: 12px;
    }

    nav {
        display: block; /* 开启导航显示 */
        width: 100%;
    }

    nav ul {
        display: flex;
        justify-content: space-between;
        gap: 4px; /* 按钮间距 */
        width: 100%;
    }

    nav li {
        flex: 1; /* 每个按钮平分宽度 */
    }

    nav a {
        display: block;
        background: #f5f5f5; /* 按钮灰色背景 */
        padding: 8px 0;
        text-align: center;
        border-radius: 4px;
        font-size: 10px; /* 适配 5 个按钮不换行 */
        font-weight: 700;
        border: 1px solid #e0e0e0;
        color: #333;
    }

    nav a:active {
        background: #0070c0;
        color: #fff;
        border-color: #0070c0;
    }

    /* Hero Mobile */
    .hero-content { flex-direction: column; }
    .hero-image-area { min-width: 100%; height: 40vh; order: 1; }
    .hero-text { min-width: 100%; padding: 40px 20px; text-align: center; align-items: center; order: 2; }
    .hero-text h1 { font-size: 2.2rem; }

    /* Experience Mobile */
    .experience { padding: 60px 0; }
    .experience .container { flex-direction: column; text-align: center; padding: 0 20px; }
    .experience-image { width: 100%; flex: none; transform: none; }
    .exp-img {
        width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
        object-position: center;
        margin-bottom: 20px;
    }
    .experience-content h2 { font-size: 2.4rem; }

    /* Process Mobile (垂直步骤流) */
    .process { padding: 60px 25px; background-color: #fbc3bc; }
    .process h2 { font-size: 1.8rem; margin-bottom: 40px; }
    .process-grid { display: flex; flex-direction: column; gap: 40px; align-items: center; }
    .process-item { display: flex; flex-direction: column; align-items: center; gap: 12px; width: 100%; max-width: 280px; }
    .icon { height: 50px; }
    .svg-icon { width: 38px; height: 38px; }
    .process-item p { font-size: 13px; font-weight: 700; line-height: 1.4; white-space: normal; }

    .process-item:not(:last-child)::after {
        content: ''; width: 1px; height: 25px; background-color: rgba(17, 17, 17, 0.2); margin-top: 10px;
    }

    .floating-qr {
        right: 10px;
        top: 108px;
        bottom: auto;
        gap: 8px;
    }

    .qr-item {
        width: clamp(78px, 24vw, 98px);
        padding: 6px;
        border-radius: 8px;
    }

    .qr-item p {
        font-size: 10px;
        margin-top: 4px;
    }

    .qr-preview-content {
        width: min(92vw, 340px);
        padding: 12px;
    }
}

/* ==========================================================================
   8. Contact Modal Styles
   ========================================================================== */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: flex;
    opacity: 1;
}

.modal-content {
    background-color: #fff;
    padding: 40px;
    border-radius: 12px;
    width: 90%;
    max-width: 420px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #aaa;
    cursor: pointer;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #111;
}

.modal-content h2 {
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -1px;
}

.contact-list {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contact-list li {
    font-size: 15px;
    display: flex;
    align-items: center;
}

.contact-list strong {
    width: 100px;
    color: #555;
    font-weight: 700;
}

.contact-list a {
    color: #111;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
}

.contact-list a:hover {
    color: #0070c0;
    text-decoration: underline;
}