/* ============================================================
   MẾ FARMSTAY — Cao Bằng
   Cảm hứng màu: vải chàm (logo) · mái ngói âm dương · núi rừng
   · hoa đào, lê, mận
   ============================================================ */

:root {
  /* Vải chàm — màu logo, chủ đạo */
  --cham: #2e3a58;
  --cham-dark: #1f2940;
  --cham-deep: #161e30;
  --cham-soft: #55648a;
  --cham-mist: #aab3c9;

  /* Mái ngói âm dương — xám than ấm */
  --ngoi: #3b3835;
  --ngoi-soft: #6b645c;

  /* Núi rừng — xanh trầm */
  --rung: #46584a;
  --rung-soft: #8a9a8b;

  /* Hoa đào, lê, mận */
  --dao: #b97e88;          /* hồng đào trầm — điểm nhấn */
  --dao-deep: #9c5f6b;
  --dao-blush: #ecdcda;    /* phớt hồng cánh mận */
  --le: #f7f4ee;           /* trắng hoa lê — nền chính */
  --le-warm: #efe9de;      /* nền kem xen kẽ */

  --white: #ffffff;

  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Be Vietnam Pro", "Helvetica Neue", Arial, sans-serif;

  --maxw: 1180px;
  --radius: 8px;
  --shadow: 0 12px 34px rgba(31, 41, 64, 0.12);
  --shadow-soft: 0 6px 18px rgba(31, 41, 64, 0.08);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ngoi);
  background: var(--le);
  line-height: 1.75;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Section chung ---------- */
.section { padding: 96px 0; }
.section--alt { background: var(--le-warm); }
.section--cham {
  background: linear-gradient(180deg, var(--cham-dark) 0%, var(--cham) 100%);
  color: var(--le);
}
.section--blush { background: linear-gradient(180deg, var(--le) 0%, var(--dao-blush) 140%); }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 12.5px;
  letter-spacing: 3.5px;
  text-transform: uppercase;
  color: var(--dao-deep);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-eyebrow::before {
  content: "";
  width: 34px;
  height: 1.5px;
  background: var(--dao);
}
.center .section-eyebrow::after {
  content: "";
  width: 34px;
  height: 1.5px;
  background: var(--dao);
}
.section--cham .section-eyebrow { color: var(--dao-blush); }
.section--cham .section-eyebrow::before,
.section--cham .section-eyebrow::after { background: var(--dao); }

.section-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 600;
  color: var(--cham);
  line-height: 1.22;
  margin-bottom: 20px;
}
.section--cham .section-title { color: var(--le); }

.section-desc { max-width: 730px; color: var(--ngoi-soft); font-size: 16.5px; }
.section--cham .section-desc { color: var(--cham-mist); }

.center { text-align: center; }
.center .section-desc { margin-left: auto; margin-right: auto; }

/* ---------- Nút ---------- */
.btn {
  display: inline-block;
  padding: 14px 34px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  transition: all 0.28s ease;
  cursor: pointer;
  border: none;
  font-family: var(--font-body);
}
.btn--primary { background: var(--cham); color: var(--white); }
.btn--primary:hover { background: var(--cham-dark); transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn--dao { background: var(--dao-deep); color: var(--white); }
.btn--dao:hover { background: #85505b; transform: translateY(-2px); }
.btn--ghost { background: transparent; color: var(--cham); border: 1.5px solid var(--cham); }
.btn--ghost:hover { background: var(--cham); color: var(--le); }
.btn--light { background: rgba(247, 244, 238, 0.92); color: var(--cham); }
.btn--light:hover { background: var(--white); }
.btn--outline-light { background: transparent; color: var(--le); border: 1.5px solid rgba(247,244,238,0.7); }
.btn--outline-light:hover { background: var(--le); color: var(--cham); }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--cham-deep);
  color: var(--cham-mist);
  font-size: 13px;
  padding: 8px 0;
}
.topbar .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.topbar a:hover { color: var(--white); }
.topbar strong { color: var(--le); }

/* ---------- Header ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(247, 244, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(46, 58, 88, 0.12);
  transition: box-shadow 0.3s ease;
}
.header.scrolled { box-shadow: 0 4px 24px rgba(31, 41, 64, 0.1); }
.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 24px;
}

.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--cham);
  color: var(--le);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 700;
  box-shadow: inset 0 0 0 2px rgba(247,244,238,0.25);
}
.logo-img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  transform: scale(1.02);
  box-shadow: 0 2px 10px rgba(31, 41, 64, 0.18);
}
.logo-img--footer { width: 62px; height: 62px; margin-bottom: 14px; }
.logo-text { line-height: 1.15; }
.logo-text strong {
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--cham);
  display: block;
  font-weight: 700;
}
.logo-text span { font-size: 10.5px; letter-spacing: 2.5px; text-transform: uppercase; color: var(--dao-deep); }

.nav { display: flex; gap: 26px; align-items: center; }
.nav a {
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ngoi);
  position: relative;
  padding: 4px 0;
}
.nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--dao);
  transition: width 0.25s ease;
}
.nav a:hover::after { width: 100%; }

.header-cta { white-space: nowrap; padding: 11px 26px; }

.nav-toggle { display: none; background: none; border: none; font-size: 26px; color: var(--cham); cursor: pointer; }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 94vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  overflow: hidden;
  /* Ảnh nền dự phòng khi video chưa tải / không phát */
  background: url("../assets/images/hero-poster.jpg") center / cover no-repeat;
}
.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
/* Lớp phủ chàm để chữ nổi rõ trên video */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(22, 30, 48, 0.62), rgba(22, 30, 48, 0.38) 22%, rgba(22, 30, 48, 0.42) 65%, rgba(22, 30, 48, 0.6));
  z-index: 1;
}
/* Mép dưới video tan mềm vào nền kem — chuyển tiếp mượt sang phần chuyện kể */
.hero::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 64px;
  background: linear-gradient(rgba(247, 244, 238, 0), var(--le));
  z-index: 1;
  pointer-events: none;
}
.hero-inner { max-width: 860px; padding: 140px 24px; position: relative; z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .hero-video { display: none; }
}
.hero-eyebrow {
  font-size: 13px;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: var(--dao-blush);
  margin-bottom: 22px;
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(44px, 6.5vw, 82px);
  font-weight: 600;
  line-height: 1.12;
  margin-bottom: 24px;
  text-shadow: 0 2px 30px rgba(22, 30, 48, 0.4);
}
.hero p {
  font-size: clamp(16px, 2vw, 19px);
  color: #e9e4d8;
  margin-bottom: 38px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-scroll {
  position: absolute;
  z-index: 2;
  bottom: 26px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 11px;
  letter-spacing: 3px;
  color: rgba(255,255,255,0.7);
  text-transform: uppercase;
  animation: floaty 2.4s ease-in-out infinite;
}
@keyframes floaty {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

/* ---------- Ảnh ---------- */
.img-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  position: relative;
}
.img-frame img { width: 100%; height: 100%; object-fit: cover; }
.img-frame--tall { aspect-ratio: 3 / 4; }
.img-frame--wide { aspect-ratio: 16 / 10; }
.img-caption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 30px 18px 12px;
  background: linear-gradient(transparent, rgba(22,30,48,0.72));
  color: rgba(247,244,238,0.85);
  font-size: 12px;
  letter-spacing: 1px;
  text-align: right;
}

/* ---------- Câu chuyện ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 64px;
  align-items: center;
}
.story-quote {
  font-family: var(--font-display);
  font-size: 23px;
  font-style: italic;
  color: var(--dao-deep);
  border-left: 3px solid var(--dao);
  padding-left: 22px;
  margin: 28px 0;
  line-height: 1.5;
}
.story-sign {
  margin-top: 26px;
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  color: var(--cham-soft);
}

/* ---------- USP ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.usp-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 30px;
  box-shadow: var(--shadow-soft);
  border-top: 3px solid var(--cham);
  text-align: left;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.usp-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.usp-card { position: relative; overflow: hidden; }
/* Số thứ tự phóng đại mờ — điểm nhấn kiểu tạp chí */
.usp-card .usp-num {
  position: absolute;
  top: 2px;
  right: 14px;
  font-family: var(--font-display);
  font-size: 96px;
  color: var(--dao);
  opacity: 0.13;
  line-height: 1;
  font-style: italic;
  pointer-events: none;
}
.usp-card h3 { font-family: var(--font-display); font-size: 23px; color: var(--cham); margin-bottom: 10px; }
.usp-card p { font-size: 15px; color: var(--ngoi-soft); }

/* ---------- Phòng nghỉ ---------- */
.room-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.room-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
  display: flex;
  flex-direction: column;
}
.room-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.room-media { aspect-ratio: 4 / 3; overflow: hidden; position: relative; }
.room-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.room-card:hover .room-media img { transform: scale(1.06); }
.room-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(22, 30, 48, 0.78);
  color: var(--le);
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
}
.room-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.room-body h3 { font-family: var(--font-display); font-size: 24px; color: var(--cham); margin-bottom: 6px; }
.room-meta { font-size: 13px; color: var(--dao-deep); font-weight: 600; margin-bottom: 10px; letter-spacing: 0.3px; }
.room-body p { font-size: 14.5px; color: var(--ngoi-soft); margin-bottom: 18px; flex: 1; }
.room-link { font-size: 14px; font-weight: 600; color: var(--cham); }
.room-link:hover { color: var(--dao-deep); }

.capacity-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 60px; text-align: center; }
.cap {
  padding: 30px 14px;
  border: 1px solid rgba(46, 58, 88, 0.18);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.55);
}
.cap strong {
  display: block;
  font-family: var(--font-display);
  font-size: 46px;
  color: var(--cham);
  line-height: 1.1;
}
.cap span { font-size: 14px; color: var(--ngoi-soft); }

/* ---------- Bảng giá phòng ---------- */
.price-wrap { margin-top: 64px; }
.price-title {
  font-family: var(--font-display);
  font-size: 27px;
  color: var(--cham);
  margin-bottom: 18px;
  text-align: center;
}
.table-scroll {
  overflow-x: auto;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  -webkit-overflow-scrolling: touch;
}
.price-table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: var(--white);
  font-size: 14.5px;
}
.price-table th {
  background: var(--cham);
  color: var(--le);
  font-weight: 600;
  text-align: left;
  padding: 13px 16px;
  letter-spacing: 0.3px;
  white-space: nowrap;
}
.price-table td { padding: 12px 16px; border-bottom: 1px solid rgba(46, 58, 88, 0.1); vertical-align: top; }
.price-table tbody tr:nth-child(even) { background: var(--le); }
.price-table tbody tr:hover { background: var(--dao-blush); }
.price-table .pt-name { font-weight: 600; color: var(--cham); white-space: nowrap; }
.price-table .pt-price { font-weight: 600; color: var(--dao-deep); white-space: nowrap; }
.price-table .pt-note { color: var(--ngoi-soft); font-size: 13.5px; }

.price-notes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 28px;
}
.price-note-card {
  background: var(--white);
  border: 1px solid rgba(46, 58, 88, 0.12);
  border-left: 3px solid var(--dao);
  border-radius: var(--radius);
  padding: 22px 22px 18px;
}
.price-note-card h4 {
  font-family: var(--font-display);
  font-size: 19px;
  color: var(--cham);
  margin-bottom: 10px;
}
.price-note-card ul { list-style: none; }
.price-note-card li {
  font-size: 13.5px;
  color: var(--ngoi-soft);
  padding: 4px 0 4px 18px;
  position: relative;
}
.price-note-card li::before { content: "•"; position: absolute; left: 4px; color: var(--dao); }

@media (max-width: 960px) {
  .price-notes { grid-template-columns: 1fr; gap: 14px; }
}

/* ---------- Trang Hạng phòng ---------- */
.rd-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; margin-top: 52px; }
.rd-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  scroll-margin-top: 96px;
}
.rd-main { aspect-ratio: 16 / 10; overflow: hidden; position: relative; }
.rd-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.25s ease; }
.rd-tag {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(22, 30, 48, 0.78);
  color: var(--le);
  font-size: 11.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 4px;
}
.rd-thumbs { display: flex; gap: 6px; padding: 8px 8px 0; background: var(--white); }
.rd-thumbs img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 4px;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease, outline 0.2s ease;
  outline: 2px solid transparent;
  flex: 1;
  min-width: 0;
}
.rd-thumbs img:hover { opacity: 1; }
.rd-thumbs img.active { opacity: 1; outline-color: var(--dao); }
.rd-body { padding: 22px 24px 26px; flex: 1; display: flex; flex-direction: column; }
.rd-body h3 { font-family: var(--font-display); font-size: 25px; color: var(--cham); margin-bottom: 4px; }
.rd-meta { font-size: 13px; color: var(--ngoi-soft); margin-bottom: 12px; }
.rd-meta strong { color: var(--dao-deep); }
.rd-amenities { font-size: 13.5px; color: var(--ngoi-soft); margin-bottom: 16px; flex: 1; }
.rd-price {
  display: flex;
  gap: 10px;
  align-items: baseline;
  flex-wrap: wrap;
  border-top: 1px dashed rgba(46, 58, 88, 0.2);
  padding-top: 14px;
}
.rd-price .p-main { font-family: var(--font-display); font-size: 24px; font-weight: 700; color: var(--cham); }
.rd-price .p-sub { font-size: 13px; color: var(--ngoi-soft); }

.sodo-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--white);
}
.sodo-frame img { width: 100%; display: block; }
.sodo-placeholder {
  aspect-ratio: 16 / 10;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--ngoi-soft);
  font-size: 14.5px;
  background:
    linear-gradient(rgba(247,244,238,0.92), rgba(247,244,238,0.92)),
    url("../assets/images/toan-canh-me.jpg") center / cover;
  padding: 24px;
}

@media (max-width: 820px) {
  .rd-grid { grid-template-columns: 1fr; gap: 22px; }
}

/* ---------- Hệ sinh thái ---------- */
.eco-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; margin-top: 52px; }
.eco-card {
  background: rgba(247, 244, 238, 0.07);
  border: 1px solid rgba(247, 244, 238, 0.16);
  border-radius: var(--radius);
  padding: 30px 20px;
  text-align: center;
  transition: background 0.28s ease, transform 0.28s ease;
}
.eco-card:hover { background: rgba(247, 244, 238, 0.14); transform: translateY(-4px); }
.eco-card .eco-icon { font-size: 34px; margin-bottom: 14px; }
.eco-card h3 { font-family: var(--font-display); font-size: 21px; margin-bottom: 8px; color: var(--le); }
.eco-card p { font-size: 13.5px; color: var(--cham-mist); }

/* ---------- Ẩm thực ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }
.split-media-stack { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; gap: 18px; }
.split-media-stack .img-frame:first-child { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.split-media-stack .img-frame:not(:first-child) { aspect-ratio: 4 / 3; }

.dish-tags { display: flex; flex-wrap: wrap; gap: 10px; margin: 24px 0 32px; }
.dish-tags span {
  background: var(--white);
  border: 1px solid rgba(156, 95, 107, 0.35);
  color: var(--dao-deep);
  font-size: 13.5px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
}

/* ---------- Trải nghiệm ---------- */
.exp-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.exp-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
}
.exp-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.exp-card:hover img { transform: scale(1.07); }
.exp-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 60px 20px 20px;
  background: linear-gradient(transparent, rgba(22, 30, 48, 0.88));
  color: var(--white);
}
.exp-label h3 { font-family: var(--font-display); font-size: 22px; margin-bottom: 2px; }
.exp-label p { font-size: 13px; color: var(--dao-blush); }

.exp-note {
  margin-top: 36px;
  text-align: center;
  font-size: 14.5px;
  color: var(--ngoi-soft);
  background: var(--white);
  border: 1px dashed rgba(46,58,88,0.3);
  border-radius: var(--radius);
  padding: 16px 24px;
  display: inline-block;
}

/* ---------- Lịch trình ---------- */
.itinerary { position: relative; margin-top: 56px; }
.itinerary::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: linear-gradient(var(--dao), var(--cham-soft));
}
.iti-day {
  font-family: var(--font-display);
  font-size: 24px;
  color: var(--cham);
  margin: 34px 0 18px 56px;
  font-weight: 700;
}
.iti-day:first-child { margin-top: 0; }
.iti-item { position: relative; padding: 0 0 22px 56px; }
.iti-item::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 6px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--le);
  border: 3px solid var(--dao);
}
.iti-item strong { color: var(--cham); font-size: 15px; display: block; }
.iti-item p { font-size: 14.5px; color: var(--ngoi-soft); }

/* ---------- Dải ảnh non nước (parallax) ---------- */
.band {
  position: relative;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(22, 30, 48, 0.5), rgba(22, 30, 48, 0.5)),
    url("../assets/images/me-nang-nui.jpg") center / cover no-repeat fixed;
  padding: 90px 24px;
}
.band blockquote {
  font-family: var(--font-display);
  font-size: clamp(24px, 3.4vw, 38px);
  font-style: italic;
  max-width: 780px;
  line-height: 1.4;
  text-shadow: 0 2px 24px rgba(22,30,48,0.5);
}
.band cite { display: block; margin-top: 18px; font-family: var(--font-body); font-style: normal; font-size: 13px; letter-spacing: 3px; text-transform: uppercase; color: var(--dao-blush); }

/* ---------- Về nguồn ---------- */
.heritage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; margin-top: 52px; }
.heritage-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: 230px 1fr;
  transition: transform 0.28s ease;
}
.heritage-card:hover { transform: translateY(-4px); }
.heritage-media { overflow: hidden; }
.heritage-media img { width: 100%; height: 100%; object-fit: cover; }
.heritage-body { padding: 26px; }
.heritage-body .dist {
  font-size: 12px;
  font-weight: 700;
  color: var(--dao-deep);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
  display: block;
}
.heritage-body h3 { font-family: var(--font-display); font-size: 22px; color: var(--cham); margin-bottom: 8px; line-height: 1.3; }
.heritage-body p { font-size: 14px; color: var(--ngoi-soft); }

/* ---------- Bốn mùa ---------- */
.season-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 52px; }
.season-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}
.season-card .season-media { aspect-ratio: 4 / 3; overflow: hidden; }
.season-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.season-card:hover img { transform: scale(1.06); }
.season-body { padding: 20px 20px 24px; }
.season-body .season-time { font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--dao-deep); font-weight: 700; }
.season-body h3 { font-family: var(--font-display); font-size: 21px; color: var(--cham); margin: 4px 0 6px; }
.season-body p { font-size: 13.5px; color: var(--ngoi-soft); }

/* ---------- Cam kết xanh ---------- */
.green-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin-top: 48px; }
.green-card {
  background: rgba(247, 244, 238, 0.07);
  border: 1px solid rgba(247, 244, 238, 0.16);
  border-radius: var(--radius);
  padding: 34px 30px;
}
.green-card h3 {
  font-family: var(--font-display);
  font-size: 23px;
  color: var(--le);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.green-card p { font-size: 14.5px; color: var(--cham-mist); }

/* ---------- Đánh giá ---------- */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.review-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  position: relative;
}
.review-card::before {
  content: "\201C";
  position: absolute;
  top: 10px;
  right: 22px;
  font-family: var(--font-display);
  font-size: 90px;
  line-height: 1;
  color: var(--dao-blush);
}
.review-stars { color: #c9973f; font-size: 15px; letter-spacing: 2px; margin-bottom: 14px; }
.review-card blockquote { font-size: 14.5px; color: var(--ngoi-soft); font-style: italic; margin-bottom: 18px; position: relative; z-index: 1; }
.review-card cite { font-style: normal; font-size: 13.5px; font-weight: 600; color: var(--cham); }

.review-badges { display: flex; gap: 18px; justify-content: center; margin-top: 46px; flex-wrap: wrap; }
.badge {
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 28px;
  box-shadow: var(--shadow-soft);
  font-size: 14.5px;
  border-left: 3px solid var(--dao);
}
.badge strong { color: var(--cham); font-size: 18px; }

/* ---------- Đặt phòng ---------- */
.booking-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 60px; align-items: start; }
.booking-info ul { list-style: none; margin-top: 22px; }
.booking-info li {
  padding: 11px 0 11px 32px;
  position: relative;
  font-size: 15px;
  color: var(--cham-mist);
  border-bottom: 1px dashed rgba(247, 244, 238, 0.16);
}
.booking-info li::before { content: "✿"; position: absolute; left: 0; color: var(--dao); }
.booking-hotline {
  margin-top: 28px;
  background: rgba(247, 244, 238, 0.08);
  border-radius: var(--radius);
  padding: 20px 24px;
  font-size: 14.5px;
}
.booking-hotline strong { display: block; font-size: 22px; color: var(--le); font-family: var(--font-display); }

.booking-form {
  background: var(--le);
  border-radius: var(--radius);
  padding: 38px;
  color: var(--ngoi);
  box-shadow: 0 24px 60px rgba(22, 30, 48, 0.35);
}
.booking-form h3 { font-family: var(--font-display); font-size: 28px; color: var(--cham); margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--cham); letter-spacing: 0.3px; }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid rgba(46, 58, 88, 0.25);
  border-radius: 6px;
  background: var(--white);
  font-family: var(--font-body);
  font-size: 14.5px;
  color: var(--ngoi);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: 2px solid var(--dao); border-color: transparent; }
.form-checks { display: flex; flex-wrap: wrap; gap: 10px 22px; margin-bottom: 18px; }
.form-checks label { display: flex; align-items: center; gap: 7px; font-size: 14px; cursor: pointer; }
.form-checks input { accent-color: var(--dao-deep); }
.form-note { font-size: 12.5px; color: var(--ngoi-soft); margin-top: 14px; }

/* ---------- Bản đồ / liên hệ ---------- */
.map-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 48px; align-items: center; }
.contact-list { list-style: none; margin-top: 22px; }
.contact-list li { padding: 9px 0; font-size: 15px; display: flex; gap: 10px; }
.contact-list strong { color: var(--cham); min-width: 92px; }
.map-embed {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  aspect-ratio: 16 / 11;
}
.map-embed iframe { width: 100%; height: 100%; border: 0; display: block; }

/* ---------- Footer ---------- */
.footer { background: var(--cham-deep); color: var(--cham-mist); padding: 70px 0 0; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 52px; }
.footer h4 { font-family: var(--font-display); color: var(--le); font-size: 20px; margin-bottom: 18px; }
.footer ul { list-style: none; }
.footer li { margin-bottom: 10px; }
.footer a:hover { color: var(--white); }
.footer-brand .logo-mark { margin-bottom: 14px; }
.footer-brand p { max-width: 300px; line-height: 1.7; }
.footer-legal {
  border-top: 1px solid rgba(247, 244, 238, 0.1);
  padding: 20px 0;
  font-size: 12.5px;
  text-align: center;
  color: #7d879f;
}

/* ---------- Nút nổi ---------- */
.float-contact {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.float-contact a {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 700;
  box-shadow: 0 8px 22px rgba(22, 30, 48, 0.32);
  transition: transform 0.2s ease;
}
.float-contact a:hover { transform: scale(1.1); }
.float-contact .f-zalo { background: var(--cham); }
.float-contact .f-call { background: var(--dao-deep); }

/* ---------- Đoàn & sự kiện ---------- */
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 52px; }
.event-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}
.event-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.event-media { aspect-ratio: 16 / 10; overflow: hidden; }
.event-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.event-card:hover .event-media img { transform: scale(1.06); }
.event-body { padding: 26px; flex: 1; display: flex; flex-direction: column; }
.event-body h3 { font-family: var(--font-display); font-size: 23px; color: var(--cham); margin-bottom: 10px; }
.event-body p { font-size: 14.5px; color: var(--ngoi-soft); flex: 1; }
.event-body ul { list-style: none; margin-top: 12px; }
.event-body li { font-size: 13.5px; color: var(--ngoi-soft); padding: 4px 0 4px 22px; position: relative; }
.event-body li::before { content: "✓"; position: absolute; left: 0; color: var(--dao-deep); font-weight: 700; }
.event-cta {
  margin-top: 44px;
  text-align: center;
  background: var(--white);
  border: 1px solid rgba(46, 58, 88, 0.15);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow-soft);
}
.event-cta p { font-size: 15px; color: var(--ngoi-soft); margin-bottom: 16px; }
.event-cta .phone {
  font-family: var(--font-display);
  font-size: 30px;
  color: var(--cham);
  font-weight: 700;
  display: block;
  margin-bottom: 16px;
}

/* ---------- Thư viện chuyện kể ---------- */
.lib-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 52px; }
.lib-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  box-shadow: var(--shadow-soft);
  display: block;
}
.lib-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.lib-card:hover img { transform: scale(1.07); }
.lib-card-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 70px 20px 20px;
  background: linear-gradient(transparent, rgba(22, 30, 48, 0.9));
  color: var(--white);
}
.lib-card-label .lib-kind { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--dao-blush); font-weight: 700; }
.lib-card-label h3 { font-family: var(--font-display); font-size: 21px; line-height: 1.3; margin-top: 4px; }
.lib-card-label p { font-size: 12.5px; color: var(--cham-mist); margin-top: 4px; }

/* ---------- Trang Thư viện ---------- */
.page-hero {
  position: relative;
  min-height: 46vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: var(--white);
  background:
    linear-gradient(rgba(22, 30, 48, 0.55), rgba(22, 30, 48, 0.65)),
    url("../assets/images/hero-poster.jpg") center 35% / cover no-repeat;
  padding: 90px 24px 70px;
}
.page-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(34px, 5vw, 56px);
  font-weight: 600;
  margin-bottom: 14px;
}
.page-hero p { color: #e9e4d8; max-width: 640px; margin: 0 auto; }

.lib-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin: -26px auto 0;
  position: relative;
  z-index: 5;
  max-width: 900px;
  padding: 0 24px;
}
.lib-toc a {
  background: var(--white);
  border: 1px solid rgba(46, 58, 88, 0.18);
  color: var(--cham);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 18px;
  border-radius: 999px;
  box-shadow: var(--shadow-soft);
  transition: all 0.2s ease;
}
.lib-toc a:hover { background: var(--cham); color: var(--le); }

.story-article { padding: 72px 0; }
.story-article:nth-child(even) { background: var(--le-warm); }
.story-article .container {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 52px;
  align-items: start;
}
.story-article.flip .container { grid-template-columns: 1fr 340px; }
.story-article.flip .story-media { order: 2; }
.story-media { position: sticky; top: 110px; }
.story-media .img-frame { aspect-ratio: 3 / 4; }
.story-kind {
  font-size: 12px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--dao-deep);
  font-weight: 700;
  display: block;
  margin-bottom: 10px;
}
.story-body h2 {
  font-family: var(--font-display);
  font-size: clamp(26px, 3vw, 36px);
  color: var(--cham);
  line-height: 1.25;
  margin-bottom: 18px;
}
.story-body h3 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--dao-deep);
  margin: 26px 0 10px;
}
.story-body p { color: var(--ngoi-soft); margin-bottom: 14px; font-size: 15.5px; }
.story-poem {
  background: var(--white);
  border-left: 3px solid var(--dao);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 24px 28px;
  margin: 22px 0 26px;
  box-shadow: var(--shadow-soft);
}
.story-poem p {
  font-family: var(--font-display);
  font-size: 19px;
  font-style: italic;
  color: var(--cham);
  line-height: 1.7;
  margin: 0;
}
.story-poem cite {
  display: block;
  margin-top: 12px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 12.5px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--dao-deep);
}
.story-fact {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 22px 0;
}
.story-fact div {
  background: var(--white);
  border: 1px solid rgba(46, 58, 88, 0.14);
  border-radius: var(--radius);
  padding: 14px 16px;
  text-align: center;
}
.story-fact strong {
  display: block;
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--cham);
  line-height: 1.2;
}
.story-fact span { font-size: 12.5px; color: var(--ngoi-soft); }
@media (max-width: 560px) { .story-fact { grid-template-columns: 1fr; } }

.story-body .drop::first-letter {
  font-family: var(--font-display);
  font-size: 52px;
  line-height: 0.9;
  color: var(--cham);
  float: left;
  padding: 6px 10px 0 0;
}

/* ---------- Hiệu ứng xuất hiện ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ---------- Cân chữ & neo cuộn ---------- */
/* Tiêu đề tự cân số chữ mỗi dòng; đoạn văn tránh chữ mồ côi cuối dòng */
.section-title, .hero h1, .page-hero h1, .story-body h2, .story-body h3,
.usp-card h3, .room-body h3, .event-body h3, .eco-card h3, .season-body h3,
.heritage-body h3, .exp-label h3, .lib-card-label h3, .band blockquote { text-wrap: balance; }
.section-desc, .story-body p, .review-card blockquote,
.usp-card p, .room-body p, .event-body p { text-wrap: pretty; }

/* Bấm menu nhảy tới section không bị header che mất tiêu đề */
section[id], article[id] { scroll-margin-top: 92px; }

/* Hàng nút dùng chung — tự xuống dòng đẹp trên mobile */
.cta-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; align-items: center; }
.cta-row--left { justify-content: flex-start; }

/* ---------- Responsive ---------- */
/* Tablet ngang / màn hẹp: menu gọn lại để không gãy dòng */
@media (max-width: 1220px) {
  .nav { gap: 16px; }
  .nav a { font-size: 13.5px; white-space: nowrap; }
  .header-cta { padding: 10px 20px; font-size: 14px; }
}

/* Tablet dọc & mobile ngang */
@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset: 76px 0 auto 0;
    background: var(--le);
    flex-direction: column;
    padding: 26px;
    gap: 18px;
    border-bottom: 1px solid rgba(46, 58, 88, 0.15);
    box-shadow: 0 20px 40px rgba(22,30,48,0.12);
    display: none;
  }
  .nav a { font-size: 15px; }
  .nav.open { display: flex; }
  .nav-toggle { display: block; }
  .header-cta { display: none; }

  .section { padding: 72px 0; }
  .story-grid, .split, .booking-grid, .map-grid, .green-grid { grid-template-columns: 1fr; gap: 36px; }
  /* Card lớn xếp 2 cột trên tablet thay vì 1 cột dài lê thê */
  .usp-grid, .room-grid, .review-grid, .event-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .exp-grid, .eco-grid, .season-grid, .lib-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .story-article .container, .story-article.flip .container { grid-template-columns: 1fr; gap: 28px; }
  .story-article.flip .story-media { order: 0; }
  .story-media { position: static; }
  .story-media .img-frame { aspect-ratio: 16 / 9; }
  .heritage-grid { grid-template-columns: 1fr; gap: 20px; }
  .heritage-card { grid-template-columns: 1fr; }
  .heritage-media { aspect-ratio: 16 / 8; }
  /* Dải số liệu giữ 3 cột cho cân, chỉ thu chữ nhỏ lại */
  .capacity-strip { grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 44px; }
  .cap { padding: 20px 10px; }
  .cap strong { font-size: 32px; }
  .cap span { font-size: 12.5px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .band { background-attachment: scroll; min-height: 340px; }
  .story-quote { font-size: 20px; }
}

/* Điện thoại lớn: card về 1 cột */
@media (max-width: 680px) {
  .usp-grid, .room-grid, .review-grid, .event-grid { grid-template-columns: 1fr; }
}

/* Điện thoại */
@media (max-width: 560px) {
  body { font-size: 15.5px; line-height: 1.7; }
  .section { padding: 56px 0; }
  .container { padding: 0 20px; }
  .section-eyebrow { font-size: 11.5px; letter-spacing: 2.5px; }
  .section-eyebrow::before, .center .section-eyebrow::after { width: 24px; }

  /* Topbar chỉ giữ hotline, căn giữa */
  .topbar-address { display: none; }
  .topbar .container { justify-content: center; }

  /* Hero gọn lại, nút xếp dọc đều nhau */
  .hero { min-height: 86vh; }
  .hero-inner { padding: 104px 20px 88px; }
  .hero p { margin-bottom: 30px; }
  .hero-actions { flex-direction: column; align-items: center; gap: 12px; }
  .hero-actions .btn { width: 100%; max-width: 300px; }

  /* Lưới ảnh: 1 cột nhưng hạ chiều cao card cho đỡ choán màn */
  .eco-grid, .exp-grid, .season-grid, .lib-grid, .footer-grid { grid-template-columns: 1fr; }
  .exp-card, .lib-card { aspect-ratio: 16 / 10; }
  .exp-label, .lib-card-label { padding: 44px 18px 16px; }

  /* Dải số liệu: 3 cột compact */
  .cap { padding: 14px 6px; border-radius: 6px; }
  .cap strong { font-size: 23px; }
  .cap span { font-size: 11px; line-height: 1.35; display: block; }

  .story-quote { font-size: 18px; padding-left: 16px; }
  .story-sign { font-size: 17px; }
  .dish-tags span { font-size: 12.5px; padding: 6px 12px; }
  .exp-note { font-size: 13.5px; padding: 14px 18px; }

  /* Lịch trình: thu lề timeline */
  .itinerary::before { left: 14px; }
  .iti-day { margin-left: 44px; }
  .iti-item { padding-left: 44px; }

  .band { min-height: 300px; padding: 64px 20px; }
  .page-hero { min-height: 40vh; padding: 70px 20px 56px; }
  .story-article { padding: 52px 0; }
  .story-body .drop::first-letter { font-size: 42px; }
  .story-fact div { padding: 12px 14px; }

  .review-card { padding: 26px 22px; }
  .booking-form { padding: 26px 18px; }
  .booking-form h3 { font-size: 24px; }
  .footer { padding-top: 52px; }
  .footer-grid { gap: 28px; padding-bottom: 40px; }

  /* Nút nổi nhỏ gọn, không che nội dung */
  .float-contact { right: 14px; bottom: 14px; gap: 8px; }
  .float-contact a { width: 46px; height: 46px; font-size: 10.5px; }
}

/* ============================================================
   NÂNG CẤP "CHUẨN 10K": vũ đạo chuyển động · icon · thổ cẩm
   ============================================================ */

/* ---------- Hero: chữ trượt lên từng dòng khi mở trang ---------- */
.hero-inner > * {
  opacity: 0;
  transform: translateY(28px);
  animation: hero-in 0.9s cubic-bezier(0.2, 0.7, 0.2, 1) forwards;
}
.hero-inner > *:nth-child(1) { animation-delay: 0.15s; }
.hero-inner > *:nth-child(2) { animation-delay: 0.32s; }
.hero-inner > *:nth-child(3) { animation-delay: 0.5s; }
.hero-inner > *:nth-child(4) { animation-delay: 0.68s; }
@keyframes hero-in { to { opacity: 1; transform: none; } }

/* Video hero: zoom hít thở rất chậm */
.hero-video { animation: hero-breathe 22s ease-in-out infinite alternate; }
@keyframes hero-breathe { from { transform: scale(1); } to { transform: scale(1.06); } }

/* ---------- Parallax nhẹ cho ảnh (JS điều khiển) ---------- */
.parallax img { will-change: transform; transform: scale(1.08); }

/* ---------- Nút: vệt sáng lướt qua khi hover ---------- */
.btn { position: relative; overflow: hidden; }
.btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: skewX(-20deg);
  transition: left 0.55s ease;
  pointer-events: none;
}
.btn:hover::after { left: 130%; }

/* ---------- Icon SVG nét mảnh ---------- */
.eco-icon svg { width: 38px; height: 38px; stroke: #d9b98c; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.green-card h3 svg { width: 26px; height: 26px; stroke: #d9b98c; fill: none; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; flex-shrink: 0; }
.ti { width: 13px; height: 13px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -2px; margin-right: 5px; }
.topbar span { display: inline-flex; align-items: center; }
.event-cta .phone svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; vertical-align: -3px; margin-right: 8px; }

/* ---------- Hoạ tiết thổ cẩm ---------- */
.brocade-divider {
  width: min(280px, 65%);
  height: 12px;
  margin: 4px auto 22px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12' viewBox='0 0 36 12'%3E%3Cpath d='M8 1l5 5-5 5-5-5z' fill='none' stroke='%23b97e88' stroke-width='1.2'/%3E%3Cpath d='M26 3.5L28.5 6 26 8.5 23.5 6z' fill='%239c5f6b'/%3E%3C/svg%3E") repeat-x center;
}
.page-hero .brocade-divider { margin: 14px auto 16px; opacity: 0.95; }
.brocade-strip {
  height: 12px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='36' height='12' viewBox='0 0 36 12'%3E%3Cpath d='M8 1l5 5-5 5-5-5z' fill='none' stroke='%23b97e88' stroke-width='1.2'/%3E%3Cpath d='M26 3.5L28.5 6 26 8.5 23.5 6z' fill='%239c5f6b'/%3E%3C/svg%3E") repeat-x center;
  opacity: 0.55;
  margin: 0 auto 26px;
  max-width: var(--maxw);
}

/* ---------- Chuyện của Mế: hơi thở tạp chí ---------- */
#cau-chuyen .section-desc:first-of-type::first-letter {
  font-family: var(--font-display);
  font-size: 54px;
  line-height: 0.85;
  color: var(--cham);
  float: left;
  padding: 6px 10px 0 0;
}
@media (min-width: 961px) {
  #cau-chuyen .img-frame--tall { margin-bottom: -110px; position: relative; z-index: 5; }
  #cau-chuyen + .section { padding-top: 170px; }
}

/* ---------- Thanh đặt phòng dính đáy trên mobile ---------- */
.mobile-cta { display: none; }
@media (max-width: 680px) {
  .mobile-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 95;
    box-shadow: 0 -6px 24px rgba(22, 30, 48, 0.18);
  }
  .mobile-cta a {
    flex: 1;
    text-align: center;
    padding: 15px 10px calc(15px + env(safe-area-inset-bottom, 0px));
    font-weight: 700;
    font-size: 15px;
    letter-spacing: 0.3px;
  }
  .mobile-cta .mc-book { background: var(--dao-deep); color: var(--white); }
  .mobile-cta .mc-call { background: var(--cham); color: var(--le); }
  body { padding-bottom: 54px; }
  .float-contact { display: none; }
}

/* ---------- Craft: selection, focus, scrollbar ---------- */
::selection { background: var(--cham); color: var(--le); }
:focus-visible { outline: 2px solid var(--dao-deep); outline-offset: 3px; border-radius: 3px; }
::-webkit-scrollbar { width: 11px; }
::-webkit-scrollbar-track { background: var(--le-warm); }
::-webkit-scrollbar-thumb { background: var(--cham-soft); border-radius: 6px; border: 2px solid var(--le-warm); }
::-webkit-scrollbar-thumb:hover { background: var(--cham); }

/* ---------- Giảm chuyển động: tắt toàn bộ hiệu ứng trang trí ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-inner > * { animation: none; opacity: 1; transform: none; }
  .hero-video { animation: none; }
  .parallax img { transform: none; will-change: auto; }
  .btn::after { display: none; }
}

/* ---------- Vì sao chọn Mế (gộp) ---------- */
.eco-sub { margin: 56px auto 0 !important; }
.section--cham .usp-card h3 { color: var(--cham); }

/* ---------- Về nguồn: lịch trình + cột phụ ---------- */
.vn-plan {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 56px;
  margin-top: 64px;
  align-items: start;
}
.vn-heading {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--cham);
  margin-bottom: 22px;
}
.vn-side .img-frame { aspect-ratio: 4 / 3; margin-bottom: 20px; }
.vn-side p { color: var(--ngoi-soft); font-size: 15px; margin-bottom: 20px; }
@media (max-width: 960px) {
  .vn-plan { grid-template-columns: 1fr; gap: 36px; margin-top: 44px; }
}

/* ---------- FAQ ---------- */
.faq-list { max-width: 820px; margin: 44px auto 0; }
.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  margin-bottom: 12px;
  padding: 0 24px;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 15.5px;
  color: var(--cham);
  padding: 18px 34px 18px 0;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--dao-deep);
  transition: transform 0.25s ease;
}
.faq-item[open] summary::after { transform: translateY(-50%) rotate(45deg); }
.faq-item p { padding: 0 0 20px; color: var(--ngoi-soft); font-size: 14.5px; }

/* ============================================================
   HEADER PHƯƠNG ÁN C — một dòng tinh gọn, chữ hoa giãn cách
   ============================================================ */
.header .container {
  height: 74px;
  flex-wrap: nowrap;
  transition: height 0.3s ease;
}
.header.scrolled .container { height: 62px; }

.nav { gap: clamp(14px, 1.8vw, 26px); flex-wrap: nowrap; }
.nav a {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.7px;
  text-transform: uppercase;
  white-space: nowrap;
  color: var(--ngoi);
  padding: 5px 0;
}
.nav a.active { color: var(--cham); }
.nav a.active::after { width: 100%; }
.nav-sub { display: none; }

.header-right { display: flex; align-items: center; gap: 18px; flex-shrink: 0; }
.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--dao-deep);
  white-space: nowrap;
  border-left: 1px solid rgba(46, 58, 88, 0.18);
  padding-left: 18px;
}
.header-phone .ti { width: 14px; height: 14px; }
.header-phone:hover { color: var(--cham); }
.header-cta {
  font-size: 12px;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  padding: 11px 22px;
  white-space: nowrap;
}

/* Neo cuộn theo header mới (không còn topbar) */
section[id], article[id] { scroll-margin-top: 78px; }

/* Nấc 1: màn hẹp vừa — ẩn số điện thoại, giữ đủ 6 mục menu */
@media (max-width: 1150px) {
  .header-phone { display: none; }
  .nav { gap: clamp(12px, 1.6vw, 20px); }
  .nav a { font-size: 11.5px; letter-spacing: 1.4px; }
}
/* Nấc 2: tablet dọc & mobile — menu gập, hiện đủ mục phụ + hotline */
@media (max-width: 960px) {
  .nav { inset: 74px 0 auto 0; }
  .header.scrolled ~ * .nav, .nav { transition: none; }
  .nav a { font-size: 13px; letter-spacing: 1.8px; }
  .nav-sub { display: block; }
  .nav-hotline { color: var(--dao-deep); border-top: 1px dashed rgba(46, 58, 88, 0.2); padding-top: 16px; }
}

/* Tinh chỉnh khít: bảo đảm 1 dòng ở mọi bề rộng ≥ 960px */
.logo-img { width: 44px; height: 44px; }
.logo-text strong { font-size: 20px; }
.logo-text span { font-size: 9.5px; letter-spacing: 2px; }
.nav { gap: clamp(12px, 1.5vw, 20px); }
.nav a { font-size: 11px; letter-spacing: 1.3px; }
.header-right { gap: 14px; }
.header-phone { font-size: 13px; padding-left: 14px; gap: 6px; }
.header-cta { font-size: 11px; letter-spacing: 1.2px; padding: 10px 18px; }

/* ---------- Chuyển ngữ VI | EN ---------- */
.lang-switch {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1px;
  white-space: nowrap;
}
.lang-switch .active { color: var(--cham); border-bottom: 1.5px solid var(--dao); padding-bottom: 1px; }
.lang-switch a { color: var(--ngoi-soft); padding-bottom: 1px; }
.lang-switch a:hover { color: var(--cham); }
.lang-switch a::before { content: "|"; color: rgba(46, 58, 88, 0.25); margin-right: 7px; font-weight: 400; }

/* ---------- Thẻ làng nghề "sắp ra mắt" ---------- */
.craft-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.craft-card {
  position: relative;
  background: var(--white);
  border: 1px solid rgba(46, 58, 88, 0.14);
  border-top: 3px solid var(--cham);
  border-radius: var(--radius);
  padding: 26px 22px 22px;
}
.craft-soon {
  position: absolute;
  top: -11px;
  right: 14px;
  background: var(--dao-deep);
  color: var(--white);
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 999px;
}
.craft-card h3 {
  font-family: var(--font-display);
  font-size: 21px;
  color: var(--cham);
  margin-bottom: 8px;
}
.craft-card p { font-size: 13.5px; color: var(--ngoi-soft); }
@media (max-width: 960px) { .craft-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; } }
@media (max-width: 560px) { .craft-grid { grid-template-columns: 1fr; } }

/* ---------- Bếp của Mế: chàm đảo chiều — nối liền mạch với "Vì sao chọn Mế" ---------- */
.section--bep {
  background: linear-gradient(180deg, var(--cham) 0%, var(--cham-dark) 100%);
  color: var(--le);
}
.section--bep .section-eyebrow { color: var(--dao-blush); }
.section--bep .section-eyebrow::before { background: var(--dao); }
.section--bep .section-title { color: var(--le); }
.section--bep .section-desc { color: var(--cham-mist); }
.section--bep .dish-tags span {
  background: rgba(247, 244, 238, 0.07);
  border-color: rgba(185, 126, 136, 0.5);
  color: var(--dao-blush);
}
.section--bep .img-frame { box-shadow: 0 18px 44px rgba(15, 20, 33, 0.5); }


/* ---------- Cam kết trên nền sáng ---------- */
.camket-light .green-card {
  background: var(--white);
  border: 1px solid rgba(46, 58, 88, 0.14);
  border-left: 3px solid var(--rung);
}
.camket-light .green-card h3 { color: var(--cham); }
.camket-light .green-card h3 svg { stroke: var(--rung); }
.camket-light .green-card p { color: var(--ngoi-soft); }

/* ---------- Khoảnh khắc đáng nhớ — tường ảnh ô to nhỏ đan xen ---------- */
.mo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 205px;
  gap: 14px;
  margin-top: 52px;
}
.mo-tile {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.mo-tile--lon { grid-column: span 2; grid-row: span 2; }
.mo-tile--rong { grid-column: span 2; }
.mo-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s ease;
}
.mo-tile:hover img { transform: scale(1.06); }
.mo-tile::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(22, 30, 48, 0) 52%, rgba(22, 30, 48, 0.78));
  pointer-events: none;
}
.mo-label { position: absolute; left: 18px; right: 18px; bottom: 14px; z-index: 1; color: var(--le); }
.mo-label span {
  font-size: 10.5px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--dao-blush);
  font-weight: 600;
}
.mo-label h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.25;
  margin-top: 2px;
  text-wrap: balance;
}
.mo-tile--lon .mo-label h3 { font-size: 26px; }
@media (max-width: 900px) {
  .mo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 165px; gap: 10px; }
  .mo-label { left: 12px; right: 12px; bottom: 10px; }
  .mo-label h3 { font-size: 16px; }
  .mo-tile--lon .mo-label h3 { font-size: 20px; }
  .mo-grid { grid-auto-flow: dense; }
  .mo-tile--full-sm { grid-column: span 2; }
}

/* Ô trích lời khách — lặng lẽ, chữ trần viền mảnh, hoà cùng ảnh */
.mo-quote {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 22px;
  background: transparent;
  border: 1px solid rgba(46, 58, 88, 0.14);
  box-shadow: none;
}
.mo-quote::after { display: none; }
.mo-quote blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 19px;
  line-height: 1.55;
  color: var(--cham);
  text-wrap: balance;
}
.mo-tile--rong.mo-quote blockquote { font-size: 22px; }
.mo-quote cite {
  font-style: normal;
  font-size: 11.5px;
  letter-spacing: 0.8px;
  color: var(--ngoi-soft);
}

/* ---------- Hero: tinh chỉnh typography sang trọng ---------- */
.hero-eyebrow {
  font-size: 11.5px;
  letter-spacing: 6px;
  font-weight: 500;
  color: #d9b98c;
  margin-bottom: 28px;
}
.hero h1 {
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: 0.5px;
  margin-bottom: 26px;
}
.hero-inner p {
  font-size: clamp(14.5px, 1.5vw, 16.5px);
  line-height: 1.95;
  letter-spacing: 0.3px;
  color: #ddd6c8;
  max-width: 640px;
  margin-bottom: 40px;
  text-wrap: balance;
}
@media (max-width: 680px) {
  .hero-eyebrow { font-size: 10px; letter-spacing: 4px; }
}

/* ---------- Sống chậm — phần kết của Không gian di sản ---------- */
.merge-exp {
  margin-top: 88px;
  padding-top: 68px;
  border-top: 1px solid rgba(46, 58, 88, 0.09);
  scroll-margin-top: 78px;
}
.merge-sub {
  font-family: var(--font-display);
  font-size: clamp(24px, 2.6vw, 32px);
  color: var(--cham);
  margin-bottom: 14px;
  text-wrap: balance;
}
@media (max-width: 680px) {
  .merge-exp { margin-top: 56px; padding-top: 44px; }
}

/* ---------- Danh sách đoàn trong cột Về nguồn ---------- */
.vn-list { list-style: none; margin-bottom: 20px; }
.vn-list li {
  font-size: 14px;
  color: var(--ngoi-soft);
  padding: 6px 0 6px 22px;
  position: relative;
}
.vn-list li::before { content: "✓"; position: absolute; left: 0; color: var(--dao-deep); font-weight: 700; }
.vn-side .vn-heading { margin: 20px 0 12px; }
#doan-su-kien { scroll-margin-top: 78px; }


/* ---------- Di sản: ba hơi văn thay thẻ liệt kê ---------- */
.disan-lines { max-width: 800px; margin: 44px auto 0; }
.disan-lines p {
  font-size: 17px;
  line-height: 1.85;
  color: var(--ngoi-soft);
  padding: 18px 0;
  text-wrap: pretty;
}
.disan-lines p + p { border-top: 1px solid rgba(46, 58, 88, 0.08); }
.disan-lines strong {
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--cham);
  margin-right: 4px;
}
/* Câu kết bốn mùa ngân liền từ chương di sản */
#bao-tang-song { padding-bottom: 44px; }
@media (max-width: 680px) {
  .disan-lines p { font-size: 15.5px; padding: 14px 0; }
  .disan-lines strong { font-size: 19px; }
}

/* ---------- Di sản: trang sách có tranh (split chữ tựa ảnh) ---------- */
.disan-split {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(32px, 4.5vw, 68px);
  align-items: stretch;
  margin-top: 48px;
}
.disan-media { height: 100%; min-height: 380px; }
.disan-split .disan-lines { max-width: none; margin: 0; }
.disan-split .disan-lines p:first-child { padding-top: 0; }
.disan-craft-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 26px 0 12px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--dao-deep);
}
.craft-soon-inline {
  background: var(--dao-deep);
  color: var(--white);
  font-size: 10px;
  letter-spacing: 1px;
  padding: 3px 10px;
  border-radius: 999px;
}
.disan-body .dish-tags { margin: 0 0 22px; }

@media (max-width: 900px) {
  .disan-split { grid-template-columns: 1fr; gap: 26px; }
  .disan-media { aspect-ratio: 16 / 10; }
}
/* Mobile: 4 ảnh trải nghiệm xếp 2×2 thay vì tháp 1 cột */
@media (max-width: 560px) {
  .exp-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .exp-card { aspect-ratio: 4 / 3.4; }
  .exp-label { padding: 28px 12px 10px; }
  .exp-label h3 { font-size: 14.5px; }
  .exp-label p { font-size: 11px; }
}


/* Dòng tin cậy — một hơi chữ khẽ dưới tường khoảnh khắc */
.trust-line {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: baseline;
  gap: 8px 16px;
  margin-top: 44px;
  font-size: 13px;
  color: var(--ngoi-soft);
}
.trust-line span { white-space: nowrap; }
.trust-line strong {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  color: var(--cham);
  margin-right: 4px;
}
.trust-line i { font-style: normal; color: var(--dao); }
@media (max-width: 680px) {
  .trust-line { gap: 6px 12px; font-size: 12px; }
  .trust-line strong { font-size: 16px; }
}

/* Ô bảng điểm — rating dàn cùng tường ảnh */
.mo-rating { align-items: stretch; text-align: left; }
.mo-rating ul { list-style: none; display: flex; flex-direction: column; gap: 9px; margin: 0; }
.mo-rating li {
  display: grid;
  grid-template-columns: 92px 1fr;
  gap: 10px;
  align-items: baseline;
  font-size: 12.5px;
  color: var(--ngoi-soft);
}
.mo-rating li strong {
  font-family: var(--font-display);
  font-size: 19px;
  white-space: nowrap;
  font-weight: 600;
  color: var(--cham);
  text-align: right;
}

@media (max-width: 900px) {
  .mo-rating { grid-column: span 2; }
  .mo-rating ul { flex-direction: row; flex-wrap: wrap; align-content: center; justify-content: center; gap: 16px 0; }
  .mo-rating li { flex: 0 0 50%; grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 3px; }
  .mo-rating li strong { text-align: center; }
}

/* ---------- Header kiểu Avana: logo trái — menu giữa — thao tác phải ---------- */
.header .container {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}
.logo { justify-self: start; }
.nav { justify-self: center; }
.header-right { justify-self: end; }
@media (max-width: 960px) {
  .header .container { display: flex; justify-content: space-between; }
}

/* Header trong suốt trên video hero, cuộn xuống mới đổ nền kem (chuyển tiếp Avana) */
.header {
  transition: background 0.45s ease, border-color 0.45s ease, box-shadow 0.3s ease;
}
.header--clear {
  background: transparent;
  border-bottom-color: transparent;
  backdrop-filter: none;
  box-shadow: none;
}
.header--clear .nav a,
.header--clear .logo-text strong,
.header--clear .nav-toggle { color: var(--le); }
.header--clear .nav a { text-shadow: 0 1px 12px rgba(22, 30, 48, 0.35); }
.header--clear .logo-text span { color: var(--dao-blush); }
.header--clear .nav a::after { background: var(--dao-blush); }
.header--clear .header-phone { color: var(--le); border-left-color: rgba(247, 244, 238, 0.3); }
.header--clear .lang-switch .active { color: var(--le); border-bottom-color: var(--dao-blush); }
.header--clear .lang-switch a { color: rgba(247, 244, 238, 0.6); }
.header--clear .lang-switch a::before { color: rgba(247, 244, 238, 0.3); }
.header--clear .header-cta {
  background: rgba(247, 244, 238, 0.12);
  border-color: rgba(247, 244, 238, 0.55);
  color: var(--le);
}
.header--clear .header-cta:hover { background: rgba(247, 244, 238, 0.24); }

/* Hero chui xuống dưới header trong suốt */
.hero { margin-top: -74px; min-height: calc(94vh + 74px); }

/* Ba dòng chữ hero hiện lần lượt (dùng translate riêng, nhường transform cho di chuột) */
@keyframes hero-len {
  from { opacity: 0; translate: 0 30px; }
  to { opacity: 1; translate: 0 0; }
}
.hero-eyebrow, .hero h1, .hero-inner > p:last-child {
  opacity: 0;
  animation: hero-len 1.15s cubic-bezier(0.22, 0.7, 0.3, 1) forwards;
  will-change: transform, opacity;
}
.hero-eyebrow { animation-delay: 0.3s; }
.hero h1 { animation-delay: 0.55s; }
.hero-inner > p:last-child { animation-delay: 0.85s; margin-bottom: 0; }
@media (prefers-reduced-motion: reduce) {
  .hero-eyebrow, .hero h1, .hero-inner > p:last-child { animation: none; opacity: 1; }
}

/* Theo Avana: bên phải chỉ còn ngôn ngữ + Đặt phòng — SĐT đã có nút Gọi nổi, menu gập & footer */
.header-phone { display: none; }

/* ---------- Dải lời chào dưới video (kiểu Avana) ---------- */
.loi-chao {
  background: var(--le);
  text-align: center;
  padding: 72px 0 1px; /* 1px chặn margin collapse để nét chỉ cắt qua ranh giới */
  position: relative;
}
.loi-chao-script {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(30px, 3.4vw, 40px);
  color: var(--dao-deep);
  margin-bottom: 18px;
}
.loi-chao-sub {
  max-width: 700px;
  margin: 0 auto;
  font-size: 16.5px;
  line-height: 1.85;
  color: var(--ngoi-soft);
}
/* Nét chỉ dọc dẫn mắt xuống phần kế — cắt ngang ranh giới hai nền như Avana */
.loi-chao-line {
  display: block;
  width: 1px;
  height: 84px;
  background: rgba(46, 58, 88, 0.4);
  margin: 46px auto -42px;
  position: relative;
  z-index: 2;
}
@media (max-width: 680px) {
  .loi-chao { padding-top: 54px; }
  .loi-chao-line { height: 60px; margin: 34px auto -30px; }
}

/* Hero chỉ còn tiêu đề — hiện sớm hơn một nhịp */
.hero h1 { animation-delay: 0.35s; margin-bottom: 0; }

/* ---------- Kết nối với Mế (hợp tác lữ hành) ---------- */
.kn-wrap { max-width: 880px; text-align: center; }
.kn-wrap .section-desc { max-width: 640px; margin-left: auto; margin-right: auto; }
.kn-points { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin: 42px 0 38px; }
.kn-point {
  border: 1px solid rgba(247, 244, 238, 0.22);
  border-radius: var(--radius);
  padding: 26px 22px;
}
.kn-point strong {
  display: block;
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 600;
  color: var(--le);
  margin-bottom: 9px;
}
.kn-point span { font-size: 13.5px; line-height: 1.7; color: rgba(233, 228, 216, 0.85); }
@media (max-width: 680px) {
  .kn-points { grid-template-columns: 1fr; gap: 12px; margin: 32px 0 30px; }
  .kn-point { padding: 20px 18px; }
}

/* ---------- Nav hai tầng kiểu Avana: chữ thường, chấm ngăn, menu con xổ xuống ---------- */
.nav { gap: 0; }
.nav-item { position: relative; display: flex; align-items: center; }
/* chấm ngăn đã bỏ — 7 tab để thoáng, sạch trên nền video */
.nav a.nav-cha {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-transform: none;
  color: var(--ngoi);
  padding: 27px 13px;
  white-space: nowrap;
  position: relative;
}
.header--clear .nav a.nav-cha { color: var(--le); }
.nav a.nav-cha::after { left: 13px; right: 13px; bottom: 21px; width: auto; transform: scaleX(0); transform-origin: left; transition: transform 0.25s ease; }
.nav-item:hover .nav-cha::after, .nav a.nav-cha.active::after { transform: scaleX(1); }
.nav a.nav-cha.active { color: var(--cham); }
.header--clear .nav a.nav-cha.active { color: var(--le); }
.nv-mui { font-size: 8px; opacity: 0.4; margin-left: 4px; vertical-align: 2px; }

.nav-con {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translate(-50%, 10px);
  min-width: 218px;
  padding: 10px 0;
  background: var(--le);
  border: 1px solid rgba(46, 58, 88, 0.1);
  border-radius: 10px;
  box-shadow: 0 18px 44px rgba(22, 30, 48, 0.16);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.22s ease 0.25s, transform 0.22s ease 0.25s, visibility 0s linear 0.47s;
}
.nav-item:hover > .nav-con, .nav-item:focus-within > .nav-con {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
  transition-delay: 0s, 0s, 0s;
}
.nav-con a {
  display: block;
  padding: 9px 22px;
  font-size: 13.5px;
  font-weight: 500;
  letter-spacing: 0.2px;
  text-transform: none;
  color: var(--ngoi);
  white-space: nowrap;
  transition: color 0.18s ease, padding-left 0.18s ease;
}
.nav-con a::after { content: none; }
.nav-con a:hover { color: var(--dao-deep); padding-left: 26px; }
.nav-item--phone { display: none; }

@media (max-width: 960px) {
  .nav { gap: 4px; justify-self: auto; align-items: stretch; }
  .nav-item { display: block; }
  .nav-item:not(:first-child)::before { content: none; }
  .nav a.nav-cha { padding: 8px 0; font-size: 16px; font-weight: 600; color: var(--cham); }
  .nav a.nav-cha::after { content: none; }
  .nv-mui { display: none; }
  .nav-con {
    position: static;
    transform: none;
    opacity: 1;
    visibility: visible;
    background: transparent;
    border: none;
    box-shadow: none;
    border-radius: 0;
    min-width: 0;
    padding: 0 0 6px 16px;
    transition: none;
  }
  .nav-con a { padding: 6px 0; font-size: 14px; color: var(--ngoi-soft); }
  .nav-item--phone { display: block; border-top: 1px dashed rgba(46, 58, 88, 0.2); padding-top: 12px; margin-top: 6px; }
  .nav-item--phone .nav-cha { color: var(--dao-deep); font-size: 14.5px; font-weight: 600; }
}

/* ---------- Dải mời cuối trang con ---------- */
.moi-cta { text-align: center; }
.moi-cta .section-desc { max-width: 560px; margin-left: auto; margin-right: auto; }
.moi-cta .cta-row { justify-content: center; margin-top: 30px; }

/* Thẻ kn-point trên nền sáng (trang con) */
.kn-points--sang { margin-top: 40px; }
.kn-points--sang .kn-point { border-color: rgba(46, 58, 88, 0.16); background: var(--white); }
.kn-points--sang .kn-point strong { color: var(--cham); }
.kn-points--sang .kn-point span { color: var(--ngoi-soft); }
.kn-points--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 960px) { .kn-points--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .kn-points--4 { grid-template-columns: 1fr; } }

/* ---------- Lưới ảnh món ăn (trang Bếp) ---------- */
.anh-luoi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 46px; }
.anh-o { position: relative; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-soft); aspect-ratio: 4 / 3; }
.anh-o img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.anh-o:hover img { transform: scale(1.05); }
.anh-o figcaption {
  position: absolute; left: 0; right: 0; bottom: 0;
  padding: 26px 12px 10px;
  background: linear-gradient(rgba(22,30,48,0), rgba(22,30,48,0.72));
  color: var(--le); font-size: 13px; font-weight: 500; letter-spacing: 0.3px;
}
@media (max-width: 960px) { .anh-luoi { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

/* ---------- Nav 7 tab: thoáng, chữ đều ---------- */
.nav a.nav-cha { font-size: 14px; padding: 27px 13px; letter-spacing: 0.3px; }
.nav a.nav-cha::after { left: 13px; right: 13px; }
@media (max-width: 1280px) {
  .nav a.nav-cha { font-size: 13px; padding: 27px 9px; letter-spacing: 0.2px; }
  .nav a.nav-cha::after { left: 9px; right: 9px; }
  .logo-text span { display: none; }
}
@media (max-width: 960px) {
  .nav a.nav-cha { font-size: 16px; padding: 8px 0; }
  .logo-text span { display: inline; }
}

/* Thẻ hệ sinh thái giờ là lối đi — thêm phản hồi khi trỏ chuột */
a.eco-card { color: inherit; transition: transform 0.3s ease, border-color 0.3s ease; }
a.eco-card:hover { transform: translateY(-5px); }

/* Chữ trong menu con luôn tối màu — kể cả khi header trong suốt trên video */
.header--clear .nav-con a { color: var(--ngoi); text-shadow: none; }
.header--clear .nav-con a:hover { color: var(--dao-deep); }

/* ---------- Sửa mobile theo chuẩn Avana (04/07) ---------- */
/* 1. Khối ảnh di sản: khung theo tỷ lệ, hết tràn ngang */
@media (max-width: 900px) {
  .disan-media { height: auto; min-height: 0; aspect-ratio: 4 / 3; }
  .disan-media img { width: 100%; height: 100%; object-fit: cover; }
}
/* 2. Vùng chạm hamburger đạt 44px, không đổi bố cục */
.nav-toggle { padding: 9px 10px; margin: -9px -10px; line-height: 1; }
/* 3. Nhãn tường khoảnh khắc dễ đọc hơn trên điện thoại */
@media (max-width: 900px) {
  .mo-label span { font-size: 11.5px; }
}
/* 4. Nén khoảng thở trên điện thoại — trang ngắn lại, nội dung giữ nguyên */
@media (max-width: 680px) {
  .section { padding: 44px 0; }
  .story-article { padding: 38px 0; }
  .page-hero { padding: 96px 20px 56px; min-height: 0; }
  .loi-chao { padding-top: 44px; }
  .loi-chao-line { height: 44px; margin: 26px auto -22px; }
  .kn-points { gap: 10px; }
  .capacity-strip { margin-top: 32px; }
  .anh-luoi { margin-top: 32px; }
  .story-article .container, .story-article.flip .container { gap: 20px; }
  .mo-grid { grid-auto-rows: 150px; }
}

/* Thẻ phòng trên điện thoại: dải vuốt ngang (pattern app đặt phòng) */
@media (max-width: 680px) {
  .room-grid {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    margin: 0 -20px;
    padding: 4px 20px 16px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .room-grid::-webkit-scrollbar { display: none; }
  .room-grid .room-card { flex: 0 0 80%; scroll-snap-align: center; }
}

/* ---------- Lightbox phóng to ảnh ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(22, 30, 48, 0.93);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 28px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0s linear 0.25s;
  cursor: zoom-out;
}
.lightbox.mo { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 80vh;
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.5);
}
.lb-chu { color: var(--le); margin-top: 14px; font-size: 14px; text-align: center; max-width: 720px; }
.lb-dong {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  color: var(--le);
  font-size: 42px;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
}

/* ---------- Dải kênh chính thức (chống mạo danh) ---------- */
.footer-chinh-thuc {
  background: rgba(0, 0, 0, 0.2);
  padding: 13px 0;
  font-size: 12.5px;
  text-align: center;
  color: rgba(233, 228, 216, 0.82);
}
.footer-chinh-thuc strong { color: var(--le); }
.footer-chinh-thuc a { color: var(--dao-blush); text-decoration: underline; }

/* Thẻ trải nghiệm dạng video (tắm suối) — phủ khung như ảnh */
.exp-card video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* Ô tường khoảnh khắc dạng video — phủ khung như ảnh */
.mo-tile video { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ---------- Trang pháp lý / văn bản dài ---------- */
.phaply { max-width: 820px; margin: 0 auto; }
.phaply-toc {
  background: var(--le-warm);
  border: 1px solid rgba(46, 58, 88, 0.12);
  border-radius: var(--radius);
  padding: 22px 26px;
  margin-bottom: 44px;
}
.phaply-toc strong { display: block; font-family: var(--font-display); font-size: 18px; color: var(--cham); margin-bottom: 10px; }
.phaply-toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 32px; }
.phaply-toc li { font-size: 14px; margin-bottom: 6px; break-inside: avoid; }
.phaply-toc a { color: var(--ngoi); }
.phaply-toc a:hover { color: var(--dao-deep); }
.phaply-muc { margin-bottom: 40px; scroll-margin-top: 90px; }
.phaply-muc h2 {
  font-family: var(--font-display);
  font-size: clamp(22px, 3vw, 28px);
  color: var(--cham);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(46, 58, 88, 0.14);
}
.phaply-muc h3 { font-size: 16px; color: var(--cham); margin: 20px 0 8px; font-weight: 600; }
.phaply-muc p { margin-bottom: 12px; line-height: 1.8; color: var(--ngoi); }
.phaply-muc ul { margin: 0 0 14px 0; padding-left: 22px; }
.phaply-muc li { margin-bottom: 8px; line-height: 1.75; color: var(--ngoi); }
.phaply-muc strong { color: var(--cham); }
.phaply-info {
  background: var(--le-warm);
  border-left: 3px solid var(--dao);
  border-radius: 0 8px 8px 0;
  padding: 18px 22px;
  margin: 16px 0;
}
.phaply-info p { margin-bottom: 6px; }
.phaply-capnhat { font-size: 13px; color: var(--ngoi-soft); font-style: italic; margin-top: 40px; padding-top: 18px; border-top: 1px dashed rgba(46, 58, 88, 0.2); }
@media (max-width: 680px) { .phaply-toc ol { columns: 1; } }

/* ---------- Khối chuyển khoản có mã QR ---------- */
.qr-thanhtoan {
  display: flex;
  gap: 32px;
  align-items: center;
  max-width: 720px;
  margin: 36px auto 0;
  background: var(--le-warm);
  border: 1px solid rgba(46, 58, 88, 0.12);
  border-radius: var(--radius);
  padding: 26px 30px;
}
.qr-thanhtoan > picture, .qr-thanhtoan > img {
  width: 200px;
  height: 200px;
  flex-shrink: 0;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 4px 18px rgba(22, 30, 48, 0.1);
  display: block;
}
.qr-thanhtoan > picture img { width: 100%; height: 100%; border-radius: 10px; display: block; }
.qr-thanhtoan .qr-info { text-align: left; }
.qr-thanhtoan .qr-info h3 { font-family: var(--font-display); font-size: 21px; color: var(--cham); margin-bottom: 12px; }
.qr-thanhtoan .qr-info p { margin-bottom: 7px; font-size: 15px; color: var(--ngoi); }
.qr-thanhtoan .qr-info strong { color: var(--cham); }
.qr-thanhtoan .qr-info .qr-note { font-size: 13.5px; color: var(--ngoi-soft); margin-top: 12px; }
@media (max-width: 640px) {
  .qr-thanhtoan { flex-direction: column; gap: 20px; text-align: center; padding: 24px 20px; }
  .qr-thanhtoan .qr-info { text-align: center; }
}
