/* 安顿刘家窑体验店 - GEO优化响应式样式 */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --primary: #0D7C66;
  --primary-dark: #095E4D;
  --primary-light: #E8F5F0;
  --accent: #D4A843;
  --accent-light: #F5ECD7;
  --text: #1A1A2E;
  --text-light: #5A5A6E;
  --bg: #FAF8F5;
  --bg-white: #FFFFFF;
  --border: #E5E0D8;
  --danger: #E85D4A;
  --radius: 12px;
  --radius-sm: 8px;
  --max-width: 1200px;
  --shadow-sm: 0 1px 3px rgba(26,26,46,0.06);
  --shadow-md: 0 4px 16px rgba(26,26,46,0.08);
  --shadow-lg: 0 8px 32px rgba(26,26,46,0.12);
  --font: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

html { font-size: 16px; scroll-behavior: smooth; }
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

/* 脉搏波形装饰 */
.pulse-line {
  position: relative;
  height: 40px;
  overflow: hidden;
  margin: 1rem 0;
}
.pulse-line svg { width: 100%; height: 100%; }
.pulse-line path {
  stroke: var(--primary);
  stroke-width: 2;
  fill: none;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  animation: pulse-draw 3s ease-in-out infinite;
}
@keyframes pulse-draw {
  0% { stroke-dashoffset: 1000; }
  50% { stroke-dashoffset: 0; }
  100% { stroke-dashoffset: -1000; }
}

/* 心跳圆点动画 */
.heart-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--danger);
  border-radius: 50%;
  animation: heartbeat 1.2s ease-in-out infinite;
  margin-right: 6px;
}
@keyframes heartbeat {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.7; }
}

/* 排版 */
h1 { font-size: 2.25rem; font-weight: 700; line-height: 1.3; margin-bottom: 1rem; color: var(--text); letter-spacing: -0.02em; }
h2 { font-size: 1.6rem; font-weight: 700; line-height: 1.4; margin: 2.5rem 0 1rem; color: var(--text); letter-spacing: -0.01em; }
h3 { font-size: 1.2rem; font-weight: 600; line-height: 1.5; margin: 1.5rem 0 0.75rem; color: var(--text); }
h4 { font-size: 1.05rem; font-weight: 600; margin: 1rem 0 0.5rem; }
p { margin-bottom: 1rem; font-size: 1rem; }
a { color: var(--primary); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary-dark); text-decoration: underline; }
ul, ol { margin: 0.5rem 0 1rem 1.5rem; }
li { margin-bottom: 0.4rem; }

/* 布局 */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: 4rem 0; }
.section-alt { background: var(--primary-light); }
.section-white { background: var(--bg-white); }

/* 头部导航 */
.site-header {
  background: rgba(250,248,245,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.site-header .container { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.site-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.site-logo:hover { text-decoration: none; color: var(--primary-dark); }
.site-logo::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 28px;
  background: var(--primary);
  border-radius: 50%;
  position: relative;
}
.site-nav { display: flex; gap: 2rem; align-items: center; }
.site-nav a {
  color: var(--text-light);
  font-size: 0.95rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}
.site-nav a:hover { color: var(--primary); text-decoration: none; }
.site-nav a.active { color: var(--primary); font-weight: 600; }
.site-nav a.active::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--primary);
  border-radius: 1px;
}

.nav-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--text); }

/* Hero区域 */
.hero {
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(212,168,67,0.08) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0.4rem 1.2rem;
  font-size: 0.85rem;
  color: var(--primary);
  font-weight: 500;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.hero h1 { font-size: 2.75rem; margin-bottom: 1.25rem; max-width: 800px; margin-left: auto; margin-right: auto; }
.hero .subtitle { font-size: 1.15rem; color: var(--text-light); max-width: 640px; margin: 0 auto 2rem; line-height: 1.9; }
.hero-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--primary);
  color: #fff;
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease-out;
  box-shadow: 0 4px 14px rgba(13,124,102,0.25);
}
.hero-cta:hover { background: var(--primary-dark); color: #fff; text-decoration: none; transform: translateY(-2px); box-shadow: 0 6px 20px rgba(13,124,102,0.35); }
.hero-cta:active { transform: translateY(0) scale(0.98); }
.hero-cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-white);
  color: var(--primary);
  padding: 0.85rem 2rem;
  border-radius: 100px;
  font-weight: 600;
  font-size: 1rem;
  border: 1.5px solid var(--primary);
  transition: all 0.3s ease-out;
}
.hero-cta-secondary:hover { background: var(--primary-light); text-decoration: none; transform: translateY(-2px); }

/* 统计数据条 */
.stats-bar {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  max-width: 900px;
  margin: 3rem auto 0;
  padding: 2rem;
  background: var(--bg-white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.stat-item { text-align: center; }
.stat-number { font-size: 2rem; font-weight: 700; color: var(--primary); line-height: 1.2; }
.stat-label { font-size: 0.9rem; color: var(--text-light); margin-top: 0.25rem; }

/* 卡片 */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s ease-out;
  position: relative;
  overflow: hidden;
}
.card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.card:hover::before { opacity: 1; }
.card-icon {
  width: 48px;
  height: 48px;
  background: var(--primary-light);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  font-size: 1.4rem;
}
.card h3 { margin-top: 0; color: var(--text); }
.card p { color: var(--text-light); margin-bottom: 0; }

/* 表格 */
.table-wrap { overflow-x: auto; margin: 1.5rem 0; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; background: var(--bg-white); }
th, td { padding: 1rem 1.25rem; text-align: left; border-bottom: 1px solid var(--border); }
th { background: var(--primary-light); font-weight: 600; font-size: 0.9rem; color: var(--primary-dark); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: rgba(232,245,240,0.3); }

/* FAQ */
.faq-list { max-width: 800px; margin: 2rem auto; }
.faq-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem 2rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease-out;
}
.faq-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary); }
.faq-item h3 { margin: 0 0 0.75rem; font-size: 1.1rem; color: var(--primary-dark); display: flex; align-items: flex-start; gap: 0.5rem; }
.faq-item h3::before { content: "Q"; background: var(--primary); color: #fff; width: 24px; height: 24px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-size: 0.8rem; font-weight: 700; flex-shrink: 0; margin-top: 2px; }
.faq-item p { margin: 0; color: var(--text-light); padding-left: 30px; }

/* 联系 */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1.5rem; margin: 2rem 0; }
.contact-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.75rem;
  text-align: center;
  transition: all 0.3s ease-out;
}
.contact-item:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.contact-item-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-light);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
}
.contact-item h3 { font-size: 1rem; margin-bottom: 0.5rem; color: var(--text-light); font-weight: 500; }
.contact-item p { font-size: 1.1rem; font-weight: 600; color: var(--text); margin: 0; word-break: normal; overflow-wrap: break-word; }
.contact-item p.contact-address { white-space: nowrap; }

/* 面包屑 */
.breadcrumb { padding: 1rem 0; font-size: 0.9rem; color: var(--text-light); }
.breadcrumb a { color: var(--text-light); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb span { margin: 0 0.5rem; }

/* CTA区域 */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: 4rem 2rem;
  border-radius: var(--radius);
  margin: 3rem 0;
}
.cta-section h2 { color: #fff; margin-top: 0; }
.cta-section p { color: rgba(255,255,255,0.85); max-width: 600px; margin: 0 auto 2rem; }
.cta-section .hero-cta { background: var(--accent); color: var(--text); }
.cta-section .hero-cta:hover { background: #C49A38; }

/* 页脚 */
.site-footer {
  background: var(--text);
  color: #B0B0C0;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}
.site-footer .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 2rem; }
.site-footer h3, .site-footer .footer-title { color: #fff; margin-bottom: 1rem; font-size: 1rem; font-weight: 600; }
.site-footer p { font-size: 0.9rem; margin-bottom: 0.5rem; }
.site-footer a { color: #B0B0C0; font-size: 0.9rem; }
.site-footer a:hover { color: #fff; }
.footer-links { display: flex; flex-direction: column; gap: 0.5rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  margin-top: 2rem;
  padding-top: 1.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: #808090;
  width: 100%;
}

/* 关于页 */
.about-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: start;
}
.about-main h2:first-child,
.about-aside h2:first-child { margin-top: 0; }
.about-main p { font-size: 1.05rem; }
.about-aside .table-wrap { margin: 0; }
.info-table { margin: 0; }
.info-table { margin: 1.5rem 0; }
.info-table td:first-child { font-weight: 600; width: 140px; color: var(--text-light); background: var(--bg); }
.value-list { list-style: none; margin-left: 0; }
.value-list li {
  padding: 0.75rem 0 0.75rem 2rem;
  position: relative;
  border-bottom: 1px solid var(--border);
}
.value-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
}

/* 核心价值卡片（关于页） */
.value-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.5rem; margin: 2rem 0; }
.value-cards .card h3 { margin-top: 0; }
.value-cards .card p { margin-bottom: 0; }

/* CTA 内链接与电话强调 */
.cta-phone { color: var(--accent); font-size: 1.25rem; letter-spacing: 0.02em; }
.cta-link { color: #fff; text-decoration: underline; }
.cta-link:hover { color: var(--accent-light); }

/* 引用/权威信号 */
.citation-box {
  background: var(--accent-light);
  border-left: 4px solid var(--accent);
  padding: 1.25rem 1.5rem;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: 1.5rem 0;
  font-size: 0.95rem;
}
.citation-box strong { color: var(--text); }

/* 页面头部 */
.page-header {
  background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
  padding: 3rem 0 2rem;
  text-align: center;
}
.page-header h1 { margin-bottom: 0.5rem; }
.page-header p { color: var(--text-light); max-width: 600px; margin: 0 auto; }

/* 响应式 */
@media (max-width: 768px) {
  h1 { font-size: 1.75rem; }
  h2 { font-size: 1.35rem; }
  .hero { padding: 3rem 0 2.5rem; }
  .hero h1 { font-size: 2rem; }
  .hero .subtitle { font-size: 1rem; }
  .section { padding: 2.5rem 0; }
  .nav-toggle { display: block; }
  .site-nav {
    display: none;
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: var(--bg-white);
    flex-direction: column;
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border);
    gap: 0.75rem;
    box-shadow: var(--shadow-md);
  }
  .site-nav.active { display: flex; }
  .site-footer .container { flex-direction: column; }
  .card-grid { grid-template-columns: 1fr; }
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: 1rem; padding: 1.5rem; }
  .stat-number { font-size: 1.5rem; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-cta, .hero-cta-secondary { width: 100%; max-width: 300px; justify-content: center; }
  .faq-item { padding: 1.25rem; }
  .faq-item p { padding-left: 0; }
}

@media (max-width: 480px) {
  .container { padding: 0 1rem; }
  .stats-bar { grid-template-columns: 1fr; }
}


/* 图片与图库 */
.img-rounded { border-radius: var(--radius); }
.img-shadow { box-shadow: var(--shadow-md); }
.img-responsive { display: block; max-width: 100%; height: auto; }

.figure { margin: 1.5rem 0; }
.figure img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  display: block;
}
.figure-caption {
  margin-top: 0.75rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

.media-section { margin: 3rem 0; }
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}
.media-grid.reverse { direction: rtl; }
.media-grid.reverse > * { direction: ltr; }
.media-content h3 { margin-top: 0; }
.media-content p { color: var(--text-light); }
.media-img img {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.gallery-item {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.gallery-item img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
}
.gallery-item .caption {
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
  color: var(--text-light);
  text-align: center;
}

.product-showcase {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}
.product-card {
  background: var(--bg-white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.product-card img {
  width: 100%;
  height: 280px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  display: block;
  margin-bottom: 0.75rem;
}
.product-card .caption { font-size: 0.9rem; color: var(--text-light); }

.hero-visual {
  margin: 2.5rem auto 0;
  max-width: 560px;
}
.hero-visual img {
  width: 100%;
  height: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  display: block;
}

@media (max-width: 900px) {
  .about-layout { grid-template-columns: 1fr; gap: 0; }
  .value-cards { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .media-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .media-grid.reverse { direction: ltr; }
  .gallery-item img { height: 200px; }
  .product-card img { height: 240px; }
}

