/* ================================================================
   依航运维 - 企业IT运维托管服务 | 简洁清爽风 公共样式
   ================================================================ */

/* ===== 重置 & 基础 ===== */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: -apple-system, "Microsoft YaHei", "PingFang SC", sans-serif; color: #3d3d3d; line-height: 1.7; background: #fafbfc; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { max-width: 100%; }
.container { max-width: 1140px; margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-title { text-align: center; font-size: 30px; font-weight: 700; color: #1a1a2e; margin-bottom: 10px; letter-spacing: -.5px; }
.section-sub { text-align: center; font-size: 15px; color: #999; margin-bottom: 48px; }

/* ===== 导航 ===== */
.navbar { background: #fff; border-bottom: 1px solid #f0f0f0; position: sticky; top: 0; z-index: 100; }
.navbar .container { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font-size: 20px; font-weight: 700; color: #1a1a2e; letter-spacing: .5px; }
.logo span { color: #0ea5a5; }
.nav-links { display: flex; gap: 28px; }
.nav-links a { font-size: 14px; color: #777; transition: color .2s; padding: 4px 0; }
.nav-links a:hover { color: #0ea5a5; }
.nav-links a.active { color: #0ea5a5; font-weight: 600; }
.nav-cta { background: #0ea5a5; color: #fff !important; padding: 8px 22px; border-radius: 20px; font-weight: 600; font-size: 13px; transition: .2s; }
.nav-cta:hover { background: #0c8b8b !important; }
.mobile-nav-cta { display: none; }

/* ===== 移动端汉堡菜单按钮 ===== */
.mobile-menu-btn { display: none; background: none; border: none; cursor: pointer; padding: 6px; flex-direction: column; gap: 5px; }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: #1a1a2e; border-radius: 2px; transition: .3s; }
.mobile-menu-btn.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-btn.open span:nth-child(2) { opacity: 0; }
.mobile-menu-btn.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== Hero ===== */
.hero { background: #fff; padding: 90px 0 70px; text-align: center; }
.hero h1 { font-size: 44px; font-weight: 800; color: #1a1a2e; margin-bottom: 16px; letter-spacing: -.5px; }
.hero h1 span { color: #0ea5a5; }
.hero p { font-size: 17px; color: #888; max-width: 640px; margin: 0 auto 32px; }
.hero-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-primary { background: #0ea5a5; color: #fff; padding: 13px 34px; border-radius: 24px; font-weight: 600; font-size: 15px; transition: .2s; display: inline-block; }
.btn-primary:hover { background: #0c8b8b; transform: translateY(-1px); }
.btn-outline { border: 1.5px solid #ddd; color: #666; padding: 13px 34px; border-radius: 24px; font-weight: 600; font-size: 15px; transition: .2s; display: inline-block; }
.btn-outline:hover { border-color: #0ea5a5; color: #0ea5a5; }
.hero-stats { display: flex; justify-content: center; gap: 50px; margin-top: 50px; flex-wrap: wrap; }
.hero-stat h3 { font-size: 34px; font-weight: 800; color: #0ea5a5; }
.hero-stat p { font-size: 13px; color: #aaa; margin-top: 2px; }

/* ===== 优势卡片 ===== */
.advantages { background: #fff; }
.adv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 24px; }
.adv-card { background: #f6f8fa; border-radius: 16px; padding: 32px 26px; text-align: center; transition: .25s; }
.adv-card:hover { background: #edf3f3; transform: translateY(-3px); }
.adv-icon { font-size: 40px; margin-bottom: 14px; }
.adv-card h3 { font-size: 18px; color: #1a1a2e; margin-bottom: 10px; }
.adv-card p { font-size: 14px; color: #888; line-height: 1.7; }

/* ===== 服务类别卡片（首页） ===== */
.services { background: #f6f8fa; }
.srv-cat-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.srv-cat-card { background: #fff; border-radius: 14px; padding: 28px 24px; transition: .25s; border: 1.5px solid #e8e8e8; }
.srv-cat-card:hover { border-color: #0ea5a5; background: #f6fbfb; transform: translateY(-2px); }
.srv-cat-card .cat-icon { font-size: 32px; margin-bottom: 10px; }
.srv-cat-card h4 { font-size: 18px; color: #1a1a2e; margin-bottom: 8px; }
.srv-cat-card p { font-size: 13px; color: #999; line-height: 1.7; }
.srv-cat-card ul { margin-top: 10px; display: flex; flex-wrap: wrap; gap: 6px; }
.srv-cat-card ul li { font-size: 12px; color: #0ea5a5; background: #e8f5f5; padding: 3px 12px; border-radius: 12px; }

/* ===== 服务网格小卡片（原样式保留兼容） ===== */
.srv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 16px; }
.srv-card { background: #fff; border-radius: 12px; padding: 26px 20px; text-align: center; transition: .2s; }
.srv-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,.04); transform: translateY(-2px); }
.srv-icon { font-size: 34px; margin-bottom: 12px; opacity: .8; }
.srv-card h4 { font-size: 16px; color: #1a1a2e; margin-bottom: 8px; }
.srv-card p { font-size: 13px; color: #999; }

/* ===== 服务分组（服务页） ===== */
.srv-group { margin-bottom: 44px; }
.srv-group:last-child { margin-bottom: 0; }
.srv-group-title { font-size: 22px; font-weight: 700; color: #1a1a2e; margin-bottom: 6px; display: flex; align-items: center; gap: 10px; }
.srv-group-desc { font-size: 14px; color: #999; margin-bottom: 18px; }
.srv-group-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 16px; }
.srv-group-card { background: #fff; border-radius: 14px; padding: 24px 22px; transition: .2s; border: 1px solid #f0f0f0; }
.srv-group-card:hover { border-color: #0ea5a5; background: #f6fbfb; }
.srv-group-card h4 { font-size: 16px; color: #1a1a2e; margin-bottom: 6px; }
.srv-group-card h4 .badge { font-size: 20px; margin-right: 4px; }
.srv-group-card p { font-size: 13px; color: #999; margin-bottom: 10px; line-height: 1.7; }
.srv-group-card ul { display: flex; flex-wrap: wrap; gap: 5px; }
.srv-group-card ul li { font-size: 12px; color: #0ea5a5; background: #e8f5f5; padding: 2px 10px; border-radius: 10px; }

/* ===== 服务详情页专用 ===== */
.srv-detail { background: #fff; border-radius: 16px; padding: 40px; margin-bottom: 30px; display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.srv-detail:last-child { margin-bottom: 0; }
.srv-detail:hover { background: #f6f8fa; }
.srv-detail-icon { font-size: 48px; flex-shrink: 0; }
.srv-detail-body { flex: 1; min-width: 280px; }
.srv-detail-body h3 { font-size: 20px; color: #1a1a2e; margin-bottom: 10px; }
.srv-detail-body p { font-size: 14px; color: #888; line-height: 1.8; margin-bottom: 10px; }
.srv-detail-features { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 8px; margin-top: 12px; }
.srv-detail-features li { font-size: 14px; color: #666; padding: 6px 12px; background: #f6f8fa; border-radius: 8px; display: flex; align-items: center; gap: 6px; }
.srv-detail-features li::before { content: '✓'; color: #0ea5a5; font-weight: 700; }

/* ===== 解决方案 ===== */
.solutions { background: #fff; }
.sol-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }
.sol-card { background: #f6f8fa; border-radius: 12px; padding: 28px 26px; transition: .2s; }
.sol-card:hover { background: #edf3f3; }
.sol-card h3 { font-size: 18px; color: #1a1a2e; margin-bottom: 10px; }
.sol-card p { font-size: 14px; color: #888; line-height: 1.8; }
.sol-tags { margin-top: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.sol-tag { background: #e8f0f0; color: #0ea5a5; font-size: 12px; padding: 2px 12px; border-radius: 12px; }

/* ===== 关于 ===== */
.about { background: #f6f8fa; }
.about-wrap { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; }
.about-text { flex: 1; min-width: 300px; }
.about-text h2 { font-size: 28px; color: #1a1a2e; margin-bottom: 18px; }
.about-text p { font-size: 15px; color: #888; margin-bottom: 14px; line-height: 1.8; }
.about-text strong { color: #1a1a2e; }
.about-stats { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; flex: 1; min-width: 280px; }
.about-stat { background: #fff; border-radius: 12px; padding: 24px; text-align: center; }
.about-stat h3 { font-size: 30px; color: #0ea5a5; }
.about-stat p { font-size: 13px; color: #aaa; margin-top: 4px; }

/* ===== 关于页时间线 ===== */
.timeline { position: relative; padding-left: 30px; margin-top: 40px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: #dde8e8; }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-item::before { content: ''; position: absolute; left: -26px; top: 6px; width: 14px; height: 14px; border-radius: 50%; background: #0ea5a5; border: 3px solid #f6f8fa; }
.timeline-item h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: #999; }

/* ===== 价值观 ===== */
.values-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; margin-top: 40px; }
.value-card { text-align: center; padding: 28px 20px; background: #fff; border-radius: 12px; }
.value-card h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 8px; }
.value-card p { font-size: 13px; color: #999; }

/* ===== 服务数据 ===== */
.srv-data { background: #fff; }
.srv-data-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 20px; text-align: center; }
.srv-data-card { padding: 28px 16px; background: #f6f8fa; border-radius: 12px; }
.srv-data-card h3 { font-size: 36px; font-weight: 800; color: #0ea5a5; }
.srv-data-card .unit { font-size: 16px; color: #0ea5a5; }
.srv-data-card p { font-size: 13px; color: #999; margin-top: 4px; }

/* ===== 服务规范 ===== */
.srv-standard { background: #f6f8fa; }
.standard-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; max-width: 860px; margin: 0 auto; }
@media (max-width: 768px) { .standard-wrap { grid-template-columns: 1fr; max-width: 100%; } }
.standard-box { background: #fff; border-radius: 14px; padding: 28px 24px; border: 1.5px solid #e8e8e8; transition: .25s; text-align: center; }
.standard-box:hover { border-color: #0ea5a5; }
.standard-box h3 { font-size: 17px; color: #1a1a2e; margin-bottom: 4px; display: flex; align-items: center; gap: 8px; white-space: nowrap; justify-content: center; }
.standard-box .num { font-size: 12px; color: #0ea5a5; background: #e8f5f5; padding: 2px 10px; border-radius: 10px; white-space: nowrap; }
.standard-box ul { margin-top: 14px; }
.standard-box ul li { font-size: 13px; color: #888; padding: 5px 0; border-bottom: 1px solid #f5f5f5; display: flex; align-items: center; gap: 8px; white-space: nowrap; justify-content: center; }
.standard-box ul li:last-child { border-bottom: none; }
.standard-box ul li::before { content: '✓'; color: #0ea5a5; font-weight: 700; }

/* ===== 服务模式（交付方式） ===== */
.srv-mode { background: #fff; }
.mode-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.mode-card { background: #f6f8fa; border-radius: 14px; padding: 28px 24px; border: 1.5px solid #e8e8e8; transition: .25s; }
.mode-card:hover { border-color: #0ea5a5; background: #edf5f5; transform: translateY(-2px); }
.mode-card h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 6px; }
.mode-card p { font-size: 13px; color: #999; line-height: 1.7; }

/* ===== 服务范围 ===== */
.srv-scope { background: #f6f8fa; }
.scope-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; }
.scope-card { background: #fff; border-radius: 14px; padding: 28px 24px; }
.scope-card h4 { font-size: 17px; color: #1a1a2e; margin-bottom: 10px; }
.scope-card h4 .icon { font-size: 24px; margin-right: 6px; }
.scope-card p { font-size: 13px; color: #999; line-height: 1.8; }

/* ===== 联系 ===== */
.contact { background: #1a1a2e; color: #fff; }
.contact .section-title { color: #fff; }
.contact .section-sub { color: rgba(255,255,255,.4); }
.contact-wrap { display: flex; gap: 50px; flex-wrap: wrap; }
.contact-info { flex: 1; min-width: 280px; }
.contact-info h3 { font-size: 20px; font-weight: 600; margin-bottom: 18px; }
.contact-info p { font-size: 15px; opacity: .6; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.contact-form { flex: 1; min-width: 300px; }
.contact-form input, .contact-form textarea { width: 100%; padding: 13px 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 10px; margin-bottom: 12px; font-size: 14px; background: rgba(255,255,255,.05); color: #fff; transition: .2s; outline: none; }
.contact-form input:focus, .contact-form textarea:focus { border-color: #0ea5a5; background: rgba(14,165,165,.06); }
.contact-form textarea { height: 110px; resize: vertical; }
.contact-form button { background: #0ea5a5; color: #fff; border: none; padding: 13px 34px; border-radius: 24px; font-size: 15px; font-weight: 600; cursor: pointer; transition: .2s; }
.contact-form button:hover { background: #0c8b8b; }

/* ===== 页脚 ===== */
.site-footer { background: #12122a; text-align: center; padding: 28px 0; }
.site-footer p { font-size: 13px; color: rgba(255,255,255,.35); margin-bottom: 4px; line-height: 1.6; }
.site-footer a { color: rgba(14,165,165,.5); }
.site-footer a:hover { color: #0ea5a5; }
.footer-icp { margin-top: 4px; white-space: nowrap; }
.footer-icp a { white-space: nowrap; }

/* ===== 页面banner（内页） ===== */
.page-banner { background: #f6f8fa; padding: 60px 0 40px; text-align: center; border-bottom: 1px solid #f0f0f0; }
.page-banner h1 { font-size: 34px; font-weight: 700; color: #1a1a2e; margin-bottom: 8px; }
.page-banner p { font-size: 15px; color: #999; }

/* ===== 响应式 ===== */
@media (max-width: 768px) {
    .mobile-menu-btn { display: flex; }
    .nav-links { display: none; position: absolute; top: 64px; left: 0; right: 0; background: #fff; flex-direction: column; padding: 8px 24px 20px; border-bottom: 1px solid #f0f0f0; box-shadow: 0 6px 16px rgba(0,0,0,.06); z-index: 99; }
    .nav-links.open { display: flex; }
    .nav-links a { padding: 12px 0; font-size: 15px; border-bottom: 1px solid #f6f8fa; }
    .nav-links a:last-child { border-bottom: none; }
    .nav-cta { display: none; }
    .mobile-nav-cta { display: block; margin-top: 12px; background: #0ea5a5; color: #fff; text-align: center; padding: 12px; border-radius: 10px; font-weight: 600; font-size: 15px; }
    .mobile-nav-cta:hover { background: #0c8b8b; }

    .hero h1 { font-size: 28px; }
    .hero-stats { gap: 24px; }
    .section { padding: 48px 0; }
    .sol-grid { grid-template-columns: 1fr; }
    .srv-detail { flex-direction: column; padding: 24px; }
    .page-banner { padding: 40px 0 28px; }
    .page-banner h1 { font-size: 26px; }
    .footer-icp { font-size: 11px; }

    /* 卡片间距在手机上缩小 */
    .sol-full-card { padding: 24px !important; }
    .contact-page-wrap { padding: 24px !important; }

    /* 服务规范卡片文字换行 */
    .standard-box h3 { white-space: normal; }
    .standard-box .num { white-space: normal; }
    .standard-box ul li { white-space: normal; justify-content: flex-start; text-align: left; }
}
