/* =====================================================================
   TRANG TRÍ TIỆC CƯỚI GIÁC AN — style.css
   ---------------------------------------------------------------------
   File này chứa TOÀN BỘ giao diện của website.
   Muốn đổi MÀU SẮC  -> sửa phần [1] BẢNG MÀU ngay bên dưới.
   Muốn đổi FONT     -> sửa phần [2] FONT CHỮ.
   Các phần còn lại bạn không cần đụng tới nếu không rành CSS.
   ===================================================================== */

/* ---------------------------------------------------------------------
   [1] BẢNG MÀU  — ĐỔI MÀU TOÀN BỘ WEB CHỈ Ở ĐÂY
   --------------------------------------------------------------------- */
:root {
  /* --- NỀN --- */
  --cream:      #FFFDF8;   /* nền chính (trắng ngà) */
  --cream-2:    #F5F2E9;   /* nền phụ, section xen kẽ */
  --cream-3:    #E8E3D5;   /* nền nhạt hơn nữa / viền mềm */

  /* --- MÀU THƯƠNG HIỆU (xanh rêu) --- */
  --brand:      #3D5A4A;   /* MÀU CHÍNH: nút, link, icon */
  --brand-dk:   #2A4234;   /* xanh đậm — trạng thái hover, nền section tối */
  --brand-lt:   #7A9885;   /* xanh nhạt — nền mờ, gạch chân */

  /* --- CHỮ --- */
  --ink:        #22312A;   /* chữ tiêu đề */
  --ink-2:      #4E5F56;   /* chữ nội dung */
  --ink-3:      #7F8C84;   /* chữ phụ, chú thích */

  /* --- MÀU LOGO PHƯƠNG NAM (lấy đúng từ file logo gốc, KHÔNG đổi) --- */
  --pn-navy:    #15294C;   /* navy của chữ P và chữ NAM */
  --pn-red:     #E8353E;   /* đỏ của chữ N và chữ PHUONG */

  /* --- ĐIỂM NHẤN --- */
  --gold:       #C9A227;   /* vàng đồng — đường viền, chi tiết nhấn */
  --gold-lt:    #E6D28F;   /* vàng nhạt */
  --call:       #E23B3B;   /* ĐỎ của nút gọi nổi */
  --call-dk:    #C22A2A;

  --white:      #FFFFFF;
  --line:       rgba(34, 49, 42, .13);   /* màu đường kẻ */
  --shadow-sm:  0 2px 10px rgba(34, 49, 42, .06);
  --shadow-md:  0 10px 30px rgba(34, 49, 42, .10);
  --shadow-lg:  0 24px 60px rgba(34, 49, 42, .16);
  --radius:     14px;
  --radius-lg:  22px;
  --maxw:       1240px;    /* chiều rộng tối đa của nội dung */
  --header-h:   76px;      /* chiều cao thanh menu trên cùng */
  --ease:       cubic-bezier(.22, 1, .36, 1);
}

/* ---------------------------------------------------------------------
   [2] FONT CHỮ  (font được nạp từ Google Fonts trong từng file .html)
   --------------------------------------------------------------------- */
:root {
  --font-title: "Playfair Display", "Times New Roman", serif; /* tiêu đề */
  --font-body:  "Be Vietnam Pro", system-ui, -apple-system, sans-serif; /* nội dung */
}

/* =====================================================================
   [3] RESET & NỀN TẢNG
   ===================================================================== */
*, *::before, *::after { box-sizing: border-box; }

html {
  /* clip: chặn cuộn ngang mà không phá position:sticky (hidden là dự phòng
     cho trình duyệt cũ). Cần thiết vì panel menu nằm sẵn ngoài mép phải. */
  overflow-x: hidden;
  overflow-x: clip;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--cream);
  color: var(--ink-2);
  font-family: var(--font-body);
  font-size: 16.5px;
  font-weight: 400;
  /* line-height rộng: tiếng Việt có dấu 2 tầng (ế, ộ, ằ) nên KHÔNG để dưới 1.6
     nếu không các dấu sẽ chạm vào dòng trên. */
  line-height: 1.85;
  overflow-x: hidden;          /* chặn tràn ngang trên điện thoại */
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

img, svg, video { max-width: 100%; height: auto; display: block; }

a { color: var(--brand); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand-dk); }

h1, h2, h3, h4 {
  font-family: var(--font-title);
  color: var(--ink);
  font-weight: 600;
  margin: 0 0 .6em;
  line-height: 1.28;           /* đủ thoáng cho dấu tiếng Việt */
  letter-spacing: -.005em;     /* không siết chữ, tránh dính chữ */
  text-wrap: balance;          /* ngắt dòng cân đối, tránh mồ côi 1 chữ */
  overflow-wrap: break-word;
}
h1 { font-size: clamp(2rem, 5.2vw, 3.45rem); }
h2 { font-size: clamp(1.65rem, 3.8vw, 2.6rem); }
h3 { font-size: clamp(1.18rem, 2.2vw, 1.5rem); line-height: 1.35; }
h4 { font-size: clamp(1.02rem, 1.6vw, 1.15rem); line-height: 1.4; }

p  { margin: 0 0 1.15em; overflow-wrap: break-word; }
p:last-child { margin-bottom: 0; }

ul, ol { margin: 0 0 1.15em; padding-left: 1.25em; }
li { margin-bottom: .45em; }

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

/* Thanh cuộn (chỉ trên máy tính) */
@media (hover: hover) {
  ::-webkit-scrollbar { width: 11px; }
  ::-webkit-scrollbar-track { background: var(--cream-2); }
  ::-webkit-scrollbar-thumb { background: var(--brand-lt); border-radius: 99px; border: 3px solid var(--cream-2); }
  ::-webkit-scrollbar-thumb:hover { background: var(--brand); }
}

/* =====================================================================
   [4] KHUNG CHỨA & TIỆN ÍCH
   ===================================================================== */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }
.container-narrow { max-width: 860px; }

.section { padding: clamp(58px, 8vw, 110px) 0; position: relative; }
.section--cream  { background: var(--cream-2); }
.section--dark { background: var(--brand-dk); }
.section--dark, .section--dark p, .section--dark li { color: #D7E2DA; }
.section--dark h2, .section--dark h3, .section--dark h4 { color: #F4FAF5; }

/* Đầu mục của mỗi khối nội dung */
.sec-head { max-width: 760px; margin: 0 auto clamp(34px, 4.5vw, 56px); text-align: center; }
.sec-head.left { margin-left: 0; text-align: left; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .76rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: .85rem;
  line-height: 1.6;
}
.section--dark .eyebrow { color: var(--gold-lt); }
.sec-head p { color: var(--ink-3); font-size: 1.02rem; }
.section--dark .sec-head p { color: #B9C9BE; }

/* Đường kẻ trang trí hình thoi ở giữa */
.divider { display: flex; align-items: center; justify-content: center; gap: 12px; margin: 0 0 1.1rem; }
.divider::before, .divider::after {
  content: ""; height: 1px; width: clamp(38px, 8vw, 74px);
  background: linear-gradient(90deg, transparent, var(--gold));
}
.divider::after { background: linear-gradient(90deg, var(--gold), transparent); }
.divider i {
  width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg); flex: none; display: block;
}

.lead { font-size: clamp(1.02rem, 1.5vw, 1.14rem); color: var(--ink-2); }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }

/* =====================================================================
   [5] NÚT BẤM — có hiệu ứng đổ màu & nổi khối khi rê chuột
   ===================================================================== */
.btn {
  --btn-bg: var(--brand);
  --btn-fg: #fff;
  position: relative;
  display: inline-flex; align-items: center; justify-content: center; gap: .55em;
  padding: 14px 30px;
  min-height: 48px;                 /* đủ lớn để bấm bằng ngón tay */
  font-family: var(--font-body);
  font-size: .93rem; font-weight: 600; letter-spacing: .04em;
  line-height: 1.4;
  color: var(--btn-fg);
  background: var(--btn-bg);
  border: 1px solid transparent;
  border-radius: 999px;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  text-align: center;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), color .35s var(--ease), border-color .35s var(--ease);
  box-shadow: 0 6px 18px rgba(61, 90, 74, .22);
}
/* lớp màu quét ngang khi hover */
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, var(--brand-dk), var(--ink));
  transform: translateX(-101%);
  transition: transform .5s var(--ease);
}
.btn:hover, .btn:focus-visible { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(61, 90, 74, .3); color: #fff; }
.btn:hover::before, .btn:focus-visible::before { transform: translateX(0); }
.btn:active { transform: translateY(-1px) scale(.985); }

/* Nút viền — nền trong suốt, kính mờ */
.btn--ghost {
  --btn-bg: transparent;
  --btn-fg: var(--ink);
  border-color: rgba(34, 49, 42, .28);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  box-shadow: none;
}
.btn--ghost::before { background: var(--brand-dk); }
.btn--ghost:hover { color: #fff; border-color: transparent; box-shadow: 0 14px 30px rgba(34, 49, 42, .22); }

/* Nút viền dùng trên nền ảnh/nền tối */
.btn--glass {
  --btn-bg: rgba(255, 255, 255, .12);
  --btn-fg: #fff;
  border-color: rgba(255, 255, 255, .5);
  backdrop-filter: blur(10px) saturate(140%);
  -webkit-backdrop-filter: blur(10px) saturate(140%);
  box-shadow: none;
}
.btn--glass::before { background: #fff; }
.btn--glass:hover { color: var(--ink); border-color: #fff; }

.btn--gold { --btn-bg: var(--gold); box-shadow: 0 6px 18px rgba(193, 151, 47, .26); }
.btn--gold::before { background: linear-gradient(120deg, #a87f1f, var(--ink)); }

.btn--sm { padding: 10px 22px; min-height: 42px; font-size: .86rem; }
.btn--lg { padding: 17px 38px; min-height: 56px; font-size: 1rem; }
.btn--block { display: flex; width: 100%; }

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }

/* Liên kết dạng "Xem chi tiết →" có mũi tên chạy */
.link-arrow {
  display: inline-flex; align-items: center; gap: .5em;
  font-weight: 600; font-size: .92rem; letter-spacing: .03em;
  color: var(--brand);
}
.link-arrow svg { transition: transform .4s var(--ease); flex: none; }
@media (max-width: 680px) { .link-arrow { min-height: 44px; } }
.link-arrow:hover svg { transform: translateX(6px); }

/* =====================================================================
   [6] THANH MENU TRÊN CÙNG
   ===================================================================== */
.header {
  /* z-index cao hơn cả panel menu để nút đóng (X) luôn bấm được khi menu mở */
  position: fixed; top: 0; left: 0; right: 0; z-index: 1002;
  height: var(--header-h);
  display: flex; align-items: center;
  background: transparent;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), height .45s var(--ease);
}
.header::after {                     /* nền kem mờ, hiện dần khi cuộn */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: rgba(255, 253, 248, .92);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border-bottom: 1px solid var(--line);
  opacity: 0; transition: opacity .45s var(--ease);
}
.header.is-stuck::after { opacity: 1; }
.header.is-stuck { height: 66px; box-shadow: var(--shadow-sm); }

/* Trang trong (không có ảnh hero toàn màn) luôn hiện nền */
.header.is-solid::after { opacity: 1; }

/* Khi menu điện thoại đang mở: thanh trên cùng đổi sang nền sáng,
   nếu không chữ trắng sẽ chìm vào nền trắng của panel menu. */
.header.menu-open::after { opacity: 1; }
.header:not(.is-stuck):not(.is-solid).menu-open .brand__name .bn-a { color: var(--pn-red); }
.header:not(.is-stuck):not(.is-solid).menu-open .brand__name .bn-b { color: var(--pn-navy); }
.header:not(.is-stuck):not(.is-solid).menu-open .brand__sub  { color: var(--brand); }
.header:not(.is-stuck):not(.is-solid).menu-open .brand__mark {
  color: var(--brand); border-color: var(--gold); background: rgba(255, 255, 255, .5);
}

.header .container { display: flex; align-items: center; justify-content: space-between; gap: 18px; }

.brand { display: flex; align-items: center; gap: 11px; flex: none; }

/* Dấu hiệu nhận diện PN: ảnh logo gốc đặt trong đĩa trắng tròn, nhờ vậy
   hai màu navy + đỏ của logo luôn hiển thị ĐÚNG dù nền sáng hay nền ảnh. */
.brand__mark {
  width: 46px; height: 46px; flex: none;
  border-radius: 50%; background: #fff;
  border: 1px solid rgba(21, 41, 76, .12);
  display: grid; place-items: center; padding: 4px;
  box-shadow: 0 3px 12px rgba(21, 41, 76, .16);
  transition: transform .5s var(--ease), box-shadow .4s var(--ease);
  overflow: hidden;
}
.brand__mark img { width: 100%; height: 100%; object-fit: contain; }
.brand:hover .brand__mark { transform: rotate(-6deg) scale(1.07); box-shadow: 0 8px 22px rgba(21, 41, 76, .26); }

.brand__text { display: flex; flex-direction: column; line-height: 1.15; }
.brand__name {
  font-size: 1.12rem; font-weight: 700;
  letter-spacing: .13em; white-space: nowrap; text-transform: uppercase;
}
/* Hai màu chữ đúng như logo: PHƯƠNG đỏ – NAM navy */
.brand__name .bn-a { color: var(--pn-red); }
.brand__name .bn-b { color: var(--pn-navy); }
.brand__sub {
  font-size: .58rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand); font-weight: 600; white-space: nowrap; line-height: 1.6;
}
/* Trên nền ảnh tối (đầu trang chủ) chữ đổi sang trắng cho đọc được */
.header:not(.is-stuck):not(.is-solid) .brand__name .bn-a,
.header:not(.is-stuck):not(.is-solid) .brand__name .bn-b { color: #fff; }
.header:not(.is-stuck):not(.is-solid) .brand__sub  { color: var(--gold-lt); }
.header:not(.is-stuck):not(.is-solid) .nav__link   { color: rgba(255, 255, 255, .92); }
.header:not(.is-stuck):not(.is-solid) .burger span { background: #fff; }

/* Menu ngang (máy tính) */
.nav { display: flex; align-items: center; gap: clamp(14px, 1.9vw, 30px); }
.nav__link {
  position: relative;
  font-size: .89rem; font-weight: 500; letter-spacing: .035em;
  color: var(--ink-2); white-space: nowrap; padding: 6px 0;
  transition: color .3s var(--ease);
}
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1.5px; width: 100%;
  background: var(--brand);
  transform: scaleX(0); transform-origin: right;
  transition: transform .42s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.nav__link.is-active { color: var(--brand); font-weight: 600; }
.header:not(.is-stuck):not(.is-solid) .nav__link.is-active { color: var(--gold-lt); }
.header:not(.is-stuck):not(.is-solid) .nav__link::after { background: var(--gold-lt); }

.header__cta { display: flex; align-items: center; gap: 10px; flex: none; }

/* Nút menu 3 gạch (điện thoại) — nút tròn viền mảnh, gạch giữa ngắn hơn */
.burger {
  display: none; width: 46px; height: 46px; flex: none;
  padding: 0; cursor: pointer; position: relative; z-index: 1002;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: background .35s var(--ease), border-color .35s var(--ease), transform .45s var(--ease);
}
.burger:hover { transform: scale(1.06); border-color: var(--brand-lt); }
.burger span {
  position: absolute; left: 50%; height: 1.7px; border-radius: 2px;
  background: var(--ink);
  transition: top .45s var(--ease), width .4s var(--ease), transform .45s var(--ease), opacity .25s;
}
.burger span:nth-child(1) { top: 16px; width: 19px; transform: translateX(-50%); }
.burger span:nth-child(2) { top: 22px; width: 13px; transform: translateX(-50%) translateX(-3px); }
.burger span:nth-child(3) { top: 28px; width: 19px; transform: translateX(-50%); }
.burger:hover span:nth-child(2) { width: 19px; transform: translateX(-50%); }

.burger.is-open,
.header:not(.is-stuck):not(.is-solid) .burger.is-open {
  background: var(--brand); border-color: var(--brand);
}
.burger.is-open span,
.header:not(.is-stuck):not(.is-solid) .burger.is-open span { background: #fff; }
.burger.is-open span:nth-child(1) { top: 22px; width: 18px; transform: translateX(-50%) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; width: 0; }
.burger.is-open span:nth-child(3) { top: 22px; width: 18px; transform: translateX(-50%) rotate(-45deg); }

/* Trên nền ảnh tối ở đầu trang chủ */
.header:not(.is-stuck):not(.is-solid) .burger {
  background: rgba(255, 255, 255, .12); border-color: rgba(255, 255, 255, .45);
}
.header:not(.is-stuck):not(.is-solid) .burger span { background: #fff; }

/* Bảng menu trượt từ phải (điện thoại) */
.drawer {
  position: fixed; inset: 0 0 0 auto; width: min(330px, 86vw); z-index: 1001;
  background: var(--cream);
  box-shadow: -20px 0 60px rgba(34, 49, 42, .2);
  transform: translateX(101%);
  visibility: hidden;
  transition: transform .5s var(--ease), visibility .5s;
  display: flex; flex-direction: column;
  padding: 92px 26px 30px;
  overflow-y: auto;
  overscroll-behavior: contain;
}
.drawer.is-open { transform: translateX(0); visibility: visible; }
.drawer__link {
  display: block; padding: 15px 2px;
  font-family: var(--font-title); font-size: 1.16rem; color: var(--ink);
  border-bottom: 1px solid var(--line);
  opacity: 0; transform: translateX(18px);
  transition: opacity .4s var(--ease), transform .4s var(--ease), color .3s;
}
.drawer.is-open .drawer__link { opacity: 1; transform: none; }
.drawer__link:hover, .drawer__link.is-active { color: var(--brand); }
.drawer__foot { margin-top: 26px; display: grid; gap: 11px; }
.drawer__note { font-size: .82rem; color: var(--ink-3); line-height: 1.7; margin-top: 18px; }

.overlay {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(34, 49, 42, .45);
  backdrop-filter: blur(3px);
  opacity: 0; visibility: hidden;
  transition: opacity .45s var(--ease), visibility .45s;
}
.overlay.is-open { opacity: 1; visibility: visible; }

@media (max-width: 1040px) {
  .nav { display: none; }
  .burger { display: grid; }
  .header__cta .btn { display: none; }
}

/* =====================================================================
   [7] HERO — ẢNH LỚN ĐẦU TRANG CHỦ
   ===================================================================== */
.hero {
  position: relative;
  min-height: min(96svh, 820px);
  display: flex; align-items: center;
  padding: calc(var(--header-h) + 50px) 0 90px;
  overflow: hidden;
  isolation: isolate;
}
.hero__bg { position: absolute; inset: 0; z-index: -2; overflow: hidden; }
.hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  animation: kenburns 24s var(--ease) infinite alternate;
}
@keyframes kenburns {
  from { transform: scale(1) translate3d(0, 0, 0); }
  to   { transform: scale(1.11) translate3d(-1.5%, -1%, 0); }
}
.hero__bg::after {                 /* lớp phủ tối để chữ luôn đọc rõ */
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(25, 38, 31, .42) 0%, rgba(25, 38, 31, .2) 45%, rgba(25, 38, 31, .7) 100%),
    radial-gradient(72% 62% at 50% 45%, rgba(0, 0, 0, 0) 0%, rgba(25, 38, 31, .28) 100%);
}
.hero__inner { max-width: 820px; margin: 0 auto; text-align: center; color: #fff; }
.hero__script {
  font-family: var(--font-title); font-style: italic; font-weight: 400;
  font-size: clamp(1.05rem, 2.4vw, 1.4rem);
  color: var(--gold-lt); margin-bottom: .5rem; line-height: 1.6;
}
.hero h1 { color: #fff; margin-bottom: .45em; text-shadow: 0 2px 26px rgba(0, 0, 0, .35); }
.hero__sub {
  font-size: clamp(1rem, 1.7vw, 1.12rem);
  color: rgba(255, 255, 255, .92);
  max-width: 620px; margin: 0 auto 2rem;
  text-shadow: 0 1px 14px rgba(0, 0, 0, .35);
}
.hero .btn-row { justify-content: center; }

/* Dải thông tin nhanh dưới hero */
.hero__strip {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  background: rgba(255, 253, 248, .95);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--gold-lt);
}
.hero__strip ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(4, 1fr);
}
.hero__strip li {
  margin: 0; padding: 18px 14px; text-align: center;
  border-left: 1px solid var(--line);
  font-size: .82rem; color: var(--ink-3); line-height: 1.5;
}
.hero__strip li:first-child { border-left: 0; }
.hero__strip b {
  display: block; font-family: var(--font-title);
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--brand); font-weight: 600;
  line-height: 1.3; margin-bottom: 2px;
}
@media (max-width: 720px) {
  .hero__strip ul { grid-template-columns: repeat(2, 1fr); }
  .hero__strip li:nth-child(3) { border-left: 0; }
  .hero__strip li:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  /* Trên điện thoại dải thông tin nằm hẳn dưới ảnh (không đè lên nút),
     nhờ vậy dù thêm bớt chữ cũng không bao giờ bị chồng lên nhau. */
  .hero { display: block; min-height: auto; padding-bottom: 0; }
  .hero > .container { padding-bottom: 48px; }
  .hero__strip { position: static; background: var(--cream); border-top: 1px solid var(--gold-lt); }
}


/* =====================================================================
   [8] HERO NHỎ CỦA TRANG CON
   ===================================================================== */
.page-hero {
  position: relative; isolation: isolate;
  padding: calc(var(--header-h) + 66px) 0 62px;
  text-align: center; color: #fff; overflow: hidden;
}
.page-hero__bg { position: absolute; inset: 0; z-index: -2; }
.page-hero__bg img {
  width: 100%; height: 100%; object-fit: cover;
  /* trôi chậm khi cuộn — phóng nhẹ để không lộ mép khi dịch chuyển */
  transform: translate3d(0, var(--py, 0px), 0) scale(1.1);
}
.page-hero__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(25, 38, 31, .66), rgba(25, 38, 31, .56));
}
.page-hero h1 { color: #fff; margin-bottom: .35em; }
.page-hero p { color: rgba(255, 255, 255, .9); max-width: 680px; margin: 0 auto; }
.crumbs {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; list-style: none; padding: 0; margin: 0 0 1.1rem;
  font-size: .8rem; letter-spacing: .06em; color: rgba(255, 255, 255, .7);
}
.crumbs a { color: var(--gold-lt); }
.crumbs li + li::before { content: "—"; margin-right: 8px; opacity: .5; }

/* =====================================================================
   [9] LƯỚI & THẺ NỘI DUNG
   ===================================================================== */
.grid { display: grid; gap: clamp(18px, 2.4vw, 30px); }
.grid > * { min-width: 0; }                 /* chặn tràn chữ trong lưới */
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; } }

/* Thẻ dịch vụ có ảnh */
.card {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform .55s var(--ease), box-shadow .55s var(--ease), border-color .55s var(--ease);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold-lt); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--cream-3); }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s var(--ease); }
.card:hover .card__media img { transform: scale(1.07); }
.card__tag {
  position: absolute; left: 14px; top: 14px; z-index: 2;
  background: rgba(255, 253, 248, .94); color: var(--brand);
  font-size: .68rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 6px 13px; border-radius: 999px; line-height: 1.6;
}
.card__body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card__body h3 { margin-bottom: .5rem; }
.card__body p { font-size: .95rem; color: var(--ink-2); }
.card__body .link-arrow { margin-top: auto; padding-top: 14px; }

/* Thẻ chỉ có chữ + icon */
.tile {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 30px 26px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s var(--ease), background .5s;
  height: 100%;
}
.tile:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-lt); }
.section--cream .tile { background: var(--white); }
.section--dark .tile { background: rgba(255, 255, 255, .055); border-color: rgba(255, 255, 255, .14); }
.section--dark .tile:hover { background: rgba(255, 255, 255, .1); border-color: var(--gold); }
.tile__icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; margin-bottom: 18px;
  background: var(--cream-2); color: var(--brand);
  transition: background .45s var(--ease), color .45s var(--ease), transform .55s var(--ease);
}
.tile:hover .tile__icon { background: var(--brand); color: #fff; transform: rotate(-6deg) scale(1.07); }
.section--dark .tile__icon { background: rgba(255,255,255,.1); color: var(--gold-lt); }
.section--dark .tile:hover .tile__icon { background: var(--gold); color: var(--ink); }
.tile h3 { font-size: 1.14rem; margin-bottom: .45rem; }
.tile p { font-size: .93rem; margin: 0; }

/* Khối 2 cột: chữ + ảnh */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(28px, 5vw, 70px); align-items: center;
}
.split > * { min-width: 0; }
.split--reverse .split__media { order: -1; }
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; }
  .split--reverse .split__media { order: 0; }
}
.split__media { position: relative; }
.split__media img { border-radius: var(--radius-lg); box-shadow: var(--shadow-md); width: 100%; }
/* khung vàng trang trí lệch phía sau ảnh */
.split__media--framed::before {
  content: ""; position: absolute; inset: 20px -20px -20px 20px;
  border: 1px solid var(--gold); border-radius: var(--radius-lg); z-index: -1;
}
@media (max-width: 620px) { .split__media--framed::before { inset: 14px -12px -12px 14px; } }

/* Danh sách có dấu tích */
.checklist { list-style: none; padding: 0; margin: 0 0 1.3em; display: grid; gap: 11px; }
.checklist li {
  position: relative; padding-left: 32px; margin: 0;
  font-size: .96rem; line-height: 1.75;
}
.checklist li::before {
  content: ""; position: absolute; left: 0; top: .52em;
  width: 16px; height: 16px; border-radius: 50%;
  background: var(--brand-lt);
  box-shadow: inset 0 0 0 1px var(--brand);
}
.checklist li::after {
  content: ""; position: absolute; left: 5px; top: calc(.52em + 4px);
  width: 5px; height: 8px; border: solid #fff; border-width: 0 1.6px 1.6px 0;
  transform: rotate(45deg);
}
.section--dark .checklist li::before { background: var(--gold); box-shadow: inset 0 0 0 1px var(--gold-lt); }
.section--dark .checklist li::after { border-color: var(--ink); }

/* =====================================================================
   [10] QUY TRÌNH LÀM VIỆC (các bước có số)
   ===================================================================== */
.steps {
  display: grid; gap: clamp(16px, 2vw, 22px);
  grid-template-columns: repeat(4, 1fr);
  position: relative;
}
/* đường nối mảnh chạy ngang qua các bước (chỉ trên máy tính) */
@media (min-width: 981px) {
  .steps::before {
    content: ""; position: absolute; left: 46px; right: 46px; top: 1px; height: 1px;
    background: repeating-linear-gradient(90deg, var(--gold) 0 6px, transparent 6px 13px);
    opacity: .45;
  }
}
@media (max-width: 980px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }

.step {
  position: relative; background: var(--white);
  border: 1px solid var(--line); border-radius: var(--radius);
  padding: 48px 24px 28px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: var(--gold-lt); }

/* Số thứ tự: vòng tròn nền sáng, viền vàng mảnh, chữ serif xanh rêu */
.step__num {
  position: absolute; top: -23px; left: 24px;
  width: 46px; height: 46px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  border: 1px solid var(--gold);
  color: var(--brand);
  font-family: var(--font-title); font-size: 1.16rem; font-weight: 600; line-height: 1;
  box-shadow: 0 5px 16px rgba(34, 49, 42, .09);
  transition: background .45s var(--ease), color .45s var(--ease),
              border-color .45s var(--ease), transform .55s var(--ease);
}
/* vòng nét đứt bên ngoài, xoay chậm khi rê chuột */
.step__num::before {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  border: 1px dashed var(--gold);
  opacity: 0; transition: opacity .45s var(--ease);
  animation: spin 9s linear infinite;
}
.step:hover .step__num::before { opacity: .65; }
@keyframes spin { to { transform: rotate(360deg); } }

.step:hover .step__num {
  background: var(--brand); color: var(--gold-lt); border-color: var(--brand);
  transform: scale(1.07);
}
.step h4 { margin-bottom: .4rem; }
.step p { font-size: .91rem; margin: 0; }
.section--cream .step { background: var(--white); }

/* Bước trên nền tối */
.section--dark .step { background: rgba(255, 255, 255, .055); border-color: rgba(255, 255, 255, .14); }
.section--dark .step__num { background: var(--brand-dk); border-color: var(--gold); color: var(--gold-lt); }
.section--dark .step:hover .step__num { background: var(--gold); color: var(--brand-dk); border-color: var(--gold); }

/* =====================================================================
   [11] BỘ SƯU TẬP ẢNH (GALLERY) + XEM ẢNH LỚN
   ===================================================================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 980px) { .gallery { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; } }

.gallery__item {
  position: relative; overflow: hidden; border-radius: var(--radius);
  aspect-ratio: 1 / 1; cursor: zoom-in; background: var(--cream-3);
  border: 0; padding: 0; display: block; width: 100%;
}
.gallery__item--tall { aspect-ratio: 1 / 1; }
@media (min-width: 981px) {
  .gallery__item--tall { grid-row: span 2; aspect-ratio: 1 / 2.07; }
  .gallery__item--wide { grid-column: span 2; aspect-ratio: 2.07 / 1; }
}
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease), filter .5s; }
.gallery__item::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(25, 38, 31, .78));
  opacity: 0; transition: opacity .45s var(--ease);
}
.gallery__item:hover img, .gallery__item:focus-visible img { transform: scale(1.09); }
.gallery__item:hover::after, .gallery__item:focus-visible::after { opacity: 1; }
.gallery__cap {
  position: absolute; left: 0; right: 0; bottom: 0; z-index: 2;
  padding: 16px 16px 15px;
  color: #fff; font-size: .82rem; font-weight: 500; line-height: 1.5;
  text-align: left;
  transform: translateY(12px); opacity: 0;
  transition: transform .45s var(--ease), opacity .45s var(--ease);
}
.gallery__item:hover .gallery__cap, .gallery__item:focus-visible .gallery__cap { transform: none; opacity: 1; }

/* Cửa sổ xem ảnh lớn */
.lightbox {
  position: fixed; inset: 0; z-index: 1200;
  background: rgba(20, 31, 25, .94);
  display: grid; place-items: center; padding: 24px;
  opacity: 0; visibility: hidden;
  transition: opacity .35s var(--ease), visibility .35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img {
  max-width: min(1100px, 94vw); max-height: 84vh; width: auto;
  border-radius: 10px; box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  transform: scale(.94); transition: transform .45s var(--ease);
}
.lightbox.is-open img { transform: scale(1); }
.lightbox__close {
  position: absolute; top: 18px; right: 20px;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .3);
  color: #fff; font-size: 1.4rem; line-height: 1; cursor: pointer;
  display: grid; place-items: center;
  transition: background .3s, transform .4s var(--ease);
}
.lightbox__close:hover { background: var(--brand); transform: rotate(90deg); }
.lightbox__cap { position: absolute; bottom: 22px; left: 0; right: 0; text-align: center; color: rgba(255,255,255,.8); font-size: .85rem; padding: 0 20px; }

/* =====================================================================
   [12] GÓI DỊCH VỤ
   ===================================================================== */
.pack {
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-lg); padding: 32px 28px 30px;
  display: flex; flex-direction: column; height: 100%;
  position: relative; overflow: hidden;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.pack:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: var(--gold); }
.pack--featured { border-color: var(--gold); box-shadow: var(--shadow-md); }
.pack--featured::before {
  content: "Được chọn nhiều nhất";
  position: absolute; top: 16px; right: -40px;
  background: var(--gold); color: var(--ink);
  font-size: .64rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  padding: 5px 44px; transform: rotate(38deg); line-height: 1.6;
}
.pack__name { font-family: var(--font-title); font-size: 1.36rem; color: var(--ink); margin-bottom: .3rem; }
.pack__for { font-size: .86rem; color: var(--brand); font-weight: 600; margin-bottom: 1.1rem; line-height: 1.6; }
.pack ul { list-style: none; padding: 0; margin: 0 0 1.5rem; display: grid; gap: 9px; }
.pack li { position: relative; padding-left: 24px; font-size: .91rem; margin: 0; line-height: 1.7; }
.pack li::before {
  content: ""; position: absolute; left: 2px; top: .62em;
  width: 7px; height: 7px; background: var(--brand-lt);
  transform: rotate(45deg);
}
.pack .btn { margin-top: auto; }

/* =====================================================================
   [13] CÂU HỎI THƯỜNG GẶP (accordion)
   ===================================================================== */
.faq { display: grid; gap: 12px; max-width: 880px; margin: 0 auto; }
.faq__item { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .4s, box-shadow .4s; }
.faq__item.is-open { border-color: var(--gold-lt); box-shadow: var(--shadow-sm); }
.faq__q {
  width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
  padding: 19px 56px 19px 22px; position: relative;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; line-height: 1.6;
  color: var(--ink);
  transition: color .3s;
}
.faq__q:hover { color: var(--brand); }
.faq__q::before, .faq__q::after {
  content: ""; position: absolute; right: 24px; top: 50%;
  background: var(--brand); border-radius: 2px;
  transition: transform .42s var(--ease), opacity .3s;
}
.faq__q::before { width: 14px; height: 2px; transform: translateY(-50%); }
.faq__q::after  { width: 2px; height: 14px; transform: translate(6px, -50%); }
.faq__item.is-open .faq__q::after { opacity: 0; transform: translate(6px, -50%) rotate(90deg); }
/* mở/đóng mượt bằng grid-template-rows (không giật như max-height) */
.faq__a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease); }
.faq__item.is-open .faq__a { grid-template-rows: 1fr; }
.faq__a > div { overflow: hidden; }
.faq__a p { padding: 0 22px 20px; font-size: .95rem; margin: 0; color: var(--ink-2); }
.faq__a p + p { padding-top: 0; }

/* =====================================================================
   [14] CẢM NHẬN KHÁCH HÀNG
   ===================================================================== */
.quote {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 34px 28px 28px; position: relative; height: 100%;
  display: flex; flex-direction: column;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.quote:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.quote::before {
  content: "“"; position: absolute; top: 2px; left: 22px;
  font-family: var(--font-title); font-size: 4.6rem; line-height: 1;
  color: var(--cream-3);
}
.quote p { position: relative; font-size: .96rem; font-style: italic; color: var(--ink-2); }
.quote__who { margin-top: auto; padding-top: 16px; display: flex; align-items: center; gap: 12px; }
.quote__ava {
  width: 42px; height: 42px; border-radius: 50%; flex: none;
  background: var(--brand-lt); color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-title); font-size: 1.05rem;
}
.quote__name { font-weight: 600; color: var(--ink); font-size: .93rem; line-height: 1.4; }
.quote__meta { font-size: .8rem; color: var(--ink-3); line-height: 1.5; }
.stars { color: var(--gold); font-size: .85rem; letter-spacing: .12em; margin-bottom: .6rem; line-height: 1; }

/* =====================================================================
   [15] KHỐI KÊU GỌI LIÊN HỆ (CTA)
   ===================================================================== */
.cta-band {
  position: relative; isolation: isolate; overflow: hidden;
  padding: clamp(54px, 7vw, 92px) 0; text-align: center; color: #fff;
}
.cta-band__bg { position: absolute; inset: 0; z-index: -2; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band__bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(120deg, rgba(34, 49, 42, .9), rgba(150, 86, 63, .82));
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255, 255, 255, .9); max-width: 640px; margin: 0 auto 1.8rem; }
.cta-band .btn-row { justify-content: center; }

/* =====================================================================
   [16] KÊNH LIÊN HỆ
   ===================================================================== */
.contact-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 24px 22px;
  transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
  height: 100%;
}
.contact-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: var(--gold-lt); }
.contact-card__icon {
  width: 48px; height: 48px; flex: none; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--cream-2); color: var(--brand);
  transition: background .4s, color .4s, transform .5s var(--ease);
}
.contact-card:hover .contact-card__icon { background: var(--brand); color: #fff; transform: scale(1.08); }
.contact-card__body { min-width: 0; }
.contact-card h4 { margin-bottom: .2rem; }
.contact-card p { font-size: .9rem; margin: 0 0 .5rem; }
.contact-card a.big {
  font-family: var(--font-title); font-size: 1.16rem; color: var(--brand);
  font-weight: 600; word-break: break-word; line-height: 1.5;
  display: inline-block;
  padding: 7px 0;            /* vùng bấm đủ lớn cho ngón tay trên điện thoại */
  min-height: 44px;
  transition: color .3s var(--ease), transform .35s var(--ease);
}
.contact-card a.big:hover { transform: translateX(3px); }

.map-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  background: var(--cream-3);
  aspect-ratio: 16 / 9;
}
@media (max-width: 720px) { .map-wrap { aspect-ratio: 4 / 3; } }
.map-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

/* =====================================================================
   [17] CHÂN TRANG
   ===================================================================== */
.footer { background: var(--brand-dk); color: #B9C9BE; padding: clamp(50px, 6vw, 76px) 0 0; }
.footer h4 { color: #F4FAF5; font-size: 1.02rem; margin-bottom: 1rem; }
.footer a { color: #B9C9BE; }
.footer a:hover { color: var(--gold-lt); }
.footer__grid {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: clamp(26px, 3vw, 44px);
}
@media (max-width: 900px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer__grid { grid-template-columns: 1fr; } }
.footer__grid > * { min-width: 0; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer li { margin: 0; font-size: .92rem; }
.footer p { font-size: .92rem; }

.footer .brand__mark { background: #fff; border-color: rgba(255,255,255,.2); }
.footer .brand__name .bn-a { color: var(--pn-red); }
.footer .brand__name .bn-b { color: #F4FAF5; }
.footer .brand__sub { color: var(--gold-lt); }
.footer__social { display: flex; gap: 10px; margin-top: 16px; }
.footer__social a {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .13);
  color: #DCE7DF;
  transition: background .35s, transform .45s var(--ease), color .35s;
}
.footer__social a:hover { background: var(--brand); color: #fff; transform: translateY(-4px); }
.footer__bottom {
  margin-top: clamp(34px, 4vw, 52px); border-top: 1px solid rgba(255, 255, 255, .1);
  padding: 20px 0 26px;
  display: flex; flex-wrap: wrap; gap: 10px 20px; justify-content: space-between;
  font-size: .82rem; color: #8FA396; line-height: 1.7;
}

/* =====================================================================
   [18] CỤM NÚT LIÊN HỆ NỔI
        - Máy tính : cột icon + nút gọi đỏ ở mép trái màn hình
        - Điện thoại: thanh 4 nút dính đáy (Gọi · Zalo · Fanpage · Bản đồ)
   ===================================================================== */

/* ---------- Cột nổi bên trái (máy tính) ----------
     📝 Muốn chuyển sang mép PHẢI: đổi  left: 18px;  thành  right: 18px;
        và trong phần nhãn bên dưới đổi  left: calc(100% + 12px)  thành
        right: calc(100% + 12px).
     📝 Muốn đưa lên giữa màn hình: thay  bottom: 22px;  bằng
        top: 50%; transform: translateY(-50%);
     -------------------------------------------------- */
.side-contact {
  position: fixed; left: 18px; bottom: 22px; z-index: 940;
  display: flex; flex-direction: column; align-items: flex-start; gap: 12px;
}
@media (max-width: 1040px) { .side-contact { display: none; } }

.side-contact__ic {
  position: relative;
  width: 48px; height: 48px; border-radius: 50%;
  display: grid; place-items: center;
  background: var(--white);
  box-shadow: 0 6px 20px rgba(34, 49, 42, .2);
  transition: transform .45s var(--ease), box-shadow .45s var(--ease);
}
.side-contact__ic:hover { transform: translateY(-4px) scale(1.08); box-shadow: 0 12px 28px rgba(34, 49, 42, .26); }
.side-contact__ic svg { width: 32px; height: 32px; }

/* nhãn hiện ra khi rê chuột */
.side-contact__ic::after {
  content: attr(data-label);
  position: absolute; left: calc(100% + 12px); top: 50%;
  transform: translateY(-50%) translateX(-8px);
  background: var(--ink); color: #fff;
  font-size: .74rem; font-weight: 600; letter-spacing: .02em; line-height: 1.6;
  padding: 6px 12px; border-radius: 9px; white-space: nowrap;
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .38s var(--ease);
}
.side-contact__ic:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

/* Nút gọi viên thuốc màu đỏ.
   Mặc định thu gọn thành nút tròn để không che chữ của trang;
   rê chuột vào là nở ra hiện số. Màn hình rất rộng thì hiện số sẵn. */
.side-contact__call {
  position: relative;
  display: inline-flex; align-items: center;
  height: 46px; padding: 0 0 0 48px;
  max-width: 48px; overflow: hidden;
  background: var(--call); color: #fff;
  border-radius: 999px; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: 1.02rem; letter-spacing: .01em;
  box-shadow: 0 8px 22px rgba(226, 59, 59, .36);
  transition: max-width .55s var(--ease), transform .45s var(--ease), box-shadow .45s var(--ease), background .3s;
}
/* chữ số ẩn khi nút đang thu gọn, tránh bị cắt lem nhem */
.side-contact__call > span:not(.side-contact__call-ic) {
  opacity: 0; transition: opacity .3s var(--ease) .12s;
}
.side-contact__call:hover > span:not(.side-contact__call-ic),
.side-contact__call:focus-visible > span:not(.side-contact__call-ic) { opacity: 1; }

.side-contact__call:hover,
.side-contact__call:focus-visible {
  max-width: 320px; padding-right: 24px;
  color: #fff; background: var(--call-dk);
  transform: translateY(-3px); box-shadow: 0 14px 30px rgba(226, 59, 59, .44);
}
/* Màn hình rộng: lề trang đủ chỗ nên hiện luôn số điện thoại */
@media (min-width: 1700px) {
  .side-contact__call { max-width: 320px; padding-right: 24px; }
  .side-contact__call > span:not(.side-contact__call-ic) { opacity: 1; }
}

.side-contact__call-ic {
  position: absolute; left: -1px; top: 50%; transform: translateY(-50%);
  width: 48px; height: 48px; border-radius: 50%;
  background: var(--call);
  display: grid; place-items: center;
  box-shadow: 0 5px 14px rgba(226, 59, 59, .45);
  border: 3px solid #fff;
}
.side-contact__call-ic svg { width: 19px; height: 19px; animation: ring 2.4s var(--ease) infinite; }
@keyframes ring {
  0%, 62%, 100% { transform: rotate(0); }
  66% { transform: rotate(-14deg); }
  70% { transform: rotate(12deg); }
  74% { transform: rotate(-10deg); }
  78% { transform: rotate(8deg); }
  82% { transform: rotate(0); }
}
/* vòng sóng lan toả quanh nút gọi */
.side-contact__call-ic::before,
.side-contact__call-ic::after {
  content: ""; position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid var(--call);
  animation: wave 2.6s var(--ease) infinite;
}
.side-contact__call-ic::after { animation-delay: .9s; }
@keyframes wave {
  0%   { transform: scale(1);   opacity: .65; }
  75%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}

/* ---------- Thanh 4 nút dính đáy (điện thoại) ---------- */
.callbar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 950;
  display: none; grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px rgba(34, 49, 42, .12);
  padding-bottom: env(safe-area-inset-bottom);
}
.callbar a {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  padding: 9px 4px 8px; font-size: .68rem; font-weight: 600; color: var(--ink-2);
  border-left: 1px solid var(--line); line-height: 1.4; text-align: center;
  transition: background .3s, color .3s;
}
.callbar a:first-child { border-left: 0; }
.callbar a:active { background: var(--cream-2); }
.callbar svg { width: 21px; height: 21px; }
/* nút Gọi nổi bật hơn ba nút còn lại */
.callbar a.is-call { color: var(--call); }
.callbar a.is-call svg { animation: ring 2.4s var(--ease) infinite; }

@media (max-width: 1040px) {
  .callbar { display: grid; }
  body { padding-bottom: 64px; }   /* chừa chỗ, tránh thanh che nội dung */
}

/* Nút lên đầu trang */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 939;
  width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; cursor: pointer;
  background: var(--white); color: var(--ink); border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  opacity: 0; visibility: hidden; transform: translateY(10px);
  transition: opacity .4s, visibility .4s, transform .4s var(--ease), background .3s, color .3s;
}
.to-top.is-on { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; border-color: var(--brand); }
@media (max-width: 1040px) { .to-top { bottom: 80px; right: 16px; width: 42px; height: 42px; } }

/* =====================================================================
   [19] HIỆU ỨNG XUẤT HIỆN KHI CUỘN TRANG
   ===================================================================== */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity .85s var(--ease), transform .85s var(--ease);
  transition-delay: var(--d, 0ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; }
.reveal--left  { transform: translateX(-30px); }
.reveal--right { transform: translateX(30px); }
.reveal--zoom  { transform: scale(.94); }
.reveal--left.is-in, .reveal--right.is-in, .reveal--zoom.is-in { transform: none; }

/* Hiệu ứng chữ chạy lên khi mở trang (hero) */
.rise { opacity: 0; transform: translateY(20px); animation: rise .95s var(--ease) forwards; animation-delay: var(--d, 0ms); }
@keyframes rise { to { opacity: 1; transform: none; } }

/* Thanh tiến độ cuộn trang */
.progress {
  position: fixed; top: 0; left: 0; height: 2.5px; z-index: 999;
  width: 0%;
  background: linear-gradient(90deg, var(--brand), var(--gold));
  transition: width .12s linear;
}

/* Số liệu đếm tăng dần */
.stat { text-align: center; padding: 10px; }
.stat b {
  display: block; font-family: var(--font-title);
  font-size: clamp(2rem, 4.4vw, 3rem); color: var(--brand);
  font-weight: 600; line-height: 1.2;
}
.section--dark .stat b { color: var(--gold-lt); }
.stat span { font-size: .87rem; color: var(--ink-3); line-height: 1.6; display: block; }
.section--dark .stat span { color: #B9C9BE; }

/* Ảnh chưa tải được -> hiện khung nhãn thay vì bị vỡ */
img.img-fallback {
  background:
    repeating-linear-gradient(45deg, var(--cream-2) 0 12px, var(--cream-3) 12px 24px);
  object-fit: cover;
}

/* Bài viết dài: định dạng nội dung chữ */
.prose h3 { margin-top: 2.1em; }
.prose h3:first-child { margin-top: 0; }
.prose h4 { margin-top: 1.7em; color: var(--brand); }
.prose blockquote {
  margin: 1.6em 0; padding: 18px 24px;
  border-left: 3px solid var(--gold);
  background: var(--cream-2); border-radius: 0 var(--radius) var(--radius) 0;
  font-style: italic; color: var(--ink-2);
}
.prose blockquote p:last-child { margin-bottom: 0; }

/* Bảng so sánh */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--line); background: var(--white); }
table { width: 100%; border-collapse: collapse; min-width: 560px; font-size: .93rem; }
th, td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); line-height: 1.7; vertical-align: top; }
th { background: var(--cream-2); font-weight: 600; color: var(--ink); font-size: .88rem; letter-spacing: .02em; }
tr:last-child td { border-bottom: 0; }
tbody tr { transition: background .3s; }
tbody tr:hover { background: var(--cream); }

/* =====================================================================
   [20] TÔN TRỌNG CÀI ĐẶT "GIẢM CHUYỂN ĐỘNG" CỦA MÁY NGƯỜI DÙNG
   ===================================================================== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal { opacity: 1 !important; transform: none !important; }
  .rise { opacity: 1 !important; transform: none !important; }
}

/* Viền khi điều hướng bằng bàn phím (hỗ trợ tiếp cận) */
:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

/* =====================================================================
   [21] MENU CON "DỊCH VỤ" (thả xuống khi rê chuột — chỉ trên máy tính)
   ===================================================================== */
.nav__item { position: relative; display: flex; align-items: center; }
.nav__item > .nav__link { display: inline-flex; align-items: center; gap: 5px; }
.nav__item > .nav__link svg { transition: transform .35s var(--ease); flex: none; }
.nav__item:hover > .nav__link svg { transform: rotate(180deg); }

.submenu {
  position: absolute; top: 100%; left: 50%; z-index: 20;
  transform: translate(-50%, 10px);
  min-width: 248px; padding: 10px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: opacity .32s var(--ease), transform .32s var(--ease), visibility .32s;
  list-style: none; margin: 0;
}
.submenu::before {           /* vùng đệm vô hình để chuột không bị hụt */
  content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px;
}
.nav__item:hover .submenu,
.nav__item:focus-within .submenu {
  opacity: 1; visibility: visible; pointer-events: auto;
  transform: translate(-50%, 6px);
}
.submenu li { margin: 0; }
.submenu a {
  display: block; padding: 10px 14px; border-radius: 9px;
  font-size: .88rem; font-weight: 500; color: var(--ink-2); line-height: 1.5;
  transition: background .28s, color .28s, padding-left .32s var(--ease);
}
.submenu a:hover, .submenu a.is-active {
  background: var(--cream-2); color: var(--brand); padding-left: 19px;
}

/* Nhóm dịch vụ trong menu điện thoại */
.drawer__group {
  font-size: .68rem; letter-spacing: .2em; text-transform: uppercase;
  color: var(--brand); font-weight: 700;
  margin: 22px 0 4px; line-height: 1.8;
}
.drawer__link--sub { padding-left: 16px; font-size: 1.02rem; }

/* =====================================================================
   [22] HIỆU ỨNG NÂNG CAO
   ---------------------------------------------------------------------
   Tất cả đều tự tắt nếu máy người dùng bật chế độ "giảm chuyển động"
   (xem mục [20]). Bạn không cần sửa gì ở đây.
   ===================================================================== */

/* ---------- 22.1 Tiêu đề hiện lên theo từng chữ ---------- */
.tw .w {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  /* chừa chỗ cho dấu tiếng Việt (ế, ộ, ằ) khỏi bị cắt mất */
  padding: .18em .02em .04em;
  margin: -.18em -.02em -.04em;
}
.tw .w > i {
  display: inline-block; font-style: inherit;
  transform: translateY(118%);
  opacity: 0;
  transition: transform .9s var(--ease), opacity .55s var(--ease);
  transition-delay: var(--wd, 0ms);
  will-change: transform;
}
.tw.is-in .w > i { transform: none; opacity: 1; }

/* ---------- 22.2 Ảnh mở ra như kéo rèm ---------- */
/* Lưu ý: KHÔNG đặt overflow:hidden ở đây, nếu không khung vàng trang trí
   nằm lệch phía sau ảnh (.split__media--framed) sẽ bị cắt mất. */
.mr { position: relative; }
.mr::after {
  content: ""; position: absolute; inset: 0; z-index: 3;
  border-radius: inherit;
  background: linear-gradient(120deg, var(--cream-2), var(--cream-3));
  transform: scaleX(1); transform-origin: left center;
  transition: transform 1.05s var(--ease) .1s;
}
.mr.is-in::after { transform: scaleX(0); transform-origin: right center; }
.split__media.mr::after { border-radius: var(--radius-lg); }

/* chỉ phóng ảnh ở nơi đã có sẵn khung cắt (thẻ dịch vụ) */
.card__media.mr > img { transform: scale(1.12); transition: transform 1.6s var(--ease); }
.card__media.mr.is-in > img { transform: none; }

/* ---------- 22.3 Nghiêng nhẹ theo con trỏ (máy tính) ---------- */
@media (hover: hover) and (min-width: 981px) {
  .tilt { transform-style: preserve-3d; will-change: transform; }
  .tilt > * { transform: translateZ(0); }
}

/* ---------- 22.4 Gạch chân vàng vẽ dần dưới tiêu đề mục ---------- */
.sec-head .eyebrow { position: relative; }
.sec-head .eyebrow::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -5px; height: 1px;
  background: var(--gold);
  transform: scaleX(0); transform-origin: left;
  transition: transform .9s var(--ease) .25s;
}
.reveal.is-in .eyebrow::after,
.sec-head.is-in .eyebrow::after { transform: scaleX(1); }

/* ---------- 22.5 Viền sáng chạy quanh thẻ khi rê chuột ---------- */
.card, .tile, .pack { position: relative; }
.card::after, .pack::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(240px circle at var(--mx, 50%) var(--my, 50%),
              rgba(201, 162, 39, .14), transparent 62%);
  opacity: 0; transition: opacity .45s var(--ease);
  z-index: 1;
}
.card:hover::after, .pack:hover::after { opacity: 1; }
.card > *, .pack > * { position: relative; z-index: 2; }

/* ---------- 22.6 Ảnh nền trôi chậm khi cuộn (parallax) ---------- */
.page-hero__bg img, .parallax { will-change: transform; }

/* ---------- 22.7 Con số đếm có ánh sáng quét qua ---------- */
.stat b { position: relative; display: inline-block; }

/* =====================================================================
   [23] THANH NHẢY NHANH GIỮA CÁC HẠNG MỤC  (trang Décor tiệc cưới)
   Dính dưới thanh menu, bấm vào là cuộn tới đúng hạng mục.
   ===================================================================== */
.jump {
  position: sticky; top: var(--header-h); z-index: 60;
  background: rgba(255, 253, 248, .93);
  -webkit-backdrop-filter: saturate(160%) blur(12px);
  backdrop-filter: saturate(160%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.jump ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}
.jump ul::-webkit-scrollbar { display: none; }
.jump li { margin: 0; flex: none; }
.jump a {
  display: block; padding: 15px 16px; font-size: .9rem; font-weight: 500;
  color: var(--ink-2); white-space: nowrap; position: relative;
}
.jump a::after {
  content: ""; position: absolute; left: 16px; right: 16px; bottom: 9px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: right;
  transition: transform .4s var(--ease);
}
.jump a:hover, .jump a.is-here { color: var(--brand); }
.jump a:hover::after, .jump a.is-here::after { transform: scaleX(1); transform-origin: left; }

/* =====================================================================
   [24] KHỐI LOGO LỚN (chân trang liên hệ / giới thiệu)
   ===================================================================== */
.logo-block { text-align: center; }
.logo-block img { width: min(300px, 78vw); margin: 0 auto 18px; }
.logo-block p { color: var(--ink-3); font-size: .92rem; }

/* Dải chữ chạy nhẹ ngăn cách các khối (không bắt buộc, chỉ để đẹp) */
.marquee {
  overflow: hidden; border-block: 1px solid var(--line);
  background: var(--cream-2); padding: 14px 0;
}
.marquee__row { display: flex; gap: 46px; width: max-content; animation: slide 34s linear infinite; }
.marquee span {
  font-family: var(--font-title); font-style: italic; font-size: 1.04rem;
  color: var(--ink-3); white-space: nowrap; display: flex; align-items: center; gap: 46px;
}
.marquee span::after { content: "◆"; font-size: .55rem; color: var(--gold); font-style: normal; }
@keyframes slide { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee__row { animation: none; } }


/* =====================================================================
   [25] KHUNG BÀI ĐĂNG FACEBOOK
   Địa chỉ Fanpage lấy tự động từ assets/js/config.js — không sửa ở đây.
   ===================================================================== */
.fb-embed {
  max-width: 500px; margin: 0 auto;
  border: 1px solid var(--line); border-radius: var(--radius);
  background: var(--white); box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.fb-embed iframe { display: block; width: 100%; height: 680px; border: 0; }
.fb-note { text-align: center; font-size: .88rem; color: var(--ink-3); margin-top: 16px; }
.fb-note a { font-weight: 600; }

/* Khi đặt cạnh bản đồ ở trang Liên hệ */
.fb-side { display: grid; grid-template-columns: 1.1fr .9fr; gap: clamp(20px, 2.6vw, 34px); align-items: start; }
.fb-side > * { min-width: 0; }
/* Bản đồ và khung Facebook cao bằng nhau cho cân mắt */
@media (min-width: 901px) {
  .fb-side .map-wrap { aspect-ratio: auto; height: 560px; }
}
@media (max-width: 900px) {
  .fb-side { grid-template-columns: 1fr; }
  .fb-side .fb-embed { max-width: 500px; }
}
