/* === 遇见纳木措 — 全站样式 === */
/* 配色: 纳木措自然绿 + 科技智能 */
/* v=20260527c */

:root {
  --green-darkest: #0d3b1e;
  --green-dark: #1b5e20;
  --green-mid: #2d8c4a;
  --green-light: #4caf50;
  --green-pale: #7cb342;
  --green-bg: #e8f5e9;
  --green-surface: #f0f7f1;
  --gold: #c1792a;
  --gold-light: #fdf6ed;
  --red-wood: #8b3a3a;
  --red-wood-light: #fdf2f2;
  --white: #ffffff;
  --gray-bg: #f5f7f5;
  --gray-light: #e8ece8;
  --gray-mid: #9e9e9e;
  --gray-dark: #555;
  --text: #2c3e2e;
  --text-light: #6b7c6d;
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 2px 16px rgba(0,0,0,.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,.12);
  --max-w: 1120px;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  color: var(--text);
  background: var(--gray-bg);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--green-mid); text-decoration: none; transition: color .2s; }
a:hover { color: var(--green-dark); }

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

/* === 导航栏 === */
.navbar {
  background: var(--green-darkest);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,.15);
}
.nav-inner {
  max-width: var(--max-w); margin: 0 auto;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 20px; height: 60px;
}
.nav-logo {
  font-size: 1.25rem; font-weight: 700; color: var(--white);
  letter-spacing: .5px;
}
.nav-logo span { color: var(--green-light); }
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85); padding: 8px 16px; border-radius: var(--radius-sm);
  font-size: .95rem; font-weight: 500; transition: all .2s;
}
.nav-links a:hover, .nav-links a.active {
  background: rgba(255,255,255,.12); color: var(--white);
}

/* 移动端汉堡菜单 */
.nav-toggle { display: none; background: none; border: none; color: var(--white); font-size: 1.6rem; cursor: pointer; padding: 4px 8px; }

/* === Hero === */
.hero {
  background: linear-gradient(160deg, var(--green-darkest) 0%, var(--green-dark) 40%, var(--green-mid) 100%);
  color: var(--white); text-align: center; padding: 80px 20px 70px;
  position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 100%, rgba(124,179,66,.25) 0%, transparent 70%);
}
.hero h1 { font-size: 2.6rem; font-weight: 800; margin-bottom: 12px; position: relative; }
.hero .subtitle { font-size: 1.15rem; opacity: .9; margin-bottom: 32px; position: relative; }
.hero .subtitle span { margin: 0 12px; opacity: .7; }
.btn-hero {
  display: inline-block; background: var(--white); color: var(--green-darkest);
  padding: 14px 40px; border-radius: 50px; font-size: 1.1rem; font-weight: 700;
  transition: all .25s; position: relative; box-shadow: 0 4px 20px rgba(0,0,0,.2);
}
.btn-hero:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.3); color: var(--green-darkest); }

/* Hero QR 小程序引导 */
.hero-qr {
  margin-top: 32px; position: relative;
  display: flex; align-items: center; justify-content: center; gap: 20px;
  flex-wrap: wrap;
}
.hero-qr-img { width: 140px; height: 140px; border-radius: var(--radius); border: 3px solid rgba(255,255,255,.3); background: var(--white); padding: 6px; }
.hero-qr-text { text-align: left; font-size: .9rem; opacity: .85; }
.hero-qr-text strong { display: block; font-size: 1rem; color: var(--white); margin-bottom: 4px; }

/* === 通用区块 === */
.section { padding: 60px 20px; }
.section-inner { max-width: var(--max-w); margin: 0 auto; }
.section-title { font-size: 1.8rem; font-weight: 700; text-align: center; margin-bottom: 8px; color: var(--green-darkest); }
.section-subtitle { text-align: center; color: var(--text-light); margin-bottom: 40px; font-size: .95rem; }

/* === 四格卡片 === */
.feature-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.feature-card {
  background: var(--white); border-radius: var(--radius); padding: 28px 20px;
  text-align: center; box-shadow: var(--shadow); transition: transform .2s;
}
.feature-card:hover { transform: translateY(-3px); }
.feature-icon { font-size: 2rem; margin-bottom: 10px; }
.feature-card h3 { font-size: 1.05rem; color: var(--green-dark); margin-bottom: 6px; }
.feature-card p { font-size: .88rem; color: var(--text-light); line-height: 1.5; }

/* === 票种卡片 === */
.ticket-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
}
.ticket-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s;
  border-top: 4px solid var(--green-mid);
}
.ticket-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.ticket-card.alt { border-top-color: var(--gold); }
.ticket-card-header {
  padding: 28px 24px 0;
}
.ticket-card-header h3 { font-size: 1.2rem; color: var(--green-darkest); margin-bottom: 4px; }
.ticket-card-header .badge {
  display: inline-block; background: var(--green-bg); color: var(--green-dark);
  padding: 3px 12px; border-radius: 50px; font-size: .8rem; font-weight: 600; margin-bottom: 12px;
}
.ticket-card.alt .badge { background: var(--gold-light); color: var(--gold); }
.ticket-price-list { padding: 16px 24px; }
.ticket-price-item {
  display: flex; justify-content: space-between; align-items: center;
  padding: 10px 0; border-bottom: 1px dashed var(--gray-light);
}
.ticket-price-item:last-child { border-bottom: none; }
.ticket-price-item .label { font-size: .92rem; }
.ticket-price-item .label small { color: var(--text-light); font-size: .8rem; display: block; }
.ticket-price-item .price { font-size: 1.25rem; font-weight: 700; color: var(--gold); white-space: nowrap; }
.ticket-card-footer {
  padding: 16px 24px 24px; display: flex; gap: 12px; flex-wrap: wrap;
}
.btn-qr {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--green-mid); color: var(--white); padding: 10px 22px;
  border-radius: 50px; font-size: .92rem; font-weight: 600; cursor: pointer;
  border: none; transition: all .2s;
}
.btn-qr:hover { background: var(--green-dark); color: var(--white); }
.btn-qr.alt { background: var(--gold); }
.btn-qr.alt:hover { background: #a56822; }

.ticket-note { margin-top: 8px; font-size: .82rem; color: var(--text-light); padding: 0 24px 16px; }

/* 票种卡片内 QR 引导 */
.ticket-card-qr {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 24px; margin: 0 24px 20px;
  background: var(--green-bg); border-radius: 10px;
  font-size: .82rem; color: var(--green-dark); line-height: 1.4;
}
.ticket-card .ticket-card-qr { border: 1px solid rgba(45,140,74,.15); }
.ticket-card.alt .ticket-card-qr { background: rgba(193,121,42,.06); border: 1px solid rgba(193,121,42,.15); color: var(--text); }
.ticket-card-qr img { border-radius: 6px; flex-shrink: 0; }

/* === 流程步骤 === */
.steps-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.step-card {
  background: var(--white); border-radius: var(--radius); padding: 32px 24px;
  text-align: center; box-shadow: var(--shadow); position: relative;
}
.step-num {
  width: 48px; height: 48px; border-radius: 50%; background: var(--green-mid);
  color: var(--white); font-size: 1.3rem; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px;
}
.step-card h3 { font-size: 1.05rem; color: var(--green-dark); margin-bottom: 6px; }
.step-card p { font-size: .88rem; color: var(--text-light); }

/* === 入园提示 === */
.alert-box {
  background: var(--gold-light); border-left: 4px solid var(--gold);
  border-radius: var(--radius); padding: 24px 28px; margin-top: 40px;
}
.alert-box h4 { color: var(--gold); font-size: 1.05rem; margin-bottom: 12px; }
.alert-box ul { list-style: none; padding: 0; }
.alert-box li { padding: 5px 0; font-size: .92rem; color: var(--text); padding-left: 20px; position: relative; }
.alert-box li::before { content: '⚠'; position: absolute; left: 0; }

/* === QR 引导块（页面内联） === */
.qr-inline {
  display: flex; align-items: center; gap: 20px; background: var(--green-surface);
  border-radius: var(--radius); padding: 24px; margin-top: 24px;
}
.qr-inline img { width: 120px; height: 120px; border-radius: var(--radius-sm); }
.qr-inline-text { flex: 1; }
.qr-inline-text strong { font-size: 1.05rem; color: var(--green-darkest); display: block; margin-bottom: 4px; }
.qr-inline-text p { font-size: .85rem; color: var(--text-light); margin-bottom: 12px; }

/* QR 引导增强块 */
.qr-inline-promo {
  background: linear-gradient(135deg, rgba(45,140,74,.08), rgba(13,59,30,.04));
  border: 2px solid rgba(45,140,74,.15); padding: 28px;
}
.qr-inline-promo img { width: 140px; height: 140px; }
.qr-inline-promo .qr-inline-text strong { font-size: 1.15rem; }

/* 中间插入型 QR 引导 */
.qr-midway {
  padding: 16px 20px; margin-top: 20px; border: 1px dashed var(--green-pale);
  background: var(--white);
}
.qr-midway img { width: 90px; height: 90px; }

/* 高亮区 QR 引导 */
.qr-highlight {
  background: rgba(255,255,255,.6); padding: 12px 16px; gap: 12px;
}

/* === 页面横幅 === */
.page-banner {
  background: linear-gradient(160deg, var(--green-darkest), var(--green-dark));
  color: var(--white); text-align: center; padding: 56px 20px 44px;
}
.page-banner h1 { font-size: 2rem; font-weight: 800; }
.page-banner p { font-size: 1rem; opacity: .85; margin-top: 8px; }

/* === 内容卡片 === */
.content-card {
  background: var(--white); border-radius: var(--radius); padding: 32px;
  box-shadow: var(--shadow); margin-bottom: 24px;
}
.content-card h2 { font-size: 1.35rem; color: var(--green-darkest); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 2px solid var(--green-bg); }
.content-card h3 { font-size: 1.1rem; color: var(--green-dark); margin: 20px 0 8px; }
.content-card p { margin-bottom: 10px; color: var(--text); font-size: .95rem; }
.content-card ul { padding-left: 20px; margin-bottom: 12px; }
.content-card li { margin-bottom: 6px; font-size: .93rem; }

/* 表格 */
.info-table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: .93rem; }
.info-table th { background: var(--green-darkest); color: var(--white); padding: 10px 16px; text-align: left; }
.info-table td { padding: 10px 16px; border-bottom: 1px solid var(--gray-light); }
.info-table tr:nth-child(even) td { background: var(--green-surface); }

/* === FAQ 折叠 === */
.faq-list { margin-top: 16px; }
.faq-item { border-bottom: 1px solid var(--gray-light); }
.faq-q {
  width: 100%; text-align: left; background: none; border: none;
  padding: 18px 0; font-size: 1rem; font-weight: 600; cursor: pointer;
  color: var(--text); display: flex; justify-content: space-between; align-items: center;
  transition: color .2s;
}
.faq-q:hover { color: var(--green-mid); }
.faq-q .arrow { transition: transform .3s; font-size: .8rem; color: var(--green-mid); }
.faq-q.open .arrow { transform: rotate(180deg); }
.faq-a {
  max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease;
  font-size: .93rem; color: var(--text-light); line-height: 1.7;
}
.faq-a.open { max-height: 300px; padding-bottom: 18px; }

/* === 投诉建议 === */
.contact-highlight {
  background: var(--green-darkest); color: var(--white); border-radius: var(--radius);
  padding: 32px; text-align: center; margin-top: 40px;
}
.contact-highlight h3 { font-size: 1.2rem; margin-bottom: 8px; }
.contact-highlight a { color: var(--green-light); font-size: 1.3rem; font-weight: 700; }
.contact-highlight a:hover { color: var(--white); }

/* === Footer === */
.footer {
  background: var(--green-darkest); color: rgba(255,255,255,.75);
  padding: 40px 20px 32px; font-size: .88rem; line-height: 1.8;
}
.footer-inner { max-width: var(--max-w); margin: 0 auto; text-align: center; }
.footer a { color: var(--green-light); }
.footer a:hover { color: var(--white); }
.footer .divider { margin: 0 8px; opacity: .4; }

/* === 浮标按钮 === */
.float-widget {
  position: fixed; right: 16px; bottom: 90px; z-index: 200;
  display: flex; flex-direction: column; gap: 10px;
}
.float-btn {
  width: 52px; height: 52px; border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700;
  color: var(--white); box-shadow: 0 4px 16px rgba(0,0,0,.2); transition: all .2s;
  writing-mode: vertical-rl; letter-spacing: 2px;
}
.float-btn.wechat { background: var(--green-mid); }
.float-btn.wechat:hover { background: var(--green-dark); transform: scale(1.08); }
.float-btn.tel { background: var(--gold); text-indent: -9999px; }
.float-btn.tel::after { content: '📞'; text-indent: 0; font-size: 1.3rem; display: block; }
.float-btn.tel:hover { background: #a56822; transform: scale(1.08); }

/* === 弹窗 === */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 999;
  background: rgba(0,0,0,.55); align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--white); border-radius: var(--radius); padding: 36px 32px 28px;
  text-align: center; max-width: 360px; width: 90%; position: relative;
  box-shadow: 0 16px 48px rgba(0,0,0,.25);
}
.modal-close {
  position: absolute; top: 10px; right: 14px; background: none; border: none;
  font-size: 1.5rem; cursor: pointer; color: var(--gray-mid); line-height: 1;
}
.modal-box h3 { font-size: 1.2rem; color: var(--green-darkest); margin-bottom: 6px; }
.modal-box p { font-size: .88rem; color: var(--text-light); margin-bottom: 16px; }
.modal-box img { width: 200px; height: 200px; border-radius: var(--radius-sm); margin: 0 auto 12px; border: 2px solid var(--gray-light); }
.modal-tip { font-size: .8rem; color: var(--gold); margin-top: 8px; }

/* === 移动端底部预订栏 === */
.mobile-bar {
  display: none; position: fixed; bottom: 0; left: 0; right: 0; z-index: 150;
  background: var(--white); padding: 10px 16px; box-shadow: 0 -2px 12px rgba(0,0,0,.1);
  align-items: center; gap: 10px;
}
.mobile-bar .price-info { flex: 1; }
.mobile-bar .price-info .from { font-size: .72rem; color: var(--text-light); }
.mobile-bar .price-info .amount { font-size: 1.2rem; font-weight: 800; color: var(--gold); }
.mobile-bar .price-info .amount small { font-size: .7rem; font-weight: 400; }
.mobile-bar .btn-book {
  background: var(--green-mid); color: var(--white); border: none;
  padding: 10px 20px; border-radius: 50px; font-size: .9rem; font-weight: 700; cursor: pointer;
  white-space: nowrap;
}
.mobile-bar .btn-scan {
  background: var(--gold); color: var(--white); border: none;
  padding: 10px 16px; border-radius: 50px; font-size: .85rem; font-weight: 600; cursor: pointer;
  white-space: nowrap;
}

/* === 关于页布局 === */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
}
.about-card {
  background: var(--white); border-radius: var(--radius); padding: 28px;
  box-shadow: var(--shadow);
}
.about-card h3 { font-size: 1.1rem; color: var(--green-darkest); margin-bottom: 12px; padding-bottom: 8px; border-bottom: 2px solid var(--green-bg); }
.about-card p, .about-card li { font-size: .93rem; color: var(--text); margin-bottom: 8px; }
.about-card ul { padding-left: 20px; }

/* 价格声明醒目 */
.price-declare {
  background: var(--green-darkest); color: var(--white); border-radius: var(--radius);
  padding: 20px 28px; text-align: center; margin-top: 24px; font-size: .95rem;
}
.price-declare strong { color: var(--green-light); }

/* 免责声明 */
.disclaimer {
  margin-top: 40px; padding: 20px; background: var(--gray-light); border-radius: var(--radius-sm);
  font-size: .82rem; color: var(--text-light); text-align: center; line-height: 1.6;
}

/* === 响应式 === */

/* 表格溢出保护（全断点生效） */
.content-card { overflow: hidden; }
.content-card table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }

@media (max-width: 900px) {
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .ticket-grid { grid-template-columns: 1fr; }
  .about-grid { grid-template-columns: 1fr; }
  .info-table { min-width: 480px; }
  .page-banner { padding: 44px 16px 36px; }
}

@media (max-width: 768px) {
  .hero h1 { font-size: 1.8rem; }
  .hero .subtitle { font-size: .95rem; }
  .hero .subtitle span { display: block; margin: 4px 0; }
  .section { padding: 40px 16px; }
  .section-title { font-size: 1.4rem; }
  .content-card { padding: 20px; }
  .steps-grid { grid-template-columns: 1fr; gap: 16px; }
  .feature-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .feature-card { padding: 20px 14px; }
  .nav-links { display: none; position: absolute; top: 60px; left: 0; right: 0; background: var(--green-darkest); flex-direction: column; padding: 8px 0; box-shadow: 0 8px 16px rgba(0,0,0,.2); }
  .nav-links.active { display: flex; }
  .nav-links a { padding: 12px 24px; border-radius: 0; }
  .nav-toggle { display: block; }
  .mobile-bar { display: flex; }
  body { padding-bottom: 72px; }
  .float-widget { bottom: 100px; }
  .hero-qr { flex-direction: column; text-align: center; }
  .hero-qr-text { text-align: center; }
  .qr-inline { flex-direction: column; text-align: center; }
  .ticket-card-qr { padding: 12px 16px; margin: 0 16px 16px; font-size: .78rem; }
  .qr-midway { padding: 14px 16px; flex-direction: column; text-align: center; }
  .qr-midway img { width: 80px; height: 80px; }
  .hero-qr-img { width: 120px; height: 120px; }
  .footer { font-size: .82rem; line-height: 1.7; }
  .footer .divider { display: none; }
  .footer p { margin-bottom: 4px; }
}

@media (max-width: 480px) {
  .hero { padding: 56px 16px 48px; }
  .hero h1 { font-size: 1.5rem; }
  .btn-hero { padding: 12px 30px; font-size: .95rem; }
  .section-title { font-size: 1.25rem; }
  .feature-grid { grid-template-columns: 1fr; gap: 10px; }
  .ticket-price-item { flex-direction: column; align-items: flex-start; gap: 4px; }
  .ticket-card-footer { flex-direction: column; }
  .ticket-card-qr { flex-direction: column; text-align: center; gap: 8px; }
  .info-table { font-size: .75rem; min-width: 440px; }
  .info-table th, .info-table td { padding: 6px 8px; }
  .page-banner { padding: 36px 14px 28px; }
  .page-banner h1 { font-size: 1.5rem; }
  .content-card { padding: 16px; }
  .content-card h2 { font-size: 1.15rem; }
  .content-card h3 { font-size: .98rem; }
  .modal-box { padding: 28px 20px 22px; }
  .modal-box img { width: 180px; height: 180px; }
  .qr-inline { padding: 16px; }
  .qr-inline img { width: 100px; height: 100px; }
  .qr-inline-promo img { width: 120px; height: 120px; }
  .float-widget { right: 8px; bottom: 90px; }
  .float-btn { width: 44px; height: 44px; font-size: .7rem; }
  .mobile-bar { padding: 8px 12px; }
  .mobile-bar .btn-book { padding: 8px 14px; font-size: .82rem; }
  .mobile-bar .btn-scan { padding: 8px 12px; font-size: .78rem; }
}

@media (max-width: 375px) {
  .hero { padding: 44px 12px 36px; }
  .hero h1 { font-size: 1.3rem; }
  .hero .subtitle { font-size: .82rem; }
  .section { padding: 32px 12px; }
  .section-title { font-size: 1.15rem; }
  .section-subtitle { font-size: .85rem; margin-bottom: 28px; }
  .feature-card { padding: 16px 10px; }
  .feature-card h3 { font-size: .95rem; }
  .feature-card p { font-size: .8rem; }
  .ticket-card-header { padding: 20px 16px 0; }
  .ticket-card-header h3 { font-size: 1.05rem; }
  .ticket-price-list { padding: 12px 16px; }
  .ticket-price-item .price { font-size: 1.1rem; }
  .ticket-card-footer { padding: 12px 16px 16px; }
  .ticket-card-qr { padding: 10px 12px; margin: 0 12px 14px; font-size: .75rem; }
  .btn-hero { padding: 10px 24px; font-size: .88rem; }
  .nav-logo { font-size: 1.1rem; }
  .nav-inner { padding: 0 12px; }
  .content-card h2 { font-size: 1.1rem; }
  .content-card h3 { font-size: .93rem; }
  .content-card p, .content-card li { font-size: .85rem; }
  .page-banner { padding: 32px 12px 24px; }
  .page-banner h1 { font-size: 1.35rem; }
  .mobile-bar .price-info .amount { font-size: 1rem; }
}
