/* PLC自动化公司网站样式 - 扁平插画风格 */
:root {
  --primary-color: #2563eb;
  --secondary-color: #1e40af;
  --accent-color: #3b82f6;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --dark-color: #1f2937;
  --light-color: #f8fafc;
  --gray-light: #e5e7eb;
  --gray-medium: #6b7280;
  --white: #ffffff;
  --text-dark: #1f2937;
  --text-medium: #6b7280;
  --text-light: #9ca3af;
  --bg-light: #f8fafc;
  --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

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

body {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  line-height: 1.6;
  color: var(--dark-color);
  background-color: var(--light-color);
}

/* 通用类 */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 0.5rem;
  text-decoration: none;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
}

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

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

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

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

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1rem;
}

.card {
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
  overflow: hidden;
}

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

.card-header {
  padding: 1.5rem;
  border-bottom: 1px solid var(--gray-light);
}

.card-body {
  padding: 1.5rem;
}

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

.text-primary {
  color: var(--primary-color);
}

.text-gray {
  color: var(--gray-medium);
}

.mb-1 {
  margin-bottom: 0.25rem;
}
.mb-2 {
  margin-bottom: 0.5rem;
}
.mb-3 {
  margin-bottom: 0.75rem;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-5 {
  margin-bottom: 1.25rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}

.mt-4 {
  margin-top: 1rem;
}
.mt-5 {
  margin-top: 1.25rem;
}

.py-5 {
  padding: 1.25rem 0;
}
.py-8 {
  padding: 2rem 0;
}
.py-12 {
  padding: 3rem 0;
}

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

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--dark-color);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Hero Section */
.hero {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--secondary-color) 100%
  );
  color: var(--white);
  padding: 8rem 0 4rem;
  margin-top: 80px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 1rem;
}

.hero p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
  opacity: 0.9;
}

/* Product Grid */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.product-card {
  background: var(--white);
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

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

.product-image {
  width: 100%;
  height: 200px;
  background: linear-gradient(45deg, #e5e7eb, #f3f4f6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--gray-medium);
}

.product-content {
  padding: 1.5rem;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--dark-color);
}

.product-description {
  color: var(--gray-medium);
  margin-bottom: 1rem;
  line-height: 1.5;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* Footer */
.footer {
  background: var(--dark-color);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  margin-bottom: 1rem;
  color: var(--primary-color);
}

.footer-section ul {
  list-style: none;
}

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section ul li a {
  color: var(--white);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.footer-section ul li a:hover {
  opacity: 1;
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #374151;
  padding-top: 1rem;
  text-align: center;
  opacity: 0.6;
}

/* Features Section */
.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--white);
  border-radius: 1rem;
  box-shadow: var(--shadow);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.feature-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
  background: var(--light-color);
  padding: 1rem 0;
  margin-top: 80px;
}

.breadcrumb-list {
  display: flex;
  list-style: none;
  gap: 0.5rem;
  align-items: center;
}

.breadcrumb-list li a {
  color: var(--primary-color);
  text-decoration: none;
}

.breadcrumb-list li:not(:last-child)::after {
  content: "/";
  margin-left: 0.5rem;
  color: var(--gray-medium);
}

/* ===== 关于我们页面样式 ===== */
.company-story {
  padding: 2rem 0;
}

.company-image .image-placeholder {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-light);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.stat-item {
  text-align: center;
}

.stat-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  display: block;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-top: 0.5rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.value-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.value-item:hover {
  transform: translateY(-5px);
}

.value-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.member-avatar {
  width: 100px;
  height: 100px;
  background: var(--bg-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: var(--text-light);
}

.member-title {
  color: var(--primary-color);
  font-weight: 600;
  margin: 0.5rem 0;
}

.member-bio {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 100%;
  background: var(--primary-color);
}

.timeline-item {
  position: relative;
  width: 50%;
  padding: 2rem;
  margin-bottom: 2rem;
}

.timeline-item:nth-child(odd) {
  left: 0;
  text-align: right;
}

.timeline-item:nth-child(even) {
  left: 50%;
  text-align: left;
}

.timeline-year {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
}

.timeline-item:nth-child(odd) .timeline-year {
  right: -40px;
}

.timeline-item:nth-child(even) .timeline-year {
  left: -40px;
}

.timeline-content {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
}

.cert-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.cert-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
}

/* ===== 联系我们页面样式 ===== */
.contact-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contact-icon {
  width: 80px;
  height: 80px;
  background: var(--primary-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  color: white;
  font-size: 2rem;
}

.contact-note {
  font-size: 0.9rem;
  color: var(--text-light);
  font-style: italic;
}

.contact-form-section {
  padding-right: 2rem;
}

.contact-info-section {
  padding-left: 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

/* 表单样式 */
.contact-form {
  background: white;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
  font-size: 0.9rem;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--gray-light);
  border-radius: 8px;
  font-size: 0.9rem;
  font-family: inherit;
  transition: all 0.3s ease;
  background: white;
}

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

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

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: right 0.75rem center;
  background-size: 1rem;
  padding-right: 2.5rem;
}

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

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 0.5rem;
}

.checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.9rem;
}

.checkbox-label input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  border: 2px solid var(--gray-light);
  border-radius: 4px;
  margin-right: 0.5rem;
  position: relative;
  transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"]:checked + .checkmark {
  background: var(--primary-color);
  border-color: var(--primary-color);
}

.checkbox-label input[type="checkbox"]:checked + .checkmark::after {
  content: "✓";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-weight: bold;
}

/* ===== 博客详情页面样式 ===== */
.breadcrumb {
  background: var(--bg-light);
  padding: 1rem 0;
  font-size: 0.9rem;
}

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

.breadcrumb span {
  margin: 0 0.5rem;
  color: var(--text-light);
}

.blog-article {
  padding: 2rem 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 3rem;
}

.article-header {
  margin-bottom: 2rem;
}

.category-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  margin-bottom: 1rem;
}

.category-tag.tech {
  background: #dbeafe;
  color: #1e40af;
}

.article-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-color);
}

.author-info {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  font-size: 2rem;
  color: var(--text-light);
}

.author-details {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 600;
  color: var(--text-dark);
}

.publish-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.article-stats {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
}

.article-content {
  line-height: 1.8;
  font-size: 1.1rem;
}

.article-content h2 {
  margin: 2.5rem 0 1rem;
  color: var(--text-dark);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.article-content h3 {
  margin: 2rem 0 1rem;
  color: var(--text-dark);
}

.article-summary {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 12px;
  border-left: 4px solid var(--primary-color);
  margin: 2rem 0;
}

.code-block {
  background: #1e293b;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
  overflow-x: auto;
}

.code-block h4 {
  color: #e2e8f0;
  margin-bottom: 1rem;
  font-size: 0.9rem;
}

.code-block pre {
  margin: 0;
  color: #cbd5e1;
  font-family: "Courier New", monospace;
  line-height: 1.6;
}

.info-box {
  background: #dbeafe;
  border: 1px solid #3b82f6;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 2rem 0;
}

.info-box h4 {
  color: #1e40af;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.quote-box {
  background: #f1f5f9;
  border-left: 4px solid var(--primary-color);
  padding: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
}

.quote-box blockquote {
  margin: 0;
  font-size: 1.1rem;
  line-height: 1.6;
}

.quote-box cite {
  display: block;
  margin-top: 1rem;
  text-align: right;
  font-size: 0.9rem;
  color: var(--text-light);
}

.article-tags {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
}

.article-tags h4 {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.tag {
  display: inline-block;
  background: white;
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  margin: 0.25rem;
  border: 1px solid var(--primary-color);
}

.article-share {
  margin: 2rem 0;
  padding: 1.5rem;
  background: var(--bg-light);
  border-radius: 12px;
}

.share-buttons {
  display: flex;
  gap: 1rem;
}

.share-btn {
  width: 40px;
  height: 40px;
  background: var(--primary-color);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform 0.3s ease;
}

.share-btn:hover {
  transform: scale(1.1);
}

.author-bio {
  background: var(--bg-light);
  border-radius: 12px;
  padding: 2rem;
  margin: 3rem 0;
  display: flex;
  gap: 1.5rem;
}

.author-avatar-large {
  color: var(--text-light);
}

.author-social {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.author-social a {
  color: var(--primary-color);
  font-size: 1.2rem;
  transition: color 0.3s ease;
}

.comments-section {
  margin: 3rem 0;
}

.comment-form {
  background: var(--bg-light);
  padding: 2rem;
  border-radius: 12px;
  margin-bottom: 2rem;
}

.comment {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: white;
  border-radius: 12px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.comment-avatar {
  font-size: 2rem;
  color: var(--text-light);
}

.comment-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.comment-author {
  font-weight: 600;
  color: var(--text-dark);
}

.comment-date {
  font-size: 0.9rem;
  color: var(--text-light);
}

.comment-actions {
  margin-top: 1rem;
  display: flex;
  gap: 1rem;
}

.comment-btn {
  background: none;
  border: none;
  color: var(--text-light);
  cursor: pointer;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
}

.comment-btn:hover {
  color: var(--primary-color);
}

.article-sidebar {
  position: sticky;
  top: 2rem;
  height: fit-content;
}

.sidebar-widget {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.sidebar-widget h3 {
  margin-bottom: 1rem;
  color: var(--text-dark);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 0.5rem;
}

.toc {
  list-style: none;
  padding: 0;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: var(--text-light);
  text-decoration: none;
  display: block;
  padding: 0.25rem 0;
  border-radius: 4px;
  transition: color 0.3s ease;
}

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

.related-article {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-color);
}

.related-article:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.related-image {
  width: 60px;
  height: 60px;
  background: var(--bg-light);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-light);
  flex-shrink: 0;
}

.related-content h4 {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  line-height: 1.4;
}

.related-content a {
  color: var(--text-dark);
  text-decoration: none;
}

.related-content a:hover {
  color: var(--primary-color);
}

.related-date {
  font-size: 0.8rem;
  color: var(--text-light);
}

.categories {
  list-style: none;
  padding: 0;
}

.categories li {
  margin-bottom: 0.5rem;
}

.categories a {
  color: var(--text-light);
  text-decoration: none;
  display: flex;
  justify-content: space-between;
  padding: 0.25rem 0;
}

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

.download-links {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.download-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--bg-light);
  border-radius: 8px;
  color: var(--text-dark);
  text-decoration: none;
  transition: background 0.3s ease;
}

.download-item:hover {
  background: #e0e7ff;
  color: var(--primary-color);
}

.download-item i {
  color: var(--primary-color);
  font-size: 1.2rem;
}

/* ===== 联系信息部分样式 ===== */
.office-info {
  background: white;
  border-radius: 8px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  border-left: 4px solid var(--primary-color);
}

.office-info h3 {
  color: var(--primary-color);
  font-size: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.office-details p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  display: flex;
  align-items: center;
  color: var(--text-medium);
}

.office-details p i {
  width: 20px;
  margin-right: 0.75rem;
  color: var(--primary-color);
  font-size: 0.9rem;
}

.map-placeholder {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--secondary-color)
  );
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  color: white;
  margin-top: 0.5rem;
  cursor: pointer;
  transition: transform 0.3s ease;
  grid-column: 1 / -1;
}

.map-placeholder:hover {
  transform: translateY(-2px);
}

.map-content p {
  margin: 0.5rem 0;
  font-weight: 600;
}

.map-content small {
  opacity: 0.8;
  font-size: 0.8rem;
}

/* 服务网点样式 */
.service-centers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.service-center {
  background: white;
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.service-center:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}

.service-center h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.service-center p {
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
  color: var(--text-medium);
}

.service-center p i {
  margin-right: 0.5rem;
  color: var(--primary-color);
}

/* ===== 响应式设计 ===== */
@media (max-width: 1024px) {
  .article-layout {
    grid-template-columns: 1fr;
  }

  .contact-form-section,
  .contact-info-section {
    padding: 0;
  }

  .contact-info-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .contact-info-section {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-item {
    width: 100%;
    left: 0 !important;
    text-align: left;
    padding-left: 80px;
  }

  .timeline-year {
    left: 0 !important;
    right: auto !important;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-group {
    grid-template-columns: 1fr;
  }

  .office-info {
    padding: 1rem;
    margin-bottom: 1rem;
  }

  .office-info h3 {
    font-size: 1rem;
    margin-bottom: 0.75rem;
  }

  .office-details p {
    font-size: 0.85rem;
    margin-bottom: 0.4rem;
  }

  .map-placeholder {
    padding: 1.5rem;
    margin-top: 0.5rem;
  }

  .contact-info-section {
    grid-template-columns: 1fr;
  }

  .service-centers-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .service-center {
    padding: 1rem;
  }

  .author-bio {
    flex-direction: column;
    text-align: center;
  }

  .comment {
    flex-direction: column;
  }

  .article-meta {
    flex-direction: column;
    gap: 1rem;
    align-items: flex-start;
  }
}
