/* === 易视康官网样式 === */

:root {
    --primary: #1a73e8;
    --primary-dark: #1557b0;
    --primary-light: #e8f0fe;
    --accent: #ff6b35;
    --accent-dark: #e55a28;
    --dark: #1a1a2e;
    --gray-100: #f8f9fa;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-600: #6c757d;
    --gray-800: #343a40;
    --radius: 12px;
    --shadow: 0 2px 16px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body { 
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    color: #333;
    line-height: 1.7;
    overflow-x: hidden;
}

a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }

/* Top Bar */
.top-bar {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    font-size: 0.85rem;
    padding: 8px 0;
}
.top-bar a { color: rgba(255,255,255,0.6); font-size: 0.8rem; }
.top-bar a:hover { color: #fff; }

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-text .brand-main {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
}
.brand-text .brand-sub {
    display: block;
    font-size: 0.7rem;
    color: var(--gray-600);
    letter-spacing: 4px;
    margin-top: -2px;
}
.brand-logo {
    max-height: 45px;
    width: auto;
}
/* logo + 品牌文字 并排显示 */
.brand-both {
    display: flex;
    align-items: center;
    gap: 10px;
}
.brand-both .brand-text-inline {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}
.brand-both .brand-text-inline .brand-main {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: 2px;
}
.brand-both .brand-text-inline .brand-sub {
    font-size: 0.65rem;
    color: var(--gray-600);
    letter-spacing: 3px;
}

.navbar { padding: 0.5rem 0; }
.navbar-nav .nav-link {
    color: #333;
    font-weight: 500;
    padding: 0.5rem 1rem;
    font-size: 0.95rem;
    position: relative;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: var(--primary);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
    transform: translateX(-50%);
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    width: 60%;
}

.dropdown-menu { border: none; box-shadow: var(--shadow-lg); border-radius: var(--radius); }
.dropdown-item { padding: 0.6rem 1.5rem; font-size: 0.9rem; }
.dropdown-item:hover { background: var(--primary-light); color: var(--primary); }

/* Hero */
.hero-banner {
    position: relative;
    background: linear-gradient(135deg, #0d47a1 0%, #1565c0 30%, #1a73e8 60%, #42a5f5 100%);
    min-height: 560px;
    display: flex;
    align-items: center;
    overflow: hidden;
}
.hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.hero-content { position: relative; z-index: 1; padding: 80px 0; }
.hero-title {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    line-height: 1.2;
    margin-bottom: 1rem;
}
.hero-title span {
    display: block;
    font-size: 2.2rem;
    font-weight: 600;
    color: rgba(255,255,255,0.9);
}
.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.8;
}
.hero-btns .btn-primary {
    background: #fff;
    color: var(--primary);
    border: none;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
}
.hero-btns .btn-primary:hover {
    background: var(--accent);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(255,107,53,0.4);
}
.hero-btns .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 50px;
}
.hero-btns .btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: flex-end;
}
.stat-item {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border-radius: var(--radius);
    padding: 24px;
    text-align: center;
    min-width: 120px;
    border: 1px solid rgba(255,255,255,0.2);
}
.stat-number {
    display: block;
    font-size: 2.2rem;
    font-weight: 800;
    color: #fff;
}
.stat-label {
    display: block;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
}

.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; }
.hero-wave svg { display: block; }

/* 纯图片模式：没有文字内容时 */
.hero-banner--image-only {
    min-height: 0 !important;
    padding: 0 !important;
}
.hero-banner--image-only .hero-wave {
    display: none !important;
}
.hero-banner--image-only[style*="background-image"] {
    min-height: 400px;
}

/* Advantage */
.advantage-section {
    padding: 60px 0 30px;
    background: #fff;
}
.advantage-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius);
    background: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.advantage-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}
.adv-icon {
    width: 64px;
    height: 64px;
    line-height: 64px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    font-size: 1.6rem;
    margin: 0 auto 16px;
}
.advantage-card h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.advantage-card p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin: 0;
}

/* Section Common */
.section { padding: 70px 0; }
.section-header { margin-bottom: 40px; }
.section-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 8px;
}
.section-desc {
    font-size: 1rem;
    color: var(--gray-600);
}
.bg-light { background: var(--gray-100) !important; }

/* Product Cards */
.product-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.product-img {
    position: relative;
    height: 220px;
    background: var(--gray-100);
    overflow: hidden;
}
.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}
.product-card:hover .product-img img { transform: scale(1.05); }
.product-img-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: var(--gray-300);
}
.product-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: #fff;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
}
.product-info {
    padding: 20px;
}
.product-cat {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.product-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 6px 0 8px;
}
.product-info p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 12px;
}

/* Join Section */
.join-section .section-title { font-size: 1.8rem; }
.join-desc { color: var(--gray-600); margin-bottom: 1.5rem; }
.join-features {
    list-style: none;
    padding: 0;
    margin-bottom: 1rem;
}
.join-features li {
    padding: 6px 0;
    color: var(--gray-800);
}
.join-features li i { color: var(--primary); margin-right: 8px; }
.join-form-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px;
    box-shadow: var(--shadow-lg);
}
.join-form-card h4 {
    font-weight: 700;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-light);
    color: var(--dark);
}
.form-control {
    border-radius: 8px;
    border: 1px solid var(--gray-300);
    padding: 10px 16px;
    transition: var(--transition);
}
.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26,115,232,0.15);
}
.btn-primary {
    background: var(--primary);
    border: none;
    border-radius: 8px;
    padding: 10px 24px;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(26,115,232,0.3);
}
.btn-outline-primary {
    border-color: var(--primary);
    color: var(--primary);
    border-radius: 8px;
}
.btn-outline-primary:hover {
    background: var(--primary);
    color: #fff;
}

/* News Section */
.news-featured {
    background: var(--primary-light);
    border-radius: var(--radius);
    padding: 32px;
    height: 100%;
    border-left: 4px solid var(--primary);
}
.news-featured h3 { font-size: 1.3rem; font-weight: 700; margin: 8px 0; }
.news-featured h3 a { color: #fff; }
.news-featured h3 a:hover { color:  #fff; }
.news-featured p { color:  #fff; font-size: 0.9rem; }
.news-date { font-size: 0.8rem; color:  #fff; }

.news-list-sidebar { 
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.news-list-sidebar h5 {
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}
.news-item {
    display: flex;
    align-items: baseline;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px dashed var(--gray-200);
    color: #333;
    transition: var(--transition);
}
.news-item:last-child { border-bottom: none; }
.news-item:hover { color: var(--primary); }
.news-item-date {
    font-size: 0.75rem;
    color: var(--primary);
    font-weight: 600;
    white-space: nowrap;
    min-width: 40px;
}
.news-item-title {
    font-size: 0.9rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    min-width: 0;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    padding: 70px 0;
    color: #fff;
}
.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}
.cta-section p { font-size: 1.1rem; opacity: 0.9; }
.cta-phone {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: 4px;
    color: #fff;
    margin: 10px 0;
    text-shadow: 0 2px 8px rgba(0,0,0,0.2);
}
.cta-btns .btn-light {
    color: var(--primary);
    font-weight: 700;
    padding: 12px 36px;
    border-radius: 50px;
}
.cta-btns .btn-outline-light {
    border: 2px solid rgba(255,255,255,0.6);
    color: #fff;
    font-weight: 700;
    padding: 12px 36px;
    border-radius: 50px;
}
.cta-btns .btn-outline-light:hover {
    background: #fff;
    color: var(--primary);
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: rgba(255,255,255,0.7);
    padding: 60px 0 0;
}
.site-footer h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 16px;
    font-size: 1.05rem;
}
.footer-desc { font-size: 0.9rem; line-height: 1.8; }
.footer-social { margin-top: 16px; }
.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    margin-right: 8px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--primary); transform: translateY(-2px); }
.footer-links {
    list-style: none;
    padding: 0;
}
.footer-links li { margin-bottom: 8px; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-links a:hover { color: #fff; padding-left: 4px; }
.footer-contact {
    list-style: none;
    padding: 0;
}
.footer-contact li {
    margin-bottom: 8px;
    font-size: 0.85rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}
.footer-contact li i { color: rgba(255,255,255,0.4); margin-top: 4px; }
.footer-qr .qr-placeholder {
    width: 100px;
    height: 100px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
}
.footer-qr p { font-size: 0.75rem; margin-top: 4px; }
.footer-friendlinks {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 32px;
    padding: 16px 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.55);
    display: flex;
    flex-wrap: wrap;
    gap: 6px 14px;
    align-items: center;
}
.footer-friendlinks .friendlinks-label {
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
}
.footer-friendlinks a {
    color: rgba(255,255,255,0.55);
    transition: color 0.2s;
}
.footer-friendlinks a:hover {
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    margin-top: 0;
    padding: 20px 0;
    text-align: center;
    font-size: 0.8rem;
}
.footer-bottom p { margin: 0; }

/* ===== Inner Pages ===== */
.page-header {
    background: linear-gradient(135deg, #0d47a1, #1a73e8);
    padding: 60px 0;
    color: #fff;
    text-align: center;
}
.page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.page-header .breadcrumb {
    justify-content: center;
    background: none;
    margin: 0;
}
.page-header .breadcrumb-item a,
.page-header .breadcrumb-item a:hover { color: #fff !important; }
.page-header .breadcrumb-item.active { color: #fff !important; }
.page-header .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.5) !important; }
.breadcrumb a,
.breadcrumb a:hover { color: #fff !important; }

.page-content { padding: 50px 0; }

/* Article/News List */
.article-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    transition: var(--transition);
}
.article-card:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-lg);
}
.article-card-img {
    width: 200px;
    height: 140px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}
.article-card-img img { width: 100%; height: 100%; object-fit: cover; }
.article-card-body { flex: 1; }
.article-card-body h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 8px; }
.article-card-body h3 a { color: var(--dark); }
.article-card-body h3 a:hover { color: var(--primary); }
.article-card-body p { color: var(--gray-600); font-size: 0.9rem; margin-bottom: 8px; }
.article-meta {
    font-size: 0.8rem;
    color: var(--gray-600);
}
.article-meta span { margin-right: 16px; }
.article-meta i { margin-right: 4px; }

/* Product Detail */
.product-detail-header {
    background: var(--gray-100);
    padding: 50px 0;
}
.product-detail-img {
    border-radius: var(--radius);
    overflow: hidden;
    background: #fff;
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.product-detail-img img { max-width: 100%; max-height: 400px; }
.product-detail-img .placeholder {
    font-size: 5rem;
    color: var(--gray-300);
}
.product-detail-info h1 { font-size: 1.8rem; font-weight: 800; }
.product-detail-info .meta { color: var(--gray-600); margin: 10px 0; }

/* Page Content (单页) */
.page-content .content {
    font-size: 1rem;
    line-height: 1.9;
    color: #444;
}
.page-content .content h2 { font-size: 1.5rem; margin: 24px 0 12px; font-weight: 700; }
.page-content .content h3 { font-size: 1.2rem; margin: 20px 0 10px; font-weight: 700; }
.page-content .content ul, .page-content .content ol { padding-left: 20px; }
.page-content .content li { margin-bottom: 6px; }
.page-content .content img { max-width: 100%; border-radius: var(--radius); }

/* Contact Page */
.contact-info-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
    height: 100%;
}
.contact-info-card .ci-icon {
    width: 48px;
    height: 48px;
    line-height: 48px;
    border-radius: 50%;
    background: var(--primary-light);
    color: var(--primary);
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 12px;
}
.contact-info-card h4 { font-size: 1rem; font-weight: 700; margin-bottom: 6px; }
.contact-info-card p { font-size: 0.9rem; color: var(--gray-600); margin: 0; }

/* Sidebar */
.sidebar {
    background: #fff;
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: var(--shadow);
}
.sidebar h5 {
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--primary-light);
}
.sidebar-nav {
    list-style: none;
    padding: 0;
}
.sidebar-nav li { margin-bottom: 4px; }
.sidebar-nav a {
    display: block;
    padding: 10px 16px;
    border-radius: 8px;
    color: #555;
    font-size: 0.9rem;
    transition: var(--transition);
}
.sidebar-nav a:hover, .sidebar-nav a.active {
    background: var(--primary-light);
    color: #fff;
    font-weight: 600;
}

/* Pagination */
.pagination { justify-content: center; margin-top: 30px; }
.page-link { border-radius: 8px; margin: 0 3px; color: var(--primary); border: none; }
.page-item.active .page-link { background: var(--primary); }

/* Back to top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    border: none;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(26,115,232,0.4);
    z-index: 999;
    transition: var(--transition);
}
.back-to-top:hover { transform: translateY(-2px); background: var(--primary-dark); }

/* Responsive */
@media (max-width: 991px) {
    .hero-title { font-size: 2rem; }
    .hero-title span { font-size: 1.6rem; }
    .hero-banner { min-height: auto; }
    .hero-content { padding: 50px 0; }
    .section { padding: 40px 0; }
    .section-title { font-size: 1.6rem; }
    .article-card { flex-direction: column; }
    .article-card-img { width: 100%; height: 180px; }
    .navbar-collapse { padding: 12px 0; }
    /* 移动端隐藏导航下划线 */
    .navbar-nav .nav-link::after { display: none; }
    /* 移动端dropdown嵌套适配 */
    .navbar-collapse .dropdown-menu {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        padding: 0 0 0 1rem;
        border: none;
    }
    .navbar-collapse .dropdown-item {
        padding: 0.4rem 1rem;
        font-size: 0.85rem;
    }
}

@media (max-width: 767px) {
    .hero-title { font-size: 1.6rem; }
    .hero-title span { font-size: 1.3rem; }
    .hero-subtitle { font-size: 0.9rem; }
    .cta-phone { font-size: 1.8rem; }
    .cta-section h2 { font-size: 1.4rem; }
    .product-detail-header { padding: 30px 0; }
    .page-header { padding: 40px 0; }
    .page-header h1 { font-size: 1.5rem; }
    .hero-btns .btn { padding: 10px 24px; font-size: 0.9rem; }
}

.min-vh-60 { min-height: 60vh; }

/* Ad styles */
.topbar-notice {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
    white-space: nowrap;
    overflow: hidden;
}
.topbar-notice .notice-text {
    display: inline-block;
    animation: scroll 15s linear infinite;
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.sidebar-ad img { border-radius: 8px; }
.sidebar-ad + .sidebar-ad { margin-top: 12px; }

.content-ad-banner { margin-bottom: 16px; }
.content-ad-banner img { border-radius: 8px; display: block; }

.join-poster { max-height: 360px; overflow: hidden; }
.join-poster img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

/* Expert Cards */
.expert-card {
    background: #fff;
    border-radius: var(--radius);
    padding: 32px 20px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.expert-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}
.expert-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 16px;
    background: var(--primary-light);
    border: 3px solid var(--primary-light);
}
.expert-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.expert-avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}
.expert-card h4 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--dark);
}
.expert-title {
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 600;
    margin-bottom: 4px;
}
.expert-cat {
    font-size: 0.75rem;
    color: var(--gray-600);
    margin: 0;
}

/* Floating Consultation Button */
.consult-float {
    position: fixed;
    z-index: 999;
    bottom: 90px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(255,107,53,0.4);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}
.consult-float:hover {
    background: var(--accent-dark);
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255,107,53,0.5);
}
.consult-float.consult-right { right: 24px; }
.consult-float.consult-left { left: 24px; }
/* middle-right: 垂直居中 + 右侧 */
.consult-float.consult-middle-right {
    right: 24px;
    top: 50%;
    bottom: auto;
    transform: translateY(-50%);
}
.consult-float.consult-middle-right:hover {
    transform: translateY(calc(-50% - 2px));
}

@media (max-width: 767px) {
    .consult-float {
        padding: 10px 18px;
        font-size: 0.85rem;
        bottom: 80px;
    }
    .consult-float.consult-right { right: 12px; }
    .consult-float.consult-left { left: 12px; }
    .consult-float.consult-middle-right { right: 12px; }
}
