/* ========================================
   德永信集团官网 - 全站样式
   dyx988.com | V1.0
   ======================================== */

/* === Reset & Base === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif; line-height: 1.6; color: #333; background: #fff; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color 0.3s; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.3; }

/* === Variables === */
:root {
  --primary: #1a3a52;
  --primary-light: #2a5a7a;
  --primary-dark: #0f2636;
  --gold: #d4a852;
  --gold-light: #e8c87a;
  --gold-dark: #b8903a;
  --bg-light: #f8f9fa;
  --bg-gray: #f0f2f5;
  --text-dark: #1a1a1a;
  --text-body: #4a4a4a;
  --text-light: #6c757d;
  --white: #ffffff;
  --shadow: 0 2px 15px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 30px rgba(0,0,0,0.15);
  --radius: 8px;
  --radius-lg: 16px;
  --transition: all 0.3s ease;
  --max-width: 1200px;
}

/* === Typography === */
.section-title { font-size: 2rem; color: var(--primary); text-align: center; margin-bottom: 0.5rem; }
.section-subtitle { font-size: 1.1rem; color: var(--text-light); text-align: center; margin-bottom: 2.5rem; }
.gold-text { color: var(--gold); }

/* === Container === */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }
.section { padding: 60px 0; }
.section-alt { background: var(--bg-light); }

/* === Header / Navigation === */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; background: rgba(26,58,82,0.95); backdrop-filter: blur(10px); transition: var(--transition); }
.site-header.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.2); }
.header-inner { display: flex; align-items: center; justify-content: space-between; max-width: var(--max-width); margin: 0 auto; padding: 0 20px; height: 70px; }
.logo { display: flex; align-items: center; gap: 10px; }
.logo-img { height: 40px; width: auto; }
.logo-text { color: var(--white); font-size: 1.3rem; font-weight: 700; }
.logo-text span { color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 0; }
.main-nav a { color: rgba(255,255,255,0.85); padding: 8px 14px; font-size: 0.9rem; transition: var(--transition); position: relative; white-space: nowrap; }
.main-nav a:hover, .main-nav a.active { color: var(--gold); }
.main-nav a::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 0; height: 2px; background: var(--gold); transition: width 0.3s; }
.main-nav a:hover::after { width: 60%; }

.header-cta { display: flex; align-items: center; gap: 15px; }
.header-phone { color: var(--gold); font-size: 1rem; font-weight: 600; white-space: nowrap; }
.btn-consult { background: var(--gold); color: var(--white); padding: 8px 20px; border-radius: 25px; font-size: 0.85rem; font-weight: 600; transition: var(--transition); border: none; cursor: pointer; white-space: nowrap; }
.btn-consult:hover { background: var(--gold-dark); transform: translateY(-1px); }

/* Mobile menu */
.menu-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 5px; z-index: 1001; }
.menu-toggle span { display: block; width: 25px; height: 2px; background: var(--white); transition: var(--transition); }
.menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === Hero === */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%); overflow: hidden; padding-top: 70px; }
.hero::before { content: ''; position: absolute; top: -50%; right: -20%; width: 80%; height: 200%; background: radial-gradient(ellipse, rgba(212,168,82,0.08) 0%, transparent 70%); pointer-events: none; }
.hero::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 100px; background: linear-gradient(transparent, rgba(26,58,82,0.3)); pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; color: var(--white); padding: 40px 20px; max-width: 800px; margin: 0 auto; }
.hero h1 { font-size: 3rem; margin-bottom: 1rem; text-shadow: 0 2px 10px rgba(0,0,0,0.3); }
.hero h1 .gold { color: var(--gold); }
.hero .hero-sub { font-size: 1.25rem; opacity: 0.9; margin-bottom: 0.8rem; }
.hero .hero-tagline { font-size: 0.95rem; opacity: 0.7; margin-bottom: 2rem; }

.hero-stats { display: flex; justify-content: center; gap: 40px; margin-bottom: 2.5rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat .num { font-size: 2.5rem; font-weight: 800; color: var(--gold); display: block; }
.hero-stat .label { font-size: 0.85rem; opacity: 0.8; }

.hero-buttons { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; }
.btn-primary { background: var(--gold); color: var(--white); padding: 14px 36px; border-radius: 30px; font-size: 1.05rem; font-weight: 600; transition: var(--transition); border: 2px solid var(--gold); display: inline-block; }
.btn-primary:hover { background: var(--gold-dark); border-color: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 5px 20px rgba(212,168,82,0.4); }
.btn-secondary { background: transparent; color: var(--white); padding: 14px 36px; border-radius: 30px; font-size: 1.05rem; font-weight: 600; transition: var(--transition); border: 2px solid rgba(255,255,255,0.5); display: inline-block; }
.btn-secondary:hover { border-color: var(--white); background: rgba(255,255,255,0.1); }

/* === Trust Bar === */
.trust-bar { background: var(--bg-light); padding: 25px 0; border-bottom: 1px solid #eee; }
.trust-items { display: flex; justify-content: center; align-items: center; gap: 30px; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-size: 0.9rem; color: var(--text-body); }
.trust-item .icon { font-size: 1.3rem; }
.trust-item strong { color: var(--primary); font-size: 1.1rem; }
.trust-dynamic { color: var(--gold); font-weight: 700; }

/* === Pricing Promise === */
.pricing-promise { background: linear-gradient(135deg, #faf8f3, #fff); padding: 50px 0; }
.promise-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 30px; }
.promise-card { background: var(--white); padding: 25px; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow); border: 1px solid #f0e6d0; }
.promise-card .icon { font-size: 2rem; margin-bottom: 10px; }
.promise-card h4 { color: var(--primary); margin-bottom: 5px; }
.promise-card p { font-size: 0.85rem; color: var(--text-light); }

/* === Service Cards === */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; }
.service-card { background: var(--white); border-radius: var(--radius-lg); padding: 30px 20px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); border: 1px solid #eee; position: relative; overflow: hidden; }
.service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--primary), var(--gold)); transform: scaleX(0); transition: transform 0.3s; }
.service-card:hover::before { transform: scaleX(1); }
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.service-card .icon { font-size: 2.5rem; margin-bottom: 15px; }
.service-card h3 { font-size: 1.15rem; color: var(--primary); margin-bottom: 8px; }
.service-card .tag { display: inline-block; background: rgba(212,168,82,0.1); color: var(--gold-dark); padding: 3px 12px; border-radius: 20px; font-size: 0.75rem; margin-bottom: 10px; }
.service-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 15px; line-height: 1.5; }
.service-card .btn-link { color: var(--gold); font-size: 0.85rem; font-weight: 600; }
.service-card .btn-link:hover { color: var(--gold-dark); }

/* === Three Treasures (Service Standards) === */
.treasures { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 60px 0; color: var(--white); }
.treasures .section-title { color: var(--white); }
.treasures .section-subtitle { color: rgba(255,255,255,0.7); }
.treasure-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.treasure-card { background: rgba(255,255,255,0.08); border-radius: var(--radius-lg); padding: 30px; backdrop-filter: blur(5px); border: 1px solid rgba(255,255,255,0.1); transition: var(--transition); }
.treasure-card:hover { background: rgba(255,255,255,0.12); transform: translateY(-3px); }
.treasure-card .num { font-size: 3rem; font-weight: 800; color: var(--gold); opacity: 0.6; }
.treasure-card h3 { font-size: 1.3rem; margin-bottom: 8px; }
.treasure-card .quote { font-size: 0.85rem; color: rgba(255,255,255,0.7); font-style: italic; margin-bottom: 15px; padding-left: 12px; border-left: 2px solid var(--gold); }
.treasure-card ul { padding-left: 0; }
.treasure-card ul li { padding: 8px 0; font-size: 0.9rem; border-bottom: 1px solid rgba(255,255,255,0.06); display: flex; gap: 8px; align-items: flex-start; }
.treasure-card ul li::before { content: '✓'; color: var(--gold); font-weight: 700; flex-shrink: 0; }
.treasure-bottom { text-align: center; margin-top: 30px; font-size: 1.2rem; color: var(--gold); font-style: italic; }

/* === Cases / Testimonials === */
.cases-slider { position: relative; overflow: hidden; }
.cases-track { display: flex; transition: transform 0.5s ease; }
.case-card { min-width: 100%; padding: 0 20px; }
.case-inner { background: var(--white); border-radius: var(--radius-lg); padding: 35px; box-shadow: var(--shadow); display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.case-info h4 { color: var(--primary); font-size: 1.1rem; margin-bottom: 5px; }
.case-info .meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 15px; }
.case-info .pain { background: #fff5f5; padding: 12px 15px; border-radius: var(--radius); margin-bottom: 12px; font-size: 0.9rem; }
.case-info .pain::before { content: '痛点：'; font-weight: 700; color: #e74c3c; }
.case-info .solution { background: #f0f8ff; padding: 12px 15px; border-radius: var(--radius); margin-bottom: 12px; font-size: 0.9rem; }
.case-info .solution::before { content: '方案：'; font-weight: 700; color: var(--primary); }
.case-result { background: linear-gradient(135deg, #f8f9fa, #fff); padding: 20px; border-radius: var(--radius); border-left: 3px solid var(--gold); }
.case-result h5 { color: var(--primary); margin-bottom: 10px; }
.case-result ul li { padding: 5px 0; font-size: 0.9rem; }
.case-result ul li::before { content: '📊 '; }
.case-quote { margin-top: 15px; padding: 15px; background: rgba(212,168,82,0.05); border-radius: var(--radius); font-style: italic; font-size: 0.9rem; color: var(--text-body); }
.case-quote::before { content: '💬 '; }

/* === Expert Cards === */
.expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.expert-card { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.expert-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.expert-photo { width: 100%; aspect-ratio: 4/5; object-fit: cover; background: var(--bg-gray); }
.expert-info { padding: 20px; }
.expert-info h4 { font-size: 1.1rem; color: var(--primary); margin-bottom: 3px; }
.expert-info .title { color: var(--gold); font-size: 0.85rem; margin-bottom: 5px; }
.expert-info .years { font-size: 0.8rem; color: var(--text-light); margin-bottom: 8px; }
.expert-info .desc { font-size: 0.85rem; color: var(--text-body); }

/* === Video Grid === */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.video-card { border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow); transition: var(--transition); cursor: pointer; }
.video-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.video-thumb { position: relative; aspect-ratio: 16/9; background: var(--bg-gray); overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; }
.video-thumb .play-icon { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 50px; height: 50px; background: rgba(0,0,0,0.6); border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s; }
.video-card:hover .play-icon { opacity: 1; }
.play-icon::after { content: '▶'; color: white; font-size: 1.2rem; margin-left: 3px; }
.video-thumb .duration { position: absolute; bottom: 8px; right: 8px; background: rgba(0,0,0,0.7); color: white; padding: 2px 8px; border-radius: 3px; font-size: 0.75rem; }
.video-thumb .city-tag { position: absolute; top: 8px; left: 8px; background: var(--gold); color: white; padding: 2px 10px; border-radius: 3px; font-size: 0.75rem; }
.video-info { padding: 12px; }
.video-info h4 { font-size: 0.9rem; color: var(--text-dark); margin-bottom: 5px; line-height: 1.4; }
.video-info .meta { font-size: 0.8rem; color: var(--text-light); }

/* === News Section === */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; }
.news-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.news-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.news-card .thumb { aspect-ratio: 16/9; background: var(--bg-gray); }
.news-card .content { padding: 20px; }
.news-card .tag { display: inline-block; background: rgba(212,168,82,0.1); color: var(--gold-dark); padding: 2px 10px; border-radius: 3px; font-size: 0.75rem; margin-bottom: 8px; }
.news-card h4 { font-size: 1rem; margin-bottom: 8px; line-height: 1.4; }
.news-card p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 10px; }
.news-card .date { font-size: 0.8rem; color: var(--text-light); }

/* === Honors Bar === */
.honors-bar { padding: 30px 0; background: var(--bg-light); }
.honors-scroll { display: flex; gap: 30px; justify-content: center; flex-wrap: wrap; align-items: center; }
.honor-item { display: flex; align-items: center; gap: 8px; font-size: 0.85rem; color: var(--text-body); white-space: nowrap; }
.honor-item .icon { font-size: 1.2rem; }

/* === Timeline === */
.timeline { position: relative; padding: 20px 0; }
.timeline::before { content: ''; position: absolute; left: 50%; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold), var(--primary)); transform: translateX(-50%); }
.timeline-item { display: flex; align-items: flex-start; margin-bottom: 30px; position: relative; }
.timeline-item:nth-child(odd) { flex-direction: row; }
.timeline-item:nth-child(even) { flex-direction: row-reverse; }
.timeline-content { width: 45%; padding: 20px; background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); }
.timeline-item:nth-child(odd) .timeline-content { margin-right: auto; }
.timeline-item:nth-child(even) .timeline-content { margin-left: auto; }
.timeline-dot { position: absolute; left: 50%; top: 20px; transform: translateX(-50%); width: 16px; height: 16px; background: var(--gold); border: 3px solid var(--white); border-radius: 50%; z-index: 1; box-shadow: 0 0 0 3px var(--gold); }
.timeline-year { font-size: 1.2rem; font-weight: 800; color: var(--gold); margin-bottom: 5px; }
.timeline-content p { font-size: 0.9rem; color: var(--text-body); }

/* === CTA Section === */
.cta-section { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 60px 0; text-align: center; color: var(--white); }
.cta-section h2 { font-size: 2rem; margin-bottom: 1rem; }
.cta-section p { opacity: 0.8; margin-bottom: 2rem; font-size: 1.05rem; }
.cta-form { max-width: 500px; margin: 0 auto 20px; display: flex; flex-direction: column; gap: 12px; }
.cta-form input, .cta-form select { padding: 12px 18px; border-radius: 25px; border: 1px solid rgba(255,255,255,0.3); background: rgba(255,255,255,0.1); color: var(--white); font-size: 0.95rem; outline: none; }
.cta-form input::placeholder { color: rgba(255,255,255,0.6); }
.cta-form input:focus, .cta-form select:focus { border-color: var(--gold); background: rgba(255,255,255,0.15); }
.cta-form select { appearance: none; }
.cta-form select option { color: #333; }
.cta-form .btn-submit { background: var(--gold); color: var(--white); padding: 14px; border: none; border-radius: 25px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: var(--transition); }
.cta-form .btn-submit:hover { background: var(--gold-dark); }
.cta-trust { font-size: 0.8rem; opacity: 0.6; }
.cta-phone { font-size: 1.8rem; font-weight: 800; color: var(--gold); margin-bottom: 1rem; display: block; }

/* === Footer === */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.7); padding: 50px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; margin-bottom: 30px; }
.footer-col h4 { color: var(--white); font-size: 1rem; margin-bottom: 15px; }
.footer-col p { font-size: 0.85rem; line-height: 1.8; }
.footer-col a { display: block; font-size: 0.85rem; padding: 3px 0; transition: color 0.3s; }
.footer-col a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding: 20px 0; text-align: center; font-size: 0.8rem; }
.footer-bottom a { color: var(--gold); display: inline; }
.footer-bottom a:hover { text-decoration: underline; }

/* === Page Banner (Subpages) === */
.page-banner { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding: 120px 0 60px; text-align: center; color: var(--white); position: relative; }
.page-banner::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 60px; background: linear-gradient(transparent, rgba(255,255,255,0.03)); }
.page-banner h1 { font-size: 2.5rem; margin-bottom: 1rem; }
.page-banner h1 .gold { color: var(--gold); }
.page-banner p { font-size: 1.1rem; opacity: 0.85; margin-bottom: 0.5rem; }
.page-banner .banner-tags { display: flex; justify-content: center; gap: 15px; flex-wrap: wrap; margin-top: 20px; }
.page-banner .banner-tag { background: rgba(255,255,255,0.1); padding: 5px 15px; border-radius: 20px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.15); }

/* === Breadcrumb === */
.breadcrumb { padding: 15px 0; font-size: 0.85rem; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb span { margin: 0 5px; }

/* === Pricing Table === */
.pricing-table-wrap { overflow-x: auto; margin: 20px 0; }
.pricing-table { width: 100%; border-collapse: collapse; font-size: 0.9rem; }
.pricing-table th { background: var(--primary); color: var(--white); padding: 12px 15px; text-align: center; font-weight: 600; }
.pricing-table td { padding: 12px 15px; border-bottom: 1px solid #eee; text-align: center; }
.pricing-table tr:hover td { background: rgba(212,168,82,0.05); }
.pricing-table .highlight { background: rgba(212,168,82,0.08); font-weight: 600; }

/* === Service Process === */
.process-steps { display: flex; justify-content: center; gap: 0; margin: 30px 0; position: relative; }
.process-step { text-align: center; flex: 1; position: relative; padding: 0 10px; }
.process-step .step-num { width: 45px; height: 45px; border-radius: 50%; background: var(--primary); color: var(--white); display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 10px; position: relative; z-index: 1; }
.process-step::after { content: ''; position: absolute; top: 22px; left: calc(50% + 22px); right: calc(-50% + 22px); height: 2px; background: var(--gold); }
.process-step:last-child::after { display: none; }
.process-step h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 5px; }
.process-step p { font-size: 0.8rem; color: var(--text-light); }

/* === FAQ Accordion === */
.faq-list { max-width: 800px; margin: 0 auto; }
.faq-item { background: var(--white); border-radius: var(--radius); margin-bottom: 10px; box-shadow: var(--shadow); overflow: hidden; }
.faq-question { padding: 18px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--primary); transition: var(--transition); }
.faq-question:hover { color: var(--gold); }
.faq-question .arrow { transition: transform 0.3s; font-size: 0.8rem; }
.faq-item.active .faq-question .arrow { transform: rotate(180deg); }
.faq-answer { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; }
.faq-answer-inner { padding: 0 25px 18px; font-size: 0.9rem; color: var(--text-body); line-height: 1.7; }
.faq-item.active .faq-answer { max-height: 500px; }

/* === Accordion (Evolution) === */
.accordion { max-width: 900px; margin: 0 auto; }
.accordion-item { background: var(--white); border-radius: var(--radius); margin-bottom: 12px; box-shadow: var(--shadow); overflow: hidden; }
.accordion-header { padding: 20px 25px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--primary); font-size: 1.05rem; }
.accordion-header:hover { color: var(--gold); }
.accordion-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.accordion-body-inner { padding: 0 25px 20px; }
.accordion-item.active .accordion-body { max-height: 3000px; }
.accordion-item.active .accordion-header .arrow { transform: rotate(180deg); }

/* === Contact Form === */
.contact-form { max-width: 600px; margin: 0 auto; }
.form-group { margin-bottom: 15px; }
.form-group label { display: block; font-size: 0.9rem; font-weight: 600; margin-bottom: 5px; color: var(--primary); }
.form-group input, .form-group textarea, .form-group select { width: 100%; padding: 12px 16px; border: 1px solid #ddd; border-radius: var(--radius); font-size: 0.95rem; transition: border-color 0.3s; }
.form-group input:focus, .form-group textarea:focus, .form-group select:focus { outline: none; border-color: var(--gold); }
.form-group textarea { min-height: 120px; resize: vertical; }

/* === Office List === */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.office-card { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); transition: var(--transition); }
.office-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.office-card h4 { color: var(--primary); margin-bottom: 8px; font-size: 1rem; }
.office-card p { font-size: 0.85rem; color: var(--text-body); line-height: 1.6; }
.office-card .phone { color: var(--gold); font-weight: 600; margin-top: 5px; }

/* === Awards Grid === */
.awards-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.award-item { background: var(--white); border-radius: var(--radius); padding: 20px; text-align: center; box-shadow: var(--shadow); transition: var(--transition); }
.award-item:hover { transform: translateY(-2px); }
.award-item .icon { font-size: 2rem; margin-bottom: 10px; }
.award-item h4 { font-size: 0.85rem; color: var(--primary); margin-bottom: 5px; }
.award-item p { font-size: 0.75rem; color: var(--text-light); }

/* === City Page Specific === */
.city-hero { position: relative; min-height: 50vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding-top: 70px; }
.city-stats { display: flex; gap: 30px; justify-content: center; margin: 20px 0; flex-wrap: wrap; }
.city-stat { text-align: center; color: var(--white); }
.city-stat .num { font-size: 2rem; font-weight: 800; color: var(--gold); display: block; }
.city-stat .label { font-size: 0.85rem; opacity: 0.8; }

.policy-box { background: var(--white); border-radius: var(--radius-lg); padding: 25px; margin-bottom: 20px; box-shadow: var(--shadow); border-left: 4px solid var(--gold); }
.policy-box h4 { color: var(--primary); margin-bottom: 8px; }
.policy-box p { font-size: 0.9rem; color: var(--text-body); line-height: 1.7; }

/* === Article Page === */
.article-header { padding-top: 100px; }
.article-content { max-width: 800px; margin: 0 auto; padding: 40px 20px; }
.article-content h2 { font-size: 1.5rem; color: var(--primary); margin: 30px 0 15px; }
.article-content h3 { font-size: 1.2rem; color: var(--primary); margin: 25px 0 12px; }
.article-content p { font-size: 0.95rem; line-height: 1.8; margin-bottom: 15px; color: var(--text-body); }
.article-content ul, .article-content ol { margin: 15px 0; padding-left: 25px; }
.article-content li { padding: 5px 0; font-size: 0.95rem; line-height: 1.7; }
.article-content ul li { list-style: disc; }
.article-content ol li { list-style: decimal; }
.article-meta { display: flex; gap: 15px; font-size: 0.85rem; color: var(--text-light); margin-bottom: 20px; }
.article-cta { background: linear-gradient(135deg, var(--primary-dark), var(--primary)); border-radius: var(--radius-lg); padding: 30px; text-align: center; color: var(--white); margin: 30px 0; }

/* === News List === */
.news-list-item { display: grid; grid-template-columns: 200px 1fr; gap: 20px; padding: 20px 0; border-bottom: 1px solid #eee; transition: var(--transition); }
.news-list-item:hover { background: var(--bg-light); padding-left: 10px; }
.news-list-thumb { aspect-ratio: 16/9; background: var(--bg-gray); border-radius: var(--radius); overflow: hidden; }
.news-list-info h4 { font-size: 1.05rem; margin-bottom: 8px; }
.news-list-info p { font-size: 0.85rem; color: var(--text-light); margin-bottom: 8px; }
.news-list-info .meta { font-size: 0.8rem; color: var(--text-light); display: flex; gap: 15px; }
.news-sidebar { padding-left: 30px; border-left: 1px solid #eee; }
.news-sidebar h4 { font-size: 1rem; color: var(--primary); margin-bottom: 15px; }
.news-sidebar .hot-item { padding: 10px 0; border-bottom: 1px solid #f0f0f0; font-size: 0.85rem; }
.news-sidebar .hot-item a:hover { color: var(--gold); }

/* === About Page === */
.about-hero { min-height: 60vh; display: flex; align-items: center; background: linear-gradient(135deg, var(--primary-dark), var(--primary)); padding-top: 70px; }
.values-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin: 30px 0; }
.value-card { text-align: center; padding: 30px; background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); }
.value-card h3 { color: var(--primary); font-size: 1.2rem; margin-bottom: 10px; }
.value-card p { font-size: 0.95rem; color: var(--text-body); line-height: 1.6; }

/* === Pagination === */
.pagination { display: flex; justify-content: center; gap: 8px; margin: 30px 0; }
.pagination a, .pagination span { padding: 8px 14px; border-radius: var(--radius); font-size: 0.9rem; border: 1px solid #ddd; transition: var(--transition); }
.pagination a:hover, .pagination .active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* === Mobile Bottom Bar === */
.mobile-bottom-bar { display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 999; background: var(--white); box-shadow: 0 -2px 10px rgba(0,0,0,0.1); padding: 10px 20px; }
.mobile-bottom-bar .inner { display: flex; gap: 10px; }
.mobile-bottom-bar a { flex: 1; text-align: center; padding: 10px; border-radius: 25px; font-size: 0.85rem; font-weight: 600; }
.mobile-bottom-bar .btn-call { background: var(--primary); color: var(--white); }
.mobile-bottom-bar .btn-chat { background: var(--gold); color: var(--white); }

/* === Team Page Specific === */
.team-section-title { text-align: center; padding: 20px 0; font-size: 1.5rem; color: var(--primary); border-bottom: 2px solid var(--gold); display: inline-block; margin-bottom: 30px; }
.team-intro { max-width: 700px; margin: 0 auto 40px; text-align: center; font-size: 1rem; color: var(--text-body); line-height: 1.8; }

/* === WeChat QR === */
.wechat-qr { text-align: center; margin: 20px 0; }
.wechat-qr img { width: 150px; height: 150px; border-radius: var(--radius); margin: 0 auto; }
.wechat-qr p { font-size: 0.85rem; color: var(--text-light); margin-top: 8px; }

/* === Category Tags === */
.category-tabs { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 25px; justify-content: center; }
.category-tab { padding: 8px 20px; border-radius: 25px; font-size: 0.85rem; border: 1px solid #ddd; cursor: pointer; transition: var(--transition); background: var(--white); }
.category-tab:hover, .category-tab.active { background: var(--primary); color: var(--white); border-color: var(--primary); }

/* === Placeholder Image === */
.placeholder-img { width: 100%; height: 100%; background: linear-gradient(135deg, var(--bg-gray), #e8e8e8); display: flex; align-items: center; justify-content: center; color: #bbb; font-size: 0.8rem; }

/* === Responsive Design === */
@media (max-width: 1024px) {
  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .treasure-grid { grid-template-columns: repeat(2, 1fr); }
  .expert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .case-inner { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(3, 1fr); }
  .office-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  html { font-size: 15px; }
  .main-nav { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(26,58,82,0.98); flex-direction: column; justify-content: center; align-items: center; gap: 5px; z-index: 1000; }
  .main-nav.open { display: flex; }
  .main-nav a { font-size: 1.2rem; padding: 12px 20px; }
  .menu-toggle { display: flex; }
  .header-phone { display: none; }
  
  .hero { min-height: 90vh; }
  .hero h1 { font-size: 2rem; }
  .hero .hero-sub { font-size: 1rem; }
  .hero-stats { gap: 20px; }
  .hero-stat .num { font-size: 2rem; }
  
  .service-grid { grid-template-columns: 1fr; }
  .treasure-grid { grid-template-columns: 1fr; }
  .promise-cards { grid-template-columns: 1fr; }
  .expert-grid { grid-template-columns: 1fr; }
  .video-grid { grid-template-columns: 1fr; }
  .news-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .office-grid { grid-template-columns: 1fr; }
  
  .timeline::before { left: 20px; }
  .timeline-item, .timeline-item:nth-child(even) { flex-direction: row; }
  .timeline-content { width: calc(100% - 50px); margin-left: 50px !important; }
  .timeline-dot { left: 20px; }
  
  .process-steps { flex-direction: column; align-items: center; }
  .process-step::after { display: none; }
  
  .case-inner { grid-template-columns: 1fr; }
  
  .page-banner h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  
  .mobile-bottom-bar { display: block; }
  body { padding-bottom: 70px; }
  
  .news-list-item { grid-template-columns: 1fr; }
  .news-list-thumb { max-height: 200px; }
}

@media (max-width: 480px) {
  .hero h1 { font-size: 1.6rem; }
  .hero-stats { flex-direction: column; gap: 10px; }
  .hero-buttons { flex-direction: column; }
  .btn-primary, .btn-secondary { width: 100%; text-align: center; }
  .trust-items { flex-direction: column; gap: 10px; }
}

/* === Animations === */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.6s ease, transform 0.6s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
.slide-left { opacity: 0; transform: translateX(-30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.slide-left.visible { opacity: 1; transform: translateX(0); }
.slide-right { opacity: 0; transform: translateX(30px); transition: opacity 0.6s ease, transform 0.6s ease; }
.slide-right.visible { opacity: 1; transform: translateX(0); }

/* === Utility === */
.text-center { text-align: center; }
.text-gold { color: var(--gold); }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.hidden { display: none; }

/* === Subpage specific additions === */
.subpage-services { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.subpage-service-item { background: var(--white); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); border-left: 3px solid var(--gold); transition: var(--transition); }
.subpage-service-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.subpage-service-item h4 { color: var(--primary); font-size: 1rem; margin-bottom: 8px; }
.subpage-service-item p { font-size: 0.85rem; color: var(--text-body); line-height: 1.6; }

.pricing-section { margin: 20px 0; }
.pricing-section h3 { color: var(--primary); margin-bottom: 15px; font-size: 1.2rem; }

.promises-list { display: flex; gap: 15px; flex-wrap: wrap; margin: 20px 0; padding: 20px; background: rgba(212,168,82,0.05); border-radius: var(--radius); border: 1px solid rgba(212,168,82,0.2); }
.promise-tag { display: flex; align-items: center; gap: 6px; font-size: 0.9rem; color: var(--primary); font-weight: 600; }

.subpage-case { background: var(--white); border-radius: var(--radius-lg); padding: 25px; margin-bottom: 20px; box-shadow: var(--shadow); }
.subpage-case h4 { color: var(--primary); margin-bottom: 5px; }
.subpage-case .meta { font-size: 0.85rem; color: var(--text-light); margin-bottom: 12px; }

.subpage-expert-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }

/* City page */
.city-services-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }
.city-service-box { background: var(--white); border-radius: var(--radius); padding: 18px; box-shadow: var(--shadow); }
.city-service-box h4 { color: var(--primary); font-size: 1rem; margin-bottom: 10px; }
.city-service-box ul { padding-left: 0; }
.city-service-box li { font-size: 0.85rem; padding: 4px 0; color: var(--text-body); }
.city-service-box li::before { content: '•'; color: var(--gold); margin-right: 8px; font-weight: 700; }

.city-faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

/* About page */
.brand-declaration { max-width: 700px; margin: 30px auto; text-align: center; font-size: 1.05rem; line-height: 2; color: var(--text-body); }
.brand-declaration p { margin-bottom: 15px; }

/* Contact page */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.contact-info-card { background: var(--white); border-radius: var(--radius-lg); padding: 25px; box-shadow: var(--shadow); }
.contact-info-card h3 { color: var(--primary); margin-bottom: 15px; }
.contact-info-card p { font-size: 0.9rem; color: var(--text-body); line-height: 1.8; }
.contact-info-card .highlight { color: var(--gold); font-weight: 700; font-size: 1.3rem; }

/* Team page */
.team-category { margin-bottom: 40px; }
.team-category-title { text-align: center; font-size: 1.3rem; color: var(--primary); padding: 15px 30px; border-bottom: 2px solid var(--gold); display: inline-block; margin: 0 auto 25px; }
.team-photo-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 15px; }
.team-photo-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: var(--transition); }
.team-photo-card:hover { transform: translateY(-3px); }
.team-photo-card img { width: 100%; aspect-ratio: 3/4; object-fit: cover; }
.team-photo-card .info { padding: 12px; text-align: center; }
.team-photo-card .info h4 { font-size: 0.9rem; color: var(--primary); margin-bottom: 3px; }
.team-photo-card .info p { font-size: 0.75rem; color: var(--text-light); }

/* News page */
.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 30px; }

@media (max-width: 768px) {
  .subpage-services { grid-template-columns: 1fr; }
  .subpage-expert-grid { grid-template-columns: 1fr; }
  .city-services-grid { grid-template-columns: 1fr; }
  .city-faq-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .news-layout { grid-template-columns: 1fr; }
  .news-sidebar { padding-left: 0; border-left: none; border-top: 1px solid #eee; padding-top: 20px; }
  .team-photo-grid { grid-template-columns: repeat(2, 1fr); }
  .promises-list { flex-direction: column; }
}

/* === WeChat QR Popup Modal === */
.wechat-modal-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.55);
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.25s ease;
}
.wechat-modal-overlay.active { display: flex; }
.wechat-modal {
    background: #fff;
    border-radius: 16px;
    padding: 40px 36px 32px;
    max-width: 360px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.25);
    animation: scaleIn 0.3s ease;
}
.wechat-modal .modal-close {
    position: absolute;
    top: 12px; right: 16px;
    font-size: 1.5rem;
    color: #999;
    cursor: pointer;
    border: none;
    background: none;
    line-height: 1;
    transition: color 0.2s;
}
.wechat-modal .modal-close:hover { color: #333; }
.wechat-modal h3 {
    font-size: 1.2rem;
    color: var(--navy, #1a2b5f);
    margin-bottom: 6px;
}
.wechat-modal .modal-subtitle {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.wechat-modal .modal-qr {
    width: 200px;
    height: 200px;
    border-radius: 12px;
    margin: 0 auto 16px;
    border: 2px solid #f0f0f0;
}
.wechat-modal .modal-tip {
    font-size: 0.8rem;
    color: #aaa;
    margin-bottom: 16px;
}
.wechat-modal .modal-phone {
    display: inline-block;
    background: var(--gold, #c5a55a);
    color: #fff;
    padding: 10px 28px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.wechat-modal .modal-phone:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(197,165,90,0.4);
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }
