/* 基础样式 */
:root {
  --primary: #1e3a5f;
  --primary-light: #2d4a6f;
  --accent: #d4a574;
  --accent-light: #e8c9a8;
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--gray-700);
  line-height: 1.6;
  background: var(--white);
}

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

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

img {
  max-width: 100%;
}

/* 按钮 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  border-radius: 8px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

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

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

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

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

.btn-lg {
  padding: 16px 32px;
  font-size: 18px;
}

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

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

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

.logo-icon {
  font-size: 32px;
}

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

.logo-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--primary);
}

.logo-slogan {
  font-size: 12px;
  color: var(--accent);
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  font-size: 15px;
  font-weight: 500;
  color: var(--gray-600);
  transition: color 0.2s ease;
  padding: 8px 0;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow-lg);
  padding: 8px 0;
  min-width: 140px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.2s ease;
  z-index: 100;
}

.nav-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: block;
  padding: 10px 20px;
  font-size: 14px;
  color: var(--gray-600);
  transition: all 0.2s ease;
}

.dropdown-item:hover {
  background: var(--gray-50);
  color: var(--primary);
}

.header-contact {
  display: flex;
  align-items: center;
  gap: 8px;
}

.phone-icon {
  font-size: 18px;
}

.phone-number {
  font-size: 16px;
  font-weight: 600;
  color: var(--primary);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 8px;
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: 16px 0;
}

.mobile-menu.active {
  display: block;
}

.mobile-link {
  display: block;
  padding: 12px 20px;
  font-size: 15px;
  color: var(--gray-700);
}

.mobile-link.phone {
  color: var(--primary);
  font-weight: 600;
}

/* 英雄区 */
.hero {
  padding: 140px 0 80px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
}

.hero-content {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.hero-title {
  font-size: 48px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 16px;
  line-height: 1.2;
}

.hero-highlight {
  display: block;
  font-size: 24px;
  font-weight: 400;
  color: var(--gray-600);
  margin-top: 8px;
}

.hero-desc {
  font-size: 18px;
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  margin-bottom: 24px;
}

.hero-contact {
  margin-top: 20px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--gray-600);
  font-size: 15px;
}

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

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

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

/* 服务区 */
.services {
  padding: 80px 0;
  background: var(--white);
}

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

.service-card {
  display: block;
  padding: 28px;
  background: var(--gray-50);
  border-radius: 12px;
  border: 1px solid var(--gray-200);
  transition: all 0.3s ease;
  text-decoration: none;
}

.service-card:hover {
  background: var(--white);
  border-color: var(--primary);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.service-card.main {
  grid-column: span 1;
}

.service-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.service-card.main .service-icon {
  font-size: 42px;
}

.service-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.service-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
  margin-bottom: 12px;
}

.service-link {
  font-size: 14px;
  color: var(--primary);
  font-weight: 500;
}

.service-info {
  flex: 1;
}

/* 优势区 */
.advantages {
  padding: 80px 0;
  background: var(--gray-50);
}

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

.advantage-card {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  box-shadow: var(--shadow);
  text-align: center;
}

.advantage-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.advantage-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 12px;
}

.advantage-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* 数据统计 */
.stats {
  padding: 60px 0;
  background: var(--primary);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  text-align: center;
}

.stat-item {
  color: var(--white);
}

.stat-number {
  font-size: 48px;
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 8px;
}

.stat-label {
  font-size: 16px;
  color: rgba(255,255,255,0.8);
}

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

.process-steps {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
}

.process-step {
  text-align: center;
  flex: 1;
  max-width: 200px;
}

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

.step-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.step-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.6;
}

.process-arrow {
  font-size: 24px;
  color: var(--gray-300);
  padding-top: 12px;
}

/* 常见问题 */
.faq {
  padding: 80px 0;
  background: var(--gray-50);
}

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

.faq-item {
  background: var(--white);
  border-radius: 12px;
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}

.faq-question {
  width: 100%;
  padding: 20px 24px;
  background: none;
  border: none;
  text-align: left;
  font-size: 16px;
  font-weight: 500;
  color: var(--gray-800);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.2s ease;
}

.faq-question:hover {
  background: var(--gray-50);
}

.faq-icon {
  font-size: 20px;
  color: var(--primary);
  transition: transform 0.3s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 24px 20px;
  font-size: 15px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* CTA区域 */
.cta {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  text-align: center;
}

.cta-content {
  max-width: 600px;
  margin: 0 auto;
}

.cta-title {
  font-size: 32px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}

.cta-desc {
  font-size: 18px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 30px;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

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

.cta .btn-primary:hover {
  background: var(--accent-light);
  border-color: var(--accent-light);
}

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

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

.cta-address {
  color: rgba(255,255,255,0.7);
  font-size: 14px;
}

/* 页脚 */
.footer {
  background: var(--gray-900);
  color: var(--gray-400);
  padding: 60px 0 30px;
}

.footer-main {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 60px;
  margin-bottom: 40px;
}

.footer-brand {
  max-width: 300px;
}

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

.footer-logo .logo-icon {
  font-size: 28px;
}

.footer-logo .logo-name {
  font-size: 20px;
  color: var(--white);
}

.footer-slogan {
  color: var(--accent);
  margin-bottom: 12px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.7;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.footer-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-column a {
  display: block;
  color: var(--gray-400);
  font-size: 14px;
  margin-bottom: 8px;
  transition: color 0.2s ease;
}

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

.footer-column p {
  font-size: 14px;
  margin-bottom: 8px;
}

.footer-bottom {
  border-top: 1px solid var(--gray-800);
  padding-top: 30px;
  text-align: center;
}

.footer-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.footer-stats span {
  font-size: 14px;
  color: var(--gray-500);
}

.footer-copyright {
  font-size: 14px;
  color: var(--gray-500);
}

/* 页面头部 */
.page-header {
  padding: 140px 0 60px;
  background: linear-gradient(135deg, var(--gray-50) 0%, var(--white) 100%);
  text-align: center;
}

.page-title {
  font-size: 42px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
}

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

/* 新闻列表页 */
.news-list {
  padding: 60px 0;
}

.news-article {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 30px;
  box-shadow: var(--shadow);
}

.news-article-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.news-tag {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
}

.news-tag.policy {
  background: #dbeafe;
  color: #1e40af;
}

.news-tag.warning {
  background: #fef3c7;
  color: #92400e;
}

.news-tag.info {
  background: #d1fae5;
  color: #065f46;
}

.news-date {
  font-size: 14px;
  color: var(--gray-400);
}

.news-article-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.news-article-content {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
}

.news-article-content h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 24px 0 12px;
}

.news-article-content h4 {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-700);
  margin: 20px 0 10px;
}

.news-article-content ul {
  padding-left: 20px;
  margin: 12px 0;
}

.news-article-content li {
  margin-bottom: 8px;
}

.news-article-content p {
  margin-bottom: 16px;
}

/* 关于我们 */
.about-intro {
  padding: 60px 0;
}

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

.intro-text h2 {
  font-size: 28px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 20px;
}

.intro-text p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.intro-highlights {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.highlight-item {
  background: var(--gray-50);
  padding: 20px;
  border-radius: 12px;
  text-align: center;
}

.highlight-number {
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 8px;
}

.highlight-label {
  font-size: 14px;
  color: var(--gray-600);
}

/* 发展历程 */
.timeline-section {
  padding: 60px 0;
  background: var(--gray-50);
}

.timeline {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  padding-left: 30px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--gray-200);
}

.timeline-item {
  position: relative;
  padding-bottom: 40px;
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: -35px;
  top: 0;
  width: 12px;
  height: 12px;
  background: var(--primary);
  border-radius: 50%;
  border: 3px solid var(--white);
  box-shadow: var(--shadow);
}

.timeline-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.timeline-desc {
  font-size: 14px;
  color: var(--gray-600);
  line-height: 1.7;
}

/* 资质 */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 800px;
  margin: 0 auto;
}

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

.cert-icon {
  font-size: 40px;
  margin-bottom: 16px;
}

.cert-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

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

/* 联系卡片 */
.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 900px;
  margin: 0 auto;
}

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

.contact-card .contact-icon {
  font-size: 36px;
  margin-bottom: 16px;
}

.contact-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 8px;
}

.contact-value {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 8px;
}

.contact-value a {
  color: var(--primary);
}

.contact-note {
  font-size: 12px;
  color: var(--gray-400);
}

/* 服务详情页 */
.service-detail {
  padding: 60px 0;
}

.service-content {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
}

.service-main {
  background: var(--white);
  border-radius: 12px;
  padding: 40px;
  box-shadow: var(--shadow);
}

.service-sidebar {
  position: sticky;
  top: 90px;
}

.sidebar-card {
  background: var(--white);
  border-radius: 12px;
  padding: 24px;
  box-shadow: var(--shadow);
  margin-bottom: 24px;
}

.sidebar-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--gray-800);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--gray-200);
}

.sidebar-list {
  list-style: none;
}

.sidebar-list li {
  padding: 8px 0;
  font-size: 14px;
  color: var(--gray-600);
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-contact {
  text-align: center;
}

.sidebar-contact p {
  font-size: 14px;
  color: var(--gray-600);
  margin-bottom: 12px;
}

.sidebar-contact .btn {
  width: 100%;
}

/* 服务详情内容 */
.service-main h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--gray-800);
  margin: 32px 0 16px;
}

.service-main h3 {
  font-size: 18px;
  font-weight: 600;
  color: var(--gray-700);
  margin: 24px 0 12px;
}

.service-main p {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 16px;
}

.service-main ul {
  padding-left: 20px;
  margin: 16px 0;
}

.service-main li {
  font-size: 16px;
  color: var(--gray-600);
  line-height: 1.8;
  margin-bottom: 8px;
}

.service-intro {
  font-size: 18px;
  color: var(--gray-700);
  line-height: 1.8;
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}

/* 响应式 */
@media (max-width: 1024px) {
  .nav {
    display: none;
  }
  
  .header-contact {
    display: none;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .advantages-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-main {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .footer-links {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .certs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .contact-cards {
    grid-template-columns: 1fr;
  }
  
  .service-content {
    grid-template-columns: 1fr;
  }
  
  .service-sidebar {
    position: static;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .hero-title {
    font-size: 32px;
  }
  
  .hero-highlight {
    font-size: 18px;
  }
  
  .section-title {
    font-size: 28px;
  }
  
  .cta-title {
    font-size: 24px;
  }
  
  .advantages-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  
  .stat-number {
    font-size: 32px;
  }
  
  .process-steps {
    flex-direction: column;
    align-items: center;
  }
  
  .process-arrow {
    transform: rotate(90deg);
  }
  
  .process-step {
    max-width: 100%;
  }
  
  .hero-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .cta-actions {
    flex-direction: column;
    align-items: center;
  }
  
  .news-article {
    padding: 24px;
  }
  
  .news-article-title {
    font-size: 20px;
  }
  
  .reasons-grid {
    grid-template-columns: 1fr;
  }
  
  .certs-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-links {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  
  .footer-stats {
    flex-direction: column;
    gap: 12px;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  .intro-content {
    grid-template-columns: 1fr;
  }

  .intro-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}
