/* 文力德官网模板样式 */
/* 东方书卷美学 (New Chinoiserie Editorial) */

/* 基础样式 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background-color: #FDF6EC;
  color: #3D2B1F;
  line-height: 1.6;
}

/* 容器 */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}

@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* 区块标题 */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  color: #E8553A;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.section-heading {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #3D2B1F;
  margin-bottom: 0.75rem;
}

@media (min-width: 1024px) {
  .section-heading {
    font-size: 2.25rem;
  }
}

.section-desc {
  font-size: 0.875rem;
  color: rgba(61, 43, 31, 0.55);
  max-width: 600px;
  margin: 0 auto;
}

/* 按钮样式 */
.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: #E8553A;
  color: #FDF6EC;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-family: 'Noto Sans SC', sans-serif;
}

.btn-primary:hover {
  background-color: #d04a33;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: transparent;
  color: rgba(61, 43, 31, 0.7);
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  border: 1px solid rgba(61, 43, 31, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-family: 'Noto Sans SC', sans-serif;
}

.btn-secondary:hover {
  border-color: #E8553A;
  color: #E8553A;
}

.btn-green {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.875rem 2rem;
  background-color: #4A7C59;
  color: #FDF6EC;
  font-size: 0.875rem;
  letter-spacing: 0.05em;
  border-radius: 2px;
  border: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
  text-decoration: none;
  font-family: 'Noto Sans SC', sans-serif;
}

.btn-green:hover {
  background-color: #3d6a4b;
}

/* 卡片样式 */
.card {
  background-color: rgba(253, 246, 236, 0.5);
  border: 1px solid rgba(61, 43, 31, 0.05);
  border-radius: 2px;
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  border-color: rgba(232, 85, 58, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.card-white {
  background-color: white;
  border-radius: 2px;
  border: 1px solid rgba(61, 43, 31, 0.05);
  transition: all 0.3s ease;
}

.card-white:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

/* 图标容器 */
.icon-box {
  width: 3rem;
  height: 3rem;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.icon-box-red {
  background-color: rgba(232, 85, 58, 0.1);
  color: #E8553A;
}

.icon-box-green {
  background-color: rgba(74, 124, 89, 0.1);
  color: #4A7C59;
}

.icon-box-red:hover,
.card:hover .icon-box-red {
  background-color: #E8553A;
  color: white;
}

.icon-box-green:hover,
.card:hover .icon-box-green {
  background-color: #4A7C59;
  color: white;
}

/* Hero 区域 */
.hero-section {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #FDF6EC;
}

.hero-bg {
  position: absolute;
  inset: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.6;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #FDF6EC, rgba(253, 246, 236, 0.8), transparent);
}

.hero-content {
  position: relative;
  z-index: 10;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .hero-content {
    padding-top: 0;
    padding-bottom: 0;
  }
}

.hero-tag {
  display: inline-block;
  font-size: 0.75rem;
  letter-spacing: 0.4em;
  color: rgba(232, 85, 58, 0.8);
  margin-bottom: 1.5rem;
  border-left: 2px solid #E8553A;
  padding-left: 1rem;
  font-family: 'Noto Sans SC', sans-serif;
}

.hero-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #3D2B1F;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
  .hero-title {
    font-size: 2.25rem;
  }
}

@media (min-width: 1024px) {
  .hero-title {
    font-size: 3.75rem;
  }
}

.hero-desc {
  font-size: 0.875rem;
  color: rgba(61, 43, 31, 0.6);
  line-height: 1.75;
  margin-bottom: 2.5rem;
  max-width: 28rem;
  font-family: 'Noto Sans SC', sans-serif;
}

@media (min-width: 640px) {
  .hero-desc {
    font-size: 1rem;
  }
}

/* Section 间距 */
.section-padding {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

@media (min-width: 1024px) {
  .section-padding {
    padding-top: 8rem;
    padding-bottom: 8rem;
  }
}

/* 标签样式 */
.tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.75rem;
  color: #E8553A;
  background-color: rgba(232, 85, 58, 0.1);
  padding: 0.25rem 0.625rem;
  border-radius: 2px;
}

/* 新闻卡片 */
.news-card {
  background-color: rgba(255, 255, 255, 0.6);
  border-radius: 2px;
  border: 1px solid rgba(61, 43, 31, 0.05);
  padding: 1.5rem 2rem;
  transition: all 0.3s ease;
}

.news-card:hover {
  border-color: rgba(232, 85, 58, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.news-card:hover .news-title {
  color: #E8553A;
}

.news-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1rem;
  font-weight: 700;
  color: #3D2B1F;
  margin-bottom: 0.75rem;
  transition: color 0.3s ease;
}

@media (min-width: 1024px) {
  .news-title {
    font-size: 1.125rem;
  }
}

/* 页面头部 */
.page-header {
  position: relative;
  padding-top: 6rem;
  padding-bottom: 4rem;
  background-color: #FDF6EC;
  overflow: hidden;
}

@media (min-width: 1024px) {
  .page-header {
    padding-top: 8rem;
    padding-bottom: 6rem;
  }
}

.page-header-bg {
  position: absolute;
  inset: 0;
}

.page-header-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
}

.page-header-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, #FDF6EC, rgba(253, 246, 236, 0.85), rgba(253, 246, 236, 0.6));
}

.page-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.875rem;
  font-weight: 700;
  color: #3D2B1F;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

@media (min-width: 1024px) {
  .page-title {
    font-size: 3rem;
  }
}

.page-subtitle {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  color: rgba(232, 85, 58, 0.8);
  margin-bottom: 1rem;
  border-left: 2px solid #E8553A;
  padding-left: 1rem;
}

.page-tagline {
  font-size: 1rem;
  color: rgba(61, 43, 31, 0.5);
  font-style: italic;
  margin-bottom: 1.5rem;
  font-family: 'Noto Serif SC', serif;
}

/* CTA Section */
.cta-section {
  background-color: #3D2B1F;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

@media (min-width: 1024px) {
  .cta-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
  }
}

.cta-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: #FDF6EC;
  margin-bottom: 1rem;
}

@media (min-width: 1024px) {
  .cta-title {
    font-size: 1.875rem;
  }
}

.cta-desc {
  font-size: 0.875rem;
  color: rgba(253, 246, 236, 0.6);
  max-width: 28rem;
  margin: 0 auto 2rem;
}

/* 返回链接 */
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: rgba(61, 43, 31, 0.4);
  transition: color 0.3s ease;
  margin-bottom: 1.5rem;
}

.back-link:hover {
  color: #E8553A;
}

/* 合作伙伴网格 */
.partners-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}

@media (min-width: 640px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

.partner-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
  background-color: white;
  border-radius: 2px;
  border: 1px solid rgba(61, 43, 31, 0.05);
  transition: all 0.3s ease;
}

@media (min-width: 1024px) {
  .partner-item {
    padding: 2rem;
  }
}

.partner-item:hover {
  border-color: rgba(232, 85, 58, 0.15);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

/* 特色服务卡片 */
.service-card {
  background-color: rgba(253, 246, 236, 0.5);
  border-radius: 2px;
  border: 1px solid rgba(61, 43, 31, 0.05);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(232, 85, 58, 0.2);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.service-card-green:hover {
  border-color: rgba(74, 124, 89, 0.2);
}

.service-card-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.125rem;
  font-weight: 700;
  color: #3D2B1F;
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 0.875rem;
  color: rgba(61, 43, 31, 0.55);
  line-height: 1.9;
}

/* 流程步骤 */
.process-step {
  position: relative;
  background-color: rgba(253, 246, 236, 0.5);
  border-radius: 2px;
  border: 1px solid rgba(61, 43, 31, 0.05);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.process-step:hover {
  border-color: rgba(232, 85, 58, 0.2);
}

.process-number {
  font-family: 'Noto Serif SC', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: rgba(232, 85, 58, 0.2);
  transition: color 0.3s ease;
}

.process-step:hover .process-number {
  color: rgba(232, 85, 58, 0.4);
}

/* 响应式网格 */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 1024px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 640px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}

/* 文字颜色 */
.text-warm-red { color: #E8553A; }
.text-bamboo { color: #4A7C59; }
.text-deep-ink { color: #3D2B1F; }
.text-cream { color: #FDF6EC; }
.text-muted { color: rgba(61, 43, 31, 0.55); }
.text-light { color: rgba(61, 43, 31, 0.4); }

/* 背景颜色 */
.bg-cream { background-color: #FDF6EC; }
.bg-white { background-color: white; }
.bg-deep-ink { background-color: #3D2B1F; }

/* 字体 */
.font-serif-sc { font-family: 'Noto Serif SC', serif; }
.font-sans-sc { font-family: 'Noto Sans SC', sans-serif; }

/* 边框 */
.border-light { border-color: rgba(61, 43, 31, 0.05); }
.border-warm-red { border-color: rgba(232, 85, 58, 0.2); }
.border-bamboo { border-color: rgba(74, 124, 89, 0.2); }

/* 分页样式 */
.pagination {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
  padding: 0;
  margin: 0;
}

.page-item {
  display: inline-block;
}

.page-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.25rem;
  height: 2.25rem;
  padding: 0 0.5rem;
  font-size: 0.875rem;
  color: rgba(61, 43, 31, 0.7);
  background-color: white;
  border: 1px solid rgba(61, 43, 31, 0.1);
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.2s ease;
  font-family: 'Noto Sans SC', sans-serif;
}

.page-link:hover {
  color: #E8553A;
  border-color: #E8553A;
  background-color: rgba(232, 85, 58, 0.05);
}

.page-item.active .page-link {
  color: white;
  background-color: #E8553A;
  border-color: #E8553A;
  cursor: default;
}

.page-item.disabled .page-link {
  color: rgba(61, 43, 31, 0.3);
  background-color: rgba(61, 43, 31, 0.03);
  border-color: rgba(61, 43, 31, 0.05);
  cursor: not-allowed;
  pointer-events: none;
}