/* ============================================================
   Landing page GREEN WESTLAKE HOTEL & HOMESTAY — CSS dùng chung

   MÀU CHỦ ĐẠO #257E1C — client chốt 06/08/2026.
   Cả bộ được dựng lại quanh mã này (họ XANH LÁ, hue 114,5°). Trước đó là
   tông xanh hồ nước #125D6B; nếu còn thấy #125D6B / #0A3A44 / #2A9D8F /
   #21847A / #E8F3F1 ở đâu thì đó là sót lại của bảng cũ — sửa, đừng làm theo.

   Tên biến đã đổi: --teal → --leaf, --teal-dark → --leaf-dark
   (giữ tên "teal" cho một màu xanh lá là cái bẫy bảo trì).

   Đổi file này thì tăng ?v=N ở TẤT CẢ index.html đang link tới.
   ============================================================ */

:root {
  /* --- Màu chính --- */
  --deep:      #257E1C;   /* Xanh Lá Chủ Đạo — CLIENT CHỐT. Tiêu đề, viền, nền khối vừa */
  --ink:       #0E3A0A;   /* Xanh Lá Thẳm — nền tối, chữ thân bài, chân trang */
  --leaf:      #3BA630;   /* Lá Non — icon, đường nhấn, chi tiết đồ hoạ */
  --leaf-dark: #1D6416;   /* Lá Rừng — nền NÚT chữ trắng + mọi nền tối (xem ghi chú dưới) */

  /* --- Phụ trợ / trung tính --- */
  --mist:      #EDF7EB;   /* Xanh Sương Lá — nền sáng */
  --ivory:     #F7FBF6;   /* Trắng ngà ngả lá */
  --muted:     #5C6B59;   /* Xám Xanh Lá — văn bản phụ */
  --bg:        #FFFFFF;
  --bg-soft:   var(--mist);
  --line:      #D5E8D1;
  --text:      var(--ink);

  /* --- Nhấn cao cấp — DÙNG TIẾT CHẾ (đường kẻ mảnh, icon, chữ nhấn) --- */
  --gold:      #C9A24B;
  --gold-pale: #EBD9A8;   /* chữ nhấn trên nền xanh đậm */

  /* --- Đỏ ưu đãi — CHỈ dùng cho nhãn dán khuyến mãi trên nút CTA ---
     Chữ trắng / nền này = 5.6:1 ✓ AA (đã đo).
     Đây là màu DUY NHẤT ngoài họ xanh + vàng. Dùng rộng ra là phá tông
     "an yên xanh" của thương hiệu — xem ../02_nhan-dien-thuong-hieu.md.
     KHÔNG dùng cho báo lỗi: báo lỗi đã có #B4442E riêng, trộn hai vai
     là người dùng không phân biệt được "ưu đãi" với "nhập sai". */
  --sale:      #C62828;

  /* Tiêu đề serif tạo chất cao cấp; body sans-serif hỗ trợ tiếng Việt tốt.
     Nếu Playfair Display thiếu dấu tiếng Việt ở cỡ chữ nào đó, đổi sang "Lora". */
  --head: "Playfair Display", "Lora", Georgia, "Times New Roman", serif;
  --body: "Be Vietnam Pro", "Segoe UI", system-ui, -apple-system, sans-serif;
  --maxw: 1140px;
  --radius: 8px;
}

/* ------------------------------------------------------------------
   TƯƠNG PHẢN — đo lại toàn bộ ngày 06/08/2026 sau khi đổi sang #257E1C.
   Đừng đổi cặp màu mà không đo lại.

     chữ trắng  / nền --ink       12.9:1  ✓ AAA
     chữ trắng  / nền --leaf-dark  7.3:1  ✓ AAA → NÚT chữ trắng + NỀN TỐI
     chữ trắng  / nền --deep       5.2:1  ✓ AA
     chữ trắng  / nền --leaf       3.1:1  ✗ chỉ đạt cho chữ lớn & icon,
                                             KHÔNG dùng cho chữ cỡ thường
     chữ --deep / nền trắng        5.2:1  ✓ AA
     chữ --deep / nền --mist       4.7:1  ✓ AA  → nút danh mục & tab mobile
     chữ --ink  / nền trắng       12.9:1  ✓ AAA
     chữ --muted/ nền trắng        5.7:1  ✓ AA
     chữ --ink  / nền --gold       5.4:1  ✓ AA  → nút vàng luôn dùng chữ tối
     chữ trắng  / nền --gold       2.4:1  ✗ TUYỆT ĐỐI KHÔNG dùng

   ⚠️ VÌ SAO NỀN TỐI DÙNG --leaf-dark CHỨ KHÔNG DÙNG --deep:
   #257E1C sáng hơn màu cũ #125D6B khá nhiều (5.2:1 so với 7.5:1). Chữ nhạt
   thứ cấp (#D3E8CF, #BDD7B8…) đặt lên --deep chỉ còn 3.3–4.2:1 → TRƯỢT AA.
   Đặt lên --leaf-dark thì được 4.7–6.0:1. Nên mọi dải nền tối (.hero,
   .endcta, .figures, .lp-form-sec) đều chạy ink → leaf-dark, KHÔNG chạm --deep.
   ------------------------------------------------------------------ */

* { margin: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--body);
  font-size: 16.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 { font-family: var(--head); font-weight: 700; line-height: 1.25; }
a { color: var(--deep); }
img { max-width: 100%; height: auto; display: block; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
.center { text-align: center; }

/* ---------- Nút ---------- */
.btn {
  display: inline-block;
  font-family: var(--body);
  font-weight: 600;
  font-size: .97rem;
  text-decoration: none;
  padding: 14px 28px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  transition: background .2s, color .2s, border-color .2s, transform .15s;
}
.btn:hover, .btn:focus-visible { transform: translateY(-2px); }
.btn-primary { background: var(--leaf-dark); color: #fff; }   /* CTA chính — 7.3:1 */
.btn-primary:hover { background: var(--ink); }                 /* hover ĐẬM thêm, không nhạt đi */
.btn-deep { background: var(--deep); color: #fff; }            /* 5.2:1 — CTA phụ */
.btn-deep:hover { background: var(--leaf-dark); }
.btn-outline { border-color: #fff; color: #fff; }              /* dùng trên nền xanh đậm */
.btn-outline:hover { background: #fff; color: var(--deep); }
.btn-gold { background: var(--gold); color: var(--ink); }      /* 5.1:1 — chữ TỐI, không trắng */
.btn-gold:hover { background: #B88F3B; }

/* ---------- Thanh trên cùng ---------- */
.topbar {
  background: var(--ink);
  color: #D3E8CF;
  font-size: .85rem;
  padding: 8px 0;
}
.topbar .wrap { display: flex; flex-wrap: wrap; gap: 6px 22px; align-items: center; }
.topbar a { color: #fff; text-decoration: none; font-weight: 600; }
.topbar .push { margin-left: auto; }

/* ---------- Header ---------- */
.site-head {
  position: sticky; top: 0; z-index: 40;
  background: #fff;
  border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(14, 58, 10, .07);
}
.site-head .wrap { display: flex; align-items: center; gap: 20px; padding-top: 14px; padding-bottom: 14px; }
.site-head .logo { height: 46px; width: auto; }
.brand { font-family: var(--head); font-weight: 700; font-size: 1.5rem; color: var(--deep); text-decoration: none; letter-spacing: .01em; }
.brand span { color: var(--gold); }
.brand small { display: block; font-family: var(--body); font-weight: 400; font-size: .68rem; color: var(--muted); letter-spacing: .02em; }
.head-cta { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.head-phone { font-family: var(--body); font-weight: 700; color: var(--deep); text-decoration: none; white-space: nowrap; }
.head-phone small { display: block; font-weight: 400; font-size: .7rem; color: var(--muted); }
@media (max-width: 640px) { .head-phone { display: none; } }

/* ---------- Hero ---------- */
/* Dải xanh lá: ink → leaf-dark → deep.
   KHÔNG cho dải chạm --leaf: chữ phụ .hero p (#DEEEDA) đặt lên --leaf chỉ còn
   ~2:1, không đọc nổi. Đầu sáng nhất của dải dừng ở --deep. */
.hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--leaf-dark) 55%, var(--deep) 100%);
  color: #fff;
  padding: 76px 0 68px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: ""; position: absolute; right: -140px; bottom: -180px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(201,162,75,.20), transparent 65%);
  pointer-events: none;
}
.hero .wrap { position: relative; z-index: 1; }
.hero .eyebrow {
  display: inline-block;
  font-family: var(--body); font-weight: 600; font-size: .82rem;
  letter-spacing: .09em; text-transform: uppercase;
  background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.30);
  padding: 6px 14px; border-radius: 100px; margin-bottom: 22px;
}
.hero h1 { font-size: clamp(1.95rem, 4.6vw, 3.1rem); max-width: 17em; }
.hero h1 em { font-style: italic; color: var(--gold-pale); }
.hero p { max-width: 40em; margin-top: 20px; color: #DEEEDA; font-size: 1.06rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.hero-note { margin-top: 20px; font-size: .88rem; color: #BDD7B8; }

/* Nền ảnh view hồ: phủ overlay ink 25–45% để chữ trắng đọc được (mục 5.4) */
.hero.has-photo { background: var(--ink); }
.hero.has-photo::before {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(14,58,10,.45), rgba(14,58,10,.62));
}

/* ---------- Thanh chỉ số / điểm bán ---------- */
.trust { background: var(--bg-soft); border-bottom: 1px solid var(--line); padding: 26px 0; }
.trust .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.trust div { display: flex; gap: 12px; align-items: flex-start; font-size: .92rem; }
.trust b { display: block; font-family: var(--head); color: var(--deep); font-size: 1.05rem; }
.trust span { color: var(--muted); }
.trust .ico { flex: 0 0 auto; width: 26px; height: 26px; fill: var(--leaf); margin-top: 2px; }
@media (max-width: 860px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .trust .wrap { grid-template-columns: 1fr; } }

/* ---------- Khối section chung ---------- */
section { padding: 72px 0; }
section.soft { background: var(--bg-soft); }
section.ivory { background: var(--ivory); }
.sec-head { max-width: 42em; margin-bottom: 44px; }
.sec-head.center { margin-left: auto; margin-right: auto; }
.sec-label {
  font-family: var(--body); font-weight: 600; font-size: .8rem;
  letter-spacing: .11em; text-transform: uppercase; color: var(--leaf-dark);
}
/* h1 gộp chung với h2: trang nào bỏ hero thì tiêu đề cấp 1 nằm ngay trong
   .sec-head của khối đầu tiên, phải có cùng cỡ chữ chứ không rơi về cỡ mặc
   định 2em của trình duyệt. */
.sec-head h1,
.sec-head h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); color: var(--deep); margin: 10px 0 14px; }
.sec-head p { color: var(--muted); }

/* ---------- Lưới loại phòng / dịch vụ ---------- */
.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.svc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
.svc:hover { border-color: var(--leaf); box-shadow: 0 12px 30px rgba(14, 58, 10, .10); transform: translateY(-4px); }
.svc .ico { width: 40px; height: 40px; fill: var(--deep); margin-bottom: 14px; }
.svc:hover .ico { fill: var(--leaf-dark); }
.svc h3 { font-size: 1.1rem; color: var(--deep); margin-bottom: 8px; }
.svc p { font-size: .92rem; color: var(--muted); }
.svc .hl { display: inline-block; margin-top: 12px; font-size: .8rem; font-weight: 600; color: var(--leaf-dark); }
@media (max-width: 1000px) { .services { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .services { grid-template-columns: 1fr; } }

/* ---------- Số liệu ---------- */
.figures { background: var(--leaf-dark); color: #fff; }   /* nền tối -> leaf-dark, xem ghi chú tương phản */
.figures .wrap { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.fig { text-align: center; padding: 6px 8px; }
.fig b {
  display: block; font-family: var(--head); font-weight: 700;
  font-size: clamp(2rem, 4.6vw, 3rem); line-height: 1.1;
  font-variant-numeric: tabular-nums;
}
.fig b i { font-style: italic; color: var(--gold-pale); }
.fig span { display: block; margin-top: 6px; font-size: .9rem; color: #D3E8CF; }
@media (max-width: 760px) { .figures .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Thẻ tiện ích / điểm gần ---------- */
.orgs { display: flex; flex-wrap: wrap; gap: 10px; }
.orgs span {
  font-family: var(--body); font-weight: 600; font-size: .88rem;
  color: var(--deep); background: #fff;
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 11px 18px; transition: border-color .2s, color .2s;
}
.orgs span:hover { border-color: var(--gold); color: var(--leaf-dark); }
.orgs span small { display: block; font-weight: 400; font-size: .72rem; color: var(--muted); }
.flag-note { margin-top: 26px; font-size: .93rem; color: var(--muted); }
.flag-note b { color: var(--deep); }

/* ---------- Lưới thẻ nội dung ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.card {
  background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--leaf);
  border-radius: var(--radius); padding: 20px 22px;
}
.card h3 { font-size: 1.05rem; color: var(--deep); margin-bottom: 4px; }
.card p { font-size: .9rem; color: var(--muted); }
.card.lead { border-left-color: var(--gold); }
.card.lead h3::after {
  content: "Nổi bật"; display: inline-block; margin-left: 8px;
  font-family: var(--body); font-size: .68rem; font-weight: 600; letter-spacing: .04em;
  color: var(--ink); background: var(--gold); border-radius: 3px; padding: 2px 7px; vertical-align: middle;
}
@media (max-width: 900px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .cards { grid-template-columns: 1fr; } }

/* ---------- CTA cuối ---------- */
.endcta {
  background: linear-gradient(120deg, var(--leaf-dark) 0%, var(--ink) 100%);
  color: #fff; text-align: center;
}
.endcta h2 { font-size: clamp(1.7rem, 4vw, 2.5rem); max-width: 20em; margin: 0 auto 16px; }
.endcta p { max-width: 38em; margin: 0 auto; color: #D3E8CF; }
.endcta .hero-cta { justify-content: center; margin-top: 32px; }
.endcta .mail { margin-top: 22px; font-size: .93rem; color: #BDD7B8; }
.endcta .mail a { color: var(--gold-pale); }

/* ---------- Footer ---------- */
.site-foot { background: var(--ink); color: #ADC6A8; font-size: .88rem; padding: 40px 0 30px; }
.site-foot .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 30px; }
.site-foot h4 { color: #fff; font-size: .92rem; margin-bottom: 12px; letter-spacing: .04em; }
.site-foot a { color: #ADC6A8; text-decoration: none; }
.site-foot a:hover { color: #fff; }
.site-foot ul { list-style: none; padding: 0; }
.site-foot li { margin-bottom: 6px; }
.foot-bottom { border-top: 1px solid rgba(255,255,255,.1); margin-top: 30px; padding-top: 18px; font-size: .82rem; }
@media (max-width: 760px) { .site-foot .wrap { grid-template-columns: 1fr; } }

/* ---------- Nút gọi / Zalo nổi ---------- */
.float-call {
  position: fixed; right: 18px; bottom: 18px; z-index: 60;
  display: flex; align-items: center; gap: 9px;
  background: var(--leaf-dark); color: #fff; text-decoration: none;
  font-family: var(--body); font-weight: 600; font-size: .93rem;
  padding: 13px 20px; border-radius: 100px;
  box-shadow: 0 8px 26px rgba(14, 58, 10, .38);
  transition: background .2s, transform .2s;
}
.float-call:hover { background: var(--deep); transform: translateY(-2px); }
.float-call svg { width: 18px; height: 18px; fill: #fff; }
@media (max-width: 480px) { .float-call span { display: none; } .float-call { padding: 15px; } }

/* ---------- Hiệu ứng hiện khi cuộn tới ---------- */
.rv { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .rv { opacity: 1; transform: none; transition: none; }
  .btn, .svc, .float-call { transition: none; }
}

/* ============================================================
   CHROME — header + chân trang lấy từ website chính
   Markup do scripts\gen-chrome.ps1 sinh ra, ĐỪNG sửa tay trong index.html
   (chạy lại script là mất). Chỉ sửa phần trình bày ở đây.
   Tiền tố .gw- = Green Westlake, tránh đè lên class dùng chung ở trên.
   Menu mobile dùng checkbox thuần CSS → không cần JS.
   ============================================================ */

.gw-skip {
  position: absolute; left: -9999px;
  background: var(--deep); color: #fff; padding: 10px 16px; z-index: 100;
}
.gw-skip:focus { left: 8px; top: 8px; }

.gw-topbar {
  background: var(--ink); color: #D3E8CF;
  font-size: .82rem; padding: 7px 0;
}
.gw-topbar .wrap { display: flex; flex-wrap: wrap; gap: 4px 20px; align-items: center; }
.gw-tb-hours { color: #ADC6A8; }
.gw-tb-tel { margin-left: auto; color: #fff; font-weight: 700; text-decoration: none; }
@media (max-width: 700px) { .gw-tb-addr, .gw-tb-hours { display: none; } .gw-tb-tel { margin-left: 0; } }

.gw-head {
  position: sticky; top: 0; z-index: 50;
  background: #fff; border-bottom: 1px solid var(--line);
  box-shadow: 0 1px 12px rgba(14, 58, 10, .07);
}
.gw-head .wrap { display: flex; align-items: center; gap: 18px; padding-top: 10px; padding-bottom: 10px; }
.gw-logo { flex: 0 0 auto; }
.gw-logo img { height: 52px; width: auto; }

.gw-nav { margin-left: auto; }
.gw-nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; }
.gw-nav li { position: relative; }
.gw-nav a {
  display: block; padding: 10px 13px;
  font-family: var(--body); font-weight: 600; font-size: .93rem;
  color: var(--text); text-decoration: none; border-radius: 6px;
  transition: color .15s, background .15s;
}
.gw-nav a:hover, .gw-nav a:focus-visible { color: var(--deep); background: var(--bg-soft); }

/* Menu con: hiện khi rê chuột (desktop) */
.gw-nav .has-sub > ul {
  display: none; position: absolute; top: 100%; left: 0; min-width: 220px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(14,58,10,.14); padding: 6px; flex-direction: column; z-index: 60;
}
.gw-nav .has-sub:hover > ul,
.gw-nav .has-sub:focus-within > ul { display: flex; }
.gw-nav .has-sub > a::after { content: " ▾"; font-size: .8em; }

.gw-head-tel {
  flex: 0 0 auto;
  font-family: var(--body); font-weight: 700; font-size: 1.02rem;
  color: #fff; background: var(--leaf-dark); text-decoration: none;
  padding: 10px 18px; border-radius: 100px; white-space: nowrap;
}
.gw-head-tel:hover { background: var(--deep); }

.gw-nav-toggle { display: none; }
.gw-burger { display: none; }

@media (max-width: 980px) {
  .gw-head .wrap { flex-wrap: wrap; }
  .gw-logo img { height: 42px; }
  .gw-burger {
    display: block; margin-left: auto; cursor: pointer;
    padding: 10px; border: 1px solid var(--line); border-radius: 6px;
  }
  .gw-burger span { display: block; width: 22px; height: 2px; background: var(--deep); margin: 4px 0; }
  .gw-head-tel { font-size: .9rem; padding: 9px 14px; order: 3; }
  .gw-nav { display: none; order: 9; width: 100%; margin-left: 0; }
  .gw-nav-toggle:checked ~ .gw-nav { display: block; }
  .gw-nav ul { flex-direction: column; gap: 0; }
  .gw-nav a { padding: 12px 6px; border-bottom: 1px solid var(--line); border-radius: 0; }
  /* Mobile: menu con luôn mở, không lồng thêm một lớp bấm nữa */
  .gw-nav .has-sub > ul {
    display: flex; position: static; border: 0; box-shadow: none;
    padding: 0 0 0 18px; min-width: 0;
  }
  .gw-nav .has-sub > a::after { content: ""; }
}

/* ---------- Chân trang ---------- */
.gw-foot { background: var(--ink); color: #ADC6A8; font-size: .9rem; padding: 46px 0 0; }
.gw-foot .wrap { display: grid; grid-template-columns: 1.5fr 1fr 1.1fr 1fr; gap: 30px; }
.gw-foot h4 {
  color: #fff; font-size: .85rem; margin-bottom: 14px;
  letter-spacing: .06em; text-transform: uppercase;
}
.gw-foot p { margin-bottom: 7px; line-height: 1.6; }
.gw-foot a { color: #ADC6A8; text-decoration: none; }
.gw-foot a:hover { color: var(--gold); }
.gw-foot ul { list-style: none; padding: 0; margin: 0; }
.gw-foot li { margin-bottom: 8px; }
/* min-width:0 để cột dài không làm vỡ lưới grid trên màn hình hẹp */
.gw-foot-col { min-width: 0; }
.gw-social { display: flex; flex-wrap: wrap; gap: 8px 18px; }
.gw-social li { margin-bottom: 0; }
.gw-foot-brand img { height: 58px; width: auto; margin-bottom: 12px; }
.gw-foot-name { color: #fff; font-family: var(--head); font-weight: 700; font-size: .98rem; }
.gw-foot-brand a[href^="tel:"] { color: var(--gold); font-weight: 700; font-size: 1.05rem; }
.gw-foot-bottom {
  border-top: 1px solid rgba(255,255,255,.1); margin-top: 34px; padding: 16px 0;
  font-size: .82rem; text-align: center;
}
.gw-foot-bottom .wrap { display: block; }
@media (max-width: 900px) { .gw-foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .gw-foot .wrap { grid-template-columns: 1fr; } }

/* ============================================================
   THÀNH PHẦN RIÊNG CỦA LANDING PAGE
   ============================================================ */

/* ---------- Hộp tóm tắt đầu trang (TL;DR) — để AI search trích dẫn ---------- */
.tldr {
  background: var(--bg-soft);
  border: 1px solid var(--line); border-left: 5px solid var(--gold);
  border-radius: var(--radius); padding: 24px 26px; margin: 0 0 40px;
}
.tldr h2 {
  font-size: 1.05rem; color: var(--deep); margin-bottom: 12px;
  letter-spacing: .04em; text-transform: uppercase;
}
.tldr p { margin-bottom: 10px; }
.tldr ul { margin: 12px 0 0 20px; }
.tldr li { margin-bottom: 6px; }

/* ---------- Bảng ---------- */
.tbl-wrap { overflow-x: auto; margin: 26px 0; -webkit-overflow-scrolling: touch; }
table.gw {
  width: 100%; border-collapse: collapse; font-size: .93rem;
  min-width: 560px; background: #fff;
}
table.gw caption {
  caption-side: top; text-align: left; font-size: .85rem;
  color: var(--muted); padding-bottom: 10px;
}
table.gw th, table.gw td { border: 1px solid var(--line); padding: 11px 14px; text-align: left; vertical-align: top; }
table.gw thead th { background: var(--deep); color: #fff; font-family: var(--body); font-weight: 600; font-size: .88rem; }
table.gw tbody tr:nth-child(even) { background: var(--bg-soft); }
table.gw td strong { color: var(--deep); }
.tbl-note { font-size: .86rem; color: var(--muted); margin-top: -14px; margin-bottom: 26px; }

/* ---------- Lưới ảnh phòng / không gian ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery figure {
  margin: 0; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; background: #fff;
}
.gallery img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.gallery figcaption {
  padding: 11px 13px; font-size: .88rem;
  font-weight: 600; color: var(--deep);
}
.gallery figcaption small { display: block; font-weight: 400; color: var(--muted); font-size: .82rem; }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 460px) { .gallery { grid-template-columns: 1fr; } }

/* ---------- Ảnh minh hoạ trong bài ---------- */
figure.inline { margin: 26px 0; }
figure.inline img { width: 100%; border-radius: var(--radius); border: 1px solid var(--line); }
figure.inline figcaption { font-size: .86rem; color: var(--muted); margin-top: 9px; text-align: center; }

/* ---------- Các bước quy trình / hướng dẫn đặt phòng ---------- */
.steps { counter-reset: step; display: grid; gap: 14px; }
.step {
  position: relative; background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); padding: 20px 22px 20px 68px;
}
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 20px; top: 18px;
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--deep); color: #fff;
  font-family: var(--body); font-weight: 700; font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
}
.step h3 { font-size: 1.05rem; color: var(--deep); margin-bottom: 5px; }
.step p { font-size: .93rem; color: var(--muted); }
.step .when {
  display: inline-block; margin-top: 9px; font-size: .8rem; font-weight: 600;
  color: var(--ink); background: var(--gold);
  padding: 3px 10px; border-radius: 4px;
}

/* ---------- FAQ (thẻ details, không cần JS) ---------- */
.faq details {
  background: #fff; border: 1px solid var(--line);
  border-radius: var(--radius); margin-bottom: 10px;
}
.faq summary {
  cursor: pointer; padding: 16px 20px; list-style: none;
  font-weight: 600; font-size: .98rem; color: var(--deep);
  display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.3rem; color: var(--leaf-dark); flex: 0 0 auto; }
.faq details[open] summary::after { content: "\2013"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .ans { padding: 15px 20px 19px; font-size: .94rem; }
.faq .ans p + p { margin-top: 10px; }

/* ---------- Dải điểm nhấn / cam kết ---------- */
.pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.pills span {
  background: #fff; border: 1px solid var(--line); border-radius: 100px;
  padding: 9px 17px; font-size: .88rem; font-weight: 600; color: var(--deep);
}

/* ---------- Mục lục ---------- */
.toc {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 20px 24px; margin-bottom: 40px;
}
.toc h2 { font-size: .92rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); margin-bottom: 12px; }
.toc ol { margin: 0; padding-left: 20px; columns: 2; column-gap: 34px; }
.toc li { margin-bottom: 7px; font-size: .92rem; break-inside: avoid; }
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--deep); text-decoration: underline; }
@media (max-width: 700px) { .toc ol { columns: 1; } }

/* ---------- Khối liên hệ nhanh 2 nút ---------- */
.cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }
.cta-row .btn { flex: 1 1 220px; text-align: center; }

/* ---------- Nội dung dạng bài viết ---------- */
.prose h3 { font-size: 1.2rem; color: var(--deep); margin: 30px 0 10px; }
.prose h4 { font-size: 1.04rem; color: var(--text); margin: 22px 0 8px; }
.prose p { margin-bottom: 14px; }
.prose ul, .prose ol { margin: 0 0 16px 22px; }
.prose li { margin-bottom: 7px; }
.prose strong { color: var(--deep); }
.prose a { color: var(--deep); }
