/* 东莞站V2 - 深绿灰色调，差异化布局 */
/* 与深圳站深蓝#1a3a5c形成明显区分 */

:root {
  --primary: #1a3a2a;        /* 深绿灰主色 */
  --primary-dark: #122119;   /* 更深 */
  --accent: #e67e22;          /* 橙色强调 */
  --accent-light: #f39c12;
  --bg-light: #f4f7f5;        /* 淡绿灰背景 */
  --bg-white: #ffffff;
  --bg-dark: #0d1f13;         /* 深色背景 */
  --text-primary: #1a1a1a;
  --text-secondary: #555;
  --text-light: #888;
  --text-white: #ffffff;
  --border: #dde5df;
  --shadow: rgba(26, 58, 42, 0.12);
  --radius: 6px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: "PingFang SC", "Microsoft YaHei", Arial, sans-serif; color: var(--text-primary); background: var(--bg-white); line-height: 1.7; }
a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-light); }
img { max-width: 100%; display: block; }

/* ===== 顶栏 ===== */
.top-bar { background: var(--primary-dark); color: #ccc; padding: 8px 0; font-size: 13px; }
.top-bar .container { display: flex; justify-content: space-between; align-items: center; }
.top-bar a { color: #ccc; }
.top-bar a:hover { color: var(--accent); }
.top-bar-left { display: flex; gap: 20px; }
.top-bar-right { display: flex; gap: 15px; align-items: center; }

/* ===== 导航栏（深色风格） ===== */
.header-nav { background: var(--bg-dark); border-bottom: 3px solid var(--accent); position: sticky; top: 0; z-index: 100; }
.header-nav .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; padding: 12px 0; }
.logo-icon { width: 42px; height: 42px; background: var(--accent); border-radius: 4px; display: flex; align-items: center; justify-content: center; margin-right: 10px; font-size: 20px; }
.logo-text { color: #fff; font-size: 18px; font-weight: bold; line-height: 1.2; }
.logo-text span { color: var(--accent); font-size: 12px; display: block; font-weight: normal; }

.nav-menu { display: flex; list-style: none; gap: 0; }
.nav-menu > li { position: relative; }
.nav-menu > li > a { display: block; padding: 18px 18px; color: #e0e0e0; font-size: 15px; font-weight: 500; }
.nav-menu > li > a:hover, .nav-menu > li > a.active { background: var(--primary); color: var(--accent); }
.nav-phone { color: #fff; font-size: 18px; font-weight: bold; padding-left: 20px; border-left: 1px solid #444; margin-left: 15px; }
.nav-phone span { color: var(--accent); font-size: 20px; }

/* 下拉菜单 */
.nav-dropdown { display: none; position: absolute; top: 100%; left: 0; background: var(--bg-dark); min-width: 180px; box-shadow: 0 8px 24px rgba(0,0,0,.4); border-top: 2px solid var(--accent); z-index: 200; }
.nav-menu > li:hover .nav-dropdown { display: block; }
.nav-dropdown li a { display: block; padding: 10px 16px; color: #ccc; font-size: 14px; border-bottom: 1px solid #2a3a2a; }
.nav-dropdown li a:hover { background: var(--primary); color: var(--accent); }

/* ===== Container ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 { font-size: 28px; color: var(--primary); position: relative; display: inline-block; padding-bottom: 12px; }
.section-title h2::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 60px; height: 3px; background: var(--accent); }
.section-title p { color: var(--text-secondary); margin-top: 10px; font-size: 15px; }
.bg-light { background: var(--bg-light); }
.bg-dark { background: var(--bg-dark); color: #fff; }
.bg-primary { background: var(--primary); color: #fff; }

/* ===== Hero（左右分栏） ===== */
.hero { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 60%, #243d2e 100%); position: relative; overflow: hidden; padding: 60px 0; }
.hero::before { content: ''; position: absolute; top: 0; right: 0; width: 50%; height: 100%; background: repeating-linear-gradient(-45deg, transparent, transparent 30px, rgba(255,255,255,.03) 30px, rgba(255,255,255,.03) 60px); }
.hero .container { display: flex; align-items: center; gap: 40px; position: relative; z-index: 1; }
.hero-content { flex: 1.2; color: #fff; }
.hero-badge { display: inline-block; background: var(--accent); color: #fff; padding: 4px 14px; border-radius: 20px; font-size: 13px; margin-bottom: 15px; }
.hero h1 { font-size: 36px; font-weight: bold; line-height: 1.3; margin-bottom: 15px; }
.hero h1 em { color: var(--accent); font-style: normal; }
.hero-desc { font-size: 16px; color: #c8d8c8; margin-bottom: 25px; line-height: 1.8; }
.hero-btns { display: flex; gap: 15px; flex-wrap: wrap; }
.btn-primary { display: inline-block; background: var(--accent); color: #fff; padding: 13px 30px; border-radius: var(--radius); font-size: 15px; font-weight: bold; }
.btn-primary:hover { background: var(--accent-light); color: #fff; }
.btn-outline { display: inline-block; border: 2px solid rgba(255,255,255,.4); color: #fff; padding: 11px 28px; border-radius: var(--radius); font-size: 15px; }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); }

/* Hero右侧报价卡 */
.hero-form { flex: 0.8; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.15); border-radius: 8px; padding: 30px; backdrop-filter: blur(10px); }
.hero-form h3 { color: #fff; font-size: 18px; margin-bottom: 15px; border-left: 3px solid var(--accent); padding-left: 12px; }
.hero-form-phone { font-size: 28px; color: var(--accent); font-weight: bold; margin-bottom: 12px; text-align: center; }
.hero-form-cta { display: block; background: var(--accent); color: #fff; text-align: center; padding: 12px; border-radius: 4px; font-size: 16px; font-weight: bold; margin-bottom: 15px; }
.hero-form-cta:hover { background: var(--accent-light); color: #fff; }
.hero-form-items { list-style: none; }
.hero-form-items li { color: #ccc; font-size: 14px; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; gap: 8px; }
.hero-form-items li::before { content: '✓'; color: var(--accent); font-weight: bold; }

/* ===== 数据条 ===== */
.stats-bar { background: var(--primary); padding: 30px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: center; color: #fff; }
.stat-item {}
.stat-num { font-size: 36px; font-weight: bold; color: var(--accent); }
.stat-label { font-size: 14px; color: #aac0aa; margin-top: 4px; }

/* ===== 施工流程（东莞特色） ===== */
.process-steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.process-step { text-align: center; padding: 20px 10px; position: relative; }
.process-step::after { content: '→'; position: absolute; right: -12px; top: 50%; transform: translateY(-50%); color: var(--accent); font-size: 20px; }
.process-step:last-child::after { display: none; }
.step-num { width: 44px; height: 44px; background: var(--primary); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: bold; margin: 0 auto 10px; }
.step-name { font-size: 15px; font-weight: bold; color: var(--primary); margin-bottom: 4px; }
.step-desc { font-size: 12px; color: var(--text-secondary); }

/* ===== 服务卡片（横向边框线条式） ===== */
.service-list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.service-card { display: flex; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px var(--shadow); border-left: 4px solid var(--primary); transition: border-color .2s, box-shadow .2s; }
.service-card:hover { border-left-color: var(--accent); box-shadow: 0 4px 20px var(--shadow); }
.service-icon { width: 80px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 32px; flex-shrink: 0; }
.service-body { padding: 20px; flex: 1; }
.service-body h3 { font-size: 17px; color: var(--primary); margin-bottom: 8px; }
.service-body p { font-size: 14px; color: var(--text-secondary); margin-bottom: 10px; }
.service-body a { font-size: 13px; font-weight: bold; }

/* ===== 地区网格（分组展示） ===== */
.areas-grid { display: flex; flex-direction: column; gap: 30px; }
.area-group h3 { font-size: 16px; color: var(--primary); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--accent); display: inline-block; }
.area-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.area-tag { display: inline-block; padding: 7px 16px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); color: var(--text-primary); font-size: 14px; transition: all .2s; }
.area-tag:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.area-tag.street { border-color: var(--accent); color: var(--primary); font-weight: bold; }
.area-tag.street:hover { background: var(--accent); color: #fff; }

/* ===== 优势列表 ===== */
.advantage-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.advantage-item { background: #fff; border-radius: var(--radius); padding: 25px; text-align: center; border: 1px solid var(--border); }
.advantage-icon { width: 56px; height: 56px; background: var(--bg-light); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin: 0 auto 15px; font-size: 24px; }
.advantage-item h3 { font-size: 16px; color: var(--primary); margin-bottom: 8px; }
.advantage-item p { font-size: 13px; color: var(--text-secondary); }

/* ===== 案例卡片 ===== */
.case-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.case-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px var(--shadow); }
.case-img { height: 180px; background: var(--bg-light); display: flex; align-items: center; justify-content: center; font-size: 48px; }
.case-body { padding: 15px; }
.case-body h3 { font-size: 15px; color: var(--primary); margin-bottom: 6px; }
.case-body p { font-size: 13px; color: var(--text-secondary); }
.case-tag { display: inline-block; background: var(--bg-light); color: var(--primary); padding: 2px 8px; border-radius: 3px; font-size: 12px; margin-top: 8px; }

/* ===== FAQ手风琴 ===== */
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); margin-bottom: 10px; overflow: hidden; }
.faq-q { padding: 16px 20px; font-size: 15px; color: var(--primary); font-weight: bold; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-q::after { content: '+'; color: var(--accent); font-size: 20px; font-weight: bold; }
.faq-item.open .faq-q::after { content: '-'; }
.faq-a { display: none; padding: 0 20px 16px; font-size: 14px; color: var(--text-secondary); line-height: 1.8; }
.faq-item.open .faq-a { display: block; }

/* ===== CTA区块 ===== */
.cta-section { background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); padding: 60px 0; text-align: center; color: #fff; }
.cta-section h2 { font-size: 28px; margin-bottom: 10px; }
.cta-section p { font-size: 16px; color: #aac0aa; margin-bottom: 25px; }
.cta-phone { font-size: 40px; color: var(--accent); font-weight: bold; margin-bottom: 20px; }

/* ===== Footer ===== */
.footer { background: var(--bg-dark); color: #888; padding: 40px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 30px; border-bottom: 1px solid #2a3a2a; }
.footer-brand h3 { color: #fff; font-size: 18px; margin-bottom: 10px; }
.footer-brand p { font-size: 13px; line-height: 1.8; }
.footer-col h4 { color: var(--accent); font-size: 14px; margin-bottom: 15px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 8px; }
.footer-col li a { color: #888; font-size: 13px; }
.footer-col li a:hover { color: var(--accent); }
.footer-bottom { padding: 15px 0; text-align: center; font-size: 12px; border-top: 1px solid #2a3a2a; margin-top: 0; }
.footer-bottom a { color: #666; }

/* ===== 页面内Hero（小） ===== */
.page-hero { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 50px 0; color: #fff; text-align: center; }
.page-hero h1 { font-size: 30px; margin-bottom: 8px; }
.page-hero p { color: #aac0aa; font-size: 15px; }
.breadcrumb { font-size: 13px; color: #aaa; margin-bottom: 15px; }
.breadcrumb a { color: #aaa; }
.breadcrumb a:hover { color: var(--accent); }

/* ===== 服务详情 ===== */
.service-detail { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.service-main h2 { font-size: 24px; color: var(--primary); margin-bottom: 15px; }
.service-main p { font-size: 15px; color: var(--text-secondary); line-height: 1.8; margin-bottom: 15px; }
.service-main h3 { font-size: 17px; color: var(--primary); margin: 20px 0 10px; }
.service-aside { background: var(--bg-light); border-radius: var(--radius); padding: 20px; border-top: 3px solid var(--accent); }
.service-aside h3 { font-size: 16px; color: var(--primary); margin-bottom: 12px; }
.service-aside-item { padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-secondary); }
.service-aside-item strong { color: var(--primary); }

/* ===== 地区详情页 ===== */
.area-detail-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 30px; }
.area-info-card { background: var(--bg-light); border-radius: var(--radius); padding: 25px; border-top: 3px solid var(--accent); }
.area-info-card h3 { font-size: 18px; color: var(--primary); margin-bottom: 15px; }
.area-info-item { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.area-info-item strong { color: var(--primary); }

/* ===== 列表页 ===== */
.content-list { display: flex; flex-direction: column; gap: 15px; }
.list-item { display: flex; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; transition: box-shadow .2s; }
.list-item:hover { box-shadow: 0 4px 16px var(--shadow); }
.list-thumb { width: 120px; height: 80px; background: var(--bg-light); border-radius: 4px; flex-shrink: 0; margin-right: 15px; display: flex; align-items: center; justify-content: center; font-size: 32px; }
.list-content { flex: 1; }
.list-content h3 { font-size: 16px; color: var(--primary); margin-bottom: 6px; }
.list-content p { font-size: 13px; color: var(--text-secondary); }
.list-meta { font-size: 12px; color: var(--text-light); margin-top: 6px; }

/* ===== 联系页 ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info { background: var(--bg-light); border-radius: var(--radius); padding: 30px; }
.contact-info-item { display: flex; gap: 15px; margin-bottom: 20px; }
.contact-info-icon { width: 44px; height: 44px; background: var(--primary); color: var(--accent); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 18px; flex-shrink: 0; }
.contact-info-text h4 { font-size: 14px; color: var(--primary); margin-bottom: 4px; }
.contact-info-text p { font-size: 14px; color: var(--text-secondary); }
.contact-map { height: 300px; background: var(--bg-light); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; color: var(--text-light); }

/* ===== 价格页 ===== */
.price-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 2px 12px var(--shadow); }
.price-table th { background: var(--primary); color: #fff; padding: 14px 16px; text-align: left; font-size: 14px; }
.price-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--text-secondary); }
.price-table tr:hover td { background: var(--bg-light); }
.price-note { background: var(--bg-light); padding: 15px 20px; border-radius: var(--radius); font-size: 13px; color: var(--text-secondary); border-left: 3px solid var(--accent); margin-top: 20px; }

/* ===== 响应式 ===== */
@media (max-width: 1024px) {
  .hero .container { flex-direction: column; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .process-steps { grid-template-columns: repeat(3, 1fr); }
  .process-step::after { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .nav-menu { display: none; }
  .service-list { grid-template-columns: 1fr; }
  .advantage-grid { grid-template-columns: repeat(2, 1fr); }
  .case-grid { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 28px; }
  .section { padding: 40px 0; }
  .page-hero { padding: 35px 0; }
  .contact-grid { grid-template-columns: 1fr; }
  .area-detail-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ===== FAQ JS交互 ===== */
/* 由内联JS处理 */

/* ===== 地区分组样式 ===== */
.area-group + .area-group { margin-top: 0; }

/* Footer下拉框样式 */
.footer-col select option {
    background: #2a3a2a;
    color: #ccc;
}
