/* ============================================================
   在大理爱上生活 — Premium Design System v3.1 (怡玥居扎染VI)
   设计理念: 白族扎染蓝白 · 圆徽书法 · 新中式杂志感
   品牌基准: assets/img/logo/badge-main.webp (扎染圆徽)
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+SC:wght@400;500;600;700&family=Noto+Sans+SC:wght@300;400;500;700&display=swap');

/* ===== CSS Variables ===== */
:root {
  /* 主色调 — 白族扎染靛蓝系 (2026-08-28 品牌VI更新: 对齐扎染圆徽LOGO) */
  --primary: #2d4a6b;
  --primary-light: #3d628a;
  --primary-dark: #1d3450;
  --accent: #b8864e;        /* 朱红印章暖金 — 呼应LOGO红印 */
  --accent-light: #d4a366;
  --accent-dark: #8f6535;

  /* 背景层 — 扎染布白 */
  --bg: #f7f8fa;
  --bg-warm: #eef2f6;
  --paper: #fafbfd;
  --white: #ffffff;

  /* 文字层 — 精确对比度 */
  --text: #1a1f26;
  --text-body: #2b313a;
  --text-light: #5d6773;
  --text-muted: #8b95a1;
  --text-on-dark: rgba(255,255,255,0.92);

  /* 边框/分隔线 */
  --border: #dde3ea;
  --border-light: #e9edf2;

  /* 大理色系 (保留兼容) */
  --cangshan-green: #2d4a6b;
  --erhai-blue: #2d4a6b;
  --zharan-blue: #2d4a6b;
  --dali-sand: #b8864e;

  /* 阴影系统 — 3层质感 (染蓝基调) */
  --shadow-xs: 0 1px 2px rgba(26, 31, 38, 0.04);
  --shadow-sm: 0 2px 8px rgba(26, 31, 38, 0.06);
  --shadow-md: 0 4px 16px rgba(26, 31, 38, 0.08), 0 1px 4px rgba(26, 31, 38, 0.04);
  --shadow-lg: 0 12px 40px rgba(45, 74, 107, 0.12), 0 4px 12px rgba(26, 31, 38, 0.08);
  --shadow-xl: 0 24px 60px rgba(45, 74, 107, 0.16), 0 8px 24px rgba(26, 31, 38, 0.08);
  --shadow-green: 0 8px 24px rgba(45, 74, 107, 0.15);

  /* 尺寸 */
  --max-width: 1180px;
  --radius-sm: 6px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* 字体 */
  --font-serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --font-sans: "Noto Sans SC", -apple-system, "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;

  /* 过渡 */
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --transition: 0.35s var(--ease);
}

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

/* ===== Body ===== */
body {
  font-family: var(--font-sans);
  color: var(--text-body);
  background: var(--bg);
  line-height: 1.75;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

/* ===== 顶部导航 — 精致磨砂 ===== */
.site-header {
  background: rgba(255, 255, 255, 0.88);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(20px) saturate(1.8);
  -webkit-backdrop-filter: blur(20px) saturate(1.8);
  box-shadow: var(--shadow-xs);
  transition: box-shadow var(--transition);
}
.site-header:hover {
  box-shadow: var(--shadow-sm);
}
.nav-container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.logo {
  font-size: 21px;
  font-weight: 700;
  color: var(--primary);
  text-decoration: none;
  font-family: var(--font-serif);
  letter-spacing: 1px;
  transition: opacity var(--transition);
}
.logo:hover { opacity: 0.8; }
.logo small {
  display: block;
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 3px;
  letter-spacing: 3px;
  font-family: var(--font-sans);
  text-transform: uppercase;
}
.nav-menu {
  display: flex;
  gap: 32px;
  list-style: none;
  flex-wrap: wrap;
  align-items: center;
}
.nav-menu a {
  color: var(--text-body);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: color 0.25s var(--ease);
  position: relative;
  padding: 4px 0;
}
.nav-menu a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
  transition: width 0.3s var(--ease-out), left 0.3s var(--ease-out);
}
.nav-menu a:hover {
  color: var(--primary);
}
.nav-menu a:hover::after,
.nav-menu a.active::after {
  width: 100%;
  left: 0;
}
.nav-menu a.active {
  color: var(--primary);
  font-weight: 600;
}

/* ===== 主容器 ===== */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 32px;
}

/* ===== Hero — 沉浸式全幅 ===== */
.hero {
  background:
    linear-gradient(170deg, rgba(13, 51, 32, 0.5) 0%, rgba(26, 77, 51, 0.35) 40%, rgba(58, 107, 126, 0.45) 100%),
    url('/assets/img/hero-dali.jpg') center/cover;
  background-color: var(--primary-dark);
  padding: 140px 32px 120px;
  text-align: center;
  position: relative;
  overflow: hidden;
  color: white;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(255,255,255,0.08) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 80%, rgba(184, 134, 78, 0.12) 0%, transparent 50%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 100px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
}
.hero h1 {
  font-size: 56px;
  color: white;
  margin-bottom: 24px;
  position: relative;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 2px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.25);
  line-height: 1.35;
}
.hero p {
  font-size: 17px;
  color: rgba(255,255,255,0.92);
  max-width: 680px;
  margin: 0 auto 36px;
  position: relative;
  line-height: 1.9;
  text-shadow: 0 1px 8px rgba(0,0,0,0.2);
  font-weight: 300;
}
.hero .breadcrumb {
  font-size: 12px;
  color: rgba(255,255,255,0.75);
  margin-bottom: 28px;
  position: relative;
  letter-spacing: 4px;
  text-transform: uppercase;
  font-weight: 400;
}
.hero .breadcrumb a {
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255,255,255,0.25);
  transition: border-color 0.25s;
}
.hero .breadcrumb a:hover { border-bottom-color: rgba(255,255,255,0.6); }

/* 内页柔和 hero */
.hero-soft {
  background: var(--paper);
  padding: 72px 32px 48px;
  color: var(--text);
  border-bottom: 1px solid var(--border-light);
}
.hero-soft h1 {
  color: var(--primary);
  text-shadow: none;
  font-size: 42px;
  letter-spacing: 1px;
}
.hero-soft p {
  color: var(--text-light);
  text-shadow: none;
}
.hero-soft .breadcrumb {
  color: var(--text-muted);
}
.hero-soft .breadcrumb a {
  color: var(--primary);
  border-bottom-color: var(--border);
}

/* ===== 区块 ===== */
section {
  padding: 72px 0;
}
.section-paper {
  background: var(--paper);
  padding: 72px 0;
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}
.section-title {
  font-size: 34px;
  color: var(--primary);
  margin-bottom: 14px;
  text-align: center;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 1.5px;
}
.section-subtitle {
  color: var(--text-light);
  text-align: center;
  margin-bottom: 48px;
  font-size: 15px;
  letter-spacing: 0.5px;
  font-weight: 300;
}

/* ===== 卡片网格 — 杂志感 ===== */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 28px;
}
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), border-color 0.3s;
  display: block;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--accent-light);
}
.list-card { box-shadow: var(--shadow-sm); }
.card-img {
  width: 100%;
  height: 220px;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 48px;
  position: relative;
  overflow: hidden;
}
.card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0,0,0,0.2) 100%);
}
.card-content {
  padding: 24px 28px 28px;
}
.card-title {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 10px;
  font-family: var(--font-serif);
  color: var(--primary);
  letter-spacing: 0.5px;
  line-height: 1.4;
}
.card-meta {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 14px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  font-weight: 400;
}
.card-desc {
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 14px;
}
.card-link {
  color: var(--accent);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
  margin-top: 4px;
  transition: color 0.25s, transform 0.25s;
}
.card-link:hover {
  color: var(--accent-dark);
  transform: translateX(3px);
}

/* ===== 标签 ===== */
.tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--bg-warm);
  color: var(--text-light);
  font-size: 12px;
  border-radius: 100px;
  margin-right: 6px;
  font-weight: 500;
  letter-spacing: 0.5px;
}
.tag.featured {
  background: var(--accent);
  color: white;
  box-shadow: 0 2px 8px rgba(184, 134, 78, 0.3);
}

/* ===== 文章/正文 — 杂志级排版 ===== */
.article, .story {
  max-width: 780px;
  margin: 48px auto;
  padding: 0 32px;
}
.article h1, .story h1 {
  font-size: 40px;
  color: var(--primary);
  margin-bottom: 16px;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 1px;
  line-height: 1.4;
}
.article h2, .story h2 {
  font-size: 26px;
  color: var(--primary);
  margin: 48px 0 20px;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.5px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border);
  position: relative;
}
.article h2::after, .story h2::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--accent);
}
.article h3, .story h3 {
  font-size: 20px;
  color: var(--primary-light);
  margin: 28px 0 12px;
  font-weight: 600;
}
.article p, .story p {
  margin: 16px 0;
  line-height: 1.95;
  color: var(--text-body);
  font-size: 16px;
}
.article ul, .article ol, .story ul, .story ol {
  margin: 16px 0 16px 28px;
  line-height: 1.9;
}
.article li, .story li {
  margin: 8px 0;
}
.article blockquote, .story blockquote {
  border-left: 3px solid var(--accent);
  background: var(--paper);
  padding: 16px 24px;
  margin: 24px 0;
  color: var(--text-light);
  font-style: italic;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-size: 15px;
}
.article-meta {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}
.breadcrumb {
  font-size: 13px;
  color: var(--text-muted);
  margin: 16px 0 8px;
}
.breadcrumb a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s;
}
.breadcrumb a:hover { color: var(--accent); }

/* ===== 推荐块 ===== */
.recommend-box {
  background: linear-gradient(135deg, var(--paper) 0%, var(--bg-warm) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 44px;
  margin: 48px 0;
  text-align: center;
  box-shadow: var(--shadow-sm);
}
.recommend-box h3 {
  color: var(--primary);
  font-size: 24px;
  margin-bottom: 14px;
  font-family: var(--font-serif);
}
.recommend-box p {
  color: var(--text-body);
  line-height: 1.85;
  margin: 8px 0 20px;
}
.btn {
  display: inline-block;
  padding: 13px 36px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 100px;
  font-weight: 500;
  transition: all 0.3s var(--ease);
  font-size: 15px;
  letter-spacing: 0.5px;
  box-shadow: var(--shadow-green);
}
.btn:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(26, 77, 51, 0.25);
}

/* ===== 评分显示 ===== */
.rating { color: var(--accent); font-weight: 600; }
.stars { color: var(--accent); letter-spacing: 2px; }

/* ===== 故事板块专用 ===== */
.story-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin: 24px 0 36px;
  padding: 18px 24px;
  background: var(--paper);
  border-radius: var(--radius);
  font-size: 14px;
  color: var(--text-light);
  border: 1px solid var(--border-light);
}
.story-type, .story-room, .story-date, .story-rating {
  padding-right: 16px;
  border-right: 1px solid var(--border);
}
.story-rating { border-right: none; color: var(--accent); font-weight: 600; }
.story-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 14px;
  margin: 24px 0;
}
.story-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.3s var(--ease);
}
.story-gallery img:hover { transform: scale(1.03); }
.story-footer {
  margin-top: 48px;
  padding-top: 28px;
  border-top: 1px solid var(--border);
  color: var(--text-light);
  font-size: 14px;
  line-height: 1.85;
}
.story-footer a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.25s;
}
.story-footer a:hover { color: var(--accent); }

/* ===== Footer — 深沉质感 ===== */
.site-footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
  margin-top: 80px;
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer-col h4 {
  color: white;
  margin-bottom: 18px;
  font-size: 15px;
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 1px;
}
.footer-col a {
  display: block;
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: 13px;
  padding: 5px 0;
  transition: color 0.25s, padding-left 0.25s;
}
.footer-col a:hover {
  color: var(--accent-light);
  padding-left: 6px;
}
.footer-col p {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.55);
}
.copyright {
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.35);
  padding-top: 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  letter-spacing: 1px;
}

/* ===== 表格 — 精致数据 ===== */
table {
  border-collapse: collapse;
  width: 100%;
  font-size: 14px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}
th, td {
  padding: 12px 16px;
  text-align: left;
  border-bottom: 1px solid var(--border-light);
}
th {
  background: var(--primary);
  color: white;
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.5px;
}
tr:nth-child(even) { background: var(--paper); }
tbody tr {
  transition: background 0.2s;
}
tbody tr:hover {
  background: var(--bg-warm);
}

/* ===== 图片缩略图 / 旅居卡片 ===== */
.img-thumbnail {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
  display: block;
  background: var(--bg-warm);
}
.img-hero {
  width: 100%;
  height: 400px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  display: block;
  margin: 20px 0;
  box-shadow: var(--shadow-md);
}
.luju-callout {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  color: white;
  padding: 44px;
  border-radius: var(--radius-lg);
  margin: 36px 0;
  text-align: center;
  box-shadow: var(--shadow-green);
}
.luju-callout h3 {
  font-size: 28px;
  margin-bottom: 14px;
  color: white;
  font-family: var(--font-serif);
}
.luju-callout p {
  font-size: 15px;
  line-height: 1.85;
  opacity: 0.95;
  max-width: 680px;
  margin: 0 auto 20px;
}
.luju-callout .btn {
  background: white;
  color: var(--primary);
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.luju-callout .btn:hover {
  background: var(--paper);
  transform: translateY(-2px);
}
.luju-pill {
  display: inline-block;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.3);
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 12px;
  margin: 4px 5px 12px;
  backdrop-filter: blur(4px);
}

/* ===== 响应式 (第一层) ===== */
@media (max-width: 768px) {
  .hero h1 { font-size: 32px; letter-spacing: 1px; }
  .hero p { font-size: 15px; }
  .section-title { font-size: 26px; }
  .article h1, .story h1 { font-size: 28px; }
  .article h2, .story h2 { font-size: 22px; }
  .nav-menu { gap: 14px; }
  .nav-menu a { font-size: 13px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ===== 列表卡片特殊样式 ===== */
.card-img-real {
  position: relative;
  background-color: var(--primary);
}
.card-img-real::after {
  background: linear-gradient(180deg, transparent 40%, rgba(0,0,0,0.4) 100%);
}
.emoji-fallback {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
  pointer-events: none;
  filter: drop-shadow(0 2px 8px rgba(0,0,0,0.3));
  opacity: 0.9;
}
.tag-sm {
  display: inline-block;
  padding: 3px 10px;
  background: var(--paper);
  color: var(--primary);
  font-size: 12px;
  border-radius: 100px;
  font-weight: 500;
  border: 1px solid var(--border-light);
}
.price { color: var(--accent); font-weight: 600; }
.list-card .card-img { transition: transform 0.5s var(--ease-out); }
.list-card:hover .card-img { transform: scale(1.05); }

/* === 全站图片响应式兜底 === */
img { max-width: 100%; height: auto; }

/* === 移动端响应式 === */
.nav-toggle {
  display: none;
  cursor: pointer;
  font-size: 22px;
  padding: 4px 8px;
  background: none;
  border: none;
  color: var(--primary);
  line-height: 1;
}
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(20px);
    padding: 20px 24px;
    flex-direction: column !important;
    gap: 4px !important;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
  }
  .nav-menu.open { display: flex; }
  .nav-menu a {
    padding: 12px 0;
    font-size: 15px;
    border-bottom: 1px solid var(--border-light);
  }
  .nav-menu a::after { display: none; }
  .nav-toggle { display: inline-block; }
  .hero { padding: 80px 20px 60px; }
  .hero h1 { font-size: 28px !important; }
  section { padding: 40px 0; }
  .section-paper { padding: 40px 0; }
  .article, .story { padding: 0 20px; max-width: 100% !important; margin: 32px auto; }
  .grid { grid-template-columns: 1fr !important; gap: 20px; }
  .container { padding: 0 20px; }
  .footer-grid { grid-template-columns: 1fr !important; gap: 28px; }
  table { font-size: 13px; }
  th, td { padding: 8px 10px; }
  .recommend-box { padding: 24px 20px; }
  .luju-callout { padding: 28px 20px; }
  .img-hero { height: 240px; }
  .nav-container { padding: 12px 20px; }
  .logo { font-size: 18px; }
  .logo small { font-size: 9px; letter-spacing: 2px; }
}

/* === 文字可读性 === */
body { color: var(--text-body); }
article { color: var(--text-body); }
article p { color: var(--text-body); line-height: 1.95; }
article h1, article h2, article h3 { color: var(--primary); }

/* === 首页特色卡片装饰线 === */
.card[style*="border-left"] {
  border-radius: var(--radius-lg) !important;
}

/* === 平滑滚动 === */
html { scroll-behavior: smooth; }

/* === 选中文本 === */
::selection {
  background: var(--accent);
  color: white;
}

/* === 滚动条 === */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* === 链接默认样式 === */
a { color: var(--primary); }
article a, .story a {
  color: var(--primary);
  text-decoration: underline;
  text-decoration-color: var(--accent);
  text-underline-offset: 2px;
  transition: color 0.25s;
}
article a:hover, .story a:hover {
  color: var(--accent);
}


/* ============================================================
   怡玥居品牌VI层 v1.0 (2026-08-28) — 扎染圆徽LOGO风格
   覆盖: header徽标 / hero月牙水印 / 按钮 / 卡片 / 页脚
   ============================================================ */

/* --- Header LOGO徽标 --- */
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.logo .logo-badge {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 2px 8px rgba(45, 74, 107, 0.25);
  flex-shrink: 0;
}
.logo:hover .logo-badge { transform: rotate(8deg); }
.logo .logo-badge { transition: transform 0.5s var(--ease); }

/* --- 扎染底纹hero (低饱和靛蓝渐变+纹理感) --- */
.hero {
  background:
    linear-gradient(170deg, rgba(29, 52, 80, 0.55) 0%, rgba(45, 74, 107, 0.38) 40%, rgba(45, 74, 107, 0.5) 100%),
    url('/assets/img/hero-dali.jpg') center/cover;
}

/* --- 品牌按钮: 扎染蓝底 + 印章红hover --- */
.btn-primary, .cta-btn, a.btn-primary {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  border: none;
}
.btn-primary:hover, .cta-btn:hover, a.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 100%);
}
/* 朱红印章强调按钮 */
.btn-seal {
  display: inline-block;
  background: linear-gradient(135deg, #a63a2b, #c0492f);
  color: #fff;
  padding: 10px 22px;
  border-radius: 8px;
  font-weight: 600;
  letter-spacing: 1px;
  box-shadow: 0 3px 10px rgba(166, 58, 43, 0.35);
  transition: all 0.3s var(--ease);
}
.btn-seal:hover {
  transform: translateY(-2px);
}

/* --- 卡片: 扎染白卡面+靛蓝hover边 --- */
.card, .guide-card, .hotel-card {
}
.card:hover, .guide-card:hover, .hotel-card:hover {
  border-color: rgba(45, 74, 107, 0.35);
}

/* --- 页脚品牌条 --- */
.site-footer {
  border-top: 3px solid var(--primary);
  position: relative;
}
.site-footer::before {
  content: '';
  position: absolute;
  top: -3px;
  left: 0;
  width: 72px;
  height: 3px;
  background: linear-gradient(90deg, #a63a2b, #d4a366);
}

/* --- 品牌徽章水印 (hero区) --- */
.hero-brand-mark {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 6px 24px rgba(0,0,0,0.35);
  border: 2px solid rgba(255,255,255,0.5);
  margin-bottom: 18px;
}
