/* ===== 佳木斯海天大酒店 · 设计令牌 ===== */
:root {
  --blue-50: #f2f7fb;
  --blue-100: #e6f0f8;
  --blue-200: #cfe2f1;
  --blue-300: #aecde6;
  --blue-400: #8bb8d8;
  --blue-500: #6ea3cf;
  --blue-600: #4f86b3;
  --blue-700: #2e5a7a;
  --gold: #c4a35a;
  --gold-soft: #d9c08a;
  --ink: #1f2d3d;
  --muted: #6c7c8c;
  --line: rgba(46, 90, 122, 0.14);
  --bg: #fbfdff;
  --white: #ffffff;
  --shadow: 0 14px 40px rgba(46, 90, 122, 0.10);
  --shadow-sm: 0 6px 18px rgba(46, 90, 122, 0.08);
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "STSong", serif;
  --sans: "Noto Sans SC", -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  --radius: 14px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 700; color: var(--ink); line-height: 1.25; margin: 0 0 .5em; }
a { color: var(--blue-700); text-decoration: none; }
img { max-width: 100%; }
.en { font-family: var(--sans); color: var(--gold); letter-spacing: .14em; font-size: .72rem; text-transform: uppercase; margin: 0; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; margin-top: 38px; }

/* ===== 按钮 ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 26px; border-radius: 999px; font-size: .92rem; font-weight: 500;
  letter-spacing: .04em; cursor: pointer; border: 1px solid transparent;
  transition: all .25s ease; font-family: var(--sans); white-space: nowrap;
}
.btn-gold { background: linear-gradient(135deg, var(--gold-soft), var(--gold)); color: #2a2410; box-shadow: 0 8px 22px rgba(196,163,90,.28); }
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(196,163,90,.38); }
.btn-outline { background: transparent; border-color: var(--blue-600); color: var(--blue-700); }
.btn-outline:hover { background: var(--blue-700); color: #fff; }
.btn-lg { padding: 15px 38px; font-size: 1rem; }

/* ===== 顶部导航 ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 253, 255, 0.86);
  backdrop-filter: saturate(160%) blur(12px);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 76px; gap: 18px; }
.brand { display: flex; align-items: center; gap: 12px; line-height: 1.1; text-decoration: none; flex-shrink: 0; }
.brand-logo { height: 46px; max-width: 210px; object-fit: contain; display: block; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-cn { font-family: var(--serif); font-weight: 700; font-size: 1.32rem; color: var(--blue-700); letter-spacing: .04em; }
.brand-en { font-size: .62rem; letter-spacing: .26em; color: var(--gold); text-transform: uppercase; }
.nav-desktop { display: flex; gap: 28px; }
.nav-link { position: relative; color: var(--ink); font-size: .95rem; padding: 6px 0; font-weight: 400; }
.nav-link::after { content: ""; position: absolute; left: 0; right: 0; bottom: -2px; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: center; transition: transform .25s; }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--blue-700); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 24px; height: 2px; background: var(--blue-700); transition: .3s; }
.nav-mobile { display: none; flex-direction: column; background: var(--white); border-bottom: 1px solid var(--line); }
.nav-mobile .nav-link { padding: 14px 24px; border-top: 1px solid var(--line); }
.nav-mobile.open { display: flex; }

/* ===== Hero ===== */
.hero { position: relative; height: 88vh; min-height: 560px; overflow: hidden; background: var(--blue-100); }
.hero-track { position: relative; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; background-size: cover; background-position: center; }
.hero-slide.active { opacity: 1; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(31,45,61,.58), rgba(31,45,61,.16) 60%, transparent); }
.hero-content { position: relative; color: #fff; max-width: 640px; }
.hero-sub { color: var(--gold-soft); letter-spacing: .22em; font-size: .8rem; text-transform: uppercase; margin: 0 0 14px; }
.hero-content h1 { color: #fff; font-size: clamp(2.2rem, 5.4vw, 3.6rem); margin-bottom: .3em; text-shadow: 0 2px 18px rgba(0,0,0,.25); }
.hero-lede { font-size: 1.1rem; color: rgba(255,255,255,.92); margin-bottom: 28px; font-weight: 300; }
.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); display: flex; gap: 10px; z-index: 2; }
.hero-dots button { width: 10px; height: 10px; border-radius: 50%; border: 0; background: rgba(255,255,255,.55); cursor: pointer; padding: 0; }
.hero-dots button.active { background: var(--gold); width: 26px; border-radius: 6px; }

/* ===== 通用区块 ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--blue-50); }
.section-head { text-align: center; max-width: 760px; margin: 0 auto 46px; }
.eyebrow { color: var(--gold); letter-spacing: .28em; font-size: .76rem; text-transform: uppercase; margin: 0 0 10px; }
.section-head h2 { font-size: clamp(1.8rem, 3.6vw, 2.5rem); }
.section-desc { color: var(--muted); font-size: 1.02rem; margin: 0; }

.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.rooms-grid { grid-template-columns: repeat(3, 1fr); }

/* 媒体块 */
.media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; background: linear-gradient(135deg, var(--blue-200), var(--blue-400)); }
.media img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }

/* 客房卡片 */
.room-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.room-card:hover .media img { transform: scale(1.06); }
.room-media { aspect-ratio: 16 / 10; }
.room-body { padding: 22px 22px 24px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.room-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 10px; }
.room-head h3 { font-size: 1.26rem; margin: 0; }
.tag-hot { background: var(--gold); color: #2a2410; font-size: .68rem; padding: 3px 10px; border-radius: 999px; white-space: nowrap; letter-spacing: .05em; }
.room-spec { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 6px 14px; margin: 0; padding: 0; }
.room-spec li { font-size: .86rem; color: var(--muted); }
.room-spec li span { color: var(--blue-600); margin-right: 6px; font-weight: 500; }
.room-desc { font-size: .9rem; color: var(--muted); margin: 0; }
.room-amenities { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; }
.room-amenities li { font-size: .74rem; background: var(--blue-50); color: var(--blue-700); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; }
.room-foot { display: flex; align-items: center; justify-content: space-between; margin-top: auto; padding-top: 6px; gap: 10px; }
.room-price { font-size: .9rem; color: var(--muted); }
.room-price b { color: var(--blue-700); font-size: 1.15rem; }
.price-tiers { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px dashed var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; text-align: center; }
.price-tiers li { font-size: .78rem; color: var(--muted); display: flex; flex-direction: column; gap: 2px; }
.price-tiers li b { color: var(--blue-700); font-size: 1rem; font-weight: 500; }
.price-note { margin: 34px 0 0; font-size: .86rem; color: var(--muted); background: var(--blue-50); border: 1px solid var(--line); border-left: 3px solid var(--gold); padding: 14px 18px; border-radius: 8px; }

/* 餐饮 / 通用卡片 */
.cell-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.cell-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.cell-card:hover .media img { transform: scale(1.06); }
.cell-body { padding: 20px 22px 24px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.cell-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.cell-head h3 { font-size: 1.2rem; margin: 0; }
.cell-cat { font-size: .72rem; color: var(--blue-600); background: var(--blue-50); border: 1px solid var(--line); padding: 2px 10px; border-radius: 999px; white-space: nowrap; }
.cell-desc { color: var(--muted); font-size: .9rem; margin: 4px 0 0; }
.cell-meta { font-size: .8rem; color: var(--blue-600); margin: auto 0 0; padding-top: 8px; }

/* 设施 */
.fac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.fac-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px; text-align: center; transition: transform .3s, box-shadow .3s, border-color .3s; }
.fac-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--blue-300); }
.fac-icon { width: 58px; height: 58px; margin: 0 auto 16px; display: flex; align-items: center; justify-content: center; border-radius: 50%; background: linear-gradient(135deg, var(--blue-100), var(--blue-200)); color: var(--blue-700); }
.fac-icon svg { width: 30px; height: 30px; }
.fac-card h3 { font-size: 1.15rem; }
.fac-desc { color: var(--muted); font-size: .88rem; margin: 8px 0 0; }

/* CTA 条 */
.cta-band { background: linear-gradient(135deg, var(--blue-600), var(--blue-700)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 56px 24px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: 1.9rem; margin: 0 0 6px; }
.cta-inner p { margin: 0; color: rgba(255,255,255,.85); }

/* 须知条 */
.note-band { text-align: center; }
.note-band p { color: var(--muted); max-width: 760px; margin: 0 auto 22px; }

/* 内页头图 */
.page-hero { background: linear-gradient(135deg, var(--blue-300), var(--blue-600)); color: #fff; padding: 92px 0 64px; position: relative; overflow: hidden; }
.page-hero::after { content: ""; position: absolute; right: -10%; top: -40%; width: 50%; height: 180%; background: radial-gradient(circle, rgba(255,255,255,.25), transparent 60%); }
.page-hero .eyebrow { color: var(--gold-soft); }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.6vw, 3rem); position: relative; }
.page-hero-desc { color: rgba(255,255,255,.92); max-width: 680px; margin: 8px 0 0; position: relative; }

/* 关于 */
.about-wrap { display: grid; grid-template-columns: 1.25fr 1fr; gap: 44px; align-items: center; }
.about-text h2 { font-size: 2rem; }
.about-text p { color: var(--muted); }
.about-media { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.about-stats { list-style: none; margin: 52px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.about-stats li { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 16px; text-align: center; box-shadow: var(--shadow-sm); }
.about-stats b { display: block; font-family: var(--serif); font-size: 2rem; color: var(--blue-700); line-height: 1.1; }
.about-stats b i { font-style: normal; font-size: .9rem; color: var(--gold); margin-left: 4px; font-family: var(--sans); }
.about-stats span { color: var(--muted); font-size: .86rem; }

/* 联系 */
.contact-wrap { display: grid; grid-template-columns: 1.5fr 1fr; gap: 34px; align-items: start; }
.contact-info { background: var(--blue-50); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.contact-info h3 { margin-top: 0; }
.contact-list { display: grid; grid-template-columns: 1fr 1fr; gap: 0 30px; }
.contact-list p:first-child { margin-top: 0; }
.contact-info p { color: var(--muted); margin: 10px 0; font-size: .94rem; display: flex; gap: 6px; }
.contact-info b { flex: 0 0 52px; color: var(--blue-700); font-weight: 500; }
.contact-info .btn { margin-top: 14px; }
.qr-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; text-align: center; box-shadow: var(--shadow-sm); }
.qr-imgs { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.qr-imgs figure { margin: 0; }
.qr-imgs img { width: 100%; aspect-ratio: 1; object-fit: contain; background: #fff; border-radius: 10px; }
.qr-imgs figcaption { font-size: .8rem; color: var(--muted); margin-top: 6px; }
.qr-text { font-size: .84rem; color: var(--muted); margin: 12px 0 0; }

/* 相册 */
.gal-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gal-item { margin: 0; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); aspect-ratio: 4 / 3; background: var(--blue-100); }
.gal-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .6s ease; }
.gal-item:hover img { transform: scale(1.06); }

/* 页脚 */
.site-footer { background: var(--blue-700); color: rgba(255,255,255,.86); margin-top: 30px; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; padding: 56px 24px 40px; }
.footer-brand .brand-cn { color: #fff; }
.footer-brand .brand-en { color: var(--gold-soft); }
.footer-intro { color: rgba(255,255,255,.72); font-size: .9rem; max-width: 380px; }
.site-footer h4 { color: #fff; font-size: 1rem; margin: 0 0 14px; font-family: var(--sans); }
.site-footer p { margin: 8px 0; font-size: .9rem; }
.site-footer a { color: rgba(255,255,255,.86); }
.site-footer a:hover { color: var(--gold-soft); }
.footer-qr { width: 108px; height: 108px; object-fit: contain; background: #fff; border-radius: 8px; padding: 4px; margin-bottom: 10px; display: block; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); padding: 16px 0; font-size: .8rem; color: rgba(255,255,255,.6); }
.footer-bottom-inner { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.admin-entry { color: rgba(255,255,255,.5) !important; font-size: .78rem; }
.admin-entry:hover { color: var(--gold-soft) !important; }

/* 滚动揭示 */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; } }

/* 首页外景带 */
.exterior-band { position: relative; background-size: cover; background-position: center; padding: 110px 0; color: var(--ink); }
.exterior-inner { max-width: 760px; margin: 0 auto; text-align: center; }
.exterior-inner .eyebrow { color: var(--blue-700); }
.exterior-inner h2 { font-size: clamp(1.8rem, 3.4vw, 2.4rem); margin: 0 0 14px; }
.exterior-inner p { color: var(--ink); opacity: .84; font-size: 1.04rem; margin: 0 0 26px; }
.btn-ghost { background: rgba(255,255,255,.7); border-color: rgba(46,90,122,.4); }
.btn-ghost:hover { background: var(--blue-700); color: #fff; }

/* 图片灯箱 */
.lightbox { position: fixed; inset: 0; background: rgba(15,25,35,.9); display: none; align-items: center; justify-content: center; z-index: 200; padding: 32px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 88vh; border-radius: 10px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }

/* ===== 响应式 ===== */
@media (max-width: 1080px) {
  .nav-desktop { gap: 20px; }
  .nav-link { font-size: .9rem; }
}
@media (max-width: 980px) {
  .card-grid, .fac-grid, .rooms-grid, .gal-grid { grid-template-columns: repeat(2, 1fr); }
  .about-wrap, .contact-wrap { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .nav-toggle { display: flex; }
  .section { padding: 60px 0; }
  .card-grid, .fac-grid, .rooms-grid, .gal-grid { grid-template-columns: 1fr; }
  .contact-list { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero { height: 78vh; min-height: 480px; }
  .brand-logo { height: 38px; max-width: 160px; }
  .page-hero { padding: 70px 0 48px; }
  .about-stats { grid-template-columns: 1fr 1fr; gap: 12px; }
}
