/* ============ pages-main.css = index/service/ontology 三页共享框架 ============ */

body {
            font-family: var(--font);
            background: var(--white);
            color: var(--dark-600);
            line-height: 1.7;
            -webkit-font-smoothing: antialiased;
            -moz-osx-font-smoothing: grayscale;
            overflow-x: hidden;
        }

.nav-dropdown-menu a:hover {
            background: var(--primary-50);
            color: var(--primary);
        }

.hamburger span {
            width: 22px;
            height: 2px;
            background: var(--dark);
            border-radius: 2px;
            transition: transform 0.3s, opacity 0.3s;
        }

.mobile-menu {
            display: none;
            position: fixed;
            top: 88px;
            left: 16px;
            right: 16px;
            background: var(--white);
            border-radius: var(--radius-lg);
            box-shadow: var(--shadow-xl);
            border: 1px solid var(--dark-200);
            padding: 12px;
            z-index: 999;
        }

.mobile-menu a {
            display: block;
            padding: 14px 20px;
            font-size: 15px;
            font-weight: 500;
            color: var(--dark-700);
            border-radius: var(--radius-sm);
            transition: all 0.15s;
        }

        .mobile-menu .mobile-group { padding: 16px 20px 4px; font-size: 12px; font-weight: 700; color: var(--dark-400); letter-spacing: 0.5px; text-transform: uppercase; }

        .mobile-menu a.mobile-phone { display: flex; align-items: center; gap: 8px; color: var(--primary); font-weight: 700; }
        .mobile-menu a.mobile-phone svg { width: 16px; height: 16px; flex-shrink: 0; }
        .mobile-menu a.mobile-phone span { color: var(--primary); }

/* ============================================
           CONTACT — Split hero + info layout
           ============================================ */ .contact-section {
            background: linear-gradient(180deg, var(--dark-50), var(--white));
            position: relative;
            overflow: hidden;
        }

/* Decorative blob */ .contact-section::before {
            content: "";
            position: absolute;
            bottom: -60px; right: -80px;
            width: 400px; height: 400px;
            background: radial-gradient(circle, rgba(59,130,246,0.06) 0%, transparent 70%);
            pointer-events: none;
        }

/* Decorative circles */ .contact-hero::before {
            content: "";
            position: absolute;
            top: -30px; right: -30px;
            width: 160px; height: 160px;
            background: rgba(255,255,255,0.06);
            border-radius: 50%;
            pointer-events: none;
        }

.contact-hero::after {
            content: "";
            position: absolute;
            bottom: -40px; right: 100px;
            width: 100px; height: 100px;
            background: rgba(255,255,255,0.04);
            border-radius: 50%;
            pointer-events: none;
        }

.contact-hero-icon svg { width: 26px; height: 26px; color: var(--white); }

.contact-hero-cta svg {
            width: 18px; height: 18px;
            transition: transform 0.25s ease;
        }

/* 微信图标放大; hover 不滑动 */
        .contact-hero-cta .icon-wechat { width: 24px; height: 24px; }
        .contact-hero-cta:hover .icon-wechat { transform: none; }

.contact-hero-cta:hover {
            background: var(--dark-50);
            transform: translateY(-2px);
            box-shadow: 0 8px 24px rgba(0,0,0,0.15);
        }

.contact-hero-cta:hover svg {
            transform: translateX(3px);
        }

/* ── Right: stacked contact info ── */ .contact-info {
            display: flex;
            flex-direction: column;
            gap: 16px;
            justify-content: center;
        }

.contact-item::before {
            content: "";
            position: absolute;
            left: 0; top: 16px; bottom: 16px;
            width: 3px;
            border-radius: 0 3px 3px 0;
            background: linear-gradient(180deg, var(--primary), #6366f1);
            opacity: 0;
            transition: opacity 0.3s;
        }

.contact-item:hover {
            transform: translateX(4px);
            box-shadow: 0 8px 24px rgba(15,23,42,0.06);
            border-color: var(--primary-200);
        }





.contact-item-content {
            flex: 1;
            min-width: 0;
        }

.contact-item-label {
            font-size: 12px;
            font-weight: 600;
            color: var(--dark-400);
            text-transform: uppercase;
            letter-spacing: 1px;
            margin-bottom: 4px;
        }

.contact-item-value a {
            color: var(--primary);
            transition: color 0.2s;
        }

.contact-item-value a:hover {
            color: var(--primary-dark);
        }

.contact-item-arrow svg { width: 16px; height: 16px; }

.contact-item:hover .contact-item-arrow {
            background: var(--primary-50);
            color: var(--primary);
        }

.consult-modal-content {
            background: var(--white);
            border-radius: var(--radius-xl);
            padding: 48px 40px;
            text-align: center;
            max-width: 380px;
            width: 90%;
            position: relative;
            box-shadow: var(--shadow-xl);
            animation: modalIn 0.3s ease;
        }

.consult-modal-close {
            position: absolute;
            top: 16px; right: 16px;
            width: 32px; height: 32px;
            border-radius: 50%;
            background: var(--dark-100);
            border: none;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s;
        }
