/* ============================================================
   layout.css - 布局、顶部栏、导航、页脚
   ============================================================ */

/* ---------- 顶部栏 ---------- */
.top-bar {
    background: #1f2a3f;
    color: #eef2f5;
    font-size: 0.9rem;
    padding: 0.4rem 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.top-bar .contact-phone a {
    color: #eef2f5;
    transition: color 0.2s;
}

.top-bar .contact-phone a:hover {
    color: #b8ccdd;
}

.top-bar .contact-phone i {
    margin-right: 6px;
    color: #b8ccdd;
}

.lang-switch {
    display: flex;
    gap: 6px;
    align-items: center;
}

.lang-btn {
    background: transparent;
    border: none;
    color: #d4dee8;
    font-size: 0.9rem;
    padding: 4px 12px;
    cursor: pointer;
    font-weight: 400;
    transition: 0.15s;
    border-radius: 20px;
}

.lang-btn.active {
    background: #3a4b60;
    color: white;
}

.lang-btn:hover {
    background: #33465b;
    color: white;
}

.lang-divider {
    color: #5b6f84;
    margin: 0 2px;
}

.lang-status {
    font-size: 0.7rem;
    color: #8aa3b9;
    margin-left: 8px;
}

.lang-status i {
    margin-right: 3px;
}

/* ---------- 导航栏 ---------- */
.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(4px);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid #eaeef3;
    padding: 0.6rem 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    font-weight: 600;
    font-size: 1.3rem;
    color: #1f2a3f;
    letter-spacing: 1px;
}

.logo span {
    font-weight: 300;
    color: #6a7f94;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
    font-weight: 400;
    color: #1f2a3f;
}

.nav-links a {
    font-size: 0.95rem;
    transition: 0.15s;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    cursor: pointer;
}

.nav-links a:hover {
    border-bottom-color: #7f96ab;
    color: #0f1a2b;
}

.nav-links .contact-highlight {
    background: #1f2a3f;
    color: white;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-weight: 400;
    border-bottom: none;
}

.nav-links .contact-highlight:hover {
    background: #2c3d57;
    border-bottom: none;
}

.mobile-nav-toggle {
    display: none;
    font-size: 1.6rem;
    background: none;
    border: none;
    color: #1f2a3f;
    cursor: pointer;
}

/* ---------- 页脚 ---------- */
.footer {
    background: #1a2535;
    color: #ccd8e3;
    padding: 2.8rem 0 1.8rem;
    margin-top: 3rem;
    border-top: 2px solid #2b3d53;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
}

.footer h5 {
    color: #eef4f9;
    font-weight: 500;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer p,
.footer li {
    font-weight: 300;
    color: #b3c4d4;
    font-size: 0.9rem;
    list-style: none;
    margin-bottom: 0.3rem;
}

.footer ul {
    padding-left: 0;
}

.footer ul li a {
    color: #b3c4d4;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.footer ul li a:hover {
    color: white;
}

.footer ul li a i {
    font-size: 1rem;
}

.footer .contact-link {
    color: #b3c4d4;
    transition: color 0.2s;
}

.footer .contact-link:hover {
    color: white;
}

.footer-bottom {
    border-top: 1px solid #2a3c51;
    margin-top: 2rem;
    padding-top: 1.2rem;
    text-align: center;
    font-size: 0.8rem;
    color: #8ea2b7;
}