*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; list-style: none; text-decoration: none; }
html { scroll-behavior: smooth; }

/* ── 自定义滚动条 ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb {
    background: rgba(180,180,180,0.45);
    border-radius: 999px;
    transition: background .2s;
}
::-webkit-scrollbar-thumb:hover { background: rgba(245,166,35,0.7); }
::-webkit-scrollbar-corner { background: transparent; }

/* Firefox */
* { scrollbar-width: thin; scrollbar-color: rgba(180,180,180,0.45) transparent; }
body { font-family: "微软雅黑", "PingFang SC", sans-serif; color: #333; line-height: 1.65; background: #fff; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
footer .container { width: 96%; max-width: 1600px; }
img { display: block; max-width: 100%; }

/* ── 导航 ── */
header {
    background: rgba(10, 10, 10, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    transition: background .3s, box-shadow .3s;
}
header.scrolled {
    background: rgba(10, 10, 10, 0.98);
    box-shadow: 0 2px 20px rgba(0,0,0,0.4);
}
.nav-wrapper { display: flex; justify-content: space-between; align-items: center; padding: 10px 2%; width: 100%; }

/* Logo */
.logo { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.logo-img { height: 42px; width: auto; object-fit: contain; display: block; flex-shrink: 0; }
.logo-info { display: flex; flex-direction: column; gap: 2px; }
.logo-text { color: #fff; font-size: 20px; font-weight: 700; letter-spacing: 0.5px; line-height: 1; }
.logo-tagline { color: #f5a623; font-size: 11px; letter-spacing: 0.5px; opacity: 0.85; }

/* Nav 菜单 */
.nav-menu { display: flex; align-items: center; gap: 4px; }
.nav-link {
    color: #bbb;
    font-size: 14px;
    padding: 6px 12px;
    border-radius: 6px;
    position: relative;
    transition: color .2s;
    white-space: nowrap;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: #f5a623;
    border-radius: 1px;
    transition: transform .25s ease;
}
.nav-link:hover { color: #fff; }
.nav-link:hover::after { transform: translateX(-50%) scaleX(1); }
.nav-link.active { color: #fff; }
.nav-link.active::after { transform: translateX(-50%) scaleX(1); }

/* CTA 按钮 */
.nav-cta {
    background: #f5a623;
    color: #fff !important;
    font-size: 14px !important;
    padding: 8px 20px !important;
    border-radius: 22px;
    margin-left: 8px;
    font-weight: 600;
    letter-spacing: 0.3px;
    transition: background .2s, box-shadow .2s, transform .15s !important;
    white-space: nowrap;
}
.nav-cta:hover {
    background: #e09010 !important;
    box-shadow: 0 4px 14px rgba(245,166,35,0.4);
    transform: translateY(-1px);
    color: #fff !important;
}
.nav-cta::after { display: none !important; }

/* 移动端汉堡按钮 */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 6px;
    border-radius: 6px;
    transition: background .2s;
}
.nav-toggle:hover { background: rgba(255,255,255,0.08); }
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ccc;
    border-radius: 2px;
    transition: transform .3s, opacity .3s, background .2s;
    transform-origin: center;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: #fff; }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: #fff; }

/* ── 通用标题 ── */
.section-title { text-align: center; padding: 64px 0 44px; }
.section-title h2 { font-size: 34px; color: #111; margin-bottom: 10px; position: relative; display: inline-block; }
.section-title h2::after { content: ''; display: block; width: 48px; height: 3px; background: #f5a623; margin: 12px auto 0; border-radius: 2px; }
.section-title p { color: #777; font-size: 15px; margin-top: 6px; }

/* ── 通用按钮 ── */
.btn { display: inline-block; padding: 13px 32px; background: #f5a623; color: #fff; border-radius: 30px; font-size: 16px; border: none; cursor: pointer; transition: background .2s, box-shadow .2s, transform .15s; }
.btn:hover { background: #e09010; box-shadow: 0 6px 20px rgba(245,166,35,0.35); transform: translateY(-1px); }
.btn-outline { background: transparent; border: 1.5px solid rgba(255,255,255,0.28); color: #ddd; font-size: 15px; padding: 12px 28px; }
.btn-outline:hover { background: rgba(255,255,255,0.07); border-color: rgba(255,255,255,0.55); color: #fff; transform: translateY(-1px); }

/* ── 页脚 ── */
footer { background: #0a0a0a; color: #666; }

/* 承诺横幅 */
.footer-top-bar {
    background: linear-gradient(90deg, #1a1200 0%, #241800 50%, #1a1200 100%);
    border-top: 1px solid rgba(245,166,35,0.25);
    border-bottom: 1px solid rgba(245,166,35,0.12);
    padding: 14px 0;
}
.footer-promises {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    row-gap: 8px;
}
.footer-promises li {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #c8a060;
    padding: 0 18px;
    white-space: nowrap;
}
.fp-icon { color: #f5a623; font-weight: 700; }
.fp-sep { color: rgba(245,166,35,0.22); font-size: 18px; padding: 0 !important; }

/* 主体区域 */
.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1.3fr 1fr;
    gap: 48px;
    padding: 40px 0 30px;
}

/* 品牌列 */
.footer-logo-text { color: #fff; font-size: 18px; font-weight: 700; margin-bottom: 10px; display: block; }
.footer-brand p { font-size: 13px; line-height: 1.85; color: #555; }
.footer-tagline {
    margin-top: 12px;
    font-size: 12px;
    color: #4a3a1a;
    font-style: italic;
    border-left: 2px solid rgba(245,166,35,0.3);
    padding-left: 10px;
    line-height: 1.7;
}
.footer-badges {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.footer-badge {
    font-size: 11px;
    color: #8a6a2a;
    border: 1px solid rgba(245,166,35,0.2);
    border-radius: 3px;
    padding: 2px 8px;
    background: rgba(245,166,35,0.05);
    white-space: nowrap;
}

/* 列标题 */
.footer-col h4 { color: #aaa; font-size: 13px; font-weight: 600; margin-bottom: 14px; letter-spacing: 0.5px; text-transform: uppercase; }

/* 通用段落 */
.footer-col p { font-size: 13px; color: #555; line-height: 1.85; margin-bottom: 8px; }
.footer-col p:last-child { margin-bottom: 0; }

/* 底部版权 */
.footer-bottom {
    border-top: 1px solid #161616;
    padding: 16px 0;
    text-align: center;
    font-size: 12px;
    color: #333;
}

/* ── 导航响应式 ── */
@media (max-width: 1024px) {
    .section-title { padding: 54px 0 36px; }
}

@media (max-width: 768px) {
    /* ── 手机导航下拉面板 ── */
    .nav-menu {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        gap: 0;
        padding: 0;
        background: rgba(10,10,14,0.98);
        backdrop-filter: blur(16px);
        -webkit-backdrop-filter: blur(16px);
        border-top: 1px solid rgba(255,255,255,0.08);
        box-shadow: 0 16px 40px rgba(0,0,0,0.5);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transition: max-height .4s cubic-bezier(.4,0,.2,1), opacity .28s ease;
    }
    .nav-menu.open {
        max-height: 560px;
        opacity: 1;
        pointer-events: auto;
    }
    /* 每个 li 全宽 */
    .nav-menu li { width: 100%; }
    /* 普通链接：全宽行 + 底部分割线 + 左侧橙色滑入条 */
    .nav-link {
        display: block;
        padding: 14px 24px;
        font-size: 15px;
        color: #999;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.05);
        transition: color .2s, background .2s;
    }
    .nav-link::before {
        content: '';
        position: absolute;
        left: 0; top: 0; bottom: 0;
        width: 3px;
        background: #f5a623;
        border-radius: 0 2px 2px 0;
        transform: scaleY(0);
        transform-origin: center;
        transition: transform .2s ease;
    }
    .nav-link::after { display: none; }
    .nav-link:hover { color: #f5a623; background: rgba(245,166,35,0.06); }
    .nav-link:hover::before,
    .nav-link.active::before { transform: scaleY(1); }
    .nav-link.active { color: #fff; }
    /* 最后一个 li（立即预约）：上方分割线 + 内边距包裹按钮 */
    .nav-menu li:last-child {
        padding: 14px 20px 20px;
        border-top: 1px solid rgba(255,255,255,0.08);
    }
    /* CTA 按钮：橙色全宽圆角块 */
    .nav-cta {
        display: block;
        width: 100%;
        text-align: center;
        background: #f5a623 !important;
        color: #fff !important;
        padding: 13px !important;
        border-radius: 8px !important;
        font-size: 15px !important;
        font-weight: 700;
        margin: 0 !important;
        letter-spacing: 0.3px;
        box-shadow: 0 4px 14px rgba(245,166,35,0.28);
        transition: background .2s !important;
    }
    .nav-cta:hover { background: #e09010 !important; transform: none; }
    .nav-cta::after { display: none !important; }
    .nav-wrapper { padding: 10px 16px; }
    .nav-toggle { display: flex; }
    .logo-img { height: 36px; }
    .footer-inner { grid-template-columns: 1fr; gap: 28px; padding: 32px 0 24px; }
    .footer-promises { justify-content: flex-start; }
    .footer-links li { margin-bottom: 8px; }
    .footer-badges { gap: 6px; }
    .section-title h2 { font-size: 26px; }
    /* 页脚左右间距 */
    footer .container { padding: 0 16px; }
    /* 隐藏关于我们列（手机端冗余） */
    .footer-inner > .footer-col:nth-child(2) { display: none; }
}

@media (max-width: 600px) {
    .section-title { padding: 40px 0 26px; }
    .section-title h2 { font-size: 23px; }
    .section-title p { font-size: 14px; }
    .footer-inner { gap: 22px; padding: 28px 0 18px; }
    footer .container { padding: 0 16px; }
}

@media (max-width: 390px) {
    .section-title h2 { font-size: 20px; }
    .footer-bottom { font-size: 11px; }
    footer .container { padding: 0 14px; }
}
