/* ============================================================
   君悦·御庭豪华酒店  —  主样式表
   ============================================================ */

:root {
  --gold:        #c9a55c;
  --gold-light:  #e3c88b;
  --dark:        #0b0f14;
  --dark-2:      #111820;
  --dark-3:      #1a232e;
  --text:        #e8e6e1;
  --text-muted:  #9aa4b0;
  --line:        rgba(201, 165, 92, .28);
  --radius:      4px;
  --font: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", Arial, sans-serif;
  --serif: "Songti SC", "STSong", Georgia, "Times New Roman", serif;
}

/* ---------- 基础重置 ---------- */
* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.75;
  color: var(--text);
  background: var(--dark);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; border: 0; }

a { color: inherit; text-decoration: none; transition: .3s; }

ul, ol { list-style: none; }

button { font-family: inherit; cursor: pointer; border: 0; background: none; }

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- 图标（纯 CSS 绘制） ---------- */
.ico {
  display: inline-block;
  width: 15px; height: 15px;
  margin-right: 6px;
  vertical-align: -2px;
  background: currentColor;
  opacity: .85;
}
.ico--wechat { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.7 3C4.9 3 1.8 5.6 1.8 8.8c0 1.8 1 3.4 2.6 4.5l-.7 2.1 2.4-1.2c.8.2 1.6.4 2.5.4h.6a5.6 5.6 0 0 1-.2-1.5c0-3.1 3-5.6 6.7-5.6h.6C15.7 4.8 12.5 3 8.7 3zm-2.3 3a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8zm4.6 0a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8z'/%3E%3Cpath d='M22.2 13.1c0-2.7-2.6-4.9-5.8-4.9s-5.8 2.2-5.8 4.9 2.6 4.9 5.8 4.9c.7 0 1.3-.1 1.9-.3l2 1-.6-1.7c1.5-.9 2.5-2.3 2.5-3.9zm-7.7-1.5a.8.8 0 1 1 0 1.6.8.8 0 0 1 0-1.6zm3.8 0a.8.8 0 1 1 0 1.6.8.8 0 0 1 0-1.6z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M8.7 3C4.9 3 1.8 5.6 1.8 8.8c0 1.8 1 3.4 2.6 4.5l-.7 2.1 2.4-1.2c.8.2 1.6.4 2.5.4h.6a5.6 5.6 0 0 1-.2-1.5c0-3.1 3-5.6 6.7-5.6h.6C15.7 4.8 12.5 3 8.7 3zm-2.3 3a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8zm4.6 0a.9.9 0 1 1 0 1.8.9.9 0 0 1 0-1.8z'/%3E%3Cpath d='M22.2 13.1c0-2.7-2.6-4.9-5.8-4.9s-5.8 2.2-5.8 4.9 2.6 4.9 5.8 4.9c.7 0 1.3-.1 1.9-.3l2 1-.6-1.7c1.5-.9 2.5-2.3 2.5-3.9zm-7.7-1.5a.8.8 0 1 1 0 1.6.8.8 0 0 1 0-1.6zm3.8 0a.8.8 0 1 1 0 1.6.8.8 0 0 1 0-1.6z'/%3E%3C/svg%3E") center/contain no-repeat; }

.ico--qq { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c-3.3 0-5.6 2.4-5.6 5.6 0 .9-.1 1.4-.6 2.2-.9 1.4-1.9 3.2-1.9 5.2 0 1 .4 1.7 1.1 1.7.6 0 1.1-.5 1.5-1.2.5 1.2 1.3 2.1 2.3 2.6-.6.3-1 .8-1 1.4 0 .9 1.2 1.6 2.7 1.6s2.7-.7 2.7-1.6c0-.6-.4-1.1-1-1.4 1-.5 1.8-1.4 2.3-2.6.4.7.9 1.2 1.5 1.2.7 0 1.1-.7 1.1-1.7 0-2-1-3.8-1.9-5.2-.5-.8-.6-1.3-.6-2.2C17.6 4.4 15.3 2 12 2z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M12 2c-3.3 0-5.6 2.4-5.6 5.6 0 .9-.1 1.4-.6 2.2-.9 1.4-1.9 3.2-1.9 5.2 0 1 .4 1.7 1.1 1.7.6 0 1.1-.5 1.5-1.2.5 1.2 1.3 2.1 2.3 2.6-.6.3-1 .8-1 1.4 0 .9 1.2 1.6 2.7 1.6s2.7-.7 2.7-1.6c0-.6-.4-1.1-1-1.4 1-.5 1.8-1.4 2.3-2.6.4.7.9 1.2 1.5 1.2.7 0 1.1-.7 1.1-1.7 0-2-1-3.8-1.9-5.2-.5-.8-.6-1.3-.6-2.2C17.6 4.4 15.3 2 12 2z'/%3E%3C/svg%3E") center/contain no-repeat; }

.ico--phone { -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.5c-.6 0-1.3.3-1.8.8L3.3 4.8c-.9.9-1.2 2.2-.9 3.4 1.1 4.6 4.4 8.4 8.9 10.2 1.4.6 3 .7 4.3-.2l1.7-1.2c.6-.4.9-1.1.7-1.8l-.7-2.3c-.2-.6-.7-1-1.3-1.1l-2.1-.3c-.5-.1-1 .1-1.3.5l-.6.7c-1.7-.9-3.1-2.3-4-4l.7-.6c.4-.4.6-.8.5-1.3l-.3-2.1c-.1-.6-.5-1.1-1.1-1.3l-1.5-.5c-.2-.1-.5-.1-.7-.1z'/%3E%3C/svg%3E") center/contain no-repeat;
         mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6.6 2.5c-.6 0-1.3.3-1.8.8L3.3 4.8c-.9.9-1.2 2.2-.9 3.4 1.1 4.6 4.4 8.4 8.9 10.2 1.4.6 3 .7 4.3-.2l1.7-1.2c.6-.4.9-1.1.7-1.8l-.7-2.3c-.2-.6-.7-1-1.3-1.1l-2.1-.3c-.5-.1-1 .1-1.3.5l-.6.7c-1.7-.9-3.1-2.3-4-4l.7-.6c.4-.4.6-.8.5-1.3l-.3-2.1c-.1-.6-.5-1.1-1.1-1.3l-1.5-.5c-.2-.1-.5-.1-.7-.1z'/%3E%3C/svg%3E") center/contain no-repeat; }

/* ============================================================
   顶部联系条
   ============================================================ */
.topbar {
  background: var(--dark-2);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
  color: var(--text-muted);
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 42px;
}
.topbar__slogan { letter-spacing: 2px; color: var(--gold); }

.contact-list { display: flex; align-items: center; gap: 26px; }
.contact-item { display: inline-flex; align-items: center; color: var(--text-muted); }
.contact-item:hover { color: var(--gold-light); }

/* ============================================================
   头部导航
   ============================================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(11, 15, 20, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
}
.logo img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 38px; }
.nav a {
  position: relative;
  font-size: 15px;
  letter-spacing: 1px;
  color: var(--text);
  padding: 6px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 50%; bottom: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transform: translateX(-50%);
  transition: width .3s;
}
.nav a:hover { color: var(--gold-light); }
.nav a:hover::after { width: 100%; }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 24px; height: 2px;
  background: var(--gold);
  transition: .3s;
}

/* ============================================================
   首页横幅 Banner
   ============================================================ */
.banner {
  position: relative;
  height: 88vh;
  min-height: 560px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.banner__bg {
  position: absolute;
  inset: 0;
}
.banner__bg img {
  width: 100%; height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  animation: bannerZoom 18s ease-in-out infinite alternate;
}
@keyframes bannerZoom {
  from { transform: scale(1.02); }
  to   { transform: scale(1.12); }
}
.banner__mask {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, rgba(0,0,0,.25) 0%, rgba(0,0,0,.72) 100%),
    linear-gradient(to bottom, rgba(11,15,20,.85) 0%, rgba(11,15,20,.35) 45%, rgba(11,15,20,.95) 100%);
}
.banner__content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 24px;
}
.banner__sub {
  font-size: 13px;
  letter-spacing: 6px;
  color: var(--gold);
  margin-bottom: 20px;
}
.banner__title {
  font-family: var(--serif);
  font-size: 58px;
  font-weight: 500;
  letter-spacing: 4px;
  line-height: 1.25;
  margin-bottom: 18px;
  background: linear-gradient(120deg, #f3e3bd 0%, #c9a55c 45%, #f3e3bd 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.banner__desc {
  font-size: 17px;
  letter-spacing: 3px;
  color: rgba(232,230,225,.82);
  margin-bottom: 44px;
}

/* 横幅中间两个按钮 */
.banner__btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  min-width: 168px;
  padding: 15px 38px;
  font-size: 15px;
  letter-spacing: 3px;
  text-align: center;
  border-radius: var(--radius);
  transition: .35s;
}
.btn--gold {
  color: #1a1305;
  background: linear-gradient(135deg, #e3c88b, #c9a55c);
  box-shadow: 0 10px 30px rgba(201,165,92,.32);
}
.btn--gold:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(201,165,92,.5);
}
.btn--ghost {
  color: var(--gold-light);
  border: 1px solid var(--gold);
  background: rgba(201,165,92,.06);
}
.btn--ghost:hover {
  color: #1a1305;
  background: var(--gold);
  transform: translateY(-3px);
}
.btn--sm { min-width: auto; padding: 12px 32px; font-size: 14px; }

.banner__scroll {
  position: absolute;
  left: 50%; bottom: 34px;
  transform: translateX(-50%);
  width: 26px; height: 42px;
  border: 1px solid rgba(201,165,92,.55);
  border-radius: 14px;
  z-index: 2;
}
.banner__scroll span {
  position: absolute;
  left: 50%; top: 8px;
  width: 3px; height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scrollDot 1.8s infinite;
}
@keyframes scrollDot {
  0%   { opacity: 0; transform: translate(-50%, 0); }
  40%  { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 16px); }
}

/* ============================================================
   通用 Section
   ============================================================ */
.section { padding: 110px 0; }

.section__eyebrow {
  font-size: 12px;
  letter-spacing: 5px;
  color: var(--gold);
  margin-bottom: 14px;
}
.section__title {
  font-family: var(--serif);
  font-size: 38px;
  font-weight: 500;
  letter-spacing: 3px;
  line-height: 1.35;
  margin-bottom: 26px;
}
.section__title::after {
  content: "";
  display: block;
  width: 56px; height: 2px;
  margin-top: 20px;
  background: linear-gradient(90deg, var(--gold), transparent);
}

/* ============================================================
   公司简介
   ============================================================ */
.about { background: var(--dark-2); }
.about__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}
.about__p {
  color: var(--text-muted);
  margin-bottom: 18px;
}
.about__stats {
  display: flex;
  gap: 46px;
  margin: 38px 0 42px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.stat__num {
  display: block;
  font-family: var(--serif);
  font-size: 34px;
  color: var(--gold-light);
  line-height: 1.2;
}
.stat__label {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.about__media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
}
.about__media::before {
  content: "";
  position: absolute;
  inset: 14px;
  border: 1px solid var(--line);
  z-index: 2;
  pointer-events: none;
}
.about__media img {
  width: 100%;
  transition: transform .8s ease;
}
.about__media:hover img { transform: scale(1.05); }

/* ============================================================
   公司新闻
   ============================================================ */
.news { background: var(--dark); }
.news__head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 62px;
}
.news__head .section__title::after {
  margin: 20px auto 0;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}
.news__sub { color: var(--text-muted); }

.news__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}
.news-card {
  background: var(--dark-2);
  border: 1px solid rgba(255,255,255,.05);
  border-radius: var(--radius);
  overflow: hidden;
  transition: .4s;
}
.news-card:hover {
  transform: translateY(-8px);
  border-color: var(--line);
  box-shadow: 0 24px 50px rgba(0,0,0,.55);
}
.news-card__thumb {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 2;
}
.news-card__thumb img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .8s ease;
}
.news-card:hover .news-card__thumb img { transform: scale(1.08); }
.news-card__thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,15,20,.75), transparent 60%);
}
.news-card__body { padding: 26px 26px 30px; }
.news-card__date {
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--gold);
}
.news-card__title {
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.5;
  margin: 12px 0 12px;
  transition: color .3s;
}
.news-card:hover .news-card__title { color: var(--gold-light); }
.news-card__desc {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.news-card__more {
  font-size: 13px;
  letter-spacing: 1px;
  color: var(--gold);
}
.news-card__more:hover { letter-spacing: 3px; }

/* ============================================================
   页脚
   ============================================================ */
.footer {
  background: var(--dark-2);
  border-top: 1px solid var(--line);
  padding-top: 80px;
}
.footer__main {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.4fr;
  gap: 50px;
  padding-bottom: 64px;
}
.footer__col--brand img { height: 42px; width: auto; margin-bottom: 20px; }
.footer__desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.9;
}
.footer__title {
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--gold-light);
  margin-bottom: 22px;
}
.footer__links li { margin-bottom: 12px; }
.footer__links a,
.footer__contact li {
  font-size: 14px;
  color: var(--text-muted);
}
.footer__links a:hover { color: var(--gold-light); padding-left: 5px; }
.footer__contact li {
  display: flex;
  align-items: center;
  margin-bottom: 12px;
}
.footer__addr { color: var(--text-muted); }

.footer__bottom-wrap {
  border-top: 1px solid rgba(255,255,255,.06);
}
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  padding: 22px 24px;
  font-size: 13px;
  color: var(--text-muted);
}
.footer__bottom a { color: var(--text-muted); }
.footer__bottom a:hover { color: var(--gold-light); }

/* ============================================================
   响应式
   ============================================================ */
@media (max-width: 1024px) {
  .about__inner { grid-template-columns: 1fr; gap: 46px; }
  .news__grid  { grid-template-columns: repeat(2, 1fr); }
  .footer__main { grid-template-columns: 1fr 1fr; gap: 40px; }
  .banner__title { font-size: 44px; }
}

@media (max-width: 768px) {
  .topbar__inner { justify-content: center; }
  .topbar__slogan { display: none; }
  .contact-list { gap: 16px; font-size: 12px; }

  .nav-toggle { display: flex; }
  .nav {
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    gap: 0;
    background: rgba(11,15,20,.98);
    border-bottom: 1px solid var(--line);
    max-height: 0;
    overflow: hidden;
    transition: max-height .35s ease;
  }
  .nav.is-open { max-height: 400px; }
  .nav a {
    display: block;
    width: 100%;
    padding: 15px 24px;
    border-bottom: 1px solid rgba(255,255,255,.05);
  }
  .nav a::after { display: none; }

  .banner { height: 78vh; min-height: 480px; }
  .banner__title { font-size: 32px; letter-spacing: 2px; }
  .banner__desc  { font-size: 14px; letter-spacing: 1px; }
  .banner__btns  { gap: 14px; }
  .btn { min-width: 140px; padding: 13px 26px; font-size: 14px; }

  .section { padding: 70px 0; }
  .section__title { font-size: 28px; }
  .about__stats { gap: 26px; }
  .stat__num { font-size: 26px; }

  .news__grid { grid-template-columns: 1fr; }
  .footer__main { grid-template-columns: 1fr; gap: 34px; padding-bottom: 44px; }
  .footer__bottom { justify-content: center; text-align: center; }
}