/* 奈婷企业网站 - 品牌色：红 #E31837 蓝 #1E3A8A */
:root {
    --naiting-red: #E31837;
    --naiting-red-dark: #c41430;
    --naiting-blue: #1E3A8A;
    --naiting-blue-light: #2563eb;
    --text-dark: #1a1a2e;
    --text-muted: #64748b;
    --bg-light: #f8fafc;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius: 8px;
    --radius-lg: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* 顶部快捷栏 */
.top-bar {
    background: linear-gradient(135deg, var(--naiting-blue) 0%, var(--naiting-blue-light) 100%);
    color: var(--white);
    padding: 8px 0;
    font-size: 14px;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-bar a {
    color: var(--white);
    font-weight: 600;
}

.top-bar a:hover {
    text-decoration: underline;
}

.quick-consult {
    background: var(--naiting-red);
    padding: 4px 16px;
    border-radius: 20px;
    transition: background 0.2s;
}

.quick-consult:hover {
    background: var(--naiting-red-dark);
}

/* 导航栏 */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
}

.logo img {
    height: 72px;
    width: auto;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-weight: 500;
    color: var(--text-dark);
    transition: color 0.2s;
}

.nav-menu a:hover {
    color: var(--naiting-red);
}

.nav-cta {
    background: linear-gradient(135deg, var(--naiting-red) 0%, var(--naiting-red-dark) 100%);
    color: var(--white) !important;
    padding: 10px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2px;
    background: var(--text-dark);
}


/* 主视觉区 */
.hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, var(--naiting-blue) 0%, #0f172a 50%, var(--naiting-red) 100%);
    color: var(--white);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(227, 24, 55, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(30, 58, 138, 0.3) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    margin-bottom: 24px;
}

.hero-features {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hero-features span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.hero-features strong {
    color: #fbbf24;
}

.hero-actions {
    display: flex;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius);
    transition: all 0.2s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--naiting-red);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--naiting-red-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-block {
    width: 100%;
}

/* 便捷办理 */
.convenience-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--text-dark);
    margin-bottom: 12px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 1.1rem;
}

.section-header.left {
    text-align: left;
}

.convenience-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.convenience-card {
    background: var(--white);
    padding: 32px 24px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    text-align: center;
    transition: transform 0.2s, box-shadow 0.2s;
}

.convenience-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 16px;
}

.convenience-card h3 {
    font-size: 1.25rem;
    margin-bottom: 8px;
    color: var(--naiting-blue);
}

.convenience-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* 主营业务 */
.services-section {
    padding: 80px 0;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.service-card {
    background: var(--white);
    border: 2px solid #e2e8f0;
    padding: 28px 24px;
    border-radius: var(--radius-lg);
    transition: all 0.2s;
}

.service-card:hover {
    border-color: var(--naiting-red);
    box-shadow: var(--shadow);
}

.service-card h4 {
    font-size: 1.2rem;
    color: var(--naiting-blue);
    margin-bottom: 8px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.service-link {
    color: var(--naiting-red);
    font-weight: 600;
    font-size: 0.95rem;
}

.service-card:hover .service-link {
    text-decoration: underline;
}

/* 关于我们 */
.about-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 280px;
    gap: 48px;
    align-items: start;
}

.about-desc p {
    margin-bottom: 16px;
    color: var(--text-muted);
}

.about-desc p:first-of-type {
    font-size: 1.1rem;
    color: var(--text-dark);
}

.tagline {
    color: var(--naiting-red) !important;
    font-weight: 500;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.stat-item {
    background: linear-gradient(135deg, var(--naiting-blue) 0%, var(--naiting-blue-light) 100%);
    color: var(--white);
    padding: 24px;
    border-radius: var(--radius-lg);
    text-align: center;
}

.stat-num {
    display: block;
    font-size: 1.75rem;
    font-weight: 700;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.about-text .btn {
    margin-top: 24px;
}

/* 为什么选择我们 */
.why-section {
    padding: 80px 0;
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.why-card {
    padding: 32px;
    border-radius: var(--radius-lg);
    background: var(--bg-light);
    border-left: 4px solid var(--naiting-red);
}

.why-card h4 {
    font-size: 1.2rem;
    margin-bottom: 12px;
    color: var(--text-dark);
}

.why-card p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.why-card a {
    color: var(--naiting-red);
    font-weight: 600;
}

.why-card a:hover {
    text-decoration: underline;
}

/* 联系我们 */
.contact-section {
    padding: 80px 0;
    background: var(--bg-light);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 48px;
    align-items: start;
}

.contact-item {
    margin-bottom: 24px;
}

.contact-label {
    display: block;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.contact-item a {
    color: var(--naiting-blue);
    font-weight: 600;
}

.contact-item a:hover {
    color: var(--naiting-red);
}

.contact-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

.consult-quick {
    background: var(--white);
    padding: 32px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.consult-quick h3 {
    margin-bottom: 8px;
    color: var(--naiting-blue);
}

.consult-quick p {
    color: var(--text-muted);
    margin-bottom: 24px;
}

.quick-contact-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 24px;
    background: var(--bg-light);
    border-radius: var(--radius);
    border: 2px solid #e2e8f0;
    transition: all 0.2s;
}

.quick-card:hover {
    border-color: var(--naiting-red);
    background: #fff5f5;
}

.quick-icon {
    font-size: 2rem;
    margin-bottom: 8px;
}

.quick-title {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.quick-detail {
    font-size: 0.95rem;
    color: var(--naiting-blue);
    font-weight: 500;
}

/* 页脚 */
.footer {
    background: var(--naiting-blue);
    color: var(--white);
    padding: 48px 0 24px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 32px;
}

.footer-logo {
    height: 64px;
    margin-bottom: 16px;
}

.footer-brand p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    color: var(--white);
    opacity: 0.9;
}

.footer-links a:hover {
    opacity: 1;
}

.footer-contact p {
    opacity: 0.9;
    font-size: 0.95rem;
}

.footer-contact a {
    color: var(--white);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* 悬浮咨询 */
.float-consult {
    position: fixed;
    right: 24px;
    bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 99;
}

.float-btn {
    width: 56px;
    height: 56px;
    background: var(--naiting-red);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: transform 0.2s;
}

.float-btn:hover {
    transform: scale(1.1);
}

.float-btn span {
    font-size: 1.25rem;
}

.float-btn small {
    font-size: 0.65rem;
}

/* 响应式 */
@media (max-width: 1024px) {
    .convenience-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .about-stats {
        flex-direction: row;
        justify-content: center;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .quick-contact-cards {
        grid-template-columns: 1fr;
    }
    
    .nav {
        position: relative;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 24px;
        box-shadow: var(--shadow-lg);
        flex-direction: column;
    }
    
    .nav-menu.active {
        display: flex !important;
    }
    
    .nav-cta {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .top-bar-content {
        flex-direction: column;
        gap: 8px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 12px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .convenience-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links {
        align-items: center;
    }
}
