/* 李轩的旅行日记 · 全站统一样式 */
:root {
  --green: #2d6a4f;
  --green-dark: #1f4d38;
  --green-deep: #163a2a;
  --green-light: #4a9d7f;
  --sand: #d9a441;
  --text: #333;
  --muted: #7a7a7a;
  --line: #e9ece9;
  --bg-soft: #f6f8f6;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(20, 50, 38, 0.08);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Segoe UI", "Microsoft YaHei", Roboto, sans-serif;
  color: var(--text);
  line-height: 1.75;
  background: #fff;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.wrap { max-width: 1140px; margin: 0 auto; padding: 0 24px; }

/* ---------- 顶部导航 ---------- */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}
.nav-inner {
  max-width: 1140px; margin: 0 auto; padding: 12px 24px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: center; gap: 12px; }
.brand img { height: 42px; width: 42px; border-radius: 8px; object-fit: cover; }
.brand .bname { font-size: 19px; font-weight: 600; color: var(--green); letter-spacing: .5px; }
.brand span { display: block; font-size: 12px; color: var(--muted); font-weight: 400; letter-spacing: 0; }

.nav-links { display: flex; gap: 28px; }
.nav-links a {
  font-size: 15px; color: #444; padding: 6px 0; position: relative;
  transition: color .2s;
}
.nav-links a:hover { color: var(--green); }
.nav-links a.active { color: var(--green); font-weight: 600; }
.nav-links a.active::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -4px;
  height: 2px; background: var(--green); border-radius: 2px;
}

.nav-toggle {
  display: none; width: 26px; height: 18px; position: relative; cursor: pointer;
  background: none; border: 0;
}
.nav-toggle span { position: absolute; left: 0; width: 100%; height: 2px; background: #333; transition: .2s; }
.nav-toggle span:nth-child(1) { top: 0; }
.nav-toggle span:nth-child(2) { top: 8px; }
.nav-toggle span:nth-child(3) { top: 16px; }

.mobile-menu {
  display: none; position: fixed; top: 66px; right: 0; width: 220px;
  background: #fff; box-shadow: -4px 4px 16px rgba(0,0,0,.12);
  padding: 8px 0; z-index: 1001;
}
.mobile-menu.open { display: block; }
.mobile-menu a { display: block; padding: 13px 22px; font-size: 15px; color: #333; border-bottom: 1px solid #f2f2f2; }
.mobile-menu a:last-child { border-bottom: 0; }

/* ---------- 首屏 ---------- */
.hero {
  min-height: 100vh; position: relative;
  background: url("../img/hero.jpg") center center / cover no-repeat;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 90px 20px 60px;
}
.hero::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,30,20,.45) 0%, rgba(10,30,20,.55) 60%, rgba(22,58,42,.85) 100%);
}
.hero-inner { position: relative; z-index: 2; max-width: 820px; }
.hero-kicker { font-size: 15px; letter-spacing: 2px; opacity: .9; margin-bottom: 18px; }
.hero h1 {
  font-size: 46px; line-height: 1.32; font-weight: 600; margin-bottom: 20px;
  letter-spacing: 1px;
}
.hero-desc { font-size: 17px; opacity: .92; margin-bottom: 38px; line-height: 1.9; }
.hero-btns { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.btn {
  display: inline-block; padding: 14px 38px; border-radius: 50px;
  font-size: 15px; font-weight: 500; transition: .25s; border: 2px solid transparent;
}
.btn-solid { background: #fff; color: var(--green-dark); }
.btn-solid:hover { background: #f0f5f1; transform: translateY(-2px); }
.btn-ghost { border-color: rgba(255,255,255,.85); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-green { background: var(--green); color: #fff; }
.btn-green:hover { background: var(--green-dark); transform: translateY(-2px); }

.scroll-hint {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; color: rgba(255,255,255,.8); font-size: 13px; letter-spacing: 1px;
  animation: floaty 2.4s ease-in-out infinite;
}
@keyframes floaty { 0%,100%{ transform: translate(-50%, 0);} 50%{ transform: translate(-50%, 8px);} }

/* ---------- 通用区块 ---------- */
.section { padding: 88px 0; }
.section.soft { background: var(--bg-soft); }
.section.dark { background: var(--green-dark); color: #fff; }

.head { text-align: center; margin-bottom: 52px; }
.head h2 { font-size: 31px; color: var(--green); margin-bottom: 12px; letter-spacing: 1px; }
.head .line { width: 54px; height: 3px; background: var(--green); margin: 0 auto 18px; border-radius: 2px; }
.head p { color: var(--muted); font-size: 15px; }
.section.dark .head h2 { color: #fff; }
.section.dark .head .line { background: var(--sand); }
.section.dark .head p { color: rgba(255,255,255,.75); }

/* ---------- 品牌简介 ---------- */
.intro { display: grid; grid-template-columns: 1.15fr .85fr; gap: 48px; align-items: center; }
.intro-text h3 { font-size: 24px; color: var(--green-dark); margin-bottom: 18px; line-height: 1.5; }
.intro-text p { color: #555; font-size: 15.5px; margin-bottom: 14px; }
.intro-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.tag {
  font-size: 13px; color: var(--green-dark); background: #eef5f0;
  border: 1px solid #d8e8de; padding: 6px 14px; border-radius: 50px;
}
.intro-figure {
  border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
  background: linear-gradient(150deg, var(--green) 0%, var(--green-light) 100%);
  min-height: 340px; display: flex; align-items: center; justify-content: center;
  text-align: center; color: #fff; padding: 30px;
}
.intro-figure h4 { font-size: 20px; margin-bottom: 10px; }
.intro-figure p { font-size: 14px; opacity: .85; line-height: 1.9; }

/* ---------- 数据 ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; text-align: center; }
.stat b { display: block; font-size: 40px; font-weight: 700; color: #fff; line-height: 1.2; }
.stat b small { font-size: 17px; font-weight: 400; opacity: .8; margin-left: 2px; }
.stat span { font-size: 14px; opacity: .8; }

/* ---------- 产品卡片（带悬浮双按钮） ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.card {
  background: #fff; border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(20,50,38,.14); }

.card-media {
  position: relative; height: 210px; overflow: hidden;
  background: linear-gradient(140deg, var(--green) 0%, var(--green-light) 100%);
}
.card-media .season {
  position: absolute; top: 14px; left: 14px; z-index: 2;
  background: rgba(255,255,255,.94); color: var(--green-dark);
  font-size: 13px; padding: 4px 12px; border-radius: 50px;
}
.card-media .media-note {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.9); font-size: 15px; letter-spacing: 2px;
}
/* 悬浮遮罩 + 两个按钮 */
.card-actions {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 3;
  display: flex; gap: 10px; padding: 16px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 100%);
  transform: translateY(100%); opacity: 0; transition: .28s ease;
}
.card:hover .card-actions { transform: translateY(0); opacity: 1; }
.card-actions a {
  flex: 1; text-align: center; padding: 10px 8px; border-radius: 50px;
  font-size: 14px; font-weight: 500; background: rgba(255,255,255,.95); color: var(--green-dark);
  transition: .2s;
}
.card-actions a.ghost { background: rgba(255,255,255,.22); color: #fff; border: 1px solid rgba(255,255,255,.8); backdrop-filter: blur(2px); }
.card-actions a:hover { transform: translateY(-1px); }

.card-body { padding: 24px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.card-body .meta { font-size: 13px; color: #999; margin-bottom: 8px; }
.card-body h3 { font-size: 20px; color: #222; margin-bottom: 10px; font-weight: 600; }
.card-body p { color: #777; font-size: 14.5px; line-height: 1.7; margin-bottom: 16px; }
.card-body ul { margin-bottom: 18px; }
.card-body li { font-size: 14px; color: #666; line-height: 2; }
.card-body li::before { content: "✓ "; color: var(--green); font-weight: 700; }
.card-body .more { margin-top: auto; color: var(--green); font-size: 14.5px; font-weight: 500; }

/* ---------- 服务优势 ---------- */
.features { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.feature {
  background: #fff; border-radius: var(--radius); padding: 30px 24px; text-align: center;
  box-shadow: 0 4px 18px rgba(20,50,38,.06);
}
.feature .icon {
  width: 52px; height: 52px; margin: 0 auto 16px; border-radius: 50%;
  background: #eef5f0; color: var(--green); font-size: 22px;
  display: flex; align-items: center; justify-content: center;
}
.feature h4 { font-size: 17px; color: #222; margin-bottom: 8px; }
.feature p { font-size: 14px; color: #7b7b7b; line-height: 1.7; }

/* ---------- 资质 ---------- */
.certs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.cert {
  border-radius: var(--radius); background: #fff; box-shadow: var(--shadow);
  padding: 26px 22px; text-align: center;
}
.cert .cert-icon {
  width: 100%; height: 108px; border-radius: 8px; margin-bottom: 16px;
  background: linear-gradient(140deg, #e8f0eb 0%, #d7e6dd 100%);
  display: flex; align-items: center; justify-content: center;
  color: var(--green); font-size: 14px; letter-spacing: 1px;
}
.cert h4 { font-size: 16px; color: #222; margin-bottom: 6px; }
.cert p { font-size: 13px; color: #888; line-height: 1.7; }

/* ---------- FAQ ---------- */
.faq-list { max-width: 860px; margin: 0 auto; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  padding: 22px 4px; cursor: pointer; font-size: 16px; font-weight: 500; color: #222;
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
}
.faq-q .sign { color: var(--green); font-size: 20px; font-weight: 300; transition: transform .3s; flex: 0 0 auto; }
.faq-item.open .faq-q .sign { transform: rotate(135deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease; }
.faq-item.open .faq-a { max-height: 420px; }
.faq-a-inner { padding: 0 4px 22px; color: #666; font-size: 15px; line-height: 1.85; }

/* ---------- 动态 ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.news-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.news-card .thumb {
  height: 170px; background: linear-gradient(140deg, var(--green) 0%, var(--green-light) 100%);
  display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.9);
  font-size: 14px; letter-spacing: 2px;
}
.news-card .news-body { padding: 22px; }
.news-card .date { font-size: 13px; color: #aaa; margin-bottom: 8px; }
.news-card h4 { font-size: 17px; color: #222; margin-bottom: 8px; line-height: 1.5; }
.news-card p { font-size: 14px; color: #7a7a7a; }

/* ---------- 联系 ---------- */
.contact-bar {
  background: var(--green-deep); color: #fff; padding: 76px 0; text-align: center;
}
.contact-bar h2 { font-size: 30px; margin-bottom: 12px; }
.contact-bar .sub { color: rgba(255,255,255,.75); font-size: 15px; margin-bottom: 36px; }
.contact-items { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 34px; }
.contact-item {
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.18);
  border-radius: var(--radius); padding: 18px 30px; min-width: 190px;
}
.contact-item span { display: block; font-size: 13px; color: rgba(255,255,255,.7); margin-bottom: 6px; }
.contact-item b { font-size: 21px; letter-spacing: .5px; }
.contact-note { font-size: 14px; color: rgba(255,255,255,.7); line-height: 2; }

/* ---------- 页脚 ---------- */
.site-footer { background: #10301f; color: rgba(255,255,255,.62); padding: 58px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 36px; padding-bottom: 46px; }
.footer-grid h4 { color: #fff; font-size: 16px; margin-bottom: 16px; font-weight: 600; }
.footer-grid p, .footer-grid a { display: block; font-size: 14px; line-height: 2.1; color: rgba(255,255,255,.62); }
.footer-grid a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 22px 0;
  text-align: center; font-size: 13px; color: rgba(255,255,255,.45);
}

/* ---------- 内页 ---------- */
.page-hero {
  padding: 150px 0 60px; background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
  color: #fff; text-align: center;
}
.page-hero h1 { font-size: 34px; margin-bottom: 10px; letter-spacing: 1px; }
.page-hero p { color: rgba(255,255,255,.8); font-size: 15px; }

.crumb { padding: 14px 0 0; font-size: 13px; color: #999; }
.crumb a:hover { color: var(--green); }

/* 线路详情块 */
.route-block {
  display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center;
  padding: 40px 0; border-bottom: 1px solid var(--line);
}
.route-block:last-child { border-bottom: 0; }
.route-block .rb-media {
  height: 300px; border-radius: var(--radius);
  background: linear-gradient(140deg, var(--green) 0%, var(--green-light) 100%);
  display: flex; align-items: center; justify-content: center; color: #fff;
  letter-spacing: 2px; font-size: 15px;
}
.route-block h3 { font-size: 24px; color: var(--green-dark); margin-bottom: 8px; }
.route-block .rb-meta { font-size: 13px; color: #999; margin-bottom: 16px; }
.route-block p { color: #666; font-size: 15px; margin-bottom: 12px; }
.route-block ul { margin-top: 10px; }
.route-block li { font-size: 14.5px; color: #555; line-height: 2; }
.route-block li::before { content: "· "; color: var(--green); font-weight: 700; }

/* 团队/流程 */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step { background: #fff; border-radius: var(--radius); padding: 28px 22px; box-shadow: var(--shadow); }
.step .no { font-size: 13px; color: var(--sand); font-weight: 700; letter-spacing: 1px; margin-bottom: 10px; }
.step h4 { font-size: 17px; color: #222; margin-bottom: 8px; }
.step p { font-size: 14px; color: #7a7a7a; }

/* ---------- 文章页 ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 56px 0 72px; }
.article h1 { font-size: 30px; color: var(--green-dark); line-height: 1.45; margin-bottom: 14px; }
.article .art-meta { font-size: 13px; color: #aaa; margin-bottom: 30px; }
.article p { font-size: 16px; line-height: 2; color: #444; margin-bottom: 20px; }
.article h2 { font-size: 21px; color: var(--green); margin: 38px 0 14px; }
.article ul { margin: 0 0 22px; padding-left: 0; }
.article li { font-size: 16px; line-height: 2; color: #444; padding-left: 18px; position: relative; }
.article li::before { content: "·"; position: absolute; left: 4px; color: var(--green); font-weight: 700; }
.article blockquote {
  border-left: 3px solid var(--green); background: #f4f8f5; padding: 16px 20px;
  margin: 26px 0; color: #555; font-size: 15.5px; line-height: 1.9;
}
.article .art-cta {
  margin-top: 44px; padding: 26px; border-radius: var(--radius);
  background: var(--green-dark); color: #fff; text-align: center;
}
.article .art-cta h3 { font-size: 18px; margin-bottom: 8px; }
.article .art-cta p { color: rgba(255,255,255,.8); font-size: 14px; margin-bottom: 0; }
.article .art-cta b { display: block; font-size: 22px; margin: 10px 0 14px; }
.article .art-cta a { color: #fff; border: 1px solid rgba(255,255,255,.7); padding: 9px 22px; border-radius: 50px; font-size: 14px; display: inline-block; }

/* ---------- 响应式 ---------- */
@media (max-width: 980px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .intro, .route-block { grid-template-columns: 1fr; }
  .cards, .features, .certs, .news-grid, .steps { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .hero h1 { font-size: 34px; }
  .card-actions { transform: translateY(0); opacity: 1; }
}

@media (max-width: 620px) {
  .cards, .features, .certs, .news-grid, .steps { grid-template-columns: 1fr; }
  .section { padding: 62px 0; }
  .hero h1 { font-size: 27px; }
  .hero-desc { font-size: 15px; }
  .head h2 { font-size: 25px; }
  .contact-item { min-width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .btn { padding: 12px 26px; font-size: 14px; }
}
