/* ==================== 全局样式 ==================== */
:root {
    --primary: #159895;
    --primary-dark: #1a5f7a;
    --secondary: #4a7c59;
    --accent: #e76f51;
    --dark: #1a1a2e;
    --gray: #6c757d;
    --light-gray: #f8f9fa;
    --white: #ffffff;
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --radius: 8px;
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    line-height: 1.8;
    color: #333;
    background: var(--white);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--primary-dark);
}

ul, ol {
    list-style: none;
}

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

/* ==================== 按钮样式 ==================== */
.btn {
    display: inline-block;
    padding: 12px 32px;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    border-radius: var(--radius);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    border-color: var(--primary-dark);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

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

.btn-outline:hover {
    background: var(--white);
    color: var(--primary-dark);
}

.btn-block {
    display: block;
    width: 100%;
}

/* ==================== 头部导航 ==================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: var(--white);
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img {
    width: 50px;
    height: 50px;
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.company-name {
    font-size: 18px;
    font-weight: 700;
    color: var(--primary-dark);
}

.company-en {
    font-size: 11px;
    color: var(--gray);
    letter-spacing: 1px;
}

.main-nav .nav-list {
    display: flex;
    gap: 25px;
}

.main-nav .nav-list a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    padding: 8px 0;
    position: relative;
}

.main-nav .nav-list a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition);
}

.main-nav .nav-list a:hover::after,
.main-nav .nav-list a.active::after {
    width: 100%;
}

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

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: var(--transition);
}

/* ==================== 横幅轮播 ==================== */
.hero {
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-slider {
    position: relative;
}

.hero-slide {
    min-height: 500px;
    display: flex;
    align-items: center;
    padding: 60px 0;
    color: var(--white);
    text-align: center;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="40" fill="rgba(255,255,255,0.05)"/></svg>');
    background-size: 200px;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 22px;
    margin-bottom: 15px;
    opacity: 0.95;
}

.hero-desc {
    font-size: 16px;
    margin-bottom: 30px;
    opacity: 0.85;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btns {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-dots {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
}

.dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: var(--transition);
}

.dot.active {
    background: var(--white);
    transform: scale(1.2);
}

/* ==================== 通用标题 ==================== */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(21, 152, 149, 0.1);
    color: var(--primary);
    font-size: 14px;
    font-weight: 600;
    border-radius: 20px;
    margin-bottom: 15px;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--gray);
}

.section-header.light .section-title {
    color: var(--white);
}

.section-header.light .section-subtitle {
    color: rgba(255,255,255,0.8);
}

/* ==================== 服务区块 ==================== */
.services {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.service-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    position: relative;
}

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

.service-card.featured {
    background: var(--primary);
    color: var(--white);
}

.service-card.featured .section-tag,
.service-card.featured p,
.service-card.featured li {
    color: rgba(255,255,255,0.9);
}

.service-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--accent);
    color: var(--white);
    font-size: 12px;
    padding: 4px 12px;
    border-radius: 20px;
}

.service-icon {
    width: 70px;
    height: 70px;
    margin-bottom: 25px;
    color: var(--primary);
}

.service-card.featured .service-icon {
    color: var(--white);
}

.service-icon svg {
    width: 100%;
    height: 100%;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
    color: var(--dark);
}

.service-card.featured h3 {
    color: var(--white);
}

.service-card p {
    font-size: 14px;
    color: var(--gray);
    margin-bottom: 20px;
}

.service-features {
    margin-bottom: 20px;
}

.service-features li {
    font-size: 14px;
    color: var(--gray);
    padding: 6px 0;
    padding-left: 20px;
    position: relative;
}

.service-features li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.service-card.featured .service-features li::before {
    color: var(--white);
}

.service-link {
    font-size: 14px;
    font-weight: 600;
}

/* ==================== 关于预览 ==================== */
.about-preview {
    padding: 100px 0;
    background: var(--white);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-img-main img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.about-img-secondary {
    position: absolute;
    bottom: -30px;
    right: -30px;
    width: 200px;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 5px solid var(--white);
}

.about-img-secondary img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    background: linear-gradient(135deg, var(--secondary) 0%, #3a5a40 100%);
}

.about-stat {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary);
    color: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 36px;
    font-weight: 700;
}

.stat-text {
    font-size: 14px;
}

.about-content .section-tag {
    margin-bottom: 10px;
}

.about-content h2 {
    font-size: 32px;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-lead {
    font-size: 17px;
    color: var(--gray);
    margin-bottom: 20px;
}

.about-content p {
    margin-bottom: 20px;
    color: #555;
}

.about-features {
    margin: 30px 0;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.feature-icon {
    width: 24px;
    height: 24px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

/* ==================== 选择我们的优势 ==================== */
.why-us {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

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

.advantage-card {
    background: rgba(255,255,255,0.1);
    padding: 40px 30px;
    border-radius: var(--radius);
    color: var(--white);
    transition: var(--transition);
}

.advantage-card:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-5px);
}

.advantage-number {
    font-size: 48px;
    font-weight: 700;
    opacity: 0.3;
    margin-bottom: 15px;
}

.advantage-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.advantage-card p {
    font-size: 15px;
    opacity: 0.9;
}

/* ==================== 应用行业 ==================== */
.industries {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.industry-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

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

.industry-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.industry-card h3 {
    font-size: 20px;
    color: var(--dark);
    margin-bottom: 10px;
}

.industry-card p {
    font-size: 14px;
    color: var(--gray);
}

/* ==================== 服务流程 ==================== */
.process {
    padding: 100px 0;
    background: var(--white);
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.process-step {
    text-align: center;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    top: 40px;
    right: -20px;
    font-size: 24px;
    color: var(--primary);
}

.step-number {
    width: 60px;
    height: 60px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 20px;
}

.step-content h3 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 8px;
}

.step-content p {
    font-size: 13px;
    color: var(--gray);
}

/* ==================== 资质荣誉 ==================== */
.certifications {
    padding: 100px 0;
    background: var(--light-gray);
}

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

.cert-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.cert-card:hover {
    transform: translateY(-5px);
}

.cert-icon {
    font-size: 50px;
    margin-bottom: 20px;
}

.cert-card h3 {
    font-size: 18px;
    color: var(--dark);
    margin-bottom: 10px;
}

.cert-card p {
    font-size: 14px;
    color: var(--gray);
}

/* ==================== 常见问题 ==================== */
.faq {
    padding: 100px 0;
    background: var(--white);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #eee;
    margin-bottom: 0;
}

.faq-item summary {
    padding: 25px 0;
    font-size: 18px;
    font-weight: 600;
    color: var(--dark);
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-item summary::after {
    content: '+';
    font-size: 24px;
    color: var(--primary);
    transition: var(--transition);
}

.faq-item[open] summary::after {
    content: '-';
}

.faq-item summary:hover {
    color: var(--primary);
}

.faq-answer {
    padding: 0 0 25px 0;
}

.faq-answer p {
    color: var(--gray);
    line-height: 1.8;
}

/* ==================== 联系方式 ==================== */
.contact-section {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

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

.contact-info .section-tag {
    background: rgba(255,255,255,0.2);
    color: var(--white);
}

.contact-info h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.contact-info > p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.contact-items {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.contact-icon {
    font-size: 28px;
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-text {
    display: flex;
    flex-direction: column;
}

.contact-label {
    font-size: 14px;
    opacity: 0.8;
    margin-bottom: 5px;
}

.contact-value {
    font-size: 18px;
    font-weight: 600;
    color: var(--white);
}

a.contact-value:hover {
    text-decoration: underline;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
}

.contact-form h3 {
    font-size: 24px;
    color: var(--dark);
    margin-bottom: 30px;
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin-bottom: 8px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 15px;
    border: 1px solid #ddd;
    border-radius: var(--radius);
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(21, 152, 149, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-note {
    text-align: center;
    font-size: 13px;
    color: var(--gray);
    margin-top: 15px;
}

/* ==================== 地图区块 ==================== */
.map-section {
    padding: 80px 0;
    background: var(--light-gray);
}

.map-section .section-title {
    text-align: center;
    margin-bottom: 40px;
}

.map-wrapper {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 30px;
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.map-info {
    padding: 40px;
    background: var(--primary);
    color: var(--white);
}

.map-info h3 {
    font-size: 20px;
    margin-bottom: 20px;
}

.map-info p {
    font-size: 14px;
    margin-bottom: 12px;
    opacity: 0.9;
}

.map-embed {
    min-height: 300px;
}

.map-placeholder {
    width: 100%;
    height: 100%;
    min-height: 300px;
    background: linear-gradient(135deg, #e9ecef 0%, #dee2e6 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--gray);
    font-size: 18px;
}

/* ==================== 页脚 ==================== */
.footer {
    background: var(--dark);
    color: rgba(255,255,255,0.8);
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    width: 40px;
    height: 40px;
}

.footer-logo span {
    font-size: 16px;
    font-weight: 600;
    color: var(--white);
}

.footer-col p {
    font-size: 14px;
    line-height: 1.8;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 20px;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

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

.footer-contact li {
    font-size: 14px;
    margin-bottom: 12px;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
}

.footer-bottom p:first-child {
    margin-bottom: 10px;
}

.footer-bottom a {
    color: rgba(255,255,255,0.6);
}

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

/* ==================== 悬浮咨询栏 ==================== */
.floating-bar {
    position: fixed;
    right: 20px;
    bottom: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.float-item {
    width: 50px;
    height: 50px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.float-item:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

.float-text {
    display: none;
}

.float-item.phone {
    background: #25d366;
}

.float-item.wechat {
    background: #07c160;
}

/* ==================== 响应式设计 ==================== */
@media (max-width: 1024px) {
    .services-grid,
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .advantages-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
    
    .process-step:not(:last-child)::after {
        display: none;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .header-inner {
        height: 70px;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: var(--transition);
    }
    
    .main-nav.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .main-nav .nav-list {
        flex-direction: column;
        gap: 15px;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .hero {
        margin-top: 70px;
    }
    
    .hero-slide {
        min-height: 400px;
        padding: 40px 0;
    }
    
    .hero-content h1 {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .services,
    .about-preview,
    .why-us,
    .industries,
    .process,
    .certifications,
    .faq,
    .contact-section {
        padding: 60px 0;
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .about-images {
        order: -1;
    }
    
    .about-img-secondary {
        display: none;
    }
    
    .services-grid,
    .advantages-grid,
    .industries-grid {
        grid-template-columns: 1fr;
    }
    
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .map-wrapper {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .floating-bar {
        right: 15px;
        bottom: 20px;
    }
    
    .float-item {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .float-text {
        display: none;
    }
}
