/* VisitXingyi.com — v1 */
:root {
  --pine: #1d3a2f;
  --pine-deep: #12261e;
  --mist: #f7f4ec;
  --cloud: #ffffff;
  --ink: #22302a;
  --ink-soft: #5a6b62;
  --gold: #c8842c;
  --gold-soft: #e3b268;
  --line: #e3ded1;
  --radius: 14px;
  --maxw: 1080px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--mist);
  line-height: 1.65;
  font-size: 17px;
}
h1, h2, h3, .display { font-family: Georgia, "Times New Roman", serif; font-weight: 600; line-height: 1.25; color: var(--pine-deep); }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); margin-bottom: .6em; }
h3 { font-size: 1.2rem; margin-bottom: .4em; }
p { margin-bottom: 1em; }
a { color: var(--pine); }
img { max-width: 100%; display: block; }
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

/* Header */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 244, 236, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
header.site .wrap { display: flex; align-items: center; justify-content: space-between; height: 62px; }
.logo { font-family: Georgia, serif; font-size: 1.25rem; color: var(--pine-deep); text-decoration: none; letter-spacing: .2px; }
.logo b { color: var(--gold); font-weight: 600; }
nav.main { display: flex; gap: 1.4rem; flex-wrap: wrap; }
nav.main a { text-decoration: none; color: var(--ink-soft); font-size: .95rem; }
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--pine-deep); }

/* Hero */
.hero { position: relative; color: #fff; overflow: hidden; background: linear-gradient(180deg, rgba(18,38,30,.42) 0%, rgba(18,38,30,.56) 60%, rgba(18,38,30,.7) 100%), url('/img/hero-wanfengling.jpg') center 62% / cover no-repeat, linear-gradient(180deg, #35594a 0%, var(--pine) 55%, var(--pine-deep) 100%); }
.hero h1, .hero p.lead { text-shadow: 0 2px 16px rgba(0,0,0,.55); }
.hero .wrap { position: relative; z-index: 2; padding: clamp(3.5rem, 9vw, 7rem) 22px clamp(5rem, 11vw, 8.5rem); max-width: 860px; text-align: center; }
.hero h1 { color: #fff; margin-bottom: .5em; }
.hero p.lead { font-size: clamp(1.05rem, 2.2vw, 1.3rem); color: #e8e4d8; max-width: 42em; margin: 0 auto 1.6em; }
.hero .peaks { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; height: auto; z-index: 1; }
.eyebrow { text-transform: uppercase; letter-spacing: .18em; font-size: .78rem; color: var(--gold-soft); margin-bottom: 1.2em; display: block; }

/* Page hero (inner pages) */
.page-hero { background: linear-gradient(180deg, #35594a, var(--pine-deep)); color: #fff; padding: clamp(2.5rem, 6vw, 4rem) 0 clamp(2.8rem, 7vw, 4.5rem); position: relative; overflow: hidden; }
.page-hero.ph-photo { background: linear-gradient(180deg, rgba(18,38,30,.5) 0%, rgba(18,38,30,.66) 100%), var(--ph-img) center 70% / cover no-repeat, linear-gradient(180deg, #35594a, var(--pine-deep)); }
.page-hero.ph-photo h1, .page-hero.ph-photo p { text-shadow: 0 2px 14px rgba(0,0,0,.55); }
.page-hero h1 { color: #fff; }
.page-hero p { color: #dcd8ca; max-width: 46em; margin-top: .6em; }
.page-hero .peaks { position: absolute; left: 0; right: 0; bottom: -2px; width: 100%; opacity: .55; }
.page-hero .wrap { position: relative; z-index: 2; }

/* Buttons */
.btn { display: inline-block; padding: .8em 1.7em; border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .98rem; transition: transform .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-gold { background: var(--gold); color: #fff; }
.btn-ghost { border: 1.5px solid rgba(255,255,255,.65); color: #fff; margin-left: .6em; }
.btn-pine { background: var(--pine); color: #fff; }

/* Sections */
section.band { padding: clamp(2.8rem, 6vw, 4.5rem) 0; }
section.band.alt { background: var(--cloud); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .16em; font-size: .78rem; font-weight: 700; display: block; margin-bottom: .8em; }

/* Cards */
.grid { display: grid; gap: 1.3rem; }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.card { background: var(--cloud); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.6rem; }
.card h3 a { text-decoration: none; }
.card .tag { display: inline-block; font-size: .72rem; letter-spacing: .08em; text-transform: uppercase; background: var(--mist); border: 1px solid var(--line); color: var(--ink-soft); border-radius: 999px; padding: .2em .9em; margin-bottom: .9em; }
.card.tour { display: flex; flex-direction: column; }
.card.tour .price { font-family: Georgia, serif; font-size: 1.6rem; color: var(--pine-deep); margin: .4em 0 .2em; }
.card.tour .price small { font-size: .85rem; color: var(--ink-soft); font-family: inherit; }
.card.tour ul { margin: .6em 0 1.2em 1.1em; color: var(--ink-soft); font-size: .95rem; }
.card.tour .btn { margin-top: auto; align-self: flex-start; }

/* Info rows */
.facts { border-left: 3px solid var(--gold); background: var(--cloud); border-radius: 0 var(--radius) var(--radius) 0; padding: 1.1rem 1.4rem; margin: 1.4rem 0; font-size: .96rem; }
.facts b { color: var(--pine-deep); }
table { border-collapse: collapse; width: 100%; margin: 1.2rem 0; font-size: .95rem; background: var(--cloud); border-radius: var(--radius); overflow: hidden; }
th, td { text-align: left; padding: .75em 1em; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--pine); color: #fff; font-weight: 600; }
tr:last-child td { border-bottom: none; }

/* Prose */
.prose { max-width: 720px; }
.prose ul, .prose ol { margin: 0 0 1.2em 1.3em; }
.prose li { margin-bottom: .45em; }
.note { font-size: .88rem; color: var(--ink-soft); font-style: italic; }

/* CTA band */
.cta { background: var(--pine-deep); color: #e8e4d8; text-align: center; padding: clamp(2.6rem, 6vw, 4rem) 0; }
.cta h2 { color: #fff; }
.cta p { max-width: 40em; margin: 0 auto 1.4em; }

/* Footer */
footer.site { background: #101d17; color: #9db3a7; font-size: .88rem; padding: 2.4rem 0; }
footer.site .wrap { display: flex; flex-wrap: wrap; gap: 1.5rem; justify-content: space-between; align-items: flex-start; }
footer.site a { color: #cfdcd4; text-decoration: none; }
footer.site a:hover { text-decoration: underline; }
footer.site nav { display: flex; gap: 1.1rem; flex-wrap: wrap; }

/* Breadcrumb-ish */
.crumb { font-size: .85rem; color: #bcd0c5; margin-bottom: 1em; }
.crumb a { color: #bcd0c5; }

@media (max-width: 640px) {
  header.site .wrap { flex-direction: column; height: auto; padding-top: .7rem; padding-bottom: .7rem; gap: .35rem; }
  nav.main { gap: .9rem; justify-content: center; }
  .btn-ghost { margin-left: 0; margin-top: .7em; }
}
