/* 智绘王屋 - 风格：烫金典雅、文化感 */
:root {
  --color-bg: #f9f6f1;
  --color-surface: #fff;
  --color-primary: #c9a227;
  --color-primary-dark: #9a7100;
  --color-accent: #f0c040;
  --color-text: #2c2416;
  --color-text-muted: #7a6430;
  --color-border: #d4bc82;
  --font-serif: "Noto Serif SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", "Microsoft YaHei", sans-serif;
  --shadow: 0 2px 12px rgba(44, 36, 22, 0.08);
  --radius: 8px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  background-image: url("https://wang-img-bed.oss-cn-beijing.aliyuncs.com/img/arnaud-schildknecht-FY7CehhJusI-unsplash.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  line-height: 1.6;
  min-height: 100vh;
  position: relative;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: rgba(248, 245, 240, 0.82);
  z-index: -1;
}

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

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

img {
  max-width: 100%;
  height: auto;
}

/* ========== 图片懒加载动画 ========== */
.img-placeholder {
  background: linear-gradient(135deg, #f5f0e6 0%, #e8e0d0 50%, #f5f0e6 100%);
  background-size: 200% 100%;
  animation: placeholderShimmer 2s ease-in-out infinite;
  position: relative;
}

@keyframes placeholderShimmer {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.img-container {
  position: relative;
  overflow: hidden;
  background: #f5f0e6;
}

.img-container img:not(.quick-icon) {
  opacity: 0;
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
  transform: scale(1.05);
}

.img-container img:not(.quick-icon).loaded {
  opacity: 1;
  transform: scale(1);
}

.img-container::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.05) 0%, rgba(201, 162, 39, 0.1) 50%, rgba(201, 162, 39, 0.05) 100%);
  background-size: 200% 100%;
  animation: placeholderShimmer 2s ease-in-out infinite;
  z-index: 1;
  pointer-events: none;
}

.img-container.loaded::before {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  animation: none;
}

.quick-icon-wrap.img-container {
  background: transparent;
}

.quick-icon-wrap.img-container::before {
  display: none;
}

/* ========== 顶部导航（艺术字：龙藏体书法风格）========== */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-primary-dark);
  box-shadow: var(--shadow);
  font-family: "Long Cang", "Ma Shan Zheng", "Noto Serif SC", cursive;
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: #f5e6c8;
  letter-spacing: 0.02em;
}

.logo-img {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 0.5rem;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

/* 汉堡菜单按钮 */
.nav-toggle {
  display: none;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 4px;
  transition: background 0.2s;
}

.nav-toggle:hover {
  background: rgba(255, 255, 255, 0.1);
}

.hamburger {
  display: block;
  width: 24px;
  height: 2px;
  background: #f5e6c8;
  position: relative;
  transition: background 0.2s;
}

.hamburger::before,
.hamburger::after {
  content: '';
  position: absolute;
  left: 0;
  width: 24px;
  height: 2px;
  background: #f5e6c8;
  transition: transform 0.3s;
}

.hamburger::before {
  top: -7px;
}

.hamburger::after {
  bottom: -7px;
}

.nav-toggle[aria-expanded="true"] .hamburger {
  background: transparent;
}

.nav-toggle[aria-expanded="true"] .hamburger::before {
  transform: rotate(45deg) translate(5px, 5px);
}

.nav-toggle[aria-expanded="true"] .hamburger::after {
  transform: rotate(-45deg) translate(5px, -5px);
}

.nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
}

.nav a {
  font-family: "Long Cang", "Ma Shan Zheng", var(--font-serif);
  font-weight: 400;
  font-size: 1.1rem;
  color: #e2d5c4;
  letter-spacing: 0.03em;
  padding: 0.4rem 0;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}

.nav a:hover {
  color: #fff;
}

.nav a.active {
  color: #e8b84a;
  border-bottom-color: #e8b84a;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.btn-icon {
  background: none;
  border: none;
  cursor: pointer;
  color: #e8dcc8;
  padding: 0.25rem;
}

.btn-icon:hover {
  color: #fff;
}

.ai-header-fab {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(139, 105, 20, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ai-header-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(139, 105, 20, 0.5);
}

.ai-header-fab-icon {
  width:   40px;
  height: 40px;
  object-fit: contain;
}

.btn-primary-nav {
  font-family: var(--font-serif);
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.2);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.btn-primary-nav:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.6);
}

.header-action-link {
  font-family: var(--font-serif);
  font-weight: 600;
  color: #e2d5c4;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  display: inline-block;
}

.header-action-link:hover {
  color: #fff;
}

/* ========== 移动端导航响应式 ========== */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--color-primary-dark);
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.75rem 1rem;
    border-bottom: none;
    border-left: 3px solid transparent;
    font-size: 1rem;
  }

  .nav a:hover,
  .nav a.active {
    background: rgba(255, 255, 255, 0.08);
    border-left-color: #e8b84a;
    color: #fff;
  }

  .header-actions .header-action-link {
    display: inline-block !important;
    font-size: 0.9rem;
    margin-left: 0.5rem;
    color: #fff !important;
  }

  .btn-primary-nav {
    padding: 0.4rem 0.75rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding: 0.6rem 0.75rem;
  }

  .logo-text {
    font-size: 1.25rem;
  }

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

  .header-actions .header-action-link {
    display: inline-block !important;
    font-size: 0.8rem;
    margin-left: 0.4rem;
    color: #fff !important;
    visibility: visible !important;
    opacity: 1 !important;
    -webkit-display: inline-block !important;
  }

  .ai-header-fab {
    display: -webkit-flex !important;
    display: flex !important;
    -webkit-align-items: center;
    align-items: center;
    -webkit-justify-content: center;
    justify-content: center;
  }
}

/* ========== 主视觉轮播 ========== */
.hero {
  position: relative;
  height: 420px;
  overflow: hidden;
}
@media (max-width: 768px) { .hero { height: 320px; } }
@media (max-width: 480px) { .hero { height: 280px; } }

.carousel { position: relative; height: 100%; width: 100%; }
.carousel-track { position: relative; height: 100%; }

.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 0.6s ease;
}
.slide.active { opacity: 1; z-index: 1; }

.carousel-overlay {
  position: absolute; inset: 0; z-index: 2;
  display: flex; align-items: center; justify-content: flex-start;
  background: linear-gradient(135deg, rgba(30,35,30,0.55) 0%, rgba(20,25,22,0.65) 100%);
  pointer-events: none;
}
.carousel-overlay .hero-buttons { pointer-events: auto; }

.hero-caption {
  text-align: left;
  padding: 1.5rem 2rem 1.5rem 6rem;
  max-width: 560px;
}
@media (max-width: 768px) { .hero-caption { padding: 1rem 1.5rem 1rem 4rem; max-width: 100%; } }
@media (max-width: 600px) { .hero-caption { padding: 0.75rem 1rem; } }

.hero-tags { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.5rem; margin-bottom: 0.75rem; }
@media (max-width: 600px) { .hero-tags { gap: 0.35rem; margin-bottom: 0.5rem; } }

.hero-tag {
  display: inline-block; padding: 0.2rem 0.6rem; border-radius: 20px;
  background: rgba(255,255,255,0.18); color: rgba(255,255,255,0.95);
  font-size: 0.75rem; font-weight: 500;
}
@media (max-width: 600px) { .hero-tag { padding: 0.15rem 0.5rem; font-size: 0.7rem; } }

.hero-title {
  font-family: var(--font-serif); font-size: clamp(1.5rem,4.5vw,2.5rem);
  font-weight: 700; color: #fff; margin: 0 0 0.5rem; line-height: 1.3;
  text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}
@media (max-width: 600px) { .hero-title { font-size: 1.3rem; margin-bottom: 0.4rem; } }

.hero-subtitle {
  font-size: 0.9rem; color: rgba(255,255,255,0.92); line-height: 1.5; margin: 0 0 1rem;
  text-shadow: 0 1px 2px rgba(0,0,0,0.25);
}
@media (max-width: 600px) { .hero-subtitle { font-size: 0.8rem; line-height: 1.4; margin-bottom: 0.75rem; } }

.hero-buttons { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 0.75rem; }

.btn-hero {
  display: inline-block; padding: 0.5rem 1.2rem; border-radius: 24px;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  transition: opacity 0.2s, transform 0.2s;
}
.btn-hero:hover { opacity: 0.95; transform: translateY(-1px); }
@media (max-width: 600px) { .btn-hero { padding: 0.45rem 1rem; font-size: 0.85rem; } }

.btn-hero-primary { background: rgba(30,55,45,0.95); color: #fff; border: none; }
.btn-hero-secondary { background: transparent; color: #fff; border: 2px solid rgba(255,255,255,0.7); }
.btn-hero-secondary:hover { border-color: #fff; color: #fff; }

.carousel-btn {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 44px; height: 44px; border: none; background: rgba(0,0,0,0.35);
  color: #fff; font-size: 1.75rem; cursor: pointer; border-radius: 50%;
  line-height: 1; transition: background 0.2s;
}
.carousel-btn:hover { background: rgba(0,0,0,0.55); }
.carousel-btn.prev { left: 0.75rem; }
.carousel-btn.next { right: 0.75rem; }
@media (max-width: 480px) { .carousel-btn { width: 36px; height: 36px; font-size: 1.4rem; } }

.carousel-dots {
  position: absolute; bottom: 1rem; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; gap: 0.5rem;
}
.carousel-dots .dot {
  width: 10px; height: 10px; border: none; cursor: pointer; padding: 0;
  background: none; display: flex; align-items: center; justify-content: center;
  transition: opacity 0.2s;
}
.carousel-dots .dot .dot-icon-img { width: 100%; height: 100%; object-fit: contain; display: block; }
.carousel-dots .dot:hover .dot-icon-img { opacity: 0.9; }

/* ========== 手绘地图全景图区域 ========== */
.handdrawn-section {
  padding: 3rem 0 2rem;
  background: #f5f0e8;
  background-image:
    repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(139,105,20,0.015) 2px, rgba(139,105,20,0.015) 4px),
    repeating-linear-gradient(90deg, transparent, transparent 1px, rgba(139,105,20,0.008) 1px, rgba(139,105,20,0.008) 2px);
}
.handdrawn-section .container { text-align: center; }

/* SVG 地图容器 */
.map-wrapper {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  padding: 0.5rem;
  background: rgba(255,255,255,0.25);
  border-radius: 8px;
  box-shadow: 0 4px 24px rgba(44,36,22,0.1);
  z-index: 1;
}

.handdrawn-map-svg {
  width: 100%;
  height: auto;
  display: block;
}

/* 地图热点 */
.map-hotspot {
  cursor: pointer;
  transition: filter 0.2s ease;
}

.map-hotspot:hover {
  filter: drop-shadow(0 2px 6px rgba(201,162,39,0.55));
}

.map-hotspot:hover .map-marker-dot {
  opacity: 1;
}

.map-hotspot:focus {
  outline: 2px dashed #c9a227;
  outline-offset: 4px;
}

.map-marker-dot {
  animation: mapPulse 2s ease-in-out infinite;
}

@keyframes mapPulse {
  0%, 100% { opacity: 0.6; }
  50% { opacity: 1; }
}

/* 地图气泡提示 */
.map-tooltip {
  position: absolute;
  background: rgba(255,255,255,0.95);
  border: 1px solid rgba(201,162,39,0.4);
  border-radius: 6px;
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  color: #5a3e1b;
  pointer-events: none;
  z-index: 10;
  opacity: 0;
  transition: opacity 0.2s;
  box-shadow: 0 2px 8px rgba(44,36,22,0.12);
  white-space: nowrap;
}

.map-tooltip.visible {
  opacity: 1;
}

/* ---- 手绘地图响应式 ---- */
@media (max-width: 768px) {
  .map-wrapper {
    max-width: 100%;
    padding: 0.3rem;
  }
}

/* ========== 快捷功能区 ========== */
.quick-access {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 0.5rem 1rem;
  margin: -2rem 1.5rem 0;
  position: relative;
  z-index: 10;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (max-width: 768px) {
  .quick-access {
    margin: -1.5rem 0.75rem 0;
    border-radius: 6px;
  }
}

.quick-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: nowrap;
}

@media (max-width: 600px) {
  .quick-inner {
    justify-content: space-between;
    gap: 0.3rem;
  }
}

.quick-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.15rem;
  padding: 0.4rem 0.25rem;
  color: #f5e6c8;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
  min-height: 64px;
}

@media (max-width: 500px) {
  .quick-item {
    padding: 0.35rem 0.2rem;
    min-height: 60px;
  }
}

.quick-item:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #fff;
}

.quick-icon-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  flex-shrink: 0;
  transition: opacity 0.2s;
  opacity: 0.95;
}

@media (max-width: 500px) {
  .quick-icon-wrap {
    width: 2.25rem;
    height: 2.25rem;
  }
}

.quick-icon {
  font-size: 1.75rem;
}

.quick-item img.quick-icon {
  width: 2rem;
  height: 2rem;
  object-fit: contain;
}

@media (max-width: 500px) {
  .quick-item img.quick-icon {
    width: 1.75rem;
    height: 1.75rem;
  }
}

.quick-item span:last-child {
  font-size: 0.8rem;
  font-weight: 500;
  text-align: center;
  line-height: 1.2;
}

@media (max-width: 500px) {
  .quick-item span:last-child {
    font-size: 0.7rem;
  }
}

/* ========== 通用容器 ========== */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

@media (max-width: 600px) {
  .container {
    padding: 0 0.75rem;
  }
}

@media (max-width: 400px) {
  .container {
    padding: 0 0.5rem;
  }
}

.section-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--color-primary-dark);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.75rem;
}

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

@media (max-width: 600px) {
  .section-title {
    font-size: 1.4rem;
    margin-bottom: 1rem;
  }
}

@media (max-width: 400px) {
  .section-title {
    font-size: 1.25rem;
    margin-bottom: 0.85rem;
  }
}

.section-title-spaced {
  margin-top: 2rem;
}

/* ========== 概况 · 天气横条（与全站暖棕、衬线标题统一）========== */
.overview-card .overview-lead {
  margin: 0 0 1.1rem;
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--color-text-muted);
  font-family: var(--font-sans);
}

.overview-hours p {
  color: var(--color-text);
  font-size: 0.95rem;
}

.overview-hours p strong {
  color: var(--color-primary-dark);
  font-weight: 600;
}

.overview-note {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.55;
}

.btn-more-overview {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-primary-dark) !important;
  border-color: var(--color-primary) !important;
  margin-top: 1.25rem;
}

.btn-more-overview:hover {
  background: var(--color-primary) !important;
  color: #fff !important;
  border-color: var(--color-primary-dark) !important;
}

.weather-strip {
  margin: 0 0 1.5rem;
  border-radius: var(--radius);
  overflow: hidden;
  background: linear-gradient(
    105deg,
    #8a6408 0%,
    #c4920a 18%,
    #f0d060 38%,
    #daa520 52%,
    #b87a10 68%,
    #8a6408 82%,
    #6b4d06 100%
  );
  background-size: 200% 100%;
  color: #fff9e6;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.35),
    inset 0 -1px 0 rgba(0, 0, 0, 0.12),
    0 2px 12px rgba(180, 120, 0, 0.3);
}

.weather-strip-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.85rem 1.25rem;
  padding: 0.85rem 1.1rem;
  font-family: var(--font-sans);
  font-size: 0.82rem;
  line-height: 1.45;
  color: #fff9e6;
}

.weather-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.weather-item-main {
  flex: 1 1 220px;
  min-width: 0;
  white-space: normal;
  color: #fff9e6;
  font-weight: 500;
  text-shadow: 0 1px 3px rgba(100, 60, 0, 0.5);
}

.weather-item-main .weather-line {
  flex: 1;
}

.weather-ico {
  display: inline-flex;
  color: rgba(255, 250, 220, 0.9);
  flex-shrink: 0;
  filter: drop-shadow(0 1px 2px rgba(100, 60, 0, 0.4));
}

.weather-ico svg {
  display: block;
}

.weather-more {
  margin-left: auto;
  color: #fff9e6 !important;
  font-weight: 600;
  font-family: var(--font-sans);
  text-decoration: none;
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(100, 60, 0, 0.5);
}

.weather-more:hover {
  color: #fff !important;
  text-decoration: underline;
}

.overview-hours {
  padding-top: 0.35rem;
}

.overview-hours p {
  margin-bottom: 0.5rem;
}

/* 手机端：天气条紧凑排版（2 列小项 + 减少留白） */
@media (max-width: 640px) {
  .weather-strip {
    margin: 0 0 1rem;
  }

  .weather-strip-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.3rem 0.5rem;
    padding: 0.45rem 0.6rem;
    font-size: 0.7rem;
    line-height: 1.25;
    align-items: center;
  }

  .weather-item-main {
    grid-column: 1 / -1;
    flex: none;
    width: 100%;
    align-items: flex-start;
    font-size: 0.76rem;
    line-height: 1.35;
    font-weight: 600;
  }

  .weather-item-main .weather-ico {
    margin-top: 0.1rem;
  }

  .weather-item:not(.weather-item-main) {
    white-space: normal;
    min-width: 0;
    gap: 0.25rem;
    font-size: 0.68rem;
    line-height: 1.2;
  }

  .weather-item:not(.weather-item-main) .weather-ico svg {
    width: 14px;
    height: 14px;
  }

  .weather-more {
    grid-column: 1 / -1;
    margin-left: 0;
    margin-top: 0.1rem;
    font-size: 0.68rem;
    font-weight: 600;
  }
}

/* ========== 公告区域 ========== */
.info-section {
  padding: 3rem 0;
}

.info-card {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-primary);
}

.info-card h2 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.info-card.overview-card h2 {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.info-card p {
  margin-bottom: 0.5rem;
}

.info-card .muted {
  color: var(--color-text-muted);
  font-size: 0.9rem;
}

.map-embed-wrap {
  margin: 1rem 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-bg);
  width: 100%;
  height: 280px;
}

.btn-more {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.4rem 1rem;
  border: 1px solid var(--color-primary);
  color: var(--color-primary);
  border-radius: var(--radius);
  font-size: 0.9rem;
}

.btn-more:hover {
  background: var(--color-primary);
  color: #fff;
}

/* ========== 分类/商品瓷砖 ========== */
.tiles-section {
  padding: 3rem 0;
}

@media (max-width: 768px) {
  .tiles-section {
    padding: 2rem 0;
  }
}

.specialty-subtitle {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--color-primary-dark);
  margin: 2rem 0 1rem;
  text-align: center;
}

@media (max-width: 768px) {
  .specialty-subtitle {
    font-size: 1.1rem;
    margin: 1.5rem 0 0.85rem;
  }
}

.tiles-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

@media (max-width: 1100px) {
  .tiles-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 900px) {
  .tiles-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .tiles-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .tiles-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.tiles-grid + .tiles-grid {
  margin-top: 1.5rem;
}

.specialty-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .specialty-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .specialty-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
  }
}

/* 济源特产：电商卡片样式（固定宽度居中对齐） */
.product-cards.specialty-grid {
  display: grid;
  grid-template-columns: repeat(4, 250px);
  gap: 1rem;
  justify-content: center;
}

@media (max-width: 1100px) {
  .product-cards.specialty-grid {
    grid-template-columns: repeat(3, 250px);
  }
}

@media (max-width: 860px) {
  .product-cards.specialty-grid {
    grid-template-columns: repeat(2, 250px);
    gap: 0.85rem;
  }
}

@media (max-width: 580px) {
  .product-cards.specialty-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.6rem;
  }
}

@media (max-width: 360px) {
  .product-cards.specialty-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
}

.product-card {
  display: block;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

@media (max-width: 480px) {
  .product-card:hover {
    transform: translateY(-2px);
  }
}

.product-card-img {
  width: 100%;
  height: 180px;
  background-size: cover;
  background-position: center;
  background-color: #f5f5f5;
}

@media (max-width: 768px) {
  .product-card-img {
    height: 140px;
  }
}

@media (max-width: 480px) {
  .product-card-img {
    height: 110px;
  }
}

.product-card-info {
  padding: 0.75rem 0.9rem;
}

@media (max-width: 480px) {
  .product-card-info {
    padding: 0.5rem 0.6rem;
  }
}

.product-card-title {
  font-size: 0.9rem;
  color: #333;
  margin: 0 0 0.25rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 480px) {
  .product-card-title {
    font-size: 0.8rem;
    -webkit-line-clamp: 1;
  }
}

.product-card-tag {
  color: #ff0036;
  font-weight: 600;
  margin-right: 0.2em;
}

.product-card-extra {
  font-size: 0.75rem;
  color: #ff6700;
  margin: 0 0 0.35rem;
}

@media (max-width: 480px) {
  .product-card-extra {
    font-size: 0.7rem;
  }
}

.product-card-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ff6700;
  margin: 0 0 0.2rem;
}

@media (max-width: 480px) {
  .product-card-price {
    font-size: 1rem;
  }
}

.product-card-sales {
  font-size: 0.75rem;
  color: #999;
  margin: 0;
}

.tile {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.12);
}

.tile-img {
  height: 160px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 768px) {
  .tile-img {
    height: 120px;
  }
}

.tile h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  padding: 1rem;
  text-align: center;
  color: var(--color-text);
}

@media (max-width: 768px) {
  .tile h3 {
    font-size: 0.9rem;
    padding: 0.75rem;
  }
}

.tile.center-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: linear-gradient(180deg, #f0e6d4 0%, #e8dcc8 100%);
  border: 1px solid var(--color-border);
}

@media (max-width: 900px) {
  .tile.center-tile {
    grid-column: 1 / -1;
    max-width: 300px;
    margin: 0 auto;
  }
}

.brand-name {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.brand-sub {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  margin-top: 0.25rem;
}

/* ========== 热销推荐横向滚动 ========== */
.featured-section {
  padding: 3rem 0 4rem;
}

.featured-carousel {
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feat-btn {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-primary-dark);
  transition:
    background 0.2s,
    color 0.2s;
}

.feat-btn:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.feat-track {
  flex: 1;
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding: 0.5rem 0;
  scroll-behavior: smooth;
  scrollbar-width: none;
}

.feat-track::-webkit-scrollbar {
  display: none;
}

.feat-card {
  flex-shrink: 0;
  width: 200px;
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}

.feat-card:hover {
  transform: scale(1.03);
}

.feat-img {
  height: 140px;
  background-size: cover;
  background-position: center;
}

.feat-card p {
  padding: 0.75rem;
  text-align: center;
  font-weight: 500;
  color: var(--color-text);
}

/* 横向滚动轨道中的 tile / product-card */
.feat-track .tile {
  flex-shrink: 0;
  width: 250px;
}

.feat-track .tile-img {
  height: 160px;
}

.feat-track .tile h3 {
  font-size: 0.9rem;
  padding: 0.75rem;
}

.feat-track .tile.center-tile {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 210px;
  max-width: none;
  margin: 0;
}

.feat-track .product-card {
  flex-shrink: 0;
  width: 250px;
}

@media (max-width: 600px) {
  .feat-track .tile {
    width: 200px;
  }
  .feat-track .tile-img {
    height: 120px;
  }
  .feat-track .product-card {
    width: 200px;
  }
}

.feat-actions {
  text-align: center;
  margin-top: 1.5rem;
}

.btn-explore {
  display: inline-block;
  padding: 0.6rem 1.5rem;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 500;
}

.btn-explore:hover {
  background: var(--color-primary-dark);
  color: #fff !important;
}

/* ========== 攻略：地理位置、风景、特产、登山路线 ========== */
.guide-section {
  padding: 3rem 0 4rem;
}

.guide-subtitle {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: -0.5rem 0 2rem;
}

.guide-intro {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

@media (max-width: 900px) {
  .guide-intro {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

.guide-intro-block {
  background: var(--color-surface);
  padding: 1.25rem;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border-left: 4px solid var(--color-primary);
}

.guide-intro-block h3 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-primary-dark);
  margin-bottom: 0.5rem;
}

.guide-intro-block p {
  font-size: 0.9rem;
  color: var(--color-text);
  line-height: 1.6;
  margin: 0;
}

.guide-intro-block a {
  color: var(--color-primary);
  font-weight: 500;
}

.route-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  align-items: stretch;
}

@media (max-width: 900px) {
  .route-cards {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .route-cards {
    grid-template-columns: 1fr;
  }
}

.route-card {
  background: var(--color-surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}

.route-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.12);
}

.route-card-img {
  position: relative;
  height: 180px;
  background-size: cover;
  background-position: center;
}

@media (max-width: 480px) {
  .route-card-img {
    height: 160px;
  }
}

.route-tag {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  background: rgba(34, 139, 34, 0.9);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 4px;
}

.route-tag.highlight {
  background: var(--color-primary);
}

.route-meta-top {
  position: absolute;
  bottom: 0.75rem;
  left: 0.75rem;
  right: 0.75rem;
  display: flex;
  justify-content: space-between;
  font-size: 0.8rem;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
}

.route-card-body {
  padding: 1rem 1.25rem;
}

@media (max-width: 480px) {
  .route-card-body {
    padding: 0.85rem 1rem;
  }
}

.route-card-body h3 {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

@media (max-width: 480px) {
  .route-card-body h3 {
    font-size: 0.95rem;
  }
}

.route-detail {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0 0 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media (max-width: 480px) {
  .route-detail {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }
}

.route-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.route-stars {
  color: var(--color-accent);
}

/* ========== 页脚 ========== */
.footer {
  background: var(--color-primary);
  color: #fff;
  padding: 3rem 0 0;
}

.footer a {
  color: #fff !important;
}

.footer a:hover {
  color: #f0f0f0 !important;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand .logo-text {
  color: #fff;
  font-size: 1.25rem;
}

.footer-brand p {
  margin: 0.5rem 0 1rem;
  font-size: 0.9rem;
  opacity: 0.9;
  color: #fff;
}

.qrcodes {
  display: flex;
  gap: 1rem;
}

.qrcode-placeholder {
  width: 80px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  color: #fff;
}

.qrcode-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.25rem;
  font-size: 0.85rem;
  color: #fff;
}

.footer-links {
  display: flex;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-col h4 {
  font-size: 1rem;
  margin-bottom: 0.75rem;
  color: #fff;
}

.footer-col a {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.9rem;
  color: #fff !important;
}

.footer-bottom {
  padding: 1rem 1.5rem;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  opacity: 0.85;
  color: #fff;
}

.footer-bottom .muted {
  opacity: 0.7;
  font-size: 0.8rem;
  color: #fff;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
  .footer-links {
    gap: 1.5rem;
  }
}

/* ========== 淘宝弹窗 ========== */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.modal[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  background: var(--color-surface);
  padding: 2rem;
  border-radius: var(--radius);
  max-width: 420px;
  width: 100%;
  position: relative;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--color-text-muted);
  line-height: 1;
}

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

.modal-content h3 {
  font-family: var(--font-serif);
  margin-bottom: 1rem;
  color: var(--color-primary-dark);
}

.modal-content p {
  margin-bottom: 0.75rem;
  font-size: 0.95rem;
}

.modal-content .btn-primary {
  display: inline-block;
  margin-top: 1rem;
  padding: 0.6rem 1.25rem;
  background: var(--color-primary);
  color: #fff !important;
  border-radius: var(--radius);
  font-weight: 500;
}

.modal-content .btn-primary:hover {
  background: var(--color-primary-dark);
  color: #fff !important;
}

/* ========== AI 聊天浮窗 ========== */
.ai-chat-widget {
  position: fixed;
  bottom: 9rem;
  right: 1.5rem;
  width: 380px;
  max-width: calc(100vw - 2rem);
  height: 480px;
  max-height: 70vh;
  background: var(--color-surface);
  border-radius: var(--radius);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
  z-index: 999;
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px) scale(0.95);
  transition: opacity 0.25s, visibility 0.25s, transform 0.25s;
}

@media (max-width: 768px) {
  .ai-chat-widget {
    bottom: 1rem;
    right: 0.75rem;
    left: 0.75rem;
    width: auto;
    max-width: none;
    height: 75vh;
    max-height: 650px;
    border-radius: 16px;
  }
}

@media (max-width: 480px) {
  .ai-chat-widget {
    bottom: 0.75rem;
    right: 0.5rem;
    left: 0.5rem;
    height: 70vh;
    max-height: 550px;
    border-radius: 14px;
  }
}

.ai-chat-widget[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}

.ai-chat-header {
  padding: 0.85rem 1rem;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: #fff;
  font-weight: 600;
  border-radius: var(--radius) var(--radius) 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .ai-chat-header {
    padding: 0.75rem;
    border-radius: 10px 10px 0 0;
  }
}

.ai-chat-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .ai-chat-avatar {
    width: 28px;
    height: 28px;
  }
}

.ai-chat-close {
  background: none;
  border: none;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  line-height: 1;
  opacity: 0.9;
  padding: 0.25rem;
}

.ai-chat-close:hover {
  opacity: 1;
}

.ai-chat-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.ai-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  -webkit-overflow-scrolling: touch;
}

@media (max-width: 768px) {
  .ai-messages {
    padding: 0.75rem;
    gap: 0.6rem;
  }
}

.ai-msg {
  max-width: 90%;
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  font-size: 0.9rem;
  line-height: 1.5;
  word-break: break-word;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  transition: all 0.2s ease;
  position: relative;
}

@media (max-width: 480px) {
  .ai-msg {
    max-width: 85%;
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
  }
}

.ai-msg.bot {
  align-self: flex-start;
  background: #f0ebe0;
  color: var(--color-text);
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(139, 105, 20, 0.1);
}

.ai-msg.user {
  align-self: flex-end;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border-bottom-right-radius: 6px;
  box-shadow: 0 2px 6px rgba(139, 105, 20, 0.2);
}

.ai-msg:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ai-msg img {
  max-width: 100%;
  border-radius: 8px;
  margin: 0.5rem 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.ai-msg-time {
  font-size: 0.7rem;
  opacity: 0.6;
  margin-top: 0.3rem;
  text-align: right;
  white-space: nowrap;
}

.ai-msg.bot .ai-msg-time {
  text-align: left;
}

.ai-msg-status {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #4caf50;
  margin-left: 0.3rem;
  animation: pulse 2s infinite;
}

.ai-msg-status.sending {
  background: #ffc107;
  animation: none;
}

.ai-msg-status.error {
  background: #f44336;
  animation: none;
}

.ai-msg p {
  margin: 0;
}

.ai-chat-form {
  padding: 0.6rem 0.75rem;
  border-top: 1px solid var(--color-border);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

@media (max-width: 768px) {
  .ai-chat-form {
    padding: 0.5rem 0.6rem;
  }
}

.ai-quick-questions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}

.ai-quick-question {
  padding: 0.35rem 0.75rem;
  border: 1px solid var(--color-border);
  border-radius: 16px;
  background: #f8f9fa;
  color: var(--color-text);
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.ai-quick-question:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
  transform: translateY(-1px);
  box-shadow: 0 2px 4px rgba(139, 105, 20, 0.2);
}

@media (max-width: 480px) {
  .ai-quick-question {
    padding: 0.3rem 0.6rem;
    font-size: 0.75rem;
  }
}

/* 开场动画 */
.ai-chat-widget[aria-hidden="false"] {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  animation: aiWidgetFadeIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes aiWidgetFadeIn {
  0% {
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.9);
  }
  50% {
    opacity: 0.8;
    transform: translateY(-5px) scale(1.02);
  }
  100% {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
  }
}

/* 消息打字动画 */
.ai-msg-typing {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.6rem 0.9rem;
  border-radius: 16px;
  background: #f0ebe0;
  color: var(--color-text);
  border-bottom-left-radius: 6px;
  border: 1px solid rgba(139, 105, 20, 0.1);
  align-self: flex-start;
  max-width: 90%;
}

.ai-msg-typing .typing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  opacity: 1;
  animation: typing 1.4s infinite ease-in-out;
}

.ai-msg-typing .typing-dot:nth-child(1) {
  animation-delay: -0.32s;
}

.ai-msg-typing .typing-dot:nth-child(2) {
  animation-delay: -0.16s;
}

@keyframes typing {
  0%, 80%, 100% {
    transform: scale(0);
  }
  40% {
    transform: scale(1);
  }
}

.ai-toolbar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .ai-toolbar {
    gap: 0.4rem;
  }
}

.ai-upload-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s;
}

@media (max-width: 480px) {
  .ai-upload-btn {
    width: 32px;
    height: 32px;
  }

  .ai-upload-btn svg {
    width: 16px;
    height: 16px;
  }
}

.ai-upload-btn:hover {
  background: var(--color-primary-dark);
}

/* ========== 豆包风格输入栏 ========== */
.ai-input-container {
  flex: 1;
  position: relative;
}

.ai-input-container input[type="text"] {
  width: 100%;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--color-border);
  border-radius: 20px;
  background: #fff;
  color: var(--color-text);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.ai-input-container input[type="text"]::placeholder {
  color: var(--color-text-muted);
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

@media (max-width: 480px) {
  .ai-input-container input[type="text"]::placeholder {
    font-size: 0.8rem;
  }
}

.ai-input-container input[type="text"]:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 2px rgba(201, 162, 39, 0.3);
}

/* 推荐问题 */
.ai-recommendations {
  position: absolute;
  bottom: 100%;
  left: 0;
  right: 0;
  margin-bottom: 0.5rem;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 12px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
  padding: 0.5rem;
  z-index: 1000;
  max-height: 200px;
  overflow-y: auto;
  animation: fadeIn 0.2s ease;
}

.ai-recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.ai-recommendation-item {
  padding: 0.5rem 0.7rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 0.85rem;
  color: var(--color-text);
}

.ai-recommendation-item:hover {
  background: #f0ebe0;
  transform: translateX(4px);
}

.ai-recommendation-item:active {
  background: var(--color-primary);
  color: #fff;
}

.ai-right-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.ai-send-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-primary);
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.ai-send-btn:hover {
  background: var(--color-primary-dark);
  transform: scale(1.05);
}

.ai-send-btn svg {
  width: 18px;
  height: 18px;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 480px) {
  .ai-send-btn {
    width: 36px;
    height: 36px;
  }
  
  .ai-send-btn svg {
    width: 16px;
    height: 16px;
  }
  
  .ai-input-container input[type="text"] {
    padding: 0.55rem 0.75rem;
    font-size: 0.85rem;
  }
}

/* 豆包风格输入栏已经替代了旧的输入框样式 */

/* 图片预览区（用 [hidden] 控制显隐，发送后整行不占位） */
.ai-image-preview {
  position: relative;
  padding: 0.5rem 1rem;
  border-top: 1px solid var(--color-border);
  background: #fafafa;
}

.ai-image-preview[hidden] {
  display: none !important;
}

.ai-image-preview img {
  max-height: 120px;
  max-width: 100%;
  border-radius: 8px;
  border: 1px solid var(--color-border);
  object-fit: cover;
  display: block;
  margin: 0 auto;
}

.ai-preview-remove {
  position: absolute;
  top: 0.35rem;
  right: calc(1rem + 4px);
  width: 20px;
  height: 20px;
  background: rgba(0, 0, 0, 0.55);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 悬浮打开 AI 按钮 */
.ai-fab {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    var(--color-primary) 0%,
    var(--color-primary-dark) 100%
  );
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(139, 105, 20, 0.4);
  z-index: 998;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  transition: transform 0.2s, box-shadow 0.2s;
}

.ai-fab:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 20px rgba(139, 105, 20, 0.5);
}

.ai-fab-icon {
  font-size: 1.5rem;
  line-height: 1;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.ai-fab-text {
  font-size: 0.65rem;
  margin-top: 2px;
}

@media (max-width: 768px) {
  .ai-fab {
    bottom: 1.25rem;
    right: 1rem;
    width: 50px;
    height: 50px;
  }

  .ai-fab-icon {
    width: 35px;
    height: 35px;
  }

  .ai-fab-text {
    font-size: 0.6rem;
  }
}

/* ========== 景点介绍（左图右文列表）========== */
.spot-intro-section {
  padding: 3rem 0 3.5rem;
  background: var(--color-bg);
}

.spot-intro-lead {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1rem;
  margin: -0.75rem 0 2rem;
}

.spot-intro-list {
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--color-surface);
  box-shadow: var(--shadow);
}

.spot-intro-row {
  display: flex;
  align-items: stretch;
  gap: 0;
  border-bottom: 1px solid rgba(212, 196, 168, 0.6);
}

.spot-intro-row:last-child {
  border-bottom: none;
}

.spot-intro-row:nth-child(even) {
  background: rgba(248, 245, 240, 0.85);
}

.spot-intro-img {
  flex: 0 0 38%;
  max-width: 380px;
  min-height: 200px;
  background-size: cover;
  background-position: center;
  background-color: #e8e4dc;
}

.spot-intro-body {
  flex: 1;
  padding: 1.35rem 1.5rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.spot-intro-heading {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--color-primary-dark);
  margin: 0 0 0.75rem;
  line-height: 1.35;
}

.spot-intro-sub {
  font-weight: 600;
  font-size: 1.05rem;
  color: #8b5e00;
  margin-left: 0.35em;
}

.spot-intro-desc {
  font-size: 0.95rem;
  line-height: 1.75;
  color: var(--color-text);
  margin: 0 0 0.85rem;
}

.spot-intro-author {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  margin: 0;
}

@media (max-width: 768px) {
  .spot-intro-row {
    flex-direction: column;
  }
  .spot-intro-img {
    flex: none;
    max-width: none;
    width: 100%;
    min-height: 180px;
  }
  .spot-intro-body {
    padding: 1.1rem 1.15rem 1.25rem;
  }
}

/* 导航响应式 */
@media (max-width: 768px) {
  .header-inner {
    flex-wrap: wrap;
  }
  .nav {
    order: 3;
    width: 100%;
    gap: 1rem;
  }
}

/* ========== 微信浏览器兼容修复 ========== */
/* 注意：这些样式会被 index.html 中的内联样式覆盖，作为后备方案 */

/* 微信浏览器AI咨询文字显示 */
.weixin-browser .header-action-link,
html.weixin-browser .header-action-link {
  display: inline-block !important;
  visibility: visible !important;
  opacity: 1 !important;
  color: #ffffff !important;
}

/* 微信浏览器AI按钮显示 */
.weixin-browser .ai-header-fab,
html.weixin-browser .ai-header-fab {
  display: flex !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 微信浏览器AI图标显示 */
.weixin-browser .ai-header-fab-icon,
html.weixin-browser .ai-header-fab-icon {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* 微信浏览器移动端弹框修复 */
@media screen and (max-width: 768px) {
  .weixin-browser .ai-chat-widget,
  html.weixin-browser .ai-chat-widget {
    position: fixed !important;
    bottom: 1rem !important;
    right: 0.75rem !important;
    left: 0.75rem !important;
    width: auto !important;
    height: 75vh !important;
    max-height: 650px !important;
  }
}

@media screen and (max-width: 480px) {
  .weixin-browser .ai-chat-widget,
  html.weixin-browser .ai-chat-widget {
    bottom: 0.75rem !important;
    right: 0.5rem !important;
    left: 0.5rem !important;
    height: 70vh !important;
    max-height: 550px !important;
  }
}

/* ========== 视频展示区 ========== */
.video-section {
  background: linear-gradient(180deg, #f0e6d4 0%, #f9f6f1 100%);
  padding: 3.5rem 0;
}

.video-intro {
  text-align: center;
  color: var(--color-text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.video-card {
  background: var(--color-surface);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(44, 36, 22, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.video-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.14);
}

.video-wrap {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  background: #000;
}

.video-wrap video,
.video-wrap .slideshow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.video-info {
  padding: 1rem 1.25rem;
}

.video-info h4 {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.video-info p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.5;
  margin: 0;
}

@media (max-width: 900px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .video-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .video-section {
    padding: 2.5rem 0;
  }
}

/* ========== 背景音乐按钮（导航栏内） ========== */
.music-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  color: #e2d5c4;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s;
  flex-shrink: 0;
}

.music-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  color: #fff;
}

.music-btn.playing {
  background: rgba(255, 255, 255, 0.25);
  color: #fff;
  animation: musicSpin 2s linear infinite;
}

@keyframes musicSpin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

/* 手机端轮播优化 */
@media (max-width: 768px) {
  .slide-btn {
    opacity: 1;
    width: 36px;
    height: 36px;
    font-size: 1.4rem;
  }

  .slide-dot {
    width: 8px;
    height: 8px;
  }

  .video-info h4 {
    font-size: 1rem;
  }

  .video-info p {
    font-size: 0.85rem;
  }

  .video-intro {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }
}

/* ========== 图片轮播（模拟视频） ========== */
.slideshow {
  overflow: hidden;
}

.slide-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.8s ease;
}

.slide-img.active {
  opacity: 1;
}

.slide-controls {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 0.5rem;
  pointer-events: none;
  z-index: 2;
}

.slide-btn {
  pointer-events: auto;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.4);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s, background 0.3s;
}

.slideshow:hover .slide-btn {
  opacity: 1;
}

.slide-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}

.slide-dots {
  position: absolute;
  bottom: 8px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 2;
}

.slide-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.3s, transform 0.3s;
}

.slide-dot.active {
  background: #fff;
  transform: scale(1.3);
}

/* ========== 视频查看详情 ========== */
.detail-toggle {
  display: inline-block;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.3rem 0;
  margin-top: 0.3rem;
  border-bottom: 1px dashed var(--color-primary);
  transition: color 0.2s;
}

.detail-toggle:hover {
  color: var(--color-primary-dark);
}

.detail-toggle.open {
  color: var(--color-text-muted);
  border-bottom-color: var(--color-text-muted);
}

.video-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, margin-top 0.3s ease;
  margin-top: 0;
}

.video-detail.open {
  max-height: 300px;
  margin-top: 0.5rem;
}

.video-detail p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

/* ========== 媒体报道板块 ========== */
.media-section {
  background: linear-gradient(180deg, #f9f6f1 0%, #f0e6d4 100%);
  padding: 3.5rem 0;
}

.media-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.media-card {
  background: var(--color-surface);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 12px rgba(44, 36, 22, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.1);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  display: flex;
  flex-direction: column;
}

a.media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(44, 36, 22, 0.14);
}

.media-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent) 100%);
  color: #fff;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
  width: fit-content;
}

.media-card h4 {
  font-family: var(--font-serif);
  font-size: 1.15rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.media-card p {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 0.75rem;
  flex: 1;
}

.media-highlights {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.media-tag {
  background: rgba(201, 162, 39, 0.1);
  color: var(--color-primary-dark);
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  font-weight: 500;
}

.media-link {
  color: var(--color-primary);
  font-size: 0.9rem;
  font-weight: 600;
}

/* 成果数据卡片 */
.media-card-achievements {
  background: linear-gradient(135deg, #fdf8ef 0%, #f5ead5 100%);
  border: 1px solid rgba(201, 162, 39, 0.2);
}

.achievement-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 0.5rem;
}

.achievement-item {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
}

.achievement-num {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary-dark);
}

.achievement-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

@media (max-width: 768px) {
  .media-grid {
    grid-template-columns: 1fr;
  }
  .media-section {
    padding: 2.5rem 0;
  }
}

/* ========== 返回顶部按钮 ========== */
.back-to-top {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-surface);
  color: var(--color-primary-dark);
  border: 1px solid var(--color-border);
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(44, 36, 22, 0.12);
  z-index: 99;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.back-to-top svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 480px) {
  .back-to-top {
    width: 38px;
    height: 38px;
    bottom: 1rem;
    right: 1rem;
  }
}

/* ========== 建议反馈板块 ========== */
.feedback-section {
  padding: 1.5rem 0;
  background: linear-gradient(180deg, #f0e6d4 0%, #f9f6f1 100%);
}

.feedback-grid {
  display: flex;
  gap: 1rem;
  max-width: 520px;
  margin: 0 auto;
}

.feedback-card {
  flex: 1;
  background: var(--color-surface);
  border-radius: 10px;
  padding: 1rem;
  text-align: center;
  box-shadow: 0 2px 8px rgba(44, 36, 22, 0.06);
  border: 1px solid rgba(201, 162, 39, 0.1);
}

.feedback-icon {
  font-size: 1.5rem;
  margin-bottom: 0.3rem;
}

.feedback-card h4 {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  color: var(--color-text);
  margin-bottom: 0.25rem;
}

.feedback-card p {
  font-size: 0.75rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.feedback-btn {
  display: inline-block;
  padding: 0.3rem 0.8rem;
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  border: none;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
}

.feedback-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 3px 10px rgba(139, 105, 20, 0.3);
}

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

.feedback-btn-outline:hover {
  background: rgba(201, 162, 39, 0.08);
  color: var(--color-primary-dark);
  box-shadow: none;
}

@media (max-width: 480px) {
  .feedback-grid {
    flex-direction: column;
    max-width: 280px;
  }
}

/* ========== 团队介绍板块 ========== */
.team-section {
  padding: 3.5rem 0;
  background: var(--color-bg);
}

.team-card {
  max-width: 800px;
  margin: 0 auto;
  background: var(--color-surface);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 12px rgba(44, 36, 22, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.12);
}

.team-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.team-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 100%);
  color: #fff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.3rem 1rem;
  border-radius: 20px;
  margin-bottom: 0.75rem;
}

.team-header h3 {
  font-family: var(--font-serif);
  font-size: 1.3rem;
  color: var(--color-text);
  line-height: 1.5;
}

.team-body p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.8;
  margin-bottom: 0.75rem;
  text-indent: 2em;
}

.team-body p:last-child {
  margin-bottom: 0;
}

.team-tags {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(201, 162, 39, 0.15);
}

.team-tags span {
  background: rgba(201, 162, 39, 0.08);
  color: var(--color-primary-dark);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  border: 1px solid rgba(201, 162, 39, 0.15);
}

@media (max-width: 600px) {
  .team-section {
    padding: 2.5rem 0;
  }
  .team-card {
    padding: 1.5rem;
  }
  .team-header h3 {
    font-size: 1.15rem;
  }
}

/* ========== 全局居中对齐 & 光标样式 ========== */
.section-title { text-align: center; }

/* 可点击卡片统一指针 */
.product-card,
.tile,
.village-card-mini,
.village-overview-card,
.spot-intro-row,
.info-card,
.feat-card,
.route-card,
.product-item,
.quick-item { cursor: pointer; }

/* 横向滚动区域 - 抓手光标 */
.feat-track,
.featured-carousel .feat-track,
.product-cards.feat-track { cursor: grab; }
.feat-track:active { cursor: grabbing; }

/* 地图热点 - 十字瞄准光标 */
.map-hotspot { cursor: crosshair; }

/* 滚动按钮 */
.feat-btn,
.carousel-btn { cursor: pointer; }

/* 导航链接 */
.nav a { cursor: pointer; }

/* 普通信息区保持默认光标 */
.info-section,
.villages-section,
.guide-section,
.spot-intro-section { cursor: default; }

/* 天气模块 */
.weather-strip { cursor: default; }

/* 视频区 */
.video-section { cursor: default; }

/* 按钮统一 */
button,
.btn-hero,
.btn-explore { cursor: pointer; }

/* 地图容器 */
.map-embed-wrap { cursor: grab; }
.map-embed-wrap:active { cursor: grabbing; }

/* 反馈区 */
.feedback-section { cursor: default; }

/* 关于/团队 */
.team-section,
.contact-section { cursor: default; }

/* 视频播放按钮 */
.video-play-btn { cursor: pointer; }

/* 页脚链接 */
.footer a { cursor: pointer; }

/* 居中对齐优化 */
.villages-section .section-title,
.guide-section .section-title,
.products-section .section-title,
.spot-intro-section .section-title,
.video-section .section-title,
.feedback-section .section-title,
.team-section .section-title,
.handdrawn-section .section-title { text-align: center; }

/* 模块容器居中 */
.section-title + p,
.spot-intro-lead,
.guide-subtitle { text-align: center; }

/* 产品区标题居中 */
.specialty-subtitle { text-align: center; }

/* ========== 运营平台改版模块 ========== */
.section-kicker {
  display: block;
  width: fit-content;
  margin: 0 auto 0.55rem;
  padding: 0.22rem 0.7rem;
  border: 1px solid rgba(154, 113, 0, 0.22);
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: rgba(255, 252, 245, 0.72);
  font-size: 0.78rem;
  font-weight: 700;
}

.section-lead {
  max-width: 760px;
  margin: -0.5rem auto 1.6rem;
  color: var(--color-text-muted);
  text-align: center;
  line-height: 1.75;
}

.hero {
  min-height: 520px;
}

.hero-caption {
  max-width: 780px;
}

.hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.18;
  letter-spacing: 0;
}

.hero-subtitle {
  max-width: 720px;
}

.hero-buttons {
  max-width: 740px;
}

.btn-hero {
  border-radius: 999px;
}

.platform-proof,
.study-section,
.homestay-section,
.ai-service-section,
.partnership-section,
.evidence-section,
.mini-program-section {
  padding: 3.75rem 0;
}

.platform-proof,
.ai-service-section,
.evidence-section {
  background: rgba(255, 252, 245, 0.9);
}

.proof-header {
  max-width: 820px;
  margin: 0 auto 1.7rem;
  text-align: center;
}

.proof-header p {
  color: var(--color-text-muted);
  line-height: 1.75;
}

.proof-grid,
.study-grid,
.partner-grid,
.evidence-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.proof-card,
.study-card,
.partner-card,
.evidence-card,
.ai-service-card,
.mini-qr-panel,
.homestay-card {
  background: var(--color-surface);
  border: 1px solid rgba(201, 162, 39, 0.16);
  border-radius: 8px;
  box-shadow: 0 4px 18px rgba(44, 36, 22, 0.08);
}

.proof-card {
  padding: 1.25rem;
}

.proof-card strong {
  display: block;
  font-family: var(--font-serif);
  font-size: 2.1rem;
  line-height: 1;
  color: var(--color-primary-dark);
  margin-bottom: 0.45rem;
}

.proof-card span {
  display: block;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 0.45rem;
}

.proof-card p,
.study-card p,
.partner-card p,
.evidence-card p,
.mini-copy p,
.ai-service-copy p,
.ai-service-card li,
.homestay-card p,
.homestay-card li {
  color: var(--color-text-muted);
  line-height: 1.65;
  font-size: 0.92rem;
}

.mini-program-inner,
.ai-service-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
  gap: 1.5rem;
  align-items: stretch;
}

.mini-copy,
.ai-service-copy {
  padding: 2rem;
  background: linear-gradient(135deg, rgba(255, 252, 245, 0.95), rgba(245, 234, 213, 0.95));
  border: 1px solid rgba(201, 162, 39, 0.18);
  border-radius: 8px;
}

.mini-copy .section-kicker,
.ai-service-copy .section-kicker {
  margin-left: 0;
}

.mini-copy h2,
.ai-service-copy h2 {
  font-family: var(--font-serif);
  font-size: 1.8rem;
  color: var(--color-text);
  margin-bottom: 0.8rem;
}

.mini-feature-list,
.ai-service-prompts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin-top: 1.2rem;
}

.mini-feature-list span,
.ai-prompt-btn {
  padding: 0.45rem 0.75rem;
  border: 1px solid rgba(154, 113, 0, 0.18);
  border-radius: 999px;
  color: var(--color-primary-dark);
  background: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 600;
}

.ai-prompt-btn {
  cursor: pointer;
  font-family: inherit;
}

.ai-prompt-btn:hover {
  background: var(--color-primary-dark);
  color: #fff;
}

.mini-qr-panel,
.ai-service-card {
  padding: 1.4rem;
  text-align: center;
}

.mini-qr {
  width: 150px;
  height: 150px;
  margin: 0 auto 0.9rem;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(201, 162, 39, 0.22);
}

.mini-qr-panel strong,
.ai-service-card h3 {
  display: block;
  font-family: var(--font-serif);
  color: var(--color-text);
  margin-bottom: 0.45rem;
}

.study-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.study-card {
  padding: 1.45rem;
  display: flex;
  flex-direction: column;
}

.study-card.featured {
  border-color: rgba(154, 113, 0, 0.4);
  background: linear-gradient(180deg, #fffdf7 0%, #f6ead3 100%);
}

.study-badge,
.homestay-tag {
  display: inline-block;
  width: fit-content;
  padding: 0.22rem 0.62rem;
  background: rgba(201, 162, 39, 0.11);
  color: var(--color-primary-dark);
  border-radius: 4px;
  font-weight: 700;
  font-size: 0.78rem;
  margin-bottom: 0.75rem;
}

.study-card h3,
.homestay-card h3,
.partner-card h3,
.evidence-card h3 {
  font-family: var(--font-serif);
  color: var(--color-text);
  margin-bottom: 0.55rem;
}

.study-card dl {
  margin: 1rem 0;
}

.study-card dl div {
  padding: 0.7rem 0;
  border-top: 1px solid rgba(201, 162, 39, 0.13);
}

.study-card dt {
  color: var(--color-text);
  font-weight: 700;
  font-size: 0.84rem;
}

.study-card dd {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  margin: 0.18rem 0 0;
}

.study-action,
.partner-card a {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.55rem 0.9rem;
  border-radius: 999px;
  background: var(--color-primary-dark);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
}

.study-action:hover,
.partner-card a:hover {
  color: #fff;
  background: var(--color-primary);
}

.village-resource-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.6rem;
  margin-top: 1rem;
}

.village-resource-grid div {
  padding: 0.65rem;
  border-radius: 6px;
  background: rgba(255, 252, 245, 0.78);
  border: 1px solid rgba(201, 162, 39, 0.12);
}

.village-resource-grid strong,
.village-resource-grid span {
  display: block;
}

.village-resource-grid strong {
  color: var(--color-primary-dark);
  font-size: 0.82rem;
  margin-bottom: 0.2rem;
}

.village-resource-grid span {
  color: var(--color-text-muted);
  font-size: 0.78rem;
  line-height: 1.45;
}

.homestay-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.homestay-card {
  overflow: hidden;
}

.homestay-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.homestay-card > div {
  padding: 1.2rem;
}

.homestay-card ul,
.ai-service-card ul {
  text-align: left;
  margin: 0.8rem 0 0;
  padding-left: 1.1rem;
}

.module-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
  margin-top: 1.4rem;
}

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

.ai-service-card img {
  width: 82px;
  height: 82px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.partner-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.partner-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
}

.partner-card > span {
  font-family: var(--font-serif);
  font-size: 1.65rem;
  color: rgba(154, 113, 0, 0.4);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.evidence-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.evidence-card {
  padding: 1.3rem;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.3rem;
}

.timeline-item {
  position: relative;
  padding: 1rem;
  border-left: 3px solid var(--color-primary);
  background: rgba(255, 252, 245, 0.86);
  border-radius: 6px;
}

.timeline-item strong,
.timeline-item span {
  display: block;
}

.timeline-item strong {
  color: var(--color-text);
  margin-bottom: 0.4rem;
}

.timeline-item span {
  color: var(--color-text-muted);
  font-size: 0.88rem;
  line-height: 1.6;
}

.product-card-scenario {
  margin-top: 0.35rem;
  color: var(--color-primary-dark);
  font-size: 0.78rem;
  line-height: 1.45;
}

.team-role-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.75rem;
  margin-top: 1.2rem;
}

.team-role-grid div {
  padding: 0.85rem;
  border-radius: 6px;
  background: rgba(201, 162, 39, 0.08);
  border: 1px solid rgba(201, 162, 39, 0.13);
}

.team-role-grid strong,
.team-role-grid span {
  display: block;
}

.team-role-grid strong {
  color: var(--color-primary-dark);
  margin-bottom: 0.28rem;
}

.team-role-grid span {
  color: var(--color-text-muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .proof-grid,
  .partner-grid,
  .timeline,
  .team-role-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .study-grid,
  .homestay-grid,
  .evidence-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .hero {
    min-height: 560px;
  }

  .hero-caption {
    padding: 1.25rem;
  }

  .hero-buttons {
    gap: 0.55rem;
  }

  .btn-hero {
    flex: 1 1 calc(50% - 0.6rem);
    text-align: center;
    padding-left: 0.7rem;
    padding-right: 0.7rem;
  }

  .mini-program-inner,
  .ai-service-inner {
    grid-template-columns: 1fr;
  }

  .mini-copy,
  .ai-service-copy {
    padding: 1.35rem;
  }

  .platform-proof,
  .study-section,
  .homestay-section,
  .ai-service-section,
  .partnership-section,
  .evidence-section,
  .mini-program-section {
    padding: 2.6rem 0;
  }
}

@media (max-width: 520px) {
  .proof-grid,
  .partner-grid,
  .timeline,
  .team-role-grid,
  .village-resource-grid {
    grid-template-columns: 1fr;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .hero-subtitle {
    font-size: 0.88rem;
  }

  .btn-hero {
    flex-basis: 100%;
  }
}

/* ========== 第二轮样式优化：平台感与移动端稳定 ========== */
html {
  scroll-padding-top: 82px;
}

.header {
  background: rgba(116, 82, 8, 0.96);
  backdrop-filter: blur(10px);
}

.header-inner {
  max-width: 1280px;
  gap: 0.75rem;
}

.logo-text {
  white-space: nowrap;
}

.nav {
  flex: 1;
  justify-content: center;
  gap: clamp(0.45rem, 1.1vw, 1rem);
}

.nav a {
  font-family: var(--font-sans);
  font-size: 0.94rem;
  font-weight: 600;
  letter-spacing: 0;
  white-space: nowrap;
}

.header-actions {
  gap: 0.5rem;
}

.btn-primary-nav {
  border-radius: 999px;
  white-space: nowrap;
}

.hero {
  height: 560px;
  min-height: 0;
}

.hero-caption {
  padding-left: clamp(2rem, 6vw, 6rem);
}

.hero-title {
  max-width: 760px;
  text-wrap: balance;
}

.hero-subtitle {
  font-size: 1rem;
}

.hero-buttons {
  align-items: center;
}

.btn-hero,
.btn-more,
.btn-explore,
.study-action,
.partner-card a,
.feedback-btn {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1.2;
}

.quick-access {
  max-width: 1120px;
  margin-left: auto;
  margin-right: auto;
  padding: 0.65rem;
}

.quick-inner {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  max-width: none;
  gap: 0.4rem;
}

.quick-item {
  min-width: 0;
  min-height: 72px;
  justify-content: center;
}

.quick-item span:last-child {
  width: 100%;
  overflow-wrap: anywhere;
}

.platform-proof,
.study-section,
.mini-program-section,
.homestay-section,
.ai-service-section,
.partnership-section,
.evidence-section {
  scroll-margin-top: 84px;
}

.proof-card,
.study-card,
.partner-card,
.evidence-card,
.ai-service-card,
.mini-qr-panel,
.homestay-card,
.village-card-mini,
.product-card {
  border-radius: 8px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.proof-card:hover,
.study-card:hover,
.partner-card:hover,
.evidence-card:hover,
.ai-service-card:hover,
.mini-qr-panel:hover,
.homestay-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(44, 36, 22, 0.12);
  border-color: rgba(154, 113, 0, 0.28);
}

.proof-card {
  min-height: 172px;
}

.study-card dl {
  flex: 1;
}

.homestay-card,
.partner-card,
.evidence-card {
  height: 100%;
}

.module-actions .btn-more {
  margin-top: 0;
}

.ai-prompt-btn {
  min-height: 38px;
  text-align: left;
}

.product-card-info {
  min-height: 132px;
}

.product-card-scenario {
  display: block;
  min-height: 2.4em;
}

.team-card {
  max-width: 980px;
}

@media (max-width: 1120px) {
  .header-inner {
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    flex-basis: 100%;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 0.15rem;
    scrollbar-width: none;
  }

  .nav::-webkit-scrollbar {
    display: none;
  }
}

@media (max-width: 768px) {
  html {
    scroll-padding-top: 70px;
  }

  .header-inner {
    flex-wrap: nowrap;
  }

  .nav {
    order: initial;
    overflow-x: visible;
  }

  .hero {
    height: 610px;
    min-height: 0;
  }

  .hero-caption {
    padding: 1.2rem 1.1rem;
  }

  .hero-title {
    font-size: 1.85rem;
  }

  .hero-subtitle {
    font-size: 0.92rem;
  }

  .hero-buttons {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
    max-width: 520px;
  }

  .btn-hero {
    width: 100%;
    min-height: 44px;
  }

  .quick-access {
    margin-left: 0.75rem;
    margin-right: 0.75rem;
  }

  .quick-inner {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }

  .proof-card {
    min-height: auto;
  }
}

@media (max-width: 560px) {
  .hero {
    height: 680px;
  }

  .hero-title {
    font-size: 1.52rem;
  }

  .hero-tags {
    max-width: 100%;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
  }

  .quick-inner {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .quick-item {
    min-height: 66px;
  }

  .mini-feature-list span,
  .ai-prompt-btn {
    width: 100%;
  }

  .module-actions {
    align-items: stretch;
  }

  .module-actions .btn-more,
  .module-actions .btn-more-outline {
    width: 100%;
  }

  .product-card-info {
    min-height: 142px;
  }
}

/* ===== Tab 标签切换 ===== */
main > section[data-tab] {
  display: none;
}
main > section[data-tab].tab-visible {
  display: block;
}
footer[data-tab] {
  display: none;
}
footer[data-tab].tab-visible {
  display: block;
}
/* 导航高亮 */
.nav a.tab-active {
  color: #fff;
  position: relative;
}
.nav a.tab-active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 3px;
  background: var(--color-primary);
  border-radius: 2px;
}

/* ===== 智慧文旅地图（原封不动 from new_map.html） ===== */
#viewport {
  position: relative;
  z-index: 0;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  height: 100vh;
  padding: 15px;
  background: linear-gradient(135deg, #eef5ef 0%, #dce9df 45%, #f7f2e8 100%);
  overflow: hidden;
}
#viewport::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('https://www.transparenttextures.com/patterns/rice-paper-3.png');
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
#viewport .map-title {
  position: absolute;
  top: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 40px;
  border-radius: 60px;
  background: linear-gradient(145deg, rgba(255,255,255,0.75), rgba(245,242,232,0.92));
  border: 1px solid rgba(200,169,107,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 8px 30px rgba(47,62,54,0.12);
}
#viewport .mountain-icon {
  width: 30px;
  height: 18px;
  background: #c8a96b;
  opacity: 0.95;
  margin: 0 18px;
  mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 60" xmlns="http://www.w3.org/2000/svg"><path d="M0 60 Q15 35 30 10 Q45 30 60 45 Q70 35 80 25 Q90 45 100 60 Z"/></svg>');
  -webkit-mask-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 100 60" xmlns="http://www.w3.org/2000/svg"><path d="M0 60 Q15 35 30 10 Q45 30 60 45 Q70 35 80 25 Q90 45 100 60 Z"/></svg>');
  mask-repeat: no-repeat;
  -webkit-mask-repeat: no-repeat;
}
#viewport .map-title h1 {
  color: #2f3e36;
  font-size: 18px;
  letter-spacing: 4px;
  font-weight: 600;
  text-shadow: 0 1px 2px rgba(0,0,0,0.08);
}
#viewport #map-container {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  border-radius: 28px;
  overflow: hidden;
  border: 2px solid rgba(255,255,255,0.65);
  box-shadow: 0 12px 50px rgba(47,62,54,0.18);
}
#viewport #map {
  width: 100%;
  height: 100%;
  background: #f8f5ec !important;
}
#viewport .leaflet-tile-container {
  filter: saturate(0.9) contrast(1.05) brightness(1.02) hue-rotate(-8deg);
}
#viewport .gps-indicator {
  position: absolute;
  left: 40px;
  bottom: 40px;
  z-index: 1000;
  padding: 12px 22px;
  border-radius: 14px;
  background: rgba(250,248,240,0.88);
  border-left: 5px solid #c8a96b;
  color: #2f3e36;
  font-family: 'Consolas', monospace;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 6px 24px rgba(47,62,54,0.12);
}
/* 标记样式 */
.custom-marker-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  cursor: pointer;
}
.badge-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 3px solid #ffffff;
  box-shadow: 0 4px 12px rgba(47,62,54,0.18), inset 0 0 6px rgba(0,0,0,0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.custom-marker-container:hover .badge-icon {
  transform: scale(1.18) translateY(-3px);
  box-shadow: 0 8px 16px rgba(47,62,54,0.25);
}
.bg-green-mountain { background-color: #2e6243; }
.bg-orange-village { background-color: #df934e; }
.bg-teal-temple { background-color: orange; }
.bg-green-town { background-color: #557c4e; }
.location-label {
  margin-top: 5px;
  background-color: rgba(255, 253, 247, 0.94);
  color: #2f3e36;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  border: 1px solid rgba(47, 111, 96, 0.25);
  box-shadow: 0 3px 8px rgba(47, 62, 54, 0.1);
  white-space: nowrap;
  letter-spacing: 0.5px;
}
/* 离屏边缘标记 */
.offscreen-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: auto;
  height: auto;
  cursor: pointer;
  filter: drop-shadow(0px 4px 8px rgba(0,0,0,0.25));
}
.offscreen-arrow {
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 9px solid #ffffff;
  margin-bottom: -2px;
  z-index: 2;
}
.offscreen-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2.5px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
/* 弹窗样式 */
.amap-info-content {
  background: rgba(255,254,250,0.98) !important;
  color: #2f3e36 !important;
  border-radius: 16px !important;
  padding: 12px 16px !important;
  box-shadow: 0 10px 30px rgba(47,62,54,0.15) !important;
  border: 1px solid rgba(200,169,107,0.2) !important;
  font-family: "楷体", sans-serif;
}
.popup-title-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 8px;
  border-bottom: 1px solid rgba(200,169,107,0.25);
  padding-bottom: 6px;
}
.popup-title {
  font-size: 17px;
  font-weight: bold;
  color: #2f6f60;
}
.popup-tag {
  font-size: 11px;
  background: rgba(92, 141, 137, 0.15);
  color: #5c8d89;
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
}
.popup-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #4a544e;
  margin-bottom: 8px;
}
.popup-meta {
  font-size: 12px;
  color: #b0813b;
  background: #f7f3e9;
  padding: 6px 10px;
  border-radius: 8px;
  font-weight: 500;
}
}
