/* ============================================================
   晟凯龙阙酒店 · 官网样式
   单页 / 无依赖 / 纯静态
   ============================================================ */

:root {
  --ink: #0d1826;
  --ink-2: #142333;
  --ink-3: #22364a;
  --gold: #b9975b;
  --gold-l: #d8bd88;
  --paper: #f7f5f0;
  --paper-2: #eeece5;
  --muted: #6d777d;
  --line: rgba(13, 24, 38, 0.12);
  --line-l: rgba(255, 255, 255, 0.18);

  --serif: "Songti SC", "STSong", "Source Han Serif SC", "Noto Serif SC", "SimSun", serif;
  --sans: -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", "Segoe UI", sans-serif;

  --nav-h: 78px;
  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { margin: 0; font-weight: 400; font-family: var(--serif); }
p { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

::selection { background: var(--gold); color: #fff; }

.wrap { width: min(1200px, 100% - 48px); margin-inline: auto; }

/* ---------- 媒体 ---------- */
.media { position: relative; overflow: hidden; background: #101c2a; }
.media img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.4s var(--ease);
}
.media-cap {
  position: absolute;
  z-index: 2;
  left: 16px;
  bottom: 13px;
  font-size: 9.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
}

/* ============ 导航 ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 90;
  height: var(--nav-h);
  color: #fff;
  transition: background 0.45s var(--ease), height 0.45s var(--ease),
    color 0.45s var(--ease), box-shadow 0.45s var(--ease);
}
.nav::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.16);
  transition: opacity 0.4s;
}
.nav.scrolled {
  height: 68px;
  background: rgba(247, 245, 240, 0.95);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: var(--ink);
  box-shadow: 0 1px 24px rgba(13, 24, 38, 0.08);
}
.nav.scrolled::after { opacity: 0; }

.nav-inner {
  height: 100%;
  width: min(1320px, 100% - 48px);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand { display: flex; align-items: center; gap: 12px; }
.brand-mark {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  display: grid;
  place-items: center;
  border: 1px solid currentColor;
  border-radius: 50%;
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1;
  opacity: 0.92;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-text b {
  font-family: var(--serif);
  font-size: 16.5px;
  font-weight: 400;
  letter-spacing: 0.14em;
}
.brand-text i {
  font-style: normal;
  font-size: 8.5px;
  letter-spacing: 0.2em;
  opacity: 0.6;
  margin-top: 3px;
}

.menu { display: flex; align-items: center; gap: 30px; }
.menu > a {
  position: relative;
  font-size: 13.5px;
  letter-spacing: 0.08em;
  opacity: 0.88;
  padding: 4px 0;
  transition: opacity 0.3s;
}
.menu > a:not(.nav-tel)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width 0.4s var(--ease);
}
.menu > a:hover { opacity: 1; }
.menu > a:hover::after { width: 100%; }

.nav-tel {
  margin-left: 6px;
  padding: 9px 18px !important;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 12.5px !important;
  letter-spacing: 0.06em;
  opacity: 0.95 !important;
  white-space: nowrap;
  transition: background 0.35s, color 0.35s, border-color 0.35s;
}
.nav-tel span { color: var(--gold-l); margin-right: 6px; }
.nav.scrolled .nav-tel span { color: var(--gold); }
.nav-tel:hover { background: var(--gold); border-color: var(--gold); color: #fff; }
.nav-tel:hover span { color: #fff; }

.burger { display: none; }

/* ============ 首屏 ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #0b1522;
  color: #fff;
}
.hero-media { position: absolute; inset: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 52% 42%; }
.hero-veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, rgba(7, 14, 24, 0.34) 0%, rgba(7, 14, 24, 0.04) 38%, rgba(7, 14, 24, 0.18) 66%, rgba(7, 14, 24, 0.42) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: calc(var(--nav-h) + 20px) 24px 132px;
  max-width: 800px;
  animation: heroIn 1.5s var(--ease) both;
}
@keyframes heroIn {
  from { opacity: 0; transform: translateY(26px); }
  to { opacity: 1; transform: none; }
}
.eyebrow {
  font-size: 10.5px;
  letter-spacing: 0.42em;
  text-transform: uppercase;
  color: var(--gold-l);
  margin-bottom: 26px;
}
.hero h1 {
  font-size: clamp(34px, 5.6vw, 70px);
  letter-spacing: 0.16em;
  line-height: 1.24;
  text-indent: 0.16em;
  text-shadow: 0 2px 30px rgba(0, 0, 0, 0.34);
}
.hero-sub {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(13px, 1.4vw, 16px);
  letter-spacing: 0.3em;
  color: #fff;
  text-indent: 0.3em;
  text-shadow: 0 1px 14px rgba(0, 0, 0, 0.65);
}
.hero-desc {
  margin-top: 24px;
  font-size: 13.5px;
  line-height: 2.1;
  color: rgba(255, 255, 255, 0.9);
  letter-spacing: 0.04em;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.7);
}
.hero-actions {
  margin-top: 40px;
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ---------- 按钮 ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 148px;
  padding: 14px 32px;
  font-size: 12.5px;
  letter-spacing: 0.18em;
  text-indent: 0.18em;
  border: 1px solid transparent;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.4s var(--ease);
}
.btn-gold { background: var(--gold); color: #fff; border-color: var(--gold); }
.btn-gold:hover { background: #a8874a; border-color: #a8874a; transform: translateY(-2px); }
.btn-line {
  border-color: rgba(255, 255, 255, 0.78);
  color: #fff;
  background: rgba(8, 15, 25, 0.28);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}
.btn-line:hover { background: rgba(255, 255, 255, 0.16); border-color: #fff; transform: translateY(-2px); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: var(--ink-3); border-color: var(--ink-3); transform: translateY(-2px); }

.hero-scroll {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 9px;
  font-size: 9px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.62);
}
.hero-scroll i {
  width: 1px;
  height: 42px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.6), transparent);
  animation: scrollLine 2.4s ease-in-out infinite;
  transform-origin: top;
}
@keyframes scrollLine {
  0%, 100% { transform: scaleY(0.35); opacity: 0.4; }
  50% { transform: scaleY(1); opacity: 1; }
}

/* ============ 区块通用 ============ */
.sec { padding: clamp(72px, 9vw, 132px) 0; }

.sec-tag {
  font-size: 10px;
  letter-spacing: 0.38em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 18px;
}
.sec-title {
  font-size: clamp(27px, 3.3vw, 43px);
  letter-spacing: 0.1em;
  line-height: 1.42;
}
.sec-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 40px;
  margin-bottom: clamp(40px, 5vw, 62px);
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}
.sec-note {
  font-size: 12.5px;
  line-height: 2;
  color: var(--muted);
  text-align: right;
  padding-bottom: 6px;
}
.sec-note a { color: var(--ink); border-bottom: 1px solid var(--gold); }
.sec-note a:hover { color: var(--gold); }
.body { font-size: 14px; line-height: 2.05; color: #414e57; }
.body-lg { font-size: 16px; line-height: 2; color: #33414b; }

/* ============ 关于 ============ */
.about { background: var(--paper); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.06fr;
  gap: clamp(36px, 5vw, 76px);
  align-items: center;
}
.about-media { aspect-ratio: 8 / 9; border-radius: 1px; }
.about-text .sec-title { margin-bottom: 30px; }
.about-text .body-lg { margin-bottom: 20px; }

.facts {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  border-top: 1px solid var(--line);
  padding-top: 28px;
}
.facts li { display: flex; flex-direction: column; gap: 4px; }
.facts b {
  font-family: var(--serif);
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 400;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.facts span { font-size: 11.5px; color: var(--muted); letter-spacing: 0.05em; }

/* ============ 客房 ============ */
.rooms { background: var(--paper-2); }
.rooms-grid {
  display: grid;
  grid-template-columns: 1fr 1.04fr;
  gap: clamp(32px, 4.4vw, 64px);
  align-items: center;
}
.rooms-media { aspect-ratio: 4 / 3; }
.rooms-text > .body { margin-bottom: 30px; }

.room-list { border-top: 1px solid var(--line); }
.room-list li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 17px 2px;
  border-bottom: 1px solid var(--line);
  transition: padding-left 0.35s var(--ease), background 0.35s;
}
.room-list li:hover { padding-left: 10px; background: rgba(255, 255, 255, 0.55); }
.room-list h3 { font-size: 18px; letter-spacing: 0.08em; }
.room-en {
  font-size: 9px;
  letter-spacing: 0.22em;
  color: var(--gold);
  margin-top: 5px;
  text-transform: uppercase;
}
.r-meta {
  font-size: 11.5px;
  line-height: 1.85;
  color: var(--muted);
  text-align: right;
  white-space: nowrap;
}

.rooms-foot {
  margin-top: 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.rooms-foot p { font-size: 11.5px; color: var(--muted); letter-spacing: 0.03em; }
.rooms-foot .btn { min-width: 132px; padding: 12px 26px; }

/* ============ 走廊横幅 ============ */
.banner {
  position: relative;
  height: clamp(300px, 44vw, 500px);
  overflow: hidden;
  display: grid;
  place-items: center;
  color: #fff;
}
.banner-media { position: absolute; inset: 0; }
.banner-media img { width: 100%; height: 100%; object-fit: cover; object-position: 32% 52%; }
.banner-veil {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(7, 14, 24, 0.5), rgba(7, 14, 24, 0.24) 48%, rgba(7, 14, 24, 0.42));
}
.banner-text { position: relative; z-index: 2; text-align: center; padding: 0 24px; }
.banner-line {
  font-family: var(--serif);
  font-size: clamp(19px, 2.5vw, 31px);
  letter-spacing: 0.16em;
  line-height: 1.9;
  text-indent: 0.16em;
}
.banner-text span {
  display: block;
  margin-top: 16px;
  font-size: 9px;
  letter-spacing: 0.34em;
  color: rgba(255, 255, 255, 0.6);
}

/* ============ 设施 ============ */
.facility { background: var(--paper); }
.fac-grid {
  display: grid;
  grid-template-columns: 1fr 1.12fr;
  gap: clamp(30px, 4.4vw, 60px);
  align-items: center;
}
.fac-photo { aspect-ratio: 4 / 3; }
.fac-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 30px;
}
.fac-list li { display: flex; gap: 14px; align-items: flex-start; }
.fi {
  flex: 0 0 38px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--gold);
}
.fi svg { width: 19px; height: 19px; }
.fac-list b {
  display: block;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  margin-bottom: 4px;
}
.fac-list p { font-size: 12px; line-height: 1.8; color: var(--muted); }

/* ============ 联系 ============ */
.contact { background: var(--paper-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.contact-left .sec-title { margin-bottom: 22px; }
.contact-left .body { max-width: 430px; }

.contact-list { margin-top: 38px; border-top: 1px solid var(--line); }
.contact-list li {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line);
  align-items: baseline;
}
.contact-list li span {
  font-size: 11.5px;
  letter-spacing: 0.14em;
  color: var(--muted);
}
.contact-list li a,
.contact-list li p {
  font-size: 15px;
  letter-spacing: 0.02em;
  color: var(--ink);
}
.contact-list li a {
  font-family: var(--serif);
  font-size: 18px;
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, color 0.3s;
}
.contact-list li a:hover { color: var(--gold); border-color: var(--gold); }

.guide {
  background: var(--paper);
  padding: clamp(28px, 3.4vw, 44px);
  border-top: 2px solid var(--gold);
}
.guide h3 { font-size: 19px; letter-spacing: 0.12em; margin-bottom: 22px; }
.guide-item { padding: 15px 0; border-bottom: 1px solid var(--line); }
.guide-item b {
  display: block;
  font-size: 10.5px;
  letter-spacing: 0.24em;
  color: var(--gold);
  font-weight: 400;
  margin-bottom: 6px;
}
.guide-item p { font-size: 12.5px; line-height: 1.95; color: var(--muted); }
.guide .btn { margin-top: 28px; width: 100%; }

/* ============ 页脚 ============ */
.footer { background: #0b1522; color: rgba(255, 255, 255, 0.62); padding: 54px 0 38px; }
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
  align-items: start;
}
.footer-brand { display: flex; gap: 13px; align-items: center; }
.footer-brand .brand-mark { border-color: rgba(255, 255, 255, 0.3); color: var(--gold-l); }
.footer-brand b {
  display: block;
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.14em;
  color: #fff;
}
.footer-brand p { font-size: 8.5px; letter-spacing: 0.2em; margin-top: 4px; opacity: 0.55; }

.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer-nav a { font-size: 12.5px; letter-spacing: 0.06em; transition: color 0.3s; }
.footer-nav a:hover { color: var(--gold-l); }

.footer-meta { font-size: 11.5px; line-height: 2.1; text-align: right; }
.footer-meta a { transition: color 0.3s; }
.footer-meta a:hover { color: var(--gold-l); }

/* ============ 滚动揭示 ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.95s var(--ease), transform 0.95s var(--ease);
}
.reveal.in { opacity: 1; transform: none; }

@media (max-height: 720px) {
  .hero-scroll { display: none; }
  .hero-inner { padding-bottom: 88px; }
  .hero-desc { margin-top: 18px; }
  .hero-actions { margin-top: 30px; }
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
  .hero-inner { animation: none; }
}

/* ============ 响应式 ============ */
@media (max-width: 1100px) {
  .rooms-grid { grid-template-columns: 1fr; }
  .rooms-media { aspect-ratio: 16 / 10; }
  .about-grid { grid-template-columns: 1fr 1.1fr; }
  .fac-grid { grid-template-columns: 1fr; }
  .fac-photo { aspect-ratio: 16 / 9; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-meta { grid-column: 1 / -1; text-align: left; border-top: 1px solid var(--line-l); padding-top: 20px; }
}

@media (max-width: 880px) {
  :root { --nav-h: 66px; }
  .wrap { width: calc(100% - 40px); }

  .burger {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 42px;
    height: 42px;
    padding: 0 8px;
    background: none;
    border: 0;
    cursor: pointer;
  }
  .burger span {
    display: block;
    height: 1px;
    width: 100%;
    background: currentColor;
    transition: transform 0.4s var(--ease), opacity 0.3s;
  }
  .burger.open span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
  .burger.open span:nth-child(2) { opacity: 0; }
  .burger.open span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

  .menu {
    position: fixed;
    inset: var(--nav-h) 0 auto 0;
    height: calc(100svh - var(--nav-h));
    flex-direction: column;
    justify-content: center;
    gap: 0;
    background: #0b1522;
    padding: 30px 28px 60px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), visibility 0.4s;
  }
  .menu.open { opacity: 1; visibility: visible; transform: none; }
  .menu > a {
    width: 100%;
    text-align: center;
    padding: 17px 0;
    font-family: var(--serif);
    font-size: 17px;
    letter-spacing: 0.16em;
    color: #fff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .menu > a::after { display: none; }
  .nav-tel {
    margin: 26px 0 0 !important;
    border-color: var(--gold) !important;
    color: var(--gold-l) !important;
    font-size: 13px !important;
  }

  .about-grid { grid-template-columns: 1fr; }
  .about-media { aspect-ratio: 4 / 3; order: -1; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 14px; }
  .sec-note { text-align: left; }
  .contact-grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); gap: 20px 14px; }
  .fac-list { gap: 22px; }
}

@media (max-width: 620px) {
  body { font-size: 14px; }
  .hero-scroll { display: none; }
  .hero-inner { padding-bottom: 72px; }
  .hero-desc br { display: none; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { width: 100%; }
  .fac-list { grid-template-columns: 1fr; }
  .rooms-foot { flex-direction: column; align-items: flex-start; }
  .rooms-foot .btn { width: 100%; }
  .contact-list li { grid-template-columns: 1fr; gap: 4px; }
  .footer-inner { grid-template-columns: 1fr; }
  .brand-text b { font-size: 15px; }
  .brand-text i { font-size: 7.5px; letter-spacing: 0.16em; }
  .banner { height: 320px; }
}
