:root {
    --primary: #00a89f;
    --primary-dark: #0f7f78;
    --text: #2f3740;
    --text-light: #66727e;
    --text-muted: #8a97a4;
    --line: #e2e7eb;
    --bg-soft: #f4f6f8;
}

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

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
    color: var(--text);
    background: #fff;
    line-height: 1.6;
}

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

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

.container {
    width: min(1200px, calc(100% - 40px));
    margin: 0 auto;
}

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: rgba(255, 255, 255, 0.96);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(5px);
}

.header-inner {
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
    color: #1e3f5a;
    white-space: nowrap;
}

.logo-icon {
    width: 36px;
    height: 36px;
    border-radius: 9px;
    background: linear-gradient(140deg, #1e97da 0%, #0f6ba8 100%);
    display: grid;
    place-items: center;
    color: #fff;
    font-size: 13px;
    font-weight: 700;
}

.nav {
    display: flex;
    gap: 34px;
}

.nav a {
    position: relative;
    font-size: 14px;
    color: #4f5964;
    padding: 25px 0;
}

.nav a.active,
.nav a:hover {
    color: var(--primary);
}

.nav a.active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2px;
    background: var(--primary);
}

.header-right {
    display: flex;
    align-items: center;
    gap: 14px;
}

.language-switch {
    display: inline-flex;
    align-items: center;
    padding: 4px;
    border: 1px solid #d8e0e8;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.06);
}

.language-option {
    min-width: 58px;
    padding: 8px 16px;
    border-radius: 999px;
    text-align: center;
    font-size: 13px;
    line-height: 1;
    color: #5f6c79;
    transition: background .2s ease, color .2s ease, box-shadow .2s ease;
}

.language-option.active {
    background: var(--primary);
    color: #fff;
    box-shadow: 0 8px 18px rgba(0, 168, 159, 0.28);
}

.language-option:not(.active):hover {
    color: var(--primary);
}

.search-btn,
.lang-btn {
    border: 0;
    background: transparent;
    color: #68737f;
    font-size: 13px;
    cursor: pointer;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 4px;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: #4f5964;
}

.page-banner {
    height: 420px;
    position: relative;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.page-banner .inner {
    position: relative;
    z-index: 1;
}

.page-banner h1 {
    font-size: clamp(32px, 5vw, 52px);
    letter-spacing: 5px;
    margin-bottom: 10px;
}

.page-banner p {
    font-size: clamp(14px, 1.5vw, 20px);
    letter-spacing: 1px;
    opacity: 0.95;
}

.section {
    padding: 80px 0;
}

.section-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.section-desc {
    text-align: center;
    color: var(--text-light);
    font-size: 14px;
    margin-bottom: 36px;
}

.btn,
.btn-outline {
    display: inline-block;
    border-radius: 2px;
    font-size: 13px;
    padding: 9px 22px;
    border: 1px solid var(--line);
    transition: all .2s;
}

.btn {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
}

.btn:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
}

.card {
    background: #fff;
    border: 1px solid #ebf0f3;
    border-radius: 4px;
}

.footer {
    background: #f5f7f8;
    border-top: 1px solid #e7ecef;
    margin-top: 20px;
    padding: 26px 0 18px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr repeat(5, 1fr);
    gap: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e4eaee;
}

.footer-contact h4,
.footer-nav h4 {
    font-size: 13px;
    margin-bottom: 10px;
    color: #3f4c59;
}

.footer-contact p,
.footer-nav li {
    font-size: 12px;
    color: #7b8794;
    margin-bottom: 6px;
}

.footer-nav ul {
    list-style: none;
}

.footer-nav a {
    color: inherit;
}

.footer-contact .phone {
    font-size: 22px;
    font-weight: 700;
    color: #35424e;
}

.footer-bottom {
    padding-top: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 12px;
    color: #9aa7b4;
}

.footer-bottom-links {
    display: flex;
    gap: 18px;
}

@media (max-width: 1080px) {
    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 74px;
        left: 0;
        right: 0;
        width: 100vw;
        background: #fff;
        border-bottom: 1px solid var(--line);
        flex-direction: column;
        gap: 0;
        min-height: calc(100dvh - 74px);
        padding: 8px 24px calc(20px + env(safe-area-inset-bottom));
        overflow-y: auto;
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        padding: 12px 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .search-box {
        display: none;
    }

    .language-option {
        min-width: 52px;
        padding: 8px 12px;
    }

    .page-banner {
        height: 320px;
    }
}

@media (max-width: 520px) {
    .container {
        width: calc(100% - 24px);
    }

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