/* ============================================================
   香槟玫瑰民宿 · 全站样式
   调性：香槟金 × 干玫瑰 · 法式浪漫 · 干净通透
   ============================================================ */

:root {
  --cream:      #FBF7F1;
  --cream-2:    #F5EDE2;
  --champagne:  #C9A87C;
  --champagne-d:#A8874F;
  --rose:       #B7736E;
  --rose-deep:  #9C5A56;
  --ink:        #2E2A26;
  --ink-2:      #6B625A;
  --line:       #E8DDCF;
  --white:      #FFFFFF;
  --shadow:     0 8px 30px rgba(60, 45, 30, .08);
  --radius:     14px;
  --maxw:       1120px;
  --serif: "Noto Serif SC", "Source Han Serif SC", "Songti SC", "SimSun", serif;
  --sans: "PingFang SC", "Microsoft YaHei", "Hiragino Sans GB", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--sans);
  background: var(--cream);
  color: var(--ink);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; border: none; }
input, select, textarea { font-family: inherit; font-size: 15px; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.serif { font-family: var(--serif); }

/* ---------- 顶部导航 ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251, 247, 241, .92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav-inner {
  max-width: var(--maxw); margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.brand { display: flex; align-items: baseline; gap: 10px; }
.brand-cn { font-family: var(--serif); font-size: 21px; font-weight: 700; letter-spacing: 2px; }
.brand-en { font-size: 10px; letter-spacing: 3px; color: var(--champagne-d); }
.nav-links { display: flex; gap: 26px; font-size: 15px; color: var(--ink-2); }
.nav-links a:hover { color: var(--rose-deep); }
.btn {
  display: inline-block; padding: 10px 22px; border-radius: 999px;
  background: var(--rose-deep); color: #fff; font-size: 15px; font-weight: 600;
  transition: .25s; text-align: center;
}
.btn:hover { background: var(--rose); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--rose-deep); border: 1px solid var(--rose-deep); }
.btn-ghost:hover { background: var(--rose-deep); color: #fff; }
.btn-sm { padding: 7px 16px; font-size: 13px; }

/* ---------- 首屏 ---------- */
.hero {
  position: relative; min-height: 78vh; display: flex; align-items: center;
  color: #fff; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/real/real-living.jpg') center/cover no-repeat;
}
.hero-mask {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(30,22,16,.45) 0%, rgba(30,22,16,.62) 100%);
}
.hero-inner { position: relative; z-index: 2; padding: 90px 0; }
.hero h1 {
  font-family: var(--serif); font-size: clamp(30px, 5vw, 52px);
  line-height: 1.3; font-weight: 700; letter-spacing: 2px; margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,.35);
}
.hero p.sub {
  font-size: clamp(15px, 2vw, 19px); opacity: .94; letter-spacing: 1px;
  margin-bottom: 30px; text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-tags { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 34px; }
.hero-tags span {
  background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.35);
  padding: 5px 14px; border-radius: 999px; font-size: 13px; backdrop-filter: blur(4px);
}

/* ---------- 区块通用 ---------- */
section.block { padding: 72px 0; }
.block-head { text-align: center; margin-bottom: 44px; }
.block-head .eyebrow {
  font-size: 12px; letter-spacing: 4px; color: var(--champagne-d); margin-bottom: 10px;
}
.block-head h2 {
  font-family: var(--serif); font-size: clamp(24px, 3.4vw, 34px); font-weight: 700;
  letter-spacing: 1px;
}
.block-head .dash {
  width: 46px; height: 2px; background: var(--champagne);
  margin: 16px auto 0; border-radius: 2px;
}
.block-head p.lead { color: var(--ink-2); margin-top: 14px; font-size: 15px; }

/* ---------- 卖点 ---------- */
.feat-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px;
}
.feat {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 22px; text-align: center; transition: .3s;
}
.feat:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.feat .ico { font-size: 30px; margin-bottom: 14px; }
.feat h3 { font-size: 17px; margin-bottom: 8px; font-family: var(--serif); }
.feat p { font-size: 13.5px; color: var(--ink-2); }

/* ---------- 房型 ---------- */
.room-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.room-card {
  background: var(--white); border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--line); transition: .3s; display: flex; flex-direction: column;
}
.room-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.room-img { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--cream-2); }
.room-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.room-card:hover .room-img img { transform: scale(1.05); }

/* ---------- 实拍相册 ---------- */.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.gal-grid img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 12px; box-shadow: 0 4px 16px rgba(90,50,40,.10); transition: transform .4s ease; }
.gal-grid img:hover { transform: scale(1.03); }
@media (max-width: 720px) { .gal-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; } }

/* ---------- 视频看房 ---------- */
.tour-video { display: block; width: 100%; max-width: 460px; aspect-ratio: 9/14; object-fit: cover; margin: 0 auto; border-radius: 16px; background: #000; box-shadow: 0 16px 44px rgba(90,50,40,.18); }
@media (max-width: 720px) { .tour-video { max-width: 100%; border-radius: 12px; } }
.room-price-tag {
  position: absolute; right: 14px; bottom: 14px;
  background: rgba(46,42,38,.78); color: #fff; padding: 6px 14px; border-radius: 8px;
  font-size: 14px; backdrop-filter: blur(4px);
}
.room-price-tag b { font-size: 20px; color: #F3D9A4; }
.room-body { padding: 22px 24px 24px; flex: 1; display: flex; flex-direction: column; }
.room-body h3 { font-family: var(--serif); font-size: 20px; margin-bottom: 6px; }
.room-meta { font-size: 13px; color: var(--ink-2); margin-bottom: 12px; }
.room-desc { font-size: 14px; color: var(--ink-2); margin-bottom: 14px; flex: 1; }
.room-tags { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 18px; }
.room-tags span {
  font-size: 12px; background: var(--cream-2); color: var(--champagne-d);
  padding: 3px 10px; border-radius: 999px; border: 1px solid var(--line);
}
.room-foot { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.room-foot .from { font-size: 13px; color: var(--ink-2); }
.room-foot .from b { color: var(--rose-deep); font-size: 24px; font-family: var(--serif); }

/* ---------- 预订表单 ---------- */
#book { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.book-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 44px; align-items: start; }
.book-info h2 { font-family: var(--serif); font-size: 30px; margin-bottom: 14px; }
.book-info p { color: var(--ink-2); font-size: 15px; margin-bottom: 18px; }
.book-facts { list-style: none; margin-top: 20px; }
.book-facts li {
  padding: 12px 0; border-bottom: 1px dashed var(--line);
  font-size: 14.5px; display: flex; gap: 10px;
}
.book-facts li b { min-width: 84px; color: var(--champagne-d); font-weight: 600; }
.form { display: grid; gap: 14px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { display: block; font-size: 13px; color: var(--ink-2); margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 13px; border: 1px solid var(--line); border-radius: 10px;
  background: var(--cream); color: var(--ink); outline: none; transition: .2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--champagne); background: #fff;
}
.quote-box {
  background: var(--cream-2); border: 1px dashed var(--champagne);
  border-radius: 12px; padding: 16px 18px; font-size: 14px; margin-top: 4px;
}
.quote-box .rowline { display: flex; justify-content: space-between; padding: 3px 0; }
.quote-box .total { font-size: 19px; font-weight: 700; color: var(--rose-deep); margin-top: 6px; }

/* ---------- 品牌故事 ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.story img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; }
.story h2 { font-family: var(--serif); font-size: 28px; margin-bottom: 16px; }
.story p { color: var(--ink-2); font-size: 15px; margin-bottom: 12px; }
.story .hl { color: var(--rose-deep); font-weight: 600; }

/* ---------- 周边 ---------- */
.nearby { display: grid; grid-template-columns: 1.15fr .85fr; gap: 40px; align-items: center; }
.nearby img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 3/2; object-fit: cover; }
.poi { list-style: none; }
.poi li {
  display: flex; justify-content: space-between; align-items: baseline; gap: 12px;
  padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 14.5px;
}
.poi li b { font-weight: 600; }
.poi li span { color: var(--champagne-d); font-size: 13px; white-space: nowrap; }

/* ---------- 评价 ---------- */
.rev-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.rev {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; font-size: 14px; color: var(--ink-2); position: relative;
}
.rev .stars { color: #E0A75E; letter-spacing: 2px; margin-bottom: 10px; font-size: 14px; }
.rev .who { margin-top: 14px; font-size: 13px; color: var(--champagne-d); }
.rev .who b { color: var(--ink); }
.score-band {
  display: flex; justify-content: center; gap: 40px; flex-wrap: wrap;
  margin-bottom: 36px; text-align: center;
}
.score-band .it .n { font-family: var(--serif); font-size: 34px; color: var(--rose-deep); font-weight: 700; }
.score-band .it .t { font-size: 12.5px; color: var(--ink-2); margin-top: 2px; }

/* ---------- 私域钩子 ---------- */
.hook {
  background: linear-gradient(135deg, #8E4F4B 0%, #B7736E 55%, #C9A87C 100%);
  color: #fff; text-align: center; padding: 64px 0;
}
.hook h2 { font-family: var(--serif); font-size: clamp(24px, 3.4vw, 34px); margin-bottom: 12px; }
.hook p { opacity: .93; margin-bottom: 26px; font-size: 15px; }
.hook .wechat-line {
  display: inline-flex; align-items: center; gap: 12px; background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.4); padding: 12px 26px; border-radius: 999px;
  font-size: 17px; letter-spacing: 1px; backdrop-filter: blur(4px);
}

/* ---------- 页脚 ---------- */
footer { background: #26221E; color: #B9AEA2; padding: 48px 0 28px; font-size: 13.5px; }
.foot-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 32px; margin-bottom: 30px; }
.foot-grid h4 { color: #F0E6D8; font-size: 15px; margin-bottom: 12px; font-family: var(--serif); }
.foot-grid a:hover { color: #F0E6D8; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding-top: 18px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; font-size: 12px;
}

/* ---------- 预订成功弹层 ---------- */
.modal-mask {
  position: fixed; inset: 0; background: rgba(30,25,20,.55); z-index: 100;
  display: none; align-items: center; justify-content: center; padding: 20px;
  backdrop-filter: blur(3px);
}
.modal-mask.show { display: flex; }
.modal {
  background: var(--white); border-radius: 18px; max-width: 460px; width: 100%;
  padding: 34px 30px; text-align: center; animation: pop .3s ease;
}
@keyframes pop { from { transform: scale(.94); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.modal .ok-ico { font-size: 46px; margin-bottom: 12px; }
.modal h3 { font-family: var(--serif); font-size: 23px; margin-bottom: 10px; }
.modal .code {
  font-family: monospace; font-size: 21px; letter-spacing: 2px; color: var(--rose-deep);
  background: var(--cream-2); border: 1px dashed var(--champagne);
  padding: 12px; border-radius: 10px; margin: 16px 0; user-select: all;
}
.modal p { font-size: 14px; color: var(--ink-2); margin-bottom: 8px; text-align: left; }
.modal .btn { margin-top: 16px; }

/* ---------- 响应式 ---------- */
@media (max-width: 900px) {
  .feat-grid { grid-template-columns: repeat(2, 1fr); }
  .room-grid, .book-grid, .story, .nearby { grid-template-columns: 1fr; }
  .rev-grid { grid-template-columns: 1fr; }
  .nav-links { display: none; }
  .foot-grid { grid-template-columns: 1fr; }
  .hero { min-height: 66vh; }
  section.block { padding: 52px 0; }
}
@media (max-width: 520px) {
  .feat-grid { grid-template-columns: 1fr; }
  .form .row { grid-template-columns: 1fr; }
}
