/* ============================================================
   安宥家养老品牌官网 - 全局设计系统
   品牌调性：温暖 · 宽宥 · 如家 · 尊重
   适老化无障碍达标 WCAG 2.1 AA
   ============================================================ */

/* === CSS 变量：全局色彩 & 字体 & 间距 === */
:root {
  /* 品牌主色 */
  --color-primary-orange: #F7B266;
  --color-primary-purple: #9D7BC7;
  --color-orange-dark: #E67838;
  --color-purple-dark: #7B5EA7;

  /* 辅助色 */
  --color-cream: #FFF9EF;
  --color-light-wood: #E8DDCF;
  --color-bg: #F5F2EE;
  --color-white: #FFFFFF;

  /* 文字色 */
  --color-text-title: #222222;
  --color-text-body: #444444;
  --color-text-light: #777777;

  /* 功能色 */
  --color-green: #58A970;
  --color-cta: #E67838;
  --color-border: #E0D8CF;

  /* 字体 */
  --font-title: 'Noto Serif SC', 'Source Han Serif SC', 'STSong', 'SimSun', 'Songti SC', serif;
  --font-body: 'Noto Sans SC', 'Source Han Sans SC', 'PingFang SC', 'Microsoft YaHei', 'Hiragino Sans GB', sans-serif;

  /* 字号 - PC */
  --fs-title-xl: 2rem;      /* 32px */
  --fs-title-lg: 1.5rem;    /* 24px */
  --fs-title-md: 1.25rem;   /* 20px */
  --fs-body-lg: 1.125rem;   /* 18px */
  --fs-body: 1rem;          /* 16px */
  --fs-body-sm: 0.9375rem;  /* 15px */

  /* 间距 */
  --sp-xs: 0.5rem;
  --sp-sm: 0.75rem;
  --sp-md: 1rem;
  --sp-lg: 1.5rem;
  --sp-xl: 2rem;
  --sp-2xl: 3rem;
  --sp-3xl: 4rem;

  /* 圆角 */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 按钮尺寸 */
  --btn-min-h: 48px;
  --btn-min-w: 48px;
  --btn-gap: 15px;

  /* 行高 */
  --lh-relaxed: 1.8;
  --lh-normal: 1.6;

  /* 阴影 */
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.10);

  /* 过渡 */
  --transition: all 0.3s ease;
}

/* === 大号字体模式 === */
body.font-large {
  --fs-title-xl: 2.5rem;
  --fs-title-lg: 1.875rem;
  --fs-title-md: 1.5rem;
  --fs-body-lg: 1.375rem;
  --fs-body: 1.25rem;
  --fs-body-sm: 1.125rem;
}

/* === 特大号字体模式 === */
body.font-xlarge {
  --fs-title-xl: 3rem;
  --fs-title-lg: 2.25rem;
  --fs-title-md: 1.75rem;
  --fs-body-lg: 1.625rem;
  --fs-body: 1.5rem;
  --fs-body-sm: 1.375rem;
}

/* === 高对比度模式 === */
body.high-contrast {
  --color-primary-orange: #FFB347;
  --color-primary-purple: #B088F9;
  --color-orange-dark: #FF8C00;
  --color-purple-dark: #9B6FE8;
  --color-cream: #000000;
  --color-light-wood: #1a1a1a;
  --color-bg: #000000;
  --color-white: #000000;
  --color-text-title: #FFFFFF;
  --color-text-body: #FFFFFF;
  --color-text-light: #CCCCCC;
  --color-green: #66DD88;
  --color-cta: #FFB347;
  --color-border: #FFFFFF;
}

body.high-contrast {
  background-color: #000000;
  color: #FFFFFF;
}

body.high-contrast .section-card,
body.high-contrast .service-card,
body.high-contrast .product-card,
body.high-contrast .story-card,
body.high-contrast .form-container,
body.high-contrast .faq-item {
  background-color: #1a1a1a !important;
  border: 2px solid #FFFFFF !important;
}

body.high-contrast a,
body.high-contrast button {
  border: 2px solid #FFFFFF !important;
}

body.high-contrast img {
  filter: brightness(1.2);
}

/* === 极简模式 === */
body.minimal-mode .hero-slider,
body.minimal-mode .decorative-element,
body.minimal-mode .recommend-section,
body.minimal-mode .banner-decoration,
body.minimal-mode .statistics-section,
body.minimal-mode .testimonial-carousel {
  display: none !important;
}

body.minimal-mode .section-card {
  box-shadow: none !important;
  border: 1px solid var(--color-border) !important;
}

/* === 全局重置 === */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: var(--fs-body);
  line-height: var(--lh-normal);
  color: var(--color-text-body);
  background-color: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* === 标题样式 === */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-title);
  color: var(--color-text-title);
  line-height: 1.4;
  font-weight: 700;
}

h1 { font-size: var(--fs-title-xl); }
h2 { font-size: var(--fs-title-lg); }
h3 { font-size: var(--fs-title-md); }

p {
  margin-bottom: var(--sp-md);
  line-height: var(--lh-relaxed);
}

/* === 链接 === */
a {
  color: var(--color-orange-dark);
  text-decoration: none;
  transition: var(--transition);
}

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

/* === 图片 === */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* === 容器 === */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 var(--sp-lg);
}

/* === 区块通用 === */
.section {
  padding: var(--sp-3xl) 0;
}

.section-title {
  text-align: center;
  margin-bottom: var(--sp-sm);
  font-size: var(--fs-title-xl);
  color: var(--color-text-title);
  font-weight: 700;
  position: relative;
  padding-bottom: var(--sp-md);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--color-orange-dark), var(--color-primary-purple));
}

.section-subtitle {
  text-align: center;
  color: var(--color-text-light);
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-2xl);
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.section-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.section-card:hover {
  box-shadow: var(--shadow-md);
}

/* === 按钮系统 === */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: var(--btn-min-h);
  min-width: var(--btn-min-w);
  padding: var(--sp-sm) var(--sp-xl);
  font-size: var(--fs-body-lg);
  font-family: var(--font-body);
  font-weight: 500;
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  gap: var(--sp-xs);
  line-height: 1.4;
  white-space: nowrap;
}

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

.btn-primary:hover {
  background-color: #D06830;
  transform: translateY(-1px);
}

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

.btn-secondary:hover {
  background-color: var(--color-purple-dark);
  transform: translateY(-1px);
}

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

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

.btn-lg {
  min-height: 56px;
  padding: var(--sp-md) var(--sp-2xl);
  font-size: var(--fs-body-lg);
  border-radius: var(--radius-md);
}

.btn-sm {
  min-height: 40px;
  padding: var(--sp-xs) var(--sp-lg);
  font-size: var(--fs-body);
}

/* === 导航栏 === */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: var(--shadow-sm);
  padding: 0;
  transition: var(--transition);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.navbar .logo {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
  text-decoration: none;
  flex-shrink: 0;
}

.navbar .logo img {
  height: 44px;
  width: auto;
}

.navbar .logo-text {
  font-family: var(--font-title);
  font-size: var(--fs-title-md);
  font-weight: 700;
  color: var(--color-text-title);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: var(--sp-lg);
  list-style: none;
}

.nav-links a {
  font-size: var(--fs-body);
  color: var(--color-text-body);
  font-weight: 500;
  padding: var(--sp-xs) var(--sp-sm);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--color-orange-dark);
  background-color: var(--color-cream);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--sp-sm);
}

.nav-phone {
  display: flex;
  align-items: center;
  gap: var(--sp-xs);
  font-size: var(--fs-body);
  color: var(--color-orange-dark);
  font-weight: 600;
  white-space: nowrap;
}

/* 移动端菜单按钮 */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-title);
  min-width: var(--btn-min-w);
  min-height: var(--btn-min-h);
}

/* === 适老化无障碍工具栏 === */
.a11y-toolbar {
  position: fixed;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--color-white);
  padding: 10px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.a11y-toolbar button {
  width: 48px;
  height: 48px;
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  cursor: pointer;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--color-text-body);
  position: relative;
}

.a11y-toolbar button:hover,
.a11y-toolbar button.active {
  background: var(--color-cream);
  border-color: var(--color-orange-dark);
  color: var(--color-orange-dark);
}

.a11y-toolbar button .tooltip {
  display: none;
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: var(--color-text-title);
  color: var(--color-white);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  white-space: nowrap;
  font-family: var(--font-body);
}

.a11y-toolbar button:hover .tooltip {
  display: block;
}

/* === 移动端底部悬浮栏 === */
.mobile-bottom-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-white);
  box-shadow: 0 -2px 12px rgba(0,0,0,0.08);
  padding: 10px var(--sp-lg);
}

.mobile-bottom-bar .btn-group {
  display: flex;
  gap: var(--sp-sm);
}

.mobile-bottom-bar .btn {
  flex: 1;
  min-height: 52px;
  font-size: 1.125rem;
  border-radius: var(--radius-md);
}

.mobile-bottom-bar .btn-phone {
  background-color: var(--color-green);
  color: var(--color-white);
}

.mobile-bottom-bar .btn-phone:hover {
  background-color: #4A9A62;
}

/* === 首页 - 英雄区 === */
.hero {
  padding-top: 120px;
  padding-bottom: var(--sp-3xl);
  background: linear-gradient(135deg, var(--color-cream) 0%, #F0E8F8 50%, var(--color-cream) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(157,123,199,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: -30%;
  left: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(247,178,102,0.08) 0%, transparent 70%);
  border-radius: 50%;
}

.hero .container {
  position: relative;
  z-index: 1;
}

.hero-badge {
  display: inline-block;
  background: var(--color-white);
  color: var(--color-orange-dark);
  padding: 8px 24px;
  border-radius: 50px;
  font-size: var(--fs-body);
  font-weight: 500;
  margin-bottom: var(--sp-lg);
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: var(--fs-title-xl);
  margin-bottom: var(--sp-md);
  line-height: 1.3;
}

.hero h1 .highlight {
  color: var(--color-orange-dark);
  position: relative;
}

.hero p {
  font-size: var(--fs-body-lg);
  color: var(--color-text-light);
  max-width: 600px;
  margin: 0 auto var(--sp-xl);
  line-height: var(--lh-relaxed);
}

.hero-buttons {
  display: flex;
  gap: var(--sp-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* === 首页 - 品牌理念区 === */
.philosophy {
  background: var(--color-white);
}

.philosophy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.philosophy-card {
  text-align: center;
  padding: var(--sp-2xl) var(--sp-xl);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
  transition: var(--transition);
}

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

.philosophy-card .icon {
  font-size: 3rem;
  margin-bottom: var(--sp-md);
  display: block;
}

.philosophy-card h3 {
  font-size: var(--fs-title-md);
  margin-bottom: var(--sp-sm);
  color: var(--color-text-title);
}

.philosophy-card .char {
  font-size: 2.5rem;
  font-family: var(--font-title);
  color: var(--color-orange-dark);
  margin-bottom: var(--sp-sm);
  display: block;
}

.philosophy-card p {
  color: var(--color-text-body);
  font-size: var(--fs-body);
  line-height: var(--lh-relaxed);
}

/* === 首页 - 四大业务区 === */
.services {
  background: var(--color-bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}

.service-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-top: 4px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 120px;
  opacity: 0.06;
  pointer-events: none;
  transition: var(--transition);
}

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

.service-card:hover::before {
  opacity: 0.1;
}

/* 四大模块主题配色 - 渐变层次感 */
.service-card.theme-orange { border-top-color: #E67838; }
.service-card.theme-orange::before { background: linear-gradient(135deg, #E67838, #F7B266); }
.service-card.theme-purple { border-top-color: #9D7BC7; }
.service-card.theme-purple::before { background: linear-gradient(135deg, #7B5EA7, #C4A8E8); }
.service-card.theme-green { border-top-color: #58A970; }
.service-card.theme-green::before { background: linear-gradient(135deg, #3E8A56, #8ED4A0); }
.service-card.theme-gold { border-top-color: #C9973B; }
.service-card.theme-gold::before { background: linear-gradient(135deg, #A87A24, #E8C87A); }

.service-card .service-icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-lg);
  position: relative;
  z-index: 1;
  box-shadow: var(--shadow-sm);
}

.service-card.theme-orange .service-icon { background: linear-gradient(135deg, #FFF3E8, #FFE0C2); }
.service-card.theme-purple .service-icon { background: linear-gradient(135deg, #F5EDFA, #E4D4F2); }
.service-card.theme-green .service-icon { background: linear-gradient(135deg, #EFF8F0, #D5EDDB); }
.service-card.theme-gold .service-icon { background: linear-gradient(135deg, #FBF5E8, #F2E3C2); }

.service-card .service-icon svg {
  width: 40px;
  height: 40px;
}

.service-card h3 {
  font-size: var(--fs-title-md);
  margin-bottom: var(--sp-sm);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.service-card p {
  color: var(--color-text-body);
  line-height: var(--lh-relaxed);
  margin-bottom: var(--sp-lg);
  flex: 1;
}

.service-card .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-xs);
  margin-bottom: var(--sp-md);
}

.service-tag {
  background: var(--color-cream);
  color: var(--color-orange-dark);
  padding: 4px 12px;
  border-radius: 50px;
  font-size: var(--fs-body-sm);
}

/* 模块专属标签配色 */
.service-card.theme-purple .service-tag { background: #F5EDFA; color: #7B5EA7; }
.service-card.theme-green .service-tag { background: #EFF8F0; color: #3E8A56; }
.service-card.theme-gold .service-tag { background: #FBF5E8; color: #A87A24; }

/* 模块专属按钮配色 */
.service-card.theme-purple .btn-outline { color: #7B5EA7; border-color: #7B5EA7; }
.service-card.theme-purple .btn-outline:hover { background: #F5EDFA; }
.service-card.theme-green .btn-outline { color: #3E8A56; border-color: #3E8A56; }
.service-card.theme-green .btn-outline:hover { background: #EFF8F0; }
.service-card.theme-gold .btn-outline { color: #A87A24; border-color: #A87A24; }
.service-card.theme-gold .btn-outline:hover { background: #FBF5E8; }

/* === 首页 - 统计数据区 === */
.statistics {
  background: linear-gradient(135deg, var(--color-orange-dark) 0%, var(--color-primary-purple) 100%);
  color: var(--color-white);
  padding: var(--sp-2xl) 0;
}

.statistics .section-title {
  color: var(--color-white);
}

.statistics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-xl);
  text-align: center;
}

.stat-item .stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  font-family: var(--font-title);
  margin-bottom: var(--sp-xs);
}

.stat-item .stat-label {
  font-size: var(--fs-body-lg);
  opacity: 0.9;
}

/* === 首页 - 理念短句区 === */
.motto-section {
  background: var(--color-white);
  text-align: center;
}

.motto-quote {
  font-family: var(--font-title);
  font-size: var(--fs-title-xl);
  color: var(--color-text-title);
  line-height: 1.5;
  max-width: 800px;
  margin: 0 auto;
}

.motto-quote .highlight {
  color: var(--color-orange-dark);
}

.motto-author {
  margin-top: var(--sp-lg);
  font-size: var(--fs-body-lg);
  color: var(--color-text-light);
}

/* === 首页 - 长者故事区 === */
.stories {
  background: var(--color-bg);
}

.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.story-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.story-card .story-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  background: var(--color-light-wood);
}

.story-card .story-content {
  padding: var(--sp-lg);
}

.story-card h3 {
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-xs);
}

.story-card .story-meta {
  font-size: var(--fs-body-sm);
  color: var(--color-text-light);
  margin-bottom: var(--sp-sm);
}

.story-card p {
  font-size: var(--fs-body);
  color: var(--color-text-body);
  line-height: var(--lh-relaxed);
}

/* === 首页 - 行动号召区 === */
.cta-section {
  background: linear-gradient(135deg, var(--color-cream) 0%, #F0E8F8 100%);
  text-align: center;
}

.cta-section h2 {
  margin-bottom: var(--sp-md);
}

.cta-section p {
  max-width: 600px;
  margin: 0 auto var(--sp-xl);
  font-size: var(--fs-body-lg);
}

/* === 品牌安宥页面 === */
.brand-hero {
  padding-top: 120px;
  padding-bottom: var(--sp-3xl);
  background: linear-gradient(135deg, var(--color-cream) 0%, #F5EDFA 100%);
  text-align: center;
}

.brand-story {
  background: var(--color-white);
}

.brand-story-content {
  max-width: 800px;
  margin: 0 auto;
  font-size: var(--fs-body-lg);
  line-height: var(--lh-relaxed);
}

.brand-story-content .highlight-text {
  font-family: var(--font-title);
  font-size: var(--fs-title-lg);
  color: var(--color-orange-dark);
  text-align: center;
  margin: var(--sp-2xl) 0;
  line-height: 1.5;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
}

.value-card {
  text-align: center;
  padding: var(--sp-xl);
  background: var(--color-cream);
  border-radius: var(--radius-lg);
}

.value-card .value-icon {
  font-size: 2.5rem;
  margin-bottom: var(--sp-sm);
}

.value-card h3 {
  color: var(--color-orange-dark);
  margin-bottom: var(--sp-sm);
}

/* === 服务详情页 === */
.service-hero {
  padding-top: 120px;
  padding-bottom: var(--sp-2xl);
  text-align: center;
}

.service-hero.education { background: linear-gradient(135deg, #FFF9EF 0%, #FFF0E0 100%); }
.service-hero.care { background: linear-gradient(135deg, #F5EDFA 0%, #EDE0F5 100%); }
.service-hero.travel { background: linear-gradient(135deg, #EFF8F0 0%, #E0F0E5 100%); }
.service-hero.farm { background: linear-gradient(135deg, #FFF9EF 0%, #F5F0E8 100%); }

.service-detail {
  background: var(--color-white);
}

.service-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}

.feature-item {
  display: flex;
  gap: var(--sp-lg);
  padding: var(--sp-xl);
  background: var(--color-bg);
  border-radius: var(--radius-lg);
}

.feature-item .feature-icon {
  font-size: 2rem;
  flex-shrink: 0;
}

.feature-item h3 {
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-xs);
}

.feature-item p {
  color: var(--color-text-body);
  line-height: var(--lh-relaxed);
}

/* 课程卡片 */
.course-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-xl);
}

.course-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-sm);
  border-top: 4px solid var(--color-orange-dark);
}

.course-card h3 {
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-sm);
  color: var(--color-text-title);
}

.course-card ul {
  list-style: none;
  padding: 0;
  margin-bottom: var(--sp-lg);
}

.course-card ul li {
  padding: var(--sp-xs) 0;
  color: var(--color-text-body);
  font-size: var(--fs-body);
}

.course-card ul li::before {
  content: '· ';
  color: var(--color-orange-dark);
  font-weight: bold;
}

/* 服务流程 */
.service-process {
  background: var(--color-bg);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-lg);
  position: relative;
}

.process-step {
  text-align: center;
  position: relative;
}

.process-step .step-number {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-orange-dark);
  color: var(--color-white);
  font-size: var(--fs-title-md);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-md);
  font-family: var(--font-title);
}

.process-step::after {
  content: '';
  position: absolute;
  top: 28px;
  left: 60%;
  width: 80%;
  height: 2px;
  background: var(--color-border);
}

.process-step:last-child::after {
  display: none;
}

.process-step h3 {
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-xs);
}

.process-step p {
  font-size: var(--fs-body);
  color: var(--color-text-light);
}

/* === 农品商城 === */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.product-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.product-card .product-img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: var(--color-light-wood);
}

.product-card .product-content {
  padding: var(--sp-lg);
}

.product-card .product-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: var(--sp-sm);
}

.product-tag {
  background: var(--color-cream);
  color: var(--color-green);
  padding: 2px 10px;
  border-radius: 50px;
  font-size: var(--fs-body-sm);
}

.product-card h3 {
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-xs);
}

.product-card .product-price {
  font-size: var(--fs-title-md);
  color: var(--color-orange-dark);
  font-weight: 700;
  margin: var(--sp-sm) 0;
}

.product-card .product-desc {
  font-size: var(--fs-body);
  color: var(--color-text-light);
  margin-bottom: var(--sp-md);
}

/* === 联系我们 === */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-2xl);
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: var(--sp-lg);
}

.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-md);
  padding: var(--sp-lg);
  background: var(--color-cream);
  border-radius: var(--radius-md);
}

.contact-info-item .contact-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.contact-info-item h3 {
  font-size: var(--fs-body-lg);
  margin-bottom: 4px;
}

.contact-info-item p {
  font-size: var(--fs-body);
  color: var(--color-text-body);
  margin: 0;
}

/* 表单系统 */
.form-container {
  background: var(--color-white);
  padding: var(--sp-2xl);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.form-tabs {
  display: flex;
  gap: var(--sp-sm);
  margin-bottom: var(--sp-xl);
  border-bottom: 2px solid var(--color-border);
  padding-bottom: var(--sp-md);
}

.form-tab {
  padding: var(--sp-sm) var(--sp-lg);
  border: none;
  background: none;
  font-size: var(--fs-body);
  color: var(--color-text-light);
  cursor: pointer;
  border-radius: var(--radius-sm);
  transition: var(--transition);
  font-family: var(--font-body);
  min-height: var(--btn-min-h);
}

.form-tab:hover,
.form-tab.active {
  color: var(--color-orange-dark);
  background: var(--color-cream);
}

.form-group {
  margin-bottom: var(--sp-lg);
}

.form-group label {
  display: block;
  font-size: var(--fs-body);
  font-weight: 500;
  color: var(--color-text-title);
  margin-bottom: var(--sp-xs);
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  min-height: var(--btn-min-h);
  padding: var(--sp-sm) var(--sp-md);
  font-size: var(--fs-body);
  font-family: var(--font-body);
  border: 2px solid var(--color-border);
  border-radius: var(--radius-sm);
  background: var(--color-white);
  color: var(--color-text-body);
  transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-orange-dark);
  box-shadow: 0 0 0 3px rgba(230,120,56,0.1);
}

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

.form-actions {
  display: flex;
  gap: var(--sp-md);
  margin-top: var(--sp-xl);
}

.form-success {
  display: none;
  text-align: center;
  padding: var(--sp-2xl);
}

.form-success.show {
  display: block;
}

.form-success .success-icon {
  font-size: 4rem;
  margin-bottom: var(--sp-md);
}

.form-success h3 {
  font-size: var(--fs-title-lg);
  color: var(--color-green);
  margin-bottom: var(--sp-sm);
}

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

.faq-item {
  background: var(--color-white);
  border-radius: var(--radius-md);
  margin-bottom: var(--sp-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-lg);
  font-size: var(--fs-body-lg);
  font-family: var(--font-body);
  font-weight: 500;
  color: var(--color-text-title);
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  min-height: var(--btn-min-h);
}

.faq-question .faq-icon {
  font-size: 1.5rem;
  transition: var(--transition);
  flex-shrink: 0;
}

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

.faq-answer {
  display: none;
  padding: 0 var(--sp-lg) var(--sp-lg);
  font-size: var(--fs-body);
  color: var(--color-text-body);
  line-height: var(--lh-relaxed);
}

.faq-item.open .faq-answer {
  display: block;
}

/* === 资讯页 === */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-xl);
}

.news-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.news-card .news-img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  background: var(--color-light-wood);
}

.news-card .news-content {
  padding: var(--sp-lg);
}

.news-card .news-category {
  display: inline-block;
  background: var(--color-cream);
  color: var(--color-orange-dark);
  padding: 2px 12px;
  border-radius: 50px;
  font-size: var(--fs-body-sm);
  margin-bottom: var(--sp-sm);
}

.news-card h3 {
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-xs);
}

.news-card .news-date {
  font-size: var(--fs-body-sm);
  color: var(--color-text-light);
  margin-bottom: var(--sp-sm);
}

/* === 会员中心 === */
.member-layout {
  display: grid;
  grid-template-columns: 250px 1fr;
  gap: var(--sp-2xl);
}

.member-sidebar {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-xl);
  box-shadow: var(--shadow-sm);
}

.member-sidebar .user-info {
  text-align: center;
  padding-bottom: var(--sp-lg);
  border-bottom: 1px solid var(--color-border);
  margin-bottom: var(--sp-lg);
}

.member-sidebar .user-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--color-cream);
  margin: 0 auto var(--sp-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.member-sidebar .user-name {
  font-size: var(--fs-body-lg);
  font-weight: 600;
}

.member-menu {
  list-style: none;
}

.member-menu li {
  margin-bottom: var(--sp-xs);
}

.member-menu a {
  display: block;
  padding: var(--sp-sm) var(--sp-md);
  border-radius: var(--radius-sm);
  font-size: var(--fs-body);
  color: var(--color-text-body);
  transition: var(--transition);
}

.member-menu a:hover,
.member-menu a.active {
  background: var(--color-cream);
  color: var(--color-orange-dark);
}

.member-content {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  box-shadow: var(--shadow-sm);
}

/* === 页脚 === */
.footer {
  background: var(--color-text-title);
  color: #CCC;
  padding: var(--sp-3xl) 0 var(--sp-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--sp-2xl);
  margin-bottom: var(--sp-2xl);
}

.footer h3 {
  color: var(--color-white);
  font-size: var(--fs-body-lg);
  margin-bottom: var(--sp-lg);
  font-family: var(--font-body);
}

.footer p,
.footer a {
  font-size: var(--fs-body);
  color: #AAA;
  line-height: var(--lh-relaxed);
}

.footer a:hover {
  color: var(--color-orange-dark);
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: var(--sp-sm);
}

.footer-bottom {
  border-top: 1px solid #444;
  padding-top: var(--sp-lg);
  text-align: center;
  font-size: var(--fs-body-sm);
  color: #888;
}

/* === 弹窗 === */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0,0,0,0.5);
  align-items: center;
  justify-content: center;
}

.modal-overlay.show {
  display: flex;
}

.modal {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: var(--sp-2xl);
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: var(--sp-md);
  right: var(--sp-md);
  width: 48px;
  height: 48px;
  border: none;
  background: var(--color-bg);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-body);
  transition: var(--transition);
}

.modal-close:hover {
  background: var(--color-border);
}

/* === 语音朗读高亮 === */
.speaking-highlight {
  background-color: rgba(247,178,102,0.3) !important;
  border-radius: 4px;
  transition: background-color 0.2s ease;
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
  .services-grid,
  .philosophy-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

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

  .member-layout {
    grid-template-columns: 1fr;
  }

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

  .process-step::after {
    display: none;
  }

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

@media (max-width: 768px) {
  :root {
    --fs-title-xl: 1.75rem;
    --fs-title-lg: 1.375rem;
    --fs-title-md: 1.125rem;
    --fs-body-lg: 1.0625rem;
    --fs-body: 1rem;
  }

  body.font-large {
    --fs-title-xl: 2.125rem;
    --fs-title-lg: 1.625rem;
    --fs-title-md: 1.375rem;
    --fs-body-lg: 1.25rem;
    --fs-body: 1.125rem;
  }

  body.font-xlarge {
    --fs-title-xl: 2.5rem;
    --fs-title-lg: 1.875rem;
    --fs-title-md: 1.5rem;
    --fs-body-lg: 1.5rem;
    --fs-body: 1.375rem;
  }

  .navbar .container {
    height: 60px;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: var(--color-white);
    flex-direction: column;
    padding: var(--sp-lg);
    box-shadow: var(--shadow-md);
    gap: var(--sp-sm);
  }

  .nav-links.show {
    display: flex;
  }

  .nav-actions .btn {
    display: none;
  }

  .nav-phone {
    display: none;
  }

  .menu-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .services-grid,
  .philosophy-grid,
  .values-grid,
  .products-grid,
  .stories-grid,
  .news-grid,
  .statistics-grid,
  .service-features,
  .course-grid,
  .process-steps {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 100px;
  }

  .hero h1 {
    font-size: var(--fs-title-xl);
  }

  .section {
    padding: var(--sp-2xl) 0;
  }

  .a11y-toolbar {
    left: 8px;
    padding: 6px;
    gap: 4px;
  }

  .a11y-toolbar button {
    width: 40px;
    height: 40px;
    font-size: 1rem;
  }

  .a11y-toolbar button .tooltip {
    display: none !important;
  }

  .mobile-bottom-bar {
    display: block;
  }

  body {
    padding-bottom: 80px;
  }

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

  .form-actions {
    flex-direction: column;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 var(--sp-md);
  }
}

/* === 动画 === */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-up {
  animation: fadeInUp 0.6s ease forwards;
}

/* === 辅助类 === */
.text-center { text-align: center; }
.text-orange { color: var(--color-orange-dark); }
.text-purple { color: var(--color-primary-purple); }
.mt-1 { margin-top: var(--sp-md); }
.mt-2 { margin-top: var(--sp-lg); }
.mt-3 { margin-top: var(--sp-xl); }
.mb-1 { margin-bottom: var(--sp-md); }
.mb-2 { margin-bottom: var(--sp-lg); }
.mb-3 { margin-bottom: var(--sp-xl); }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}