/* ============================================================
   全局重置 & 基础
   ============================================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', 'PingFang SC', Roboto, 'Helvetica Neue', sans-serif;
    background: #f5f8fc;
    color: #1a2634;
    line-height: 1.6;
    padding-bottom: 80px;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

html {
    scroll-behavior: smooth;
}

/* ============================================================
   顶部工具栏
   ============================================================ */
.top-bar {
    background: #f5f7fa;
    border-bottom: 1px solid #e8ecf2;
    padding: 8px 0;
    font-size: 13px;
    color: #5a6a7e;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar .breadcrumb {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.top-bar .breadcrumb a {
    color: #1a5fc7;
    transition: color 0.2s;
}

.top-bar .breadcrumb a:hover {
    color: #0f4a9e;
    text-decoration: underline;
}

.top-bar .breadcrumb .sep {
    color: #b0c0d0;
}

.top-bar .breadcrumb .current {
    color: #2d4059;
    font-weight: 500;
}

.top-bar .right-actions {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

.top-bar .right-actions a {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #5a6a7e;
    transition: color 0.2s;
    font-size: 13px;
}

.top-bar .right-actions a:hover {
    color: #1a5fc7;
}

.top-bar .right-actions .phone-number {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    color: #1a5fc7;
    font-size: 16px;
    background: #eef4fe;
    padding: 2px 16px;
    border-radius: 30px;
}

.top-bar .right-actions .phone-number i {
    font-size: 14px;
}

.top-bar .right-actions .work-time {
    font-size: 12px;
    color: #8a9bb0;
}

/* ============================================================
   主头部（Logo + 导航）
   ============================================================ */
.main-header {
    background: #ffffff;
    box-shadow: 0 2px 12px rgba(0, 20, 50, 0.05);
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    padding: 16px 20px;
    gap: 12px;
}

.brand-area {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-area .logo-img {
    width: 52px;
    height: 52px;
    background: #eef4fe;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px dashed #c8d9f0;
    color: #b0c8e0;
    font-size: 22px;
    flex-shrink: 0;
}

.brand-area .brand-name {
    font-size: 22px;
    font-weight: 800;
    color: #0b2a4a;
    line-height: 1.2;
}

.brand-area .brand-name .accent {
    background: linear-gradient(135deg, #1a5fc7, #4a8de8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.brand-area .brand-sub {
    font-size: 13px;
    color: #6b7f98;
    font-weight: 400;
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: wrap;
}

.main-nav a {
    padding: 8px 18px;
    font-size: 15px;
    font-weight: 600;
    color: #2d4059;
    border-radius: 30px;
    transition: all 0.2s;
    white-space: nowrap;
}

.main-nav a.btn-nav:hover {
    background: #c62832;  /* 深红色背景 */
    color: #fff;          /* 悬停时文字强制变成白色 */
}
.main-nav a.active {
    background: #1a5fc7;
    color: #fff;
}

.main-nav a .badge-hot {
    background: #ff6b4a;
    color: #fff;
    font-size: 10px;
    padding: 1px 8px;
    border-radius: 30px;
    margin-left: 4px;
    font-weight: 700;
    vertical-align: top;
}

/* ============================================================
   金牌推荐横幅
   ============================================================ */
.gold-banner {
    background: linear-gradient(135deg, #fff8ec 0%, #fff3e0 100%);
    border-bottom: 3px solid #f5a623;
    padding: 14px 0;
    position: relative;
    overflow: hidden;
}

.gold-banner::before {
    content: '★';
    position: absolute;
    right: 40px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 80px;
    color: rgba(245, 166, 35, 0.06);
    font-family: Arial, sans-serif;
}

.gold-banner .container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.gold-banner .gold-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #f5a623, #e8920c);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    padding: 4px 20px 4px 16px;
    border-radius: 30px;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 12px rgba(245, 166, 35, 0.3);
    flex-shrink: 0;
}

.gold-banner .gold-tag i {
    font-size: 18px;
}

.gold-banner .gold-text {
    font-size: 15px;
    color: #6b5a3a;
    font-weight: 500;
    flex: 1;
}

.gold-banner .gold-text strong {
    color: #e8920c;
    font-weight: 700;
}

.gold-banner .gold-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5a623;
    color: #fff;
    font-weight: 700;
    font-size: 14px;
    padding: 8px 24px;
    border-radius: 30px;
    transition: all 0.2s;
    flex-shrink: 0;
}

.gold-banner .gold-cta:hover {
    background: #e8920c;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(245, 166, 35, 0.3);
}

/* ============================================================
   轮播图
   ============================================================ */
.banner-slider {
    position: relative;
    width: 100%;
    height: 320px;
    background: #f0f4fa;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 24px;
    border: 1px solid #eef3fa;
}

.banner-slider .slides {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.5s ease;
}

.banner-slider .slide {
    flex: 0 0 100%;
    height: 100%;
    background: #f0f4fa;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #b0c8e0;
    font-weight: 500;
    flex-direction: column;
    gap: 10px;
}

.banner-slider .slide i {
    font-size: 48px;
    color: #c8d9f0;
}

.banner-slider .slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    color: #1a5fc7;
    transition: all 0.2s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.banner-slider .slider-btn:hover {
    background: #ffffff;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.banner-slider .slider-btn.prev {
    left: 16px;
}

.banner-slider .slider-btn.next {
    right: 16px;
}

.banner-slider .dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 10;
}

.banner-slider .dots .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(26, 95, 199, 0.25);
    border: none;
    cursor: pointer;
    transition: all 0.3s;
    padding: 0;
}

.banner-slider .dots .dot.active {
    background: #1a5fc7;
    width: 28px;
    border-radius: 6px;
}

/* ============================================================
   底部
   ============================================================ */
.footer-cta {
    background: linear-gradient(135deg, #0b2a4a, #1a3a5a);
    padding: 36px 0;
    color: #fff;
}

.footer-cta .container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.footer-cta .left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-cta .left .big {
    font-size: 28px;
    font-weight: 800;
}

.footer-cta .left .big i {
    color: #ffd700;
    margin-right: 10px;
}

.footer-cta .left .sub {
    font-size: 15px;
    opacity: 0.8;
}

.footer-cta .right {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ffd700;
    color: #0b2a4a;
    font-weight: 700;
    font-size: 16px;
    padding: 12px 36px;
    border-radius: 60px;
    border: none;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 8px 24px rgba(255, 215, 0, 0.3);
}

.footer-cta .btn-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(255, 215, 0, 0.4);
    background: #ffe44d;
}

.footer-cta .btn-cta i {
    font-size: 18px;
}

.footer-cta .phone-big {
    font-size: 22px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-cta .phone-big i {
    color: #ffd700;
}

.footer-info {
    background: #0f2842;
    padding: 30px 0 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-info .container {
    text-align: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.55);
    line-height: 2;
}

.footer-info .container .suggestion {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 10px;
}

.footer-info .container .suggestion i {
    color: #ffd700;
    margin-right: 6px;
}

.footer-info .container .divider {
    display: inline-block;
    margin: 0 8px;
    color: rgba(255, 255, 255, 0.15);
}

.footer-info .container a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.2s;
}

.footer-info .container a:hover {
    color: #fff;
}

.footer-info .container .links {
    margin-top: 6px;
}

.footer-info .container .links a {
    margin: 0 6px;
}

.footer-bottom {
    background: #081d33;
    padding: 16px 0;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-bottom .container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px 16px;
}

.footer-bottom a {
    color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
    color: #fff;
}

/* ============================================================
   底部悬浮快捷栏
   ============================================================ */
.float-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #ffffff;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
    border-top: 1px solid #eef3fa;
    z-index: 999;
    padding: 8px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    backdrop-filter: blur(8px);
    background: rgba(255, 255, 255, 0.95);
}

.float-bar .float-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    max-width: 200px;
    padding: 4px 8px;
    border: none;
    background: transparent;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.2s ease;
    color: #4a5a6e;
    font-size: 11px;
    font-weight: 600;
    gap: 2px;
    text-decoration: none;
    position: relative;
}

.float-bar .float-btn:hover {
    background: #f0f7ff;
    color: #1a5fc7;
}

.float-bar .float-btn i {
    font-size: 22px;
    color: #1a5fc7;
    transition: transform 0.2s;
}

.float-bar .float-btn:hover i {
    transform: scale(1.1);
}

.float-bar .float-btn .btn-label {
    font-size: 10px;
    font-weight: 500;
    color: #6b7f98;
    letter-spacing: 0.3px;
}

.float-bar .float-btn .badge-dot {
    position: absolute;
    top: 2px;
    right: 18%;
    width: 8px;
    height: 8px;
    background: #ff6b4a;
    border-radius: 50%;
    border: 2px solid #fff;
    animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

.float-bar .float-btn.wechat i {
    color: #07c160;
}
.float-bar .float-btn.wechat:hover {
    background: #f0faf2;
    color: #07c160;
}
.float-bar .float-btn.wechat .btn-label {
    color: #07c160;
}

.float-bar .float-btn.phone i {
    color: #ff6b4a;
}
.float-bar .float-btn.phone:hover {
    background: #fff5f0;
    color: #ff6b4a;
}
.float-bar .float-btn.phone .btn-label {
    color: #ff6b4a;
}

.float-bar .float-btn.book i {
    color: #f5a623;
}
.float-bar .float-btn.book:hover {
    background: #fff8ec;
    color: #f5a623;
}
.float-bar .float-btn.book .btn-label {
    color: #f5a623;
}

.float-bar .divider {
    width: 1px;
    height: 36px;
    background: #eef3fa;
    flex-shrink: 0;
}

/* ============================================================
   基础响应式（适用于公共组件）
   ============================================================ */
@media (max-width: 1024px) {
    .page-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar .container {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
    }
    .top-bar .breadcrumb {
        justify-content: center;
        font-size: 12px;
    }
    .top-bar .right-actions {
        justify-content: center;
    }

    .main-header .container {
        flex-direction: column;
        align-items: center;
        padding: 12px 16px;
    }
    .brand-area {
        justify-content: center;
    }
    .brand-area .brand-name {
        font-size: 18px;
    }
    .main-nav {
        justify-content: center;
        gap: 2px;
    }
    .main-nav a {
        padding: 6px 12px;
        font-size: 13px;
    }

    .gold-banner .container {
        flex-direction: column;
        text-align: center;
    }
    .gold-banner .gold-text {
        text-align: center;
    }

    .banner-slider {
        height: 200px;
    }

    .footer-cta .container {
        flex-direction: column;
        text-align: center;
    }
    .footer-cta .left {
        justify-content: center;
    }
    .footer-cta .right {
        justify-content: center;
    }

    .footer-bottom .container {
        flex-direction: column;
        gap: 4px;
    }

    .float-bar .float-btn i {
        font-size: 20px;
    }
    .float-bar .float-btn .btn-label {
        font-size: 9px;
    }
    .float-bar .divider {
        height: 30px;
    }
    .float-bar .float-btn .badge-dot {
        right: 12%;
        width: 6px;
        height: 6px;
    }
}

@media (max-width: 480px) {
    .top-bar .right-actions .phone-number {
        font-size: 14px;
        padding: 2px 12px;
    }
    .top-bar .right-actions .work-time {
        font-size: 11px;
    }
    .brand-area .logo-img {
        width: 42px;
        height: 42px;
        font-size: 18px;
    }
    .brand-area .brand-name {
        font-size: 16px;
    }
    .main-nav a {
        padding: 4px 10px;
        font-size: 12px;
    }
    .gold-banner .gold-tag {
        font-size: 14px;
        padding: 4px 14px;
    }
    .gold-banner .gold-cta {
        font-size: 13px;
        padding: 6px 18px;
    }

    .footer-cta .left .big {
        font-size: 20px;
    }
    .footer-cta .btn-cta {
        font-size: 14px;
        padding: 10px 24px;
    }
    .footer-cta .phone-big {
        font-size: 18px;
    }
    .footer-info .container {
        font-size: 12px;
    }
    .footer-info .container .suggestion {
        font-size: 13px;
    }

    .float-bar .float-btn {
        padding: 2px 4px;
        font-size: 10px;
    }
    .float-bar .float-btn i {
        font-size: 18px;
    }
    .float-bar .float-btn .btn-label {
        font-size: 8px;
    }
    .float-bar .divider {
        height: 24px;
    }

    .banner-slider {
        height: 160px;
    }
    .banner-slider .slider-btn {
        width: 30px;
        height: 30px;
        font-size: 14px;
    }
    .banner-slider .slider-btn.prev {
        left: 8px;
    }
    .banner-slider .slider-btn.next {
        right: 8px;
    }
}