/* ============================================================
   Nhà hàng Chay — Section layout styles
   ============================================================ */

/* ---------------- NAVBAR ---------------- */
.nav-inner {
  max-width: 1320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 14px clamp(20px, 4vw, 40px);
}
.nav-logo img { height: 42px; max-width: 160px; object-fit: contain; }
/* Wordmark chữ thay cho logo ảnh cũ (dùng ở navbar, preloader, overlay, footer) */
.brand-wordmark {
  font-family: var(--font-heading); font-weight: 600; letter-spacing: 0.06em;
  line-height: 1; color: var(--brand-dark-brown); white-space: nowrap; display: inline-block;
}
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: 15px; font-weight: 500; color: var(--text-secondary);
  padding: 6px 10px; border-radius: 8px; transition: color .25s ease;
}
.nav-link:hover { color: var(--brand-green-800); }
.nav-dot { color: var(--brand-wood); opacity: 0.5; }
.nav-cta { padding: 11px 22px; font-size: 14px; }
.nav-burger {
  display: none; width: 46px; height: 46px; border: 0; background: transparent;
  flex-direction: column; align-items: center; justify-content: center; gap: 5px;
}
.burger-bar {
  width: 24px; height: 2px; border-radius: 2px; background: var(--brand-dark-brown);
  transition: transform .3s ease, opacity .3s ease;
}
.burger-bar.b1 { transform: translateY(7px) rotate(45deg); }
.burger-bar.b2 { opacity: 0; }
.burger-bar.b3 { transform: translateY(-7px) rotate(-45deg); }

.mobile-overlay {
  position: fixed; inset: 0; z-index: 40;
  background: rgba(245,241,230,0.96);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  display: flex; flex-direction: column; justify-content: center;
  align-items: flex-start; padding: 0 32px; gap: 28px;
  transition: opacity .4s ease;
}
.overlay-logo { height: 44px; object-fit: contain; margin-bottom: 8px; }
.overlay-links { display: flex; flex-direction: column; gap: 4px; }
.overlay-link {
  font-family: var(--font-heading); font-size: 34px; font-weight: 600;
  color: var(--brand-dark-brown); letter-spacing: -0.02em; line-height: 1.2;
}
.overlay-cta { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; margin-top: 12px; }

/* ---------------- HERO ---------------- */
.hero {
  position: relative; min-height: 100vh; min-height: 100svh;
  display: flex; align-items: center; overflow: hidden;
  padding: 116px clamp(20px, 5vw, 80px) 80px;
}
.hero-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.arch {
  position: absolute; border-radius: 999px 999px 0 0;
  background: linear-gradient(180deg, rgba(215,199,176,0.55), rgba(237,228,212,0.15));
  filter: blur(0.5px);
}
.arch-1 {
  width: 340px; height: 520px; left: -90px; top: 14%;
  transform: translate(calc(var(--mx) * 10px), calc(var(--my) * 10px));
  opacity: 0.6;
}
.arch-2 {
  width: 250px; height: 380px; right: 4%; bottom: -60px;
  background: linear-gradient(180deg, rgba(205,188,167,0.4), transparent);
  transform: translate(calc(var(--mx) * -8px), calc(var(--my) * -8px));
  opacity: 0.5;
}
.green-glow {
  position: absolute; right: -8%; top: 10%; width: 46%; height: 80%;
  background: radial-gradient(closest-side, rgba(28,75,46,0.16), transparent 75%);
  filter: blur(20px);
}

.hero-grid {
  position: relative; z-index: 1; width: 100%; max-width: 1320px; margin: 0 auto;
  display: grid; grid-template-columns: 50% 50%; align-items: center; gap: 48px;
}
.hero-content {
  position: relative;
  z-index: 30;
  animation: heroRise .9s cubic-bezier(.22,.61,.36,1) both;
}
.hero-intro {
  margin-bottom: 20px; font-size: clamp(15px, 2vw, 20px); line-height: 1.45;
  color: var(--text-secondary);
  pointer-events: none; user-select: none;
}
.hero-h1 {
  font-size: clamp(38px, 4.4vw, 66px); line-height: 1.1;
  color: var(--brand-dark-brown); letter-spacing: -0.02em;
  max-width: 15ch; font-weight: 600; text-wrap: balance;
}
.hero-brand-line { white-space: normal; }
.hero-accent { color: var(--brand-green-800); }
.hero-dash { color: var(--brand-wood); }
.hero-tw {
  font-size: clamp(16px, 1.6vw, 20px); line-height: 1.55; max-width: 600px;
  color: var(--text-secondary); margin-top: 28px; margin-bottom: 24px;
  min-height: 4.6em;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  border-radius: 999px; border: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.32); backdrop-filter: blur(8px);
  padding: 8px 15px; font-size: 13.5px; font-weight: 500; color: var(--text-secondary);
}
.badge-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--brand-leaf); }
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px;
  animation: heroRise .6s cubic-bezier(.22,.61,.36,1) .4s both;
}

/* Hero visual */
.hero-visual {
  position: relative;
  z-index: 1;
  isolation: isolate;
  display: flex;
  justify-content: center;
}
/* =========================================================
   PROMPT 04 — HERO FRAME IMAGE SLIDER & EMERALD RADIAL OVERLAY
   Mục tiêu:
   - Chuẩn bị nhiều ảnh hero thật
   - Chuyển ảnh mượt, nhẹ
   - Overlay xanh phú quý từ góc dưới trái
   - Không tạo ảnh giả, không broken image
   ========================================================= */
/* =========================================================
   PROMPT 06 — LIGHTER HERO BANNER TREATMENT
   Mục tiêu:
   - Banner sáng hơn, hợp nền nền chủ đạo (kem/gold)
   - Vẫn có emerald/gold accent nhẹ ở góc dưới trái
   - Tự dùng ảnh thật từ assets/banner/
   ========================================================= */
.hero-frame {
  position: relative; width: min(450px, 100%); aspect-ratio: 4/5;
  border-radius: 34px; overflow: hidden; isolation: isolate;
  box-shadow: 0 26px 70px rgba(63,51,45,0.18), 0 14px 40px rgba(162,131,90,0.16);
  border: 1px solid rgba(216,184,136,0.55);
  background: var(--brand-warm-cream);
  transform: translate(calc(var(--mx) * 12px), calc(var(--my) * 12px));
  transition: transform .25s ease-out;
  animation: floaty 9s ease-in-out infinite;
}
.hero-slide {
  position: absolute; inset: 0; z-index: 1;
  width: 100%; height: 100%; object-fit: cover; object-position: center;
  opacity: 0;
  transform: scale(1.025) translate3d(0, 0, 0);
  transition: opacity 0.95s ease, transform 4s cubic-bezier(.22,.61,.36,1);
  will-change: opacity, transform;
  filter: brightness(1.05) saturate(0.99) contrast(0.97);
}
.hero-slide.is-active {
  opacity: 1;
  transform: scale(1.05) translate3d(1.1%, -0.7%, 0);
}
/* overlay sáng: veil kem/gold + emerald nhẹ ở góc dưới trái (không làm ảnh tối) */
.hero-image-overlay {
  position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background:
    radial-gradient(circle at bottom left,
      rgba(245, 241, 230, 0.42) 0%,
      rgba(217, 190, 140, 0.24) 26%,
      rgba(28, 75, 46, 0.16) 50%,
      rgba(28, 75, 46, 0) 78%),
    linear-gradient(to top right, rgba(245,241,230,0.20), rgba(245,241,230,0) 55%);
  background-size: 150% 150%;
  background-position: 0% 100%;
  opacity: 0.9;
  animation: heroOverlayBreath 14s ease-in-out infinite;
}
@keyframes heroOverlayBreath {
  0%, 100% { background-position: 0% 100%; opacity: 0.85; }
  50% { background-position: 18% 84%; opacity: 0.96; }
}
.frame-sheen {
  position: absolute; inset: 0;
  z-index: 3; pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 34%),
    linear-gradient(180deg, transparent 56%, rgba(63,51,45,0.20));
}
.hero-slider-dots {
  position: absolute; z-index: 4; left: 50%; bottom: 18px;
  transform: translateX(-50%);
  display: flex; align-items: center; gap: 8px;
  padding: 7px 9px; border-radius: 999px;
  background: rgba(8,33,21,0.26);
  border: 1px solid rgba(216,184,136,0.28);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.hero-slider-dot {
  width: 9px; height: 9px; border-radius: 50%;
  padding: 0; border: 1px solid rgba(245,241,230,0.72);
  background: rgba(245,241,230,0.36);
  transition: background .25s ease, box-shadow .25s ease, transform .25s ease;
}
.hero-slider-dot.is-active {
  background: var(--gold-bright);
  box-shadow: 0 0 0 4px rgba(216,184,136,0.18);
  transform: scale(1.08);
}
.float-card {
  position: absolute; background: rgba(245,241,230,0.78);
  backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,0.6);
  border-radius: 18px; box-shadow: var(--shadow-soft); padding: 16px 18px;
  z-index: 30;
}
.float-card-a {
  left: -6%; bottom: 14%; max-width: 230px;
  transform: translate(calc(var(--mx) * -16px), calc(var(--my) * -10px));
}
.fc-eyebrow {
  display: inline-flex; align-items: center; gap: 7px; font-size: 13px;
  font-weight: 600; color: var(--brand-green-800); margin-bottom: 6px;
}
.fc-text { font-size: 13.5px; line-height: 1.45; color: var(--text-secondary); }
.float-card-b {
  right: -4%; top: 12%; display: flex; flex-direction: column; align-items: center;
  padding: 16px 22px; transform: translate(calc(var(--mx) * 14px), calc(var(--my) * 8px));
}
.fc-stat { font-family: var(--font-heading); font-size: 24px; font-weight: 600; color: var(--brand-dark-brown); white-space: nowrap; line-height: 1; }
.fc-stat-label { font-size: 12px; color: var(--text-muted); letter-spacing: 0.04em; margin-top: 4px; }

.hero-scroll {
  position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  font-size: 11px; letter-spacing: 0.22em; text-transform: uppercase; color: var(--text-muted);
}
.scroll-line { width: 1px; height: 38px; background: linear-gradient(var(--brand-wood), transparent); }

/* ---------------- STORY ---------------- */
.story { overflow: visible; } /* PROMPT 06 — cành sen lớn vươn lên vùng chuyển Hero→Story (body overflow-x:hidden chống tràn ngang) */
.story-grid { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.story-h2 { font-size: clamp(34px, 4.5vw, 62px); line-height: 1.04; color: var(--brand-dark-brown); margin-top: 22px; max-width: 14ch; }
.story-body { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.65; color: var(--text-secondary); margin-top: 26px; max-width: 46ch; }
.story-sign { margin-top: 30px; display: flex; align-items: center; gap: 12px; }
.sign-line { width: 80px; height: 1px; background: var(--border-green); }
.story-cards { display: flex; flex-direction: column; gap: 16px; }
.story-card {
  display: flex; gap: 20px; align-items: flex-start; padding: 26px;
  background: rgba(255,255,255,0.4); border: 1px solid var(--border-soft);
  border-radius: 20px;
}
.story-card:hover { border-color: var(--brand-gold); box-shadow: var(--shadow-soft); background: rgba(255,255,255,0.6); }
.sc-index { font-family: var(--font-heading); font-size: 22px; color: var(--brand-gold); font-weight: 600; }
.sc-title { font-size: 24px; color: var(--brand-dark-brown); margin-bottom: 6px; }
.sc-desc { font-size: 15px; line-height: 1.55; color: var(--text-secondary); }

/* ---------------- EXPERIENCE ---------------- */
.experience { color: var(--cream-on-dark); overflow: hidden; }
.exp-glow {
  position: absolute; left: 8%; top: 20%; width: 50%; height: 60%;
  background: radial-gradient(closest-side, rgba(138,203,69,0.10), transparent 70%);
  filter: blur(30px); animation: glowDrift 14s ease-in-out infinite; pointer-events: none;
}
.exp-branch { position: absolute; right: 4%; top: 0; height: 100%; width: 200px; opacity: 0.7; pointer-events: none; }
.exp-wrap { position: relative; z-index: 1; }
.exp-head { max-width: 760px; }
.exp-h2 { font-size: clamp(34px, 4.6vw, 64px); line-height: 1.05; color: var(--cream-on-dark); margin-top: 22px; }
.exp-divider { height: 1px; width: 120px; background: linear-gradient(90deg, var(--gold-bright), transparent); margin: 26px 0; }
.exp-body { font-size: clamp(16px, 1.6vw, 19px); line-height: 1.7; color: rgba(237,231,216,0.78); max-width: 58ch; }
.exp-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-top: 54px; }
.exp-card {
  padding: 28px 24px; border-radius: 18px;
  background: rgba(237,231,216,0.04); border: 1px solid rgba(162,131,90,0.28);
  position: relative; display: flex; flex-direction: column;
}
.exp-card::before {
  content: ""; position: absolute; left: 0; top: 24px; bottom: 24px; width: 2px;
  background: linear-gradient(var(--gold-bright), transparent); border-radius: 2px; opacity: 0.5;
}
.exp-card:hover { border-color: var(--gold-bright); box-shadow: 0 0 0 1px rgba(216,184,136,0.25), 0 30px 60px rgba(8,33,21,0.4); }
.exp-mark { display: inline-flex; margin-bottom: 14px; }
.exp-card-title { font-size: 24px; color: var(--gold-bright); margin-bottom: 8px; line-height: 1.15; }
.exp-card-desc { font-size: 14.5px; line-height: 1.55; color: rgba(237,231,216,0.72); }

/* ---------------- MENU ---------------- */
.menu-head { text-align: center; max-width: 640px; margin: 0 auto; }
.menu-h2 { font-size: clamp(34px, 4.5vw, 60px); line-height: 1.05; color: var(--brand-dark-brown); margin-top: 14px; }
.menu-sub { font-size: clamp(15px, 1.5vw, 18px); line-height: 1.6; color: var(--text-secondary); margin-top: 16px; }
.menu-tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 42px auto 0; max-width: 100%; }
.menu-pill {
  border-radius: 999px; padding: 10px 22px; font-size: 14.5px; font-weight: 600;
  background: rgba(255,255,255,0.4); color: var(--text-secondary);
  border: 1px solid var(--border-soft); transition: all .3s ease; white-space: nowrap;
}
.menu-pill:hover { color: var(--brand-green-800); border-color: var(--brand-gold); }
.menu-pill.active { background: var(--brand-green-900); color: var(--brand-cream); border-color: var(--brand-green-900); }
.menu-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 40px; }
@keyframes cardIn { from { transform: translateY(18px); } to { transform: translateY(0); } }

/* =========================================================
   PROMPT 02 — MENU IMAGE SYSTEM & DISH LIGHTBOX
   Mục tiêu:
   - Card là <button> click được, vẫn đẹp khi CHƯA có ảnh thật
   - Khung "image-ready frame" tinh tế (không phải ảnh giả)
   - Modal xem chi tiết món
   ========================================================= */
/* Card = button: reset style mặc định của button + giữ layout dọc */
.menu-card {
  appearance: none; width: 100%; text-align: left; font-family: inherit; color: inherit;
  padding: 0; overflow: hidden; border-radius: 18px;
  background: rgba(255,255,255,0.42); border: 1px solid var(--border-soft);
  display: flex; flex-direction: column; cursor: pointer;
  /* backwards (không phải both): giữ trạng thái đầu khi delay, kết thúc trả về base
     -> không chặn transform:hover (card vẫn lift được khi hover) */
  animation: cardIn .55s cubic-bezier(.22,.61,.36,1) backwards;
  transition: transform .45s cubic-bezier(.22,.61,.36,1), box-shadow .45s ease, border-color .45s ease, background .45s ease;
}
.menu-card:hover { transform: translateY(-6px); border-color: var(--brand-gold); background: var(--brand-warm-cream); box-shadow: var(--shadow-soft); }
.menu-card:focus-visible { outline: 2px solid var(--brand-green-700); outline-offset: 3px; }

/* Khung ảnh: nếu có ảnh thật -> <img>; nếu chưa -> ornament frame (KHÔNG ảnh giả) */
.mc-media {
  display: block; position: relative; width: 100%; aspect-ratio: 16 / 10; overflow: hidden;
  background:
    radial-gradient(120% 120% at 50% 0%, rgba(215,199,176,0.45), transparent 60%),
    linear-gradient(160deg, var(--brand-warm-cream), var(--brand-cream));
  border-bottom: 1px solid var(--border-soft);
}
.mc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.1s cubic-bezier(.22,.61,.36,1); }
.menu-card:hover .mc-media img { transform: scale(1.04); }
/* ornament frame khi chưa có ảnh: viền gold mảnh + leaf ở giữa */
.mc-media-frame {
  position: absolute; inset: 14px; border-radius: 12px;
  border: 1px dashed var(--border-green);
  display: flex; align-items: center; justify-content: center;
  color: var(--brand-gold); opacity: 0.85;
}
.mc-media-frame::after {
  content: "Món chay"; position: absolute; bottom: 8px; right: 12px;
  font-family: var(--font-heading); font-size: 12px; letter-spacing: 0.08em;
  color: var(--brand-gold); opacity: 0.6;
}

.mc-body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.mc-cat { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-gold); font-weight: 600; }
.mc-name { font-family: var(--font-heading); font-weight: 600; font-size: 23px; color: var(--brand-dark-brown); margin-top: 10px; line-height: 1.15; letter-spacing: -0.02em; }
.mc-line { display: block; width: 38px; height: 1px; background: var(--border-green); margin: 14px 0; }
.mc-desc { font-size: 14.5px; line-height: 1.55; color: var(--text-secondary); }
.mc-more {
  display: inline-flex; align-items: center; gap: 6px; margin-top: 16px;
  font-size: 13px; font-weight: 600; letter-spacing: 0.02em;
  color: var(--brand-green-800); transition: gap .25s ease;
}
.menu-card:hover .mc-more { gap: 10px; }

/* ---- Dish modal / lightbox ---- */
.dish-backdrop {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(8, 33, 21, 0.55); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  animation: dmFade .25s ease both;
}
@keyframes dmFade { from { opacity: 0; } to { opacity: 1; } }
.dish-modal {
  position: relative; width: min(880px, 100%); max-height: 90vh; overflow: auto;
  background: var(--brand-cream); border-radius: 24px; border: 1px solid rgba(216,184,136,0.4);
  box-shadow: 0 40px 120px rgba(8, 33, 21, 0.45);
  display: grid; grid-template-columns: 1fr 1fr;
  animation: dmRise .35s cubic-bezier(.22,.61,.36,1) both;
}
@keyframes dmRise { from { transform: translateY(16px); } to { transform: translateY(0); } }
.dish-close {
  position: absolute; top: 14px; right: 14px; z-index: 3;
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid var(--border-soft);
  background: rgba(245,241,230,0.9); color: var(--brand-dark-brown);
  display: inline-flex; align-items: center; justify-content: center; transition: background .25s ease;
}
.dish-close:hover { background: #fff; }
.dm-media { position: relative; min-height: 280px; background: linear-gradient(160deg, var(--brand-green-800), var(--brand-green-950)); overflow: hidden; }
.dm-media img { width: 100%; height: 100%; object-fit: cover; }
.dm-media-ph {
  position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 16px;
  color: var(--gold-bright); text-align: center; padding: 24px;
}
.dm-media-ph span { font-size: 14px; letter-spacing: 0.02em; color: rgba(237,231,216,0.78); max-width: 24ch; }
.dm-body { padding: clamp(26px, 4vw, 40px); display: flex; flex-direction: column; }
.dm-title { font-family: var(--font-heading); font-size: clamp(26px, 3.2vw, 36px); color: var(--brand-dark-brown); margin-top: 10px; line-height: 1.1; }
.dm-desc { font-size: 16px; line-height: 1.6; color: var(--text-secondary); }
.dm-detail { font-size: 15px; line-height: 1.7; color: var(--text-secondary); margin-top: 14px; }
.dm-note { display: flex; align-items: center; gap: 8px; margin-top: 16px; font-size: 13.5px; color: var(--brand-green-800); font-style: italic; }
.dm-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: auto; padding-top: 26px; }
.menu-note {
  display: flex; align-items: center; gap: 12px; justify-content: center;
  margin: 44px auto 0; max-width: 660px; text-align: center;
  font-size: 14.5px; color: var(--text-secondary); line-height: 1.5;
  padding: 18px 24px; border: 1px dashed var(--border-green); border-radius: 16px;
}
.menu-note svg { flex-shrink: 0; }

/* ---------------- SPACE ---------------- */
.space-head { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
.space-h2 { font-size: clamp(32px, 4.2vw, 56px); color: var(--brand-dark-brown); margin-top: 14px; }
.space-grid { display: grid; grid-template-columns: 1.4fr 1fr; grid-template-rows: 1fr 1fr; gap: 18px; height: 620px; }
.space-img { position: relative; border-radius: 28px; overflow: hidden; box-shadow: var(--shadow-soft); border: 1px solid rgba(255,255,255,0.5); }
.space-img img { width: 100%; height: 100%; object-fit: cover; }
.space-big { grid-row: 1 / 3; }
.space-tag {
  position: absolute; left: 16px; bottom: 16px; z-index: 2;
  font-size: 12px; letter-spacing: 0.04em; color: var(--brand-cream);
  background: rgba(8,33,21,0.5); backdrop-filter: blur(6px);
  padding: 6px 13px; border-radius: 999px; border: 1px solid rgba(216,184,136,0.3);
}
.space-foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: end; gap: 24px; margin-top: 34px; }
.space-caption { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.6; color: var(--text-secondary); max-width: 52ch; }
.space-quote { font-family: var(--font-heading); font-size: clamp(22px, 2.4vw, 30px); color: var(--brand-green-800); font-style: italic; margin: 0; }

/* ---------------- REVIEWS ---------------- */
.reviews { background: var(--brand-warm-cream); }
.reviews-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.reviews-h2 { font-size: clamp(30px, 3.8vw, 50px); line-height: 1.08; color: var(--brand-dark-brown); margin-top: 18px; max-width: 16ch; }
.rating-block { display: flex; align-items: center; gap: 22px; margin-top: 36px; padding-top: 30px; border-top: 1px solid var(--border-green); }
.rating-num { font-family: var(--font-heading); font-size: clamp(62px, 8vw, 96px); font-weight: 600; line-height: 1; color: var(--brand-green-800); }
.rating-of { font-size: 0.4em; color: var(--brand-wood); }
.rating-meta { display: flex; flex-direction: column; gap: 6px; font-size: 15px; color: var(--text-secondary); }
.stars { color: var(--brand-gold); font-size: 18px; letter-spacing: 2px; }
.reviews-right { min-width: 0; }
.reviews-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.review-card {
  position: relative; padding: 28px 26px; border-radius: 20px; background: rgba(255,255,255,0.5);
  border: 1px solid var(--border-soft); overflow: hidden;
}
.review-card:hover { border-color: var(--brand-gold); box-shadow: var(--shadow-soft); transform: translateY(-6px); }
.rc-quote-mark { position: absolute; right: 18px; top: 2px; font-family: var(--font-heading); font-size: 70px; color: var(--brand-beige); opacity: 0.5; }
.rc-quote { font-size: 17px; line-height: 1.55; color: var(--brand-dark-brown); position: relative; z-index: 1; }
.rc-label { display: inline-block; margin-top: 18px; font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-gold); font-weight: 600; }

/* ---------------- VISIT ---------------- */
.visit { overflow: hidden; } /* PROMPT 05 — chứa ornament Đức Phật bên phải, chống overflow */
.visit-h2 { font-size: clamp(32px, 4.2vw, 56px); color: var(--brand-dark-brown); margin-top: 14px; }

/* =========================================================
   PROMPT 08 — VISIT 2 CHI NHÁNH (branch cards)
   ========================================================= */
.visit-lead { font-size: clamp(15px, 1.6vw, 18px); line-height: 1.65; color: var(--text-secondary); margin-top: 14px; max-width: 62ch; }
.branches-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 40px; }
.branch-card {
  position: relative; display: flex; flex-direction: column;
  padding: 30px 30px 28px; border-radius: 22px;
  background: rgba(255,255,255,0.55); border: 1px solid var(--border-soft);
}
.branch-card:hover { border-color: var(--brand-gold); box-shadow: var(--shadow-soft); }
.branch-card-featured { background: rgba(255,255,255,0.7); border-color: rgba(162,131,90,0.5); }
.branch-label { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-gold); font-weight: 600; }
.branch-name { font-family: var(--font-heading); font-size: clamp(22px, 2.4vw, 28px); line-height: 1.15; color: var(--brand-dark-brown); margin-top: 10px; }
.branch-address { font-size: 15px; line-height: 1.55; color: var(--text-secondary); margin-top: 12px; }
.branch-meta { display: flex; flex-wrap: wrap; gap: 8px 18px; margin-top: 14px; font-size: 14px; color: var(--text-secondary); }
.branch-meta-item { display: inline-flex; align-items: center; gap: 7px; }
.branch-star { color: var(--brand-gold); }
.branch-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--brand-leaf); }
.branch-phone { color: var(--brand-green-800); font-weight: 600; transition: color .25s ease; }
.branch-phone:hover { color: var(--brand-gold); }
.branch-desc { font-size: 14.5px; line-height: 1.6; color: var(--text-secondary); margin-top: 14px; flex: 1; }
.branch-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.branch-actions .pill { padding: 11px 20px; font-size: 14px; }

/* PROMPT 08 — badge "Gợi ý nên thử" trên menu card featured */
.mc-badge {
  position: absolute; top: 12px; left: 12px; z-index: 2;
  padding: 5px 12px; border-radius: 999px;
  background: var(--brand-green-900); color: var(--brand-cream);
  font-size: 11px; font-weight: 600; letter-spacing: 0.04em;
  border: 1px solid rgba(216,184,136,0.42);
}

/* PROMPT 08 — footer 2 chi nhánh */
.footer-branch { display: flex; flex-direction: column; gap: 3px; margin-bottom: 6px; }
.footer-branch-name { font-family: var(--font-heading); font-size: 15px; color: var(--gold-bright); }
.visit-grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 22px; margin-top: 44px; align-items: stretch; }
.visit-info { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.info-card {
  padding: 26px; border-radius: 20px; background: rgba(255,255,255,0.46);
  border: 1px solid var(--border-soft); display: flex; flex-direction: column;
}
.info-card:hover { border-color: var(--brand-gold); box-shadow: var(--shadow-soft); }
.info-t { font-size: 11.5px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--brand-gold); font-weight: 600; }
.info-v { font-family: var(--font-heading); font-size: 23px; line-height: 1.2; color: var(--brand-dark-brown); margin-top: 12px; white-space: pre-line; }
.info-sub { font-size: 14px; color: var(--text-muted); margin-top: 4px; }
.info-link { display: inline-flex; align-items: center; gap: 6px; margin-top: 16px; font-size: 14px; font-weight: 600; color: var(--brand-green-800); transition: gap .25s ease; }
.info-link:hover { gap: 10px; }
.map-card { position: relative; border-radius: 24px; overflow: hidden; color: var(--cream-on-dark); }
.map-leaves { position: absolute; right: -10px; top: 0; height: 100%; opacity: 0.6; }
.map-card-inner { position: relative; z-index: 1; padding: 38px; display: flex; flex-direction: column; height: 100%; justify-content: center; gap: 6px; }
.map-title { font-size: clamp(28px, 3vw, 38px); color: var(--gold-bright); margin: 10px 0 6px; }
.map-sub { font-size: 15px; line-height: 1.55; color: rgba(237,231,216,0.78); max-width: 32ch; margin-bottom: 22px; }

/* ---------------- FINAL CTA ---------------- */
.final-cta { color: var(--cream-on-dark); text-align: center; overflow: hidden; }
.final-glow { position: absolute; inset: 0; background: radial-gradient(60% 50% at 50% 40%, rgba(138,203,69,0.08), transparent 70%); animation: glowDrift 16s ease-in-out infinite; pointer-events: none; }
.final-tree { position: absolute; left: 50%; top: 4%; transform: translateX(-50%); width: 300px; height: auto; opacity: 0.5; pointer-events: none; }
.final-inner { position: relative; z-index: 1; max-width: 760px; }
.final-h2 { font-size: clamp(36px, 5.5vw, 76px); line-height: 1.02; color: var(--cream-on-dark); margin-top: 18px; }
.final-divider { height: 1px; width: 140px; margin: 26px auto; background: linear-gradient(90deg, transparent, var(--gold-bright), transparent); }
.final-body { font-size: clamp(16px, 1.7vw, 20px); line-height: 1.65; color: rgba(237,231,216,0.8); max-width: 56ch; margin: 0 auto; }
.final-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 34px; }
.final-hours { margin-top: 26px; font-size: 14px; color: rgba(216,184,136,0.7); letter-spacing: 0.04em; }

/* ---------------- FOOTER ---------------- */
.footer { position: relative; background: var(--brand-green-950); color: var(--cream-on-dark); padding: clamp(56px, 7vw, 90px) clamp(20px, 5vw, 80px) 0; overflow: hidden; }
.footer-leaves { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.footer-inner { position: relative; z-index: 1; max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo-card { background: var(--brand-cream); border-radius: 14px; padding: 14px 18px; display: inline-flex; width: fit-content; box-shadow: 0 12px 30px rgba(0,0,0,0.3); }
.footer-logo-card img { height: 40px; object-fit: contain; }
.footer-blurb { margin-top: 18px; font-size: 14.5px; line-height: 1.65; color: rgba(237,231,216,0.7); max-width: 38ch; }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-h { font-family: var(--font-body); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold-bright); margin-bottom: 4px; }
.footer-col a, .footer-col p { font-size: 14.5px; color: rgba(237,231,216,0.72); line-height: 1.5; transition: color .25s ease; }
.footer-col a:hover { color: var(--gold-bright); }
.footer-bottom { position: relative; z-index: 1; max-width: 1200px; margin: 56px auto 0; padding: 22px 0; border-top: 1px solid rgba(162,131,90,0.22); display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 13px; color: rgba(237,231,216,0.55); }
.footer-tag { display: inline-flex; align-items: center; gap: 7px; }

/* =========================================================
   PROMPT 02 — LOTUS placement (Experience + Final CTA)
   ========================================================= */
/* Hoa sen trên nền emerald của Experience — góc trên phải, sau nội dung */
.lotus-experience {
  position: absolute; right: 5%; top: 8%; z-index: 0;
  opacity: 0.5; animation: lotusFloat 9s ease-in-out infinite;
}
/* Hoa sen medallion ở Final CTA — căn giữa trên tiêu đề */
.final-lotus-wrap {
  display: flex; flex-direction: column; align-items: center; gap: 12px; margin-bottom: 14px;
}
/* svg float nhẹ; cánh sen vẫn tự vẽ qua .lotus-petal */
.final-lotus-wrap .lotus-mark { animation: lotusFloat 8s ease-in-out infinite; }
.final-lotus-cap {
  font-size: 12.5px; letter-spacing: 0.04em; color: rgba(216,184,136,0.72);
  max-width: 34ch; text-align: center; line-height: 1.5;
}

/* =========================================================
   PROMPT 03 — UNIQUE SECTION MOTION MAP (section-specific)
   Mục tiêu:
   - Mỗi section có motion riêng, không lặp slide-up/fade-in
   - Chỉ transform/opacity/clip-path; không layout shift
   ========================================================= */

/* --- Header: "cream glass settle" — viền gold mảnh hiện khi scroll --- */
.nav-root.scrolled::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--brand-gold-soft), transparent);
  opacity: 0.6;
}

/* --- Hero: text stagger (intro→H1→typewriter→badges→CTA) + image arch reveal --- */
.hero-content { animation: none; }
.hero-content > * { opacity: 0; animation: heroChildIn .7s cubic-bezier(.22,.61,.36,1) both; }
.hero-content > .hero-intro   { animation-delay: .15s; }
.hero-content > .hero-h1      { animation-delay: .28s; }
.hero-content > .hero-tw      { animation-delay: .42s; }
.hero-content > .hero-badges  { animation-delay: .56s; }
.hero-content > .hero-actions { animation-delay: .70s; animation-name: heroChildIn; }
@keyframes heroChildIn { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }
/* arch reveal: ảnh hero mở từ dưới lên như vòm cửa (clip-path, không đụng transform parallax/floaty) */
.hero-frame { animation: floaty 9s ease-in-out infinite, heroArchIn 1.2s cubic-bezier(.22,.61,.36,1) .35s both; }
@keyframes heroArchIn { from { clip-path: inset(100% 0 0 0); } to { clip-path: inset(0 0 0 0); } }

/* --- Experience: "ritual steps" — số thứ tự + thanh gold marker sáng lên khi vào --- */
.exp-step-no { font-family: var(--font-heading); font-size: 13px; letter-spacing: 0.1em; color: var(--gold-bright); opacity: 0.55; margin-bottom: 8px; }
.exp-card::before { transition: opacity .6s ease; }
.exp-card.is-visible::before { opacity: 1; }

/* --- Visit: "route steps" — marker gold top-right sáng lên theo thứ tự --- */
.route-step { position: relative; }
.route-dot {
  position: absolute; right: 18px; top: 18px; width: 7px; height: 7px; border-radius: 50%;
  background: var(--brand-gold); opacity: 0.35; transition: opacity .5s ease, box-shadow .5s ease;
}
.route-step.is-visible .route-dot { opacity: 1; box-shadow: 0 0 0 5px var(--brand-gold-glow); }

/* --- Menu: "dish reveal" — card vào kèm blur rất nhẹ về rõ (override cardIn) --- */
@keyframes cardIn {
  from { opacity: 0; transform: translateY(18px) scale(.985); filter: blur(3px); }
  to   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0); }
}

/* --- Menu modal: "lotus bloom" — modal scale 0.96→1, nội dung hiện sau lotus --- */
@keyframes dmRise {
  from { opacity: 0; transform: scale(.96) translateY(8px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.dish-modal { transform-origin: center; }
.dm-body { animation: dmContentIn .55s ease .18s both; }
@keyframes dmContentIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Motion-safe: tắt blur/clip nặng trên touch để mượt + không tải GPU */
@media (hover: none), (pointer: coarse) {
  .menu-card { animation: none; }
  .hero-frame { animation: none; }
  .hero-slide,
  .hero-slide.is-active { transform: scale(1.02); }
  .hero-image-overlay { animation: none; opacity: 0.78; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide.is-active {
    transition: none;
    transform: none;
  }
  .hero-image-overlay { animation: none; opacity: 0.78; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 50% 50%; gap: 28px; }
  .hero-frame { width: min(360px, 100%); }
  .exp-cards { grid-template-columns: repeat(2, 1fr); }
  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-burger { display: flex; }
  .hero { padding-top: 104px; min-height: auto; }
  .hero-grid { grid-template-columns: 1fr; gap: 44px; }
  .hero-visual { order: 2; }
  .float-card-a { left: 0; bottom: 10%; }
  .float-card-b { right: 0; }
  .story-grid { grid-template-columns: 1fr; gap: 36px; }
  .reviews-grid { grid-template-columns: 1fr; gap: 40px; }
  .reviews-cards { grid-template-columns: 1fr 1fr; }
  .visit-grid { grid-template-columns: 1fr; }
  .branches-grid { grid-template-columns: 1fr; }
  .space-grid { grid-template-columns: 1fr 1fr; grid-template-rows: auto auto; height: auto; }
  .space-big { grid-row: auto; grid-column: 1 / 3; aspect-ratio: 16/10; }
  .space-small { aspect-ratio: 4/3; }
  /* PROMPT 02 — modal 1 cột trên tablet/mobile */
  .dish-modal { grid-template-columns: 1fr; }
  .dm-media { min-height: 200px; aspect-ratio: 16/10; }
  .lotus-experience { right: 2%; top: 4%; opacity: 0.4; }
}

@media (min-width: 561px) {
  .hero-brand-line { white-space: nowrap; }
}

@media (max-width: 560px) {
  .section { padding: 64px 20px; }
  .hero-h1 { font-size: clamp(42px, 13vw, 60px); }
  .hero-accent { display: block; }
  .hero-dash { display: none; }
  .hero-actions .pill-ghost { flex-basis: 100%; justify-content: center; white-space: normal; }
  .hero-frame { width: 100%; max-width: 340px; aspect-ratio: 5/6; }
  .float-card { display: none; }
  .exp-cards { grid-template-columns: 1fr; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-tabs { flex-wrap: nowrap; overflow-x: auto; justify-content: flex-start; padding-bottom: 6px; }
  .reviews-cards { grid-template-columns: 1fr; }
  .visit-info { grid-template-columns: 1fr; }
  .space-grid { grid-template-columns: 1fr; }
  .space-big { grid-column: auto; aspect-ratio: 4/3; }
  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .exp-branch, .final-tree { opacity: 0.3; }
  .hero-scroll { display: none; }
  .space-foot { flex-direction: column; align-items: flex-start; }
  /* PROMPT 02 — modal full-width dễ đóng/đọc, lotus nhỏ lại tránh che chữ */
  .dish-backdrop { padding: 0; align-items: flex-end; }
  .dish-modal { width: 100%; max-height: 92vh; border-radius: 22px 22px 0 0; }
  .dm-actions .pill { flex: 1; justify-content: center; }
  .lotus-experience { width: 96px; height: 96px; opacity: 0.32; }
  .final-lotus-wrap .lotus-mark { width: 84px; height: 84px; }
}

/* =========================================================
   ORNAMENT PLACEMENT + FEEDBACK ACCORDION (layout) — cập nhật Prompt 07
   - .story-lotus-photo: ảnh thật hoa sen ở vùng chuyển Hero → Story
   - .visit-buddha-photo: ảnh thật Đức Phật bên phải Visit (z-index thấp hơn .wrap)
   - .fb-accordion: ảnh feedback thật — desktop accordion, mobile scroll cards
   ========================================================= */
/* =========================================================
   PROMPT 08 — STORY LOTUS BACKDROP PLACEMENT (panel lớn bên trái)
   (.story overflow:visible để panel vượt lên Hero; body overflow-x:hidden chống tràn ngang)
   ========================================================= */
.story-lotus-photo {
  position: absolute; z-index: 0; pointer-events: none;
  /* PROMPT 08c — bên PHẢI, cao bằng Story (top:0/bottom:0), KHÔNG lấn lên Hero */
  top: 0; bottom: 0; right: 0; left: auto;
  width: clamp(320px, 34vw, 560px);
}
/* scrim cream sau chữ Story để đọc rõ trên nền ảnh, vẫn để ảnh hiện về phải */
.story-left { position: relative; z-index: 1; }
.story-left::before {
  content: ""; position: absolute; z-index: -1; pointer-events: none;
  inset: -24px -56px -24px -48px;
  background: linear-gradient(to right, rgba(245,241,230,0.88) 0%, rgba(245,241,230,0.66) 52%, rgba(245,241,230,0) 100%);
}

/* --- Buddha photo placement (Visit) — ảnh thật adidaphat.jpg --- */
.visit-buddha-photo {
  top: clamp(40px, 14%, 150px);
  right: clamp(-80px, -4vw, -20px);
  width: clamp(300px, 23vw, 460px);
  aspect-ratio: 736 / 1308;
}

/* --- Reviews hint dưới rating --- */
.reviews-hint {
  display: flex; align-items: center; gap: 10px; margin-top: 22px;
  font-size: 14px; line-height: 1.45; color: var(--text-secondary);
}
.reviews-hint svg { flex-shrink: 0; }

/* =========================================================
   PROMPT 07 — FULL MAX FEEDBACK REVIEW IMAGE
   Mục tiêu:
   - Ảnh review hiện LỚN nhất có thể, xem trọn (object-fit: contain, không crop/méo)
   - Active item thật sự lớn; caption nằm DƯỚI ảnh (không che review)
   - Mobile: card gần full-width + cao, dễ xem trọn
   ========================================================= */
.fb-accordion {
  display: flex; gap: 12px; width: 100%; min-width: 0;
  height: clamp(560px, 52vw, 680px);
}
.fb-item {
  position: relative; height: 100%; min-width: 58px;
  flex: 1 1 0%; flex-grow: 0.4;
  display: flex; flex-direction: column;
  border-radius: 22px; overflow: hidden; padding: 0; cursor: pointer;
  border: 1px solid var(--border-soft);
  background: linear-gradient(160deg, var(--brand-warm-cream), var(--brand-cream));
  transition: flex-grow .7s cubic-bezier(.22,.61,.36,1), box-shadow .5s ease, border-color .5s ease;
}
.fb-item.is-active { flex-grow: 6.5; border-color: var(--brand-gold); box-shadow: var(--shadow-soft); }
.fb-accordion.is-single .fb-item { flex-grow: 1; }
/* shell ảnh chiếm phần lớn chiều cao; caption-bar tách riêng phía dưới */
.fb-image-shell {
  position: relative; flex: 1 1 auto; min-height: 0; width: 100%;
  background: radial-gradient(120% 90% at 50% 0%, rgba(20,66,43,0.07), transparent 60%);
}
.fb-image-shell img {
  position: absolute; inset: 8px; width: calc(100% - 16px); height: calc(100% - 16px);
  object-fit: contain; object-position: center; display: block; border-radius: 10px;
}
.fb-caption-bar {
  flex: 0 0 auto; display: flex; align-items: center; gap: 9px;
  padding: 12px 16px; min-height: 22px; overflow: hidden;
  color: var(--brand-dark-brown); border-top: 1px solid var(--border-soft);
  background: rgba(255,255,255,0.42);
}
.fb-caption-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--brand-gold); flex-shrink: 0; }
.fb-caption-text {
  font-family: var(--font-heading); font-size: 16px; line-height: 1.2; white-space: nowrap;
  max-width: 0; overflow: hidden; opacity: 0;
  transition: max-width .55s cubic-bezier(.22,.61,.36,1), opacity .4s ease .06s;
}
.fb-item.is-active .fb-caption-text,
.fb-accordion.is-single .fb-caption-text { max-width: 280px; opacity: 1; }
.fb-item:focus-visible { outline: 2px solid var(--brand-green-700); outline-offset: 2px; }

/* --- Review quote chips (dưới grid khi có ảnh feedback) --- */
.reviews-quotes {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 40px;
}
.review-chip {
  position: relative; padding: 24px 24px 26px; border-radius: 18px;
  background: rgba(255,255,255,0.5); border: 1px solid var(--border-soft); overflow: hidden;
}
.review-chip:hover { border-color: var(--brand-gold); box-shadow: var(--shadow-soft); }

/* --- Tablet --- */
@media (max-width: 860px) {
  /* PROMPT 07 — ornament vẫn THẤY RÕ trên mobile: tăng size/opacity + glow drop-shadow */
  .story-lotus-photo { width: clamp(260px, 48vw, 420px); top: 0; bottom: 0; right: 0; left: auto; }
  .story-lotus-photo.is-visible { opacity: 0.4; }
  /* Buddha lên góc phải TRÊN (tránh bị map-card đậm che khuất ở đáy) */
  .visit-buddha-photo { width: clamp(220px, 50vw, 300px); top: clamp(8px, 5vw, 78px); bottom: auto; right: -48px; }
  .visit-buddha-photo.is-visible { opacity: 0.24; }
  .story-lotus-photo, .visit-buddha-photo { filter: drop-shadow(0 8px 22px rgba(162,131,90,0.35)); }

  /* feedback -> full-width tall cards, scroll-snap, xem trọn ảnh */
  .fb-accordion {
    height: auto; gap: 14px; overflow-x: auto; padding: 4px 2px 12px;
    scroll-snap-type: x mandatory; overscroll-behavior-inline: contain;
    -webkit-overflow-scrolling: touch;
  }
  .fb-accordion::-webkit-scrollbar { height: 6px; }
  .fb-accordion::-webkit-scrollbar-thumb { background: var(--border-green); border-radius: 999px; }
  .fb-item,
  .fb-item.is-active {
    flex: 0 0 74vw; flex-grow: 0; max-width: 460px; height: min(70vh, 640px);
    scroll-snap-align: center;
  }
  .fb-image-shell img { inset: 6px; width: calc(100% - 12px); height: calc(100% - 12px); }
  .fb-caption-text { max-width: 260px; opacity: 1; }

  .reviews-quotes { grid-template-columns: 1fr 1fr; }
}

/* --- Mobile --- */
@media (max-width: 560px) {
  .story-lotus-photo { width: clamp(200px, 60vw, 320px); top: 0; bottom: 0; right: 0; left: auto; }
  .story-lotus-photo.is-visible { opacity: 0.3; }
  .visit-buddha-photo { width: clamp(190px, 56vw, 260px); top: 6px; right: -52px; bottom: auto; }
  .visit-buddha-photo.is-visible { opacity: 0.22; }
  .fb-item,
  .fb-item.is-active { flex-basis: 90vw; height: min(72vh, 660px); }
  .reviews-quotes { grid-template-columns: 1fr; }
}

@media (max-width: 360px) {
  .story-lotus-photo { width: 64vw; top: 0; bottom: 0; right: 0; }
}

/* =========================================================
   HERO IMAGE TILES MOTION
   - 3 cards stacked, bo góc, shadow mềm.
   - Spring animation bằng cubic-bezier transition khi .is-active.
   - Hover từng card di chuyển nhẹ nhàng, nổi lên trên.
   ========================================================= */

.hero-image-tiles {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.hero-image-tile {
  position: absolute;
  width: 250px;
  height: 340px;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(90, 75, 68, 0.12);
  background: transparent;
  border: 0;
  opacity: 0;
  transform: translate(0, 60px) scale(0.85) rotate(0deg);
  transition: transform 1.25s cubic-bezier(0.34, 1.56, 0.64, 1), 
              opacity 1.1s cubic-bezier(0.25, 1, 0.5, 1), 
              box-shadow 0.4s ease;
  z-index: 10;
  pointer-events: none;
}

.hero-image-tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.tile-sheen {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 60%);
  pointer-events: none;
}

/* Active expanded state */
.hero-image-tiles.is-active .hero-image-tile {
  opacity: 1;
  pointer-events: auto;
}

.hero-image-tiles.is-active .hero-image-tile--left {
  transform: translate(-130px, -20px) rotate(-7deg) scale(0.96);
  z-index: 12;
}

.hero-image-tiles.is-active .hero-image-tile--middle {
  transform: translate(0, 0) rotate(0deg) scale(1.04);
  z-index: 15;
  box-shadow: 0 15px 40px rgba(90, 75, 68, 0.18);
}

.hero-image-tiles.is-active .hero-image-tile--right {
  transform: translate(130px, 20px) rotate(7deg) scale(0.96);
  z-index: 11;
}

/* Hover behaviors */
.hero-image-tile:hover {
  z-index: 25 !important;
  border-color: var(--brand-gold);
  box-shadow: 0 25px 55px rgba(90, 75, 68, 0.26);
}

.hero-image-tiles.is-active .hero-image-tile--left:hover {
  transform: translate(-150px, -35px) rotate(-11deg) scale(1.03);
}

.hero-image-tiles.is-active .hero-image-tile--middle:hover {
  transform: translate(0, -15px) rotate(-1deg) scale(1.1);
}

.hero-image-tiles.is-active .hero-image-tile--right:hover {
  transform: translate(150px, 15px) rotate(11deg) scale(1.03);
}

/* Responsive styles */
@media (max-width: 1024px) {
  .hero-image-tiles {
    min-height: 460px;
  }
  .hero-image-tile {
    width: 200px;
    height: 280px;
    border-radius: 20px;
  }
  .hero-image-tiles.is-active .hero-image-tile--left {
    transform: translate(-100px, -15px) rotate(-6deg) scale(0.96);
  }
  .hero-image-tiles.is-active .hero-image-tile--middle {
    transform: translate(0, 0) rotate(0deg) scale(1.04);
  }
  .hero-image-tiles.is-active .hero-image-tile--right {
    transform: translate(100px, 15px) rotate(6deg) scale(0.96);
  }
  .hero-image-tiles.is-active .hero-image-tile--left:hover {
    transform: translate(-115px, -25px) rotate(-9deg) scale(1.02);
  }
  .hero-image-tiles.is-active .hero-image-tile--middle:hover {
    transform: translate(0, -10px) rotate(-1deg) scale(1.08);
  }
  .hero-image-tiles.is-active .hero-image-tile--right:hover {
    transform: translate(115px, 10px) rotate(9deg) scale(1.02);
  }
}

@media (max-width: 860px) {
  .hero-image-tiles {
    min-height: 380px;
  }
  .hero-image-tile {
    width: 160px;
    height: 220px;
    border-radius: 16px;
  }
  .hero-image-tiles.is-active .hero-image-tile--left {
    transform: translate(-75px, -10px) rotate(-5deg) scale(0.96);
  }
  .hero-image-tiles.is-active .hero-image-tile--middle {
    transform: translate(0, 0) rotate(0deg) scale(1.04);
  }
  .hero-image-tiles.is-active .hero-image-tile--right {
    transform: translate(75px, 10px) rotate(5deg) scale(0.96);
  }
  .hero-image-tiles.is-active .hero-image-tile--left:hover {
    transform: translate(-85px, -18px) rotate(-8deg) scale(1.02);
  }
  .hero-image-tiles.is-active .hero-image-tile--middle:hover {
    transform: translate(0, -8px) rotate(-1deg) scale(1.08);
  }
  .hero-image-tiles.is-active .hero-image-tile--right:hover {
    transform: translate(85px, 8px) rotate(8deg) scale(1.02);
  }
}

@media (max-width: 480px) {
  .hero-image-tiles {
    min-height: 290px;
    margin-top: 10px;
  }
  .hero-image-tile {
    width: 120px;
    height: 165px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(90, 75, 68, 0.1);
  }
  .hero-image-tiles.is-active .hero-image-tile--left {
    transform: translate(-55px, -5px) rotate(-4deg) scale(0.96);
  }
  .hero-image-tiles.is-active .hero-image-tile--middle {
    transform: translate(0, 0) rotate(0deg) scale(1.04);
  }
  .hero-image-tiles.is-active .hero-image-tile--right {
    transform: translate(55px, 5px) rotate(4deg) scale(0.96);
  }
}

/* =========================================================
   SANITE HERO SHADER BACKGROUND
   Brand-led mesh treatment adapted for the current CDN/Babel build.
   ========================================================= */
.hero { isolation: isolate; }
.hero-shader {
  position: absolute;
  inset: -9%;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(circle at 18% 22%, rgba(255,255,255,0.82), transparent 31%),
    linear-gradient(145deg, var(--brand-cream) 8%, var(--brand-warm-cream) 52%, #e4dac5 100%);
}
.hero-shader::before {
  content: "";
  position: absolute;
  inset: -18%;
  background:
    radial-gradient(ellipse at 72% 28%, rgba(20,66,43,0.28) 0%, transparent 34%),
    radial-gradient(ellipse at 28% 78%, rgba(201,168,120,0.28) 0%, transparent 38%),
    radial-gradient(ellipse at 52% 48%, rgba(255,255,255,0.32) 0%, transparent 30%);
  filter: blur(32px);
  mix-blend-mode: multiply;
  opacity: 0.72;
  will-change: transform;
  animation: heroShaderDrift 26s ease-in-out infinite alternate;
}
.hero-shader-mesh {
  position: absolute;
  border-radius: 44% 56% 62% 38% / 48% 43% 57% 52%;
  filter: blur(42px);
  will-change: transform, border-radius;
  opacity: 0.82;
}
.hero-shader-mesh-a {
  width: 62%; height: 76%; right: -6%; top: -20%;
  background:
    radial-gradient(circle at 38% 38%, rgba(138,203,69,0.46), transparent 46%),
    radial-gradient(circle at 68% 62%, rgba(20,66,43,0.58), transparent 60%);
  transform: translate(calc(var(--mx) * -18px), calc(var(--my) * -14px)) rotate(-8deg);
  animation: heroMeshA 18s ease-in-out infinite alternate;
}
.hero-shader-mesh-b {
  width: 56%; height: 70%; left: 13%; bottom: -38%;
  background:
    radial-gradient(circle at 44% 34%, rgba(201,168,120,0.52), transparent 51%),
    radial-gradient(circle at 72% 50%, rgba(217,182,166,0.34), transparent 60%);
  mix-blend-mode: multiply;
  transform: translate(calc(var(--mx) * 12px), calc(var(--my) * 9px)) rotate(12deg);
  animation: heroMeshB 22s ease-in-out infinite alternate;
}
.hero-shader-mesh-c {
  width: 44%; height: 60%; left: -19%; top: 18%;
  background: radial-gradient(circle at 58% 48%, rgba(37,82,52,0.22), transparent 64%);
  transform: translate(calc(var(--mx) * 8px), calc(var(--my) * -10px));
  animation: heroMeshC 20s ease-in-out infinite alternate;
}
.hero-shader-ripple {
  position: absolute;
  width: 72vw; height: 72vw;
  min-width: 720px; min-height: 720px;
  right: -31vw; top: 0;
  border-radius: 50%;
  background: repeating-radial-gradient(
    circle,
    transparent 0 36px,
    rgba(201,168,120,0.11) 37px 38px,
    transparent 39px 67px
  );
  opacity: 0.7;
  transform: translate(calc(var(--mx) * -9px), calc(var(--my) * -7px));
  mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.72) 48%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle, #000 0%, rgba(0,0,0,.72) 48%, transparent 72%);
  animation: heroRipple 24s linear infinite;
}
.hero-shader-grain {
  position: absolute; inset: 0;
  opacity: 0.18;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.72' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.16'/%3E%3C/svg%3E");
  mix-blend-mode: multiply;
}
.hero-shader-veil {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(245,241,230,0.88) 0%, rgba(245,241,230,0.54) 45%, rgba(245,241,230,0.08) 76%),
    linear-gradient(180deg, rgba(245,241,230,0.4), transparent 30%, rgba(245,241,230,0.3));
}
@keyframes heroMeshA {
  0% {
    border-radius: 44% 56% 62% 38% / 48% 43% 57% 52%;
    transform: translate(-5%, -4%) rotate(-12deg) scale(0.94);
  }
  50% {
    border-radius: 52% 48% 39% 61% / 60% 38% 62% 40%;
    transform: translate(5%, 8%) rotate(-3deg) scale(1.09);
  }
  100% {
    border-radius: 60% 40% 38% 62% / 41% 58% 42% 59%;
    transform: translate(-2%, 13%) rotate(2deg) scale(1.02);
  }
}
@keyframes heroMeshB {
  0% {
    border-radius: 58% 42% 54% 46% / 42% 62% 38% 58%;
    transform: translate(-8%, 5%) rotate(4deg) scale(0.92);
  }
  55% {
    border-radius: 45% 55% 64% 36% / 58% 44% 56% 42%;
    transform: translate(9%, -7%) rotate(15deg) scale(1.12);
  }
  100% {
    border-radius: 38% 62% 43% 57% / 61% 39% 61% 39%;
    transform: translate(3%, -13%) rotate(21deg) scale(1.04);
  }
}
@keyframes heroMeshC {
  from {
    transform: translate(-10%, 8%) rotate(-7deg) scale(0.88);
    opacity: 0.55;
  }
  to {
    transform: translate(16%, -12%) rotate(9deg) scale(1.16);
    opacity: 0.94;
  }
}
@keyframes heroRipple {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.hero:hover .hero-shader-mesh-a { animation-duration: 12s; }
.hero:hover .hero-shader-mesh-b { animation-duration: 15s; }
.hero:hover .hero-shader-mesh-c { animation-duration: 14s; }
.hero:hover .hero-shader-ripple { animation-duration: 18s; }

@media (prefers-reduced-motion: reduce) {
  .hero-shader-mesh,
  .hero-shader-ripple { animation: none; }
}

@media (max-width: 860px) {
  .hero-shader { inset: -5%; }
  .hero-shader-mesh-a { width: 95%; height: 48%; right: -28%; top: 34%; opacity: 0.66; }
  .hero-shader-mesh-b { width: 90%; height: 42%; left: -25%; bottom: -10%; }
  .hero-shader-ripple { right: -74vw; top: 36%; opacity: 0.46; }
  .hero-shader-mesh-a { animation-duration: 14s; }
  .hero-shader-mesh-b { animation-duration: 17s; }
  .hero-shader-mesh-c { animation-duration: 15s; }
  .hero-shader-veil {
    background: linear-gradient(180deg, rgba(245,241,230,0.9) 0%, rgba(245,241,230,0.58) 48%, rgba(245,241,230,0.18) 100%);
  }
}

/* Paper Shader-inspired motion treatment for the static UMD build. */
.hero-shader-veil {
  background:
    linear-gradient(90deg, rgba(245,241,230,0.72) 0%, rgba(245,241,230,0.38) 45%, rgba(245,241,230,0.06) 76%),
    linear-gradient(180deg, rgba(245,241,230,0.28), transparent 30%, rgba(245,241,230,0.18));
  background-size: 145% 145%;
  background-position: 0% 0%;
  animation: heroVeilDrift 18s ease-in-out infinite alternate;
}
@keyframes heroShaderDrift {
  from { transform: translate3d(-4%, 2%, 0) scale(0.96) rotate(-2deg); }
  to { transform: translate3d(5%, -4%, 0) scale(1.08) rotate(4deg); }
}
@keyframes heroVeilDrift {
  from { background-position: 0% 0%; }
  to { background-position: 18% 8%; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-shader::before,
  .hero-shader-veil { animation: none; }
}
@media (max-width: 860px) {
  .hero-shader-veil {
    background:
      linear-gradient(180deg, rgba(245,241,230,0.76) 0%, rgba(245,241,230,0.42) 48%, rgba(245,241,230,0.12) 100%);
    background-size: 145% 145%;
  }
}

/* Real @paper-design/shaders-react layer mounted by the Vite TypeScript entry. */
.hero.paper-shader-enabled > .hero-shader { display: none; }
#paper-shader-root { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.paper-shader-background { position: absolute; inset: 0; width: 100%; height: 100%; overflow: hidden; }
.paper-shader-layer { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; opacity: .92; filter: saturate(1.18) contrast(1.08); }
.paper-shader-layer-wire { opacity: .5; mix-blend-mode: soft-light; filter: saturate(1.35) contrast(1.16); }
.hero.paper-shader-enabled .hero-grid,
.hero.paper-shader-enabled .hero-decor,
.hero.paper-shader-enabled .hero-scroll { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .paper-shader-layer { opacity: .48; }
  .paper-shader-layer-wire { display: none; }
}.paper-shader-pulsing-circle { position: absolute; right: 32px; bottom: 32px; z-index: 4; width: 96px; height: 96px; pointer-events: none; }
.paper-shader-pulsing-circle-inner { position: relative; width: 100%; height: 100%; display: grid; place-items: center; }
.paper-shader-pulsing-border { position: absolute !important; inset: 18px; width: auto !important; height: auto !important; border-radius: 50%; }
.paper-shader-pulsing-label { position: absolute; inset: 0; width: 100%; height: 100%; transform: scale(1.35); overflow: visible; }
.paper-shader-pulsing-text { fill: rgba(63,51,45,.72); font-family: var(--font-body); font-size: 7px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) { .paper-shader-pulsing-circle { right: 18px; bottom: 18px; transform: scale(.8); transform-origin: bottom right; } }
@media (prefers-reduced-motion: reduce) { .paper-shader-pulsing-circle { display: none; } }