/* ========================================
   PMI泰瑞雅 - 统一导航栏 / 移动端汉堡菜单
   由 /js/index.js 注入的 .nav-mobile-toggle 需要本样式
   ======================================== */

.nav-mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
    color: inherit;
    line-height: 1;
}

.nav-mobile-toggle:hover {
    opacity: 0.7;
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 100;
        gap: 12px;
    }

    .nav.open {
        display: flex;
    }

    .nav .dropdown {
        position: static !important;
    }

    .nav .dropdown-menu {
        position: static !important;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        pointer-events: auto;
        padding-left: 16px;
    }

    .nav-mobile-toggle {
        display: block;
    }

    .header-container {
        position: relative;
    }
}

/* nav-link active 高亮（首页 hash 命中时）*/
.nav-link.active {
    color: var(--primary, #1a4d8c);
    font-weight: 600;
}

/* ========================================
   按钮系列（提取自各页面，统一到全局）
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 12px;
    transition: .3s;
    border: none;
    cursor: pointer;
    line-height: 1;
    white-space: nowrap;
}
.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.btn-primary {
    background: var(--primary, #FF6B35);
    color: #fff;
}
.btn-outline {
    background: transparent;
    color: var(--dark, #1A1A1A);
    border: 1px solid #e5e7eb;
    margin-left: 16px;
}
.btn-outline:hover {
    border-color: var(--primary, #FF6B35);
    color: var(--primary, #FF6B35);
}
@media (max-width: 768px) {
    .btn-outline {
        display: none;
    }
}
