/* ============================================================
   旅悠旅游官网 - 首页样式表
   品牌：旅悠 LvYou Travel
   设计：极简 · 东方禅意 · 低饱和青绿 · 电影感山水
   ============================================================ */

/* === CSS 变量（品牌色值） === */
:root {
  --primary:       #2C4C3B;   /* 青山黛 - 导航、标题、边框、页脚 */
  --secondary:     #7BA7BC;   /* 云水蓝 - 渐变、柔光、hover */
  --accent:        #D4A24C;   /* 暖阳金 - 按钮、高亮、线条装饰 */
  --bg:            #F8F7F0;   /* 米白 - 页面背景 */
  --text:          #2C2C2C;   /* 正文深灰 */
  --white:         #FFFFFF;
  --white-alpha:   rgba(255,255,255,0.9);
  --serif:         'Noto Serif SC', 'SimSun', 'STSong', serif;
  --sans:          'Noto Sans SC', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  --thin-en:        'Helvetica Neue', 'Arial', sans-serif;
  --safe-width:    1200px;
  --full-width:    1920px;
  --nav-height:    80px;
  --radius:        16px;
  --transition:    0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* === 全局重置 === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--sans);
  color: var(--text);
  background-color: var(--bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; cursor: pointer; font-family: var(--sans); }

/* === 安全版心容器 === */
.container {
  width: 100%;
  max-width: var(--safe-width);
  margin: 0 auto;
  padding: 0 20px;
}

/* === 通用标题样式 === */
.section-title {
  font-family: var(--serif);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.75rem;
  letter-spacing: 0.05em;
}

.section-subtitle {
  font-family: var(--sans);
  font-size: 1rem;
  font-weight: 300;
  color: var(--secondary);
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.08em;
}

/* === 金色曲线装饰（LOGO 同款） === */
.golden-curve {
  display: block;
  width: 80px;
  height: 3px;
  margin: 0 auto 2.5rem;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
  position: relative;
}

.golden-curve::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  border-radius: 2px;
}

/* ============================================================
   板块1：顶部导航栏（固定悬浮 80px）
   ============================================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1000;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(44,76,59,0.08);
  transition: background var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  background: var(--white);
  box-shadow: 0 2px 20px rgba(0,0,0,0.06);
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

/* LOGO */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-logo-img { width: 42px; height: 42px; object-fit: contain; }

.nav-logo-text {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.06em;
}

.nav-logo-en {
  font-family: var(--thin-en);
  font-size: 0.7rem;
  font-weight: 300;
  color: var(--secondary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* 导航菜单 */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-menu li a {
  font-size: 0.95rem;
  font-weight: 400;
  color: var(--primary);
  letter-spacing: 0.04em;
  padding: 4px 0;
  position: relative;
  transition: color var(--transition);
}

.nav-menu li a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--accent);
  border-radius: 1px;
  transition: width var(--transition);
}

.nav-menu li a:hover { color: var(--accent); }
.nav-menu li a:hover::after { width: 100%; }

/* 右侧 CTA 按钮 */
.nav-cta {
  padding: 10px 28px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 24px;
  letter-spacing: 0.04em;
  transition: background var(--transition), transform var(--transition);
}

.nav-cta:hover {
  background: #C18E3A;
  transform: translateY(-1px);
}

/* 移动端汉堡菜单 */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

/* ============================================================
   板块2：首屏全屏 Banner（1920×1080）
   ============================================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 720px;
  max-height: 1080px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  z-index: 0;
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, 
    rgba(26,58,42,0.6) 0%, 
    rgba(44,76,59,0.4) 40%, 
    rgba(44,76,59,0.5) 100%);
  z-index: 1;
}

/* 山水纹理层 - 模拟云雾山水 */
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 25% 70%, rgba(124,167,188,0.25) 0%, transparent 55%),
    radial-gradient(ellipse at 60% 55%, rgba(44,76,59,0.3) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 35%, rgba(212,162,76,0.08) 0%, transparent 45%),
    radial-gradient(ellipse at 40% 85%, rgba(248,247,240,0.12) 0%, transparent 40%);
  z-index: 1;
}

/* SVG 山水轮廓 */
.hero-landscape {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 2;
  opacity: 0.35;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(44,76,59,0.25) 0%, rgba(44,76,59,0.15) 40%, rgba(44,76,59,0.35) 100%);
  z-index: 3;
}

/* 首屏内容 */
.hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  padding: 0 20px;
  max-width: 900px;
}

.hero-logo-big {
  position: absolute;
  top: 120px;
  left: 60px;
  z-index: 10;
}

.hero-logo-big svg { width: 100px; height: 100px; }

.hero-logo-img { width: 100px; height: auto; object-fit: contain; }

.hero-title {
  font-family: var(--serif);
  font-size: 3.5rem;
  font-weight: 900;
  color: var(--white);
  letter-spacing: 0.08em;
  line-height: 1.3;
  margin-bottom: 1.25rem;
  text-shadow: 0 2px 20px rgba(0,0,0,0.15);
}

.hero-subtitle {
  font-family: var(--sans);
  font-size: 1.1rem;
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  letter-spacing: 0.1em;
  margin-bottom: 2.5rem;
}

.hero-buttons {
  display: flex;
  gap: 1.25rem;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-primary {
  padding: 14px 40px;
  background: var(--accent);
  color: var(--white);
  font-size: 1rem;
  font-weight: 500;
  border-radius: 28px;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: #C18E3A;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,162,76,0.35);
}

.btn-outline {
  padding: 14px 40px;
  background: transparent;
  color: var(--white);
  font-size: 1rem;
  font-weight: 400;
  border: 1.5px solid rgba(255,255,255,0.5);
  border-radius: 28px;
  letter-spacing: 0.05em;
  transition: all var(--transition);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* 飞鸟点缀 */
.hero-birds {
  position: absolute;
  bottom: 100px;
  right: 100px;
  z-index: 5;
  opacity: 0.5;
}

/* ============================================================
   板块3：品牌理念区
   ============================================================ */
.brand-intro {
  padding: 100px 0;
  background: var(--white);
}

.brand-intro .container {
  display: flex;
  align-items: center;
  gap: 5rem;
}

.brand-visual {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem;
}

.brand-visual svg { width: 280px; height: 280px; opacity: 0.9; }

.brand-logo-img { width: 280px; height: auto; object-fit: contain; opacity: 0.9; }

.brand-text { flex: 1; }

.brand-text h2 {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1.5rem;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.brand-text p {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 300;
  color: var(--text);
  line-height: 2;
  margin-bottom: 1.5rem;
}

.brand-divider {
  display: block;
  width: 100px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  margin-top: 2rem;
  border-radius: 2px;
}

/* 品牌数据统计 */
.brand-stats {
  display: flex;
  gap: 2rem;
  margin-top: 2rem;
}

.brand-stat {
  text-align: center;
}

.stat-number {
  font-family: var(--serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.stat-label {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 300;
}

/* ============================================================
   板块4：精选目的地（4卡片横排）
   ============================================================ */
.destinations {
  padding: 100px 0;
  background: var(--bg);
}

.destinations .container { max-width: var(--safe-width); }

.dest-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.dest-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.dest-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 48px rgba(44,76,59,0.12);
}

.dest-card-img {
  position: relative;
  height: 260px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.dest-card-img::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(44,76,59,0.5) 100%);
  z-index: 1;
}

/* 四张卡片的背景色（作为图片加载失败的 fallback） */
.dest-card:nth-child(1) .dest-card-img { background-color: #2C4C3B; }
.dest-card:nth-child(2) .dest-card-img { background-color: #5A8FA0; }
.dest-card:nth-child(3) .dest-card-img { background-color: #6B5E4B; }
.dest-card:nth-child(4) .dest-card-img { background-color: #3D6A4A; }

/* 山水纹理 */
.dest-card-img::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 40% 75%, rgba(255,255,255,0.15) 0%, transparent 60%),
    radial-gradient(ellipse at 70% 50%, rgba(212,162,76,0.08) 0%, transparent 50%);
  z-index: 0;
}

/* 迷你 LOGO */
.dest-mini-logo {
  position: absolute;
  top: 16px;
  left: 16px;
  z-index: 2;
  opacity: 0.85;
}

.dest-mini-logo svg { width: 32px; height: 32px; }

.dest-mini-logo-img { width: 32px; height: 32px; object-fit: contain; }

/* 标签 */
.dest-tag {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  padding: 4px 14px;
  background: var(--accent);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 12px;
  letter-spacing: 0.05em;
}

.dest-card-body {
  padding: 1.25rem 1.25rem 1.5rem;
  position: relative;
}

.dest-card-body h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.35rem;
  letter-spacing: 0.04em;
}

.dest-card-body p {
  font-size: 0.85rem;
  color: var(--secondary);
  font-weight: 300;
}

/* 目的地卡片信息 */
.dest-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(44,76,59,0.08);
}

.dest-days {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 400;
}

.dest-price {
  font-size: 1rem;
  color: var(--accent);
  font-weight: 600;
  font-family: var(--serif);
}

/* hover 金色曲线 */
.dest-card-curve {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width var(--transition);
  border-radius: 2px;
}

.dest-card:hover .dest-card-curve { width: 100%; }

/* ============================================================
   板块5：三大核心服务
   ============================================================ */
.services {
  padding: 100px 0;
  background: var(--white);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
}

.service-item {
  text-align: center;
  padding: 2.5rem 2rem;
  border-radius: var(--radius);
  border: 1px solid rgba(44,76,59,0.08);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
}

.service-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(44,76,59,0.06);
  border-color: rgba(212,162,76,0.25);
}

.service-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.service-icon svg { width: 56px; height: 56px; }

.service-item h3 {
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  letter-spacing: 0.04em;
}

.service-item p {
  font-size: 0.95rem;
  font-weight: 300;
  color: var(--text);
  line-height: 1.8;
}

/* ============================================================
   板块5.5：用户真实评价
   ============================================================ */
.testimonials {
  padding: 100px 0;
  background: var(--bg);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--white);
  padding: 2rem;
  border-radius: var(--radius);
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 36px rgba(44,76,59,0.08);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.testimonial-content p {
  font-size: 0.95rem;
  line-height: 1.8;
  color: var(--text);
  font-weight: 300;
  margin-bottom: 1.25rem;
}

.testimonial-name {
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.testimonial-route {
  font-size: 0.8rem;
  color: var(--secondary);
  font-weight: 300;
}

/* ============================================================
   板块6：旅人游记实拍
   ============================================================ */
.journals {
  padding: 100px 0;
  background: var(--bg);
}

.journals-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  grid-template-rows: 280px 280px;
  gap: 1.25rem;
}

.journal-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  transition: transform var(--transition);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.journal-card:hover { transform: scale(1.02); }

.journal-card:nth-child(1) {
  grid-row: 1 / 3;
  background-color: #2C4C3B;
}

.journal-card:nth-child(2) { background-color: #7BA7BC; }
.journal-card:nth-child(3) { background-color: #8B7E6B; }
.journal-card:nth-child(4) { background-color: #2C4C3B; }
.journal-card:nth-child(5) { background-color: #7BA7BC; }

.journal-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 60% 40%, rgba(255,255,255,0.08) 0%, transparent 60%);
  z-index: 1;
}

.journal-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(44,76,59,0.5) 100%);
  z-index: 2;
}

/* 旅悠 LOGO 水印 */
.journal-watermark {
  position: absolute;
  bottom: 16px;
  right: 16px;
  z-index: 3;
  opacity: 0.18;
}

.journal-watermark svg { width: 48px; height: 48px; }

.journal-watermark-img { width: 48px; height: 48px; object-fit: contain; opacity: 0.18; }

.journal-caption {
  position: absolute;
  bottom: 20px;
  left: 20px;
  z-index: 3;
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 400;
  letter-spacing: 0.04em;
  text-shadow: 0 1px 8px rgba(0,0,0,0.3);
}

/* ============================================================
   板块7：底部预约转化区
   ============================================================ */
.cta-section {
  padding: 100px 0;
  background: linear-gradient(160deg, #1a3a2a 0%, #2C4C3B 50%, #3D6A4A 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse at 30% 50%, rgba(123,167,188,0.12) 0%, transparent 50%),
    radial-gradient(ellipse at 70% 60%, rgba(212,162,76,0.06) 0%, transparent 50%);
  z-index: 1;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-title {
  font-family: var(--serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 2rem;
  letter-spacing: 0.08em;
}

.btn-cta {
  display: inline-block;
  padding: 16px 52px;
  background: linear-gradient(135deg, var(--accent), #C18E3A);
  color: var(--white);
  font-size: 1.1rem;
  font-weight: 500;
  border-radius: 32px;
  letter-spacing: 0.06em;
  transition: all var(--transition);
}

.btn-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(212,162,76,0.4);
}

/* ============================================================
   板块8：全站统一页脚
   ============================================================ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.85);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(170px, 1fr) minmax(150px, 0.8fr) minmax(250px, 1.05fr) minmax(180px, 0.85fr);
  align-items: flex-start;
  column-gap: clamp(2rem, 5vw, 5rem);
  row-gap: 2rem;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.footer-brand svg { width: 44px; height: 44px; }

.footer-brand .footer-logo-img { width: 44px; height: 44px; object-fit: contain; }

.footer-brand-text {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.05em;
}

.footer-brand-en {
  font-family: var(--thin-en);
  font-size: 0.7rem;
  font-weight: 300;
  color: rgba(255,255,255,0.5);
  letter-spacing: 0.15em;
}

.footer-nav h4,
.footer-contact h4,
.footer-follow h4 {
  font-family: var(--sans);
  font-size: 0.95rem;
  font-weight: 500;
  color: var(--white);
  margin-bottom: 1rem;
  letter-spacing: 0.04em;
}

.footer-nav ul li {
  margin-bottom: 0.6rem;
}

.footer-nav ul li a {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
}

.footer-nav ul li a:hover { color: var(--accent); }

.footer-contact p,
.footer-contact-line {
  font-size: 0.9rem;
  font-weight: 300;
  color: rgba(255,255,255,0.65);
  margin-bottom: 0.5rem;
}

.footer-contact-line {
  position: relative;
  width: fit-content;
  max-width: 100%;
}

.footer-contact-label {
  color: inherit;
}

.qr-contact-value {
  appearance: none;
  border: 0;
  border-bottom: 1px dashed rgba(255,255,255,0.28);
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  line-height: inherit;
  cursor: help;
  transition: color var(--transition), border-color var(--transition);
}

.qr-contact-value:hover,
.qr-contact-value:focus-visible {
  color: var(--white);
  border-color: var(--accent);
  outline: none;
}

.qr-popover {
  position: absolute;
  left: calc(100% + 0.85rem);
  top: 50%;
  z-index: 20;
  width: 132px;
  padding: 0.65rem;
  border-radius: 8px;
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 14px 32px rgba(0,0,0,0.2);
  text-align: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translate(-6px, -50%);
  transition: opacity var(--transition), visibility var(--transition), transform var(--transition);
}

.qr-popover img {
  display: block;
  width: 108px;
  height: 108px;
  margin: 0 auto 0.45rem;
}

.qr-popover span {
  display: block;
  color: var(--primary);
  font-size: 0.76rem;
  line-height: 1.35;
}

.footer-contact-line:hover .qr-popover,
.footer-contact-line:focus-within .qr-popover {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.footer-follow {
  margin-top: 0;
}

.footer-follow h4 {
  margin-bottom: 0.75rem;
}

.footer-follow-list {
  display: grid;
  gap: 0.55rem;
}

.footer-follow-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.72);
  font-size: 0.9rem;
  font-weight: 300;
  line-height: 1.35;
}

.footer-follow-icon {
  width: 1em;
  height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 1em;
  color: rgba(255,255,255,0.62);
  line-height: 1;
}

.footer-follow-icon svg {
  width: 1em;
  height: 1em;
  display: block;
}

.footer-bottom {
  padding: 24px 0;
  text-align: center;
  background: #1a3a2a;
}

.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-copyright {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.55);
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255,255,255,0.45);
  font-size: 0.85rem;
}

.footer-legal-links a {
  color: rgba(255,255,255,0.58);
  transition: color var(--transition);
}

.footer-legal-links a:hover {
  color: var(--accent);
}

.footer-slogan {
  font-family: var(--serif);
  font-size: 0.95rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

/* ============================================================
   动画效果
   ============================================================ */

/* 页面加载：LOGO 山水线条缓缓浮现 */
@keyframes logoReveal {
  from { opacity: 0; stroke-dashoffset: 200; }
  to { opacity: 1; stroke-dashoffset: 0; }
}

.logo-animate { animation: logoReveal 2.5s ease forwards; }

/* 飞鸟轻动 */
@keyframes birdFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  25% { transform: translateY(-8px) rotate(-2deg); }
  75% { transform: translateY(-4px) rotate(1deg); }
}

.hero-birds { animation: birdFloat 4s ease-in-out infinite; }

/* 滚动渐入 */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-on-scroll.visible {
  opacity: 1;
  transform: translateY(0);
}

/* 金色分割线滚动渐入 */
.golden-curve-scroll {
  opacity: 0;
  transform: scaleX(0);
  transition: opacity 0.6s ease, transform 0.8s ease;
}

.golden-curve-scroll.visible {
  opacity: 1;
  transform: scaleX(1);
}

/* 卡片悬浮 */
.card-hover {
  transition: transform 0.4s cubic-bezier(0.25, 0.1, 0.25, 1),
              box-shadow 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* 按钮柔和过渡 */
.btn, button[class*="btn"] {
  transition: all 0.35s cubic-bezier(0.25, 0.1, 0.25, 1);
}

/* ============================================================
   响应式 - 移动端 375px
   ============================================================ */
@media (max-width: 768px) {
  :root { --safe-width: 100%; }

  .container { padding: 0 16px; }

  /* 导航 */
  .navbar { height: 64px; }
  :root { --nav-height: 64px; }

  .nav-menu { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }

  .nav-menu.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    width: 100%;
    background: var(--white);
    padding: 1.5rem;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

  /* Hero */
  .hero { min-height: 600px; }
  .hero-title { font-size: 2rem; }
  .hero-subtitle { font-size: 0.9rem; }
  .hero-buttons { flex-direction: column; align-items: center; }
  .btn-primary, .btn-outline { width: 220px; text-align: center; font-size: 0.9rem; padding: 12px 28px; }
  .hero-logo-big { top: 80px; left: 20px; }
  .hero-logo-big svg { width: 64px; height: 64px; }
  .hero-logo-img { width: 64px; }
  .hero-birds { bottom: 60px; right: 30px; }

  /* 品牌理念 */
  .brand-intro { padding: 60px 0; }
  .brand-intro .container { flex-direction: column; gap: 2rem; }
  .brand-visual { padding: 1rem; }
  .brand-visual svg { width: 180px; height: 180px; }
  .brand-logo-img { width: 180px; }
  .brand-text h2 { font-size: 1.5rem; }

  /* 目的地 */
  .destinations { padding: 60px 0; }
  .dest-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .dest-card-img { height: 180px; }

  /* 服务 */
  .services { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; gap: 1.5rem; }

  /* 游记 */
  .journals { padding: 60px 0; }
  .journals-grid { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 200px 200px; }
  .journal-card:nth-child(1) { grid-row: auto; grid-column: 1 / -1; height: 240px; }

  /* CTA */
  .cta-section { padding: 60px 0; }
  .cta-title { font-size: 1.75rem; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .qr-popover {
    left: 0;
    top: auto;
    bottom: calc(100% + 0.6rem);
    transform: translateY(6px);
  }
  .footer-contact-line:hover .qr-popover,
  .footer-contact-line:focus-within .qr-popover {
    transform: translateY(0);
  }
  .footer-bottom .container { flex-direction: column; text-align: center; }

  .section-title { font-size: 1.75rem; }
}

@media (max-width: 375px) {
  .dest-grid { grid-template-columns: 1fr; }
  .journals-grid { grid-template-columns: 1fr; grid-template-rows: auto; }
}

/* ============================================================
   咨询弹窗
   ============================================================ */
.consult-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.consult-modal.active {
  display: flex;
}

.consult-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  backdrop-filter: blur(4px);
}

.consult-modal-content {
  position: relative;
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  width: 100%;
  max-width: 480px;
  max-height: 90vh;
  overflow-y: auto;
  animation: modalSlideUp 0.3s ease;
}

@keyframes modalSlideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.consult-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: none;
  font-size: 1.25rem;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}

.consult-modal-close:hover {
  background: rgba(44,76,59,0.1);
}

.consult-modal-header {
  text-align: center;
  margin-bottom: 2rem;
}

.consult-modal-header h3 {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.consult-modal-header p {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 300;
}

.consult-form .form-group {
  margin-bottom: 1.25rem;
}

.consult-form label {
  display: block;
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 400;
}

.consult-form input,
.consult-form select,
.consult-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid rgba(44,76,59,0.15);
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: var(--sans);
  color: var(--text);
  background: var(--bg);
  transition: border-color var(--transition);
}

.consult-form input:focus,
.consult-form select:focus,
.consult-form textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: var(--white);
}

.consult-form textarea {
  resize: vertical;
  min-height: 80px;
}

.btn-submit {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--accent), #C18E3A);
  color: var(--white);
  border: none;
  border-radius: 28px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  margin-bottom: 1.5rem;
}

.btn-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,162,76,0.35);
}

.form-tip {
  text-align: center;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(44,76,59,0.08);
}

.form-tip p {
  font-size: 0.85rem;
  color: var(--secondary);
  margin-bottom: 0.25rem;
  font-weight: 300;
}

.form-tip strong {
  color: var(--accent);
  font-weight: 500;
}

/* ============================================================
   悬浮咨询按钮
   ============================================================ */
.float-consult {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 1500;
}

.float-consult-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--accent), #C18E3A);
  color: var(--white);
  border-radius: 28px;
  cursor: pointer;
  box-shadow: 0 4px 20px rgba(212,162,76,0.4);
  transition: all var(--transition);
}

.float-consult-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(212,162,76,0.5);
}

.float-consult-btn svg {
  width: 20px;
  height: 20px;
}

.float-consult-btn span {
  font-size: 0.9rem;
  font-weight: 500;
}

/* 移动端响应式 - 评价和弹窗 */
@media (max-width: 768px) {
  .testimonials { padding: 60px 0; }
  .testimonials-grid { grid-template-columns: 1fr; gap: 1.25rem; }
  
  .brand-stats { gap: 1.5rem; }
  .stat-number { font-size: 1.5rem; }
  
  .consult-modal-content { padding: 1.5rem; }
  
  .float-consult { bottom: 20px; right: 20px; }
  .float-consult-btn span { display: none; }
  .float-consult-btn { padding: 14px; border-radius: 50%; }
  .float-consult-btn svg { width: 24px; height: 24px; }
}

/* ============================================================
   Cookie 同意横幅
   ============================================================ */
.cookie-banner {
  position: fixed;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  max-width: 980px;
  margin: 0 auto;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.96);
  border: 1px solid rgba(44,76,59,0.1);
  border-radius: 12px;
  box-shadow: 0 16px 44px rgba(44,76,59,0.18);
  backdrop-filter: blur(12px);
}

.cookie-copy strong {
  display: block;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.cookie-copy p {
  color: var(--text);
  font-size: 0.88rem;
  line-height: 1.6;
  margin: 0;
}

.cookie-actions {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

.cookie-btn {
  padding: 0.65rem 1rem;
  border-radius: 24px;
  font-size: 0.9rem;
  transition: all var(--transition);
}

.cookie-btn.subtle {
  color: var(--primary);
  background: rgba(44,76,59,0.06);
}

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

.language-link {
  color: var(--accent) !important;
  font-weight: 600 !important;
}

@media (max-width: 768px) {
  .cookie-banner {
    left: 14px;
    right: 14px;
    bottom: 14px;
    flex-direction: column;
    align-items: stretch;
  }

  .cookie-actions {
    width: 100%;
  }

  .cookie-btn {
    flex: 1;
  }
}
