/* TRON site styles — chuyển từ style nội tuyến trong design handoff sang class BEM
   khớp templates/sections/*.html (Task 9). Nguồn: design_handoff_tron_cafe_website/*.dc.html */

/* ============ TOKENS ============ */
:root {
  --paper: #f1f1e4;
  --panel: #e5e8d3;
  --ink: #26291f;
  --soft: #66705a;
  --line: #ced3b6;
  --card: #f9faee;
  --moss: #42543a;
  --accent: #5c6b48;

  /* Chiều cao header dính. Dùng cho scroll-margin của mọi neo, để nhảy section
     không bị header che mất phần đầu. Mobile cao hơn vì header xuống dòng. */
  --header-h: 70px;
}

/* Mọi phần tử có id đều có thể là đích của neo (#cau-chuyen, #menu, #khu-ban-nhom...).
   Không chừa chỗ thì header dính đè lên đầu section, cảm giác nhảy bị hụt. */
[id] { scroll-margin-top: calc(var(--header-h) + 12px); }


/* ============ RESET ============ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--paper); }
body {
  font-family: 'Be Vietnam Pro', sans-serif;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}
main { overflow: clip; }
img { max-width: 100%; display: block; }
a { color: var(--moss); text-decoration: none; }
a:hover { color: var(--accent); }
h1, h2, h3, p { margin: 0; }
::selection { background: color-mix(in srgb, var(--accent) 25%, transparent); }

/* ============ KEYFRAMES ============ */
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@keyframes drift { 0%, 100% { transform: translateY(0) rotate(-5deg); } 50% { transform: translateY(-9px) rotate(-2deg); } }
@keyframes sway { 0%, 100% { transform: rotate(0deg); } 50% { transform: rotate(8deg); } }
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(111, 174, 92, .55); }
  70% { box-shadow: 0 0 0 9px rgba(111, 174, 92, 0); }
  100% { box-shadow: 0 0 0 0 rgba(111, 174, 92, 0); }
}
@keyframes floaty { 0%, 100% { transform: translate(0, 0); } 50% { transform: translate(-22px, 26px); } }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(7px); } }

/* ============ TIỆN ÍCH DÙNG CHUNG ============ */
.imgph {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px;
  background: var(--panel);
  color: var(--soft);
  font-size: 13px;
  line-height: 1.5;
}
[data-tilt] { transition: transform .18s ease; will-change: transform; }
[data-magnet] { transition: transform .25s ease; }

/* Cổng reveal cho Task 10 — hiệu ứng vào màn hình chỉ được bật khi JS thật sự chạy: site.js
   gắn class js-ready lên body. Không có JS (hoặc JS lỗi) thì nội dung luôn hiển thị — ~22
   phần tử nội dung chính không được phép phụ thuộc vào JS để nhìn thấy. */
body.js-ready [data-hs],
body.js-ready [data-reveal] { opacity: 0; }
body.js-ready [data-hs] { transform: translateY(28px); transition: opacity .9s cubic-bezier(.22,.61,.36,1), transform .9s cubic-bezier(.22,.61,.36,1); }
body.js-ready [data-reveal] { transform: translateY(26px); filter: blur(8px); transition: opacity .8s ease, transform .8s ease, filter .8s ease; }
body.js-ready [data-hs].is-in,
body.js-ready [data-reveal].is-in { opacity: 1; transform: none; filter: none; }

/* thanh tiến trình cuộn — width do site.js set qua inline style */
.progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: var(--accent);
  z-index: 100;
}

/* con trỏ tuỳ biến — site.js (Task 10) tạo phần tử này và gắn class .cursor */
.cursor {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0;
  will-change: transform;
}

/* ============ HEADER ============ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 40px;
  background: color-mix(in srgb, var(--paper) 84%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header__brand {
  font-family: 'Playfair Display', serif;
  font-weight: 900;
  font-size: 22px;
  letter-spacing: .04em;
  color: var(--ink);
}
.site-header__brand-sub { font-weight: 400; font-style: italic; font-size: 15px; letter-spacing: 0; }
.site-header__nav { display: flex; align-items: center; gap: 26px; font-size: 13.5px; font-weight: 500; }
.site-header__link { color: var(--ink); }
.site-header__link:hover { color: var(--accent); }
.site-header__cta {
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--paper);
  background: var(--accent);
  padding: 8px 16px;
  border-radius: 999px;
  transition: filter .2s ease;
}
.site-header__cta:hover { color: var(--paper); filter: brightness(1.08); }

/* ============ HERO ============ */
.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
  align-items: center;
  max-width: 1240px;
  margin: 0 auto;
  padding: 72px 40px 88px;
}
.hero__blob { position: absolute; border-radius: 50%; pointer-events: none; filter: blur(46px); }
.hero__blob--1 {
  top: -120px; right: 6%; width: 440px; height: 440px;
  background: radial-gradient(circle, rgba(143, 174, 118, .32), transparent 70%);
  animation: floaty 13s ease-in-out infinite;
}
.hero__blob--2 {
  bottom: -80px; left: 18%; width: 340px; height: 340px;
  background: radial-gradient(circle, rgba(201, 162, 122, .22), transparent 70%);
  animation: floaty 17s ease-in-out infinite reverse;
}
.hero__scroll-cue {
  position: absolute; bottom: 12px; left: 50%; transform: translateX(-50%);
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .2em;
  color: var(--soft); animation: bob 2.2s ease-in-out infinite; pointer-events: none;
}
.hero__leaf { position: absolute; pointer-events: none; }
.hero__leaf--1 { top: 2%; left: -70px; width: 210px; height: 210px; }
.hero__leaf--2 { bottom: 4%; left: 34%; width: 120px; height: 120px; }
.hero__leaf--1 .hero__leaf-shape {
  width: 100%; height: 100%; transform: rotate(34deg);
  background: linear-gradient(135deg, #7fa06a, #3c4f34);
  border-radius: 0 100% 0 100%; opacity: .4; animation: sway 7s ease-in-out infinite;
}
.hero__leaf--2 .hero__leaf-shape {
  width: 100%; height: 100%; transform: rotate(-24deg);
  background: linear-gradient(135deg, #8fae76, #4f6b48);
  border-radius: 100% 0 100% 0; opacity: .35; animation: sway 9s ease-in-out infinite;
}

.hero__content { position: relative; display: flex; flex-direction: column; gap: 26px; }
.hero__overline {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.hero__title {
  font-family: 'Playfair Display', serif; font-weight: 900;
  font-size: clamp(88px, 11vw, 158px); line-height: .86; letter-spacing: -.015em; color: var(--ink);
  /* line-height .86 làm hộp dòng THẤP HƠN hộp chữ: Playfair có ascent lớn (~1.35em
     tổng ascent+descent), nên phần trên chữ tràn khỏi hộp dòng ~.245em và đè lên
     dòng overline phía trên (gap 26px của flex không đủ). Đệm theo em để co giãn
     cùng clamp. Bản prototype gốc cũng dính lỗi này. */
  padding-top: .2em;
}
.hero__subtitle {
  display: block; font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; font-style: italic;
  letter-spacing: 0; line-height: 1.25; margin-top: 14px; color: var(--moss);
}
.hero__intro { max-width: 46ch; font-size: 16.5px; line-height: 1.75; color: var(--soft); }
.hero__chips { display: flex; gap: 10px; flex-wrap: wrap; }
.hero__chip {
  font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; letter-spacing: .06em;
  border: 1px solid var(--line); border-radius: 999px; padding: 7px 14px; color: var(--soft);
}
.hero__personas { display: flex; flex-direction: column; gap: 12px; }
.hero__persona-label {
  font-family: 'IBM Plex Mono', monospace; font-size: 11px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--soft);
}
.hero__persona-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; max-width: 520px; }
.hero__persona-card {
  display: flex; flex-direction: column; gap: 5px;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 16px 18px; background: var(--card);
  transition: border-color .2s ease, transform .2s ease;
}
.hero__persona-card:hover { border-color: var(--accent); transform: translateY(-3px); }
.hero__persona-title { font-weight: 600; font-size: 15px; color: var(--ink); }
.hero__persona-desc { font-size: 12.5px; line-height: 1.6; color: var(--soft); }
.hero__directions { font-size: 13.5px; font-weight: 600; width: max-content; }
.hero__status {
  display: flex; gap: 10px; align-items: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 12.5px; color: var(--soft);
}
.hero__status-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #6fae5c;
  display: inline-block; animation: pulse 2.2s infinite;
}

.hero__visual { position: relative; justify-self: end; width: min(100%, 460px); }
.hero__photo-frame {
  border-radius: 230px 230px 20px 20px; overflow: hidden; height: 560px; border: 1px solid var(--line);
}
.hero-photo { width: 100%; height: 100%; object-fit: cover; }
.hero__plaque {
  position: absolute; top: 44px; left: -34px;
  background: var(--card); border: 1.5px solid var(--ink); border-radius: 10px; padding: 12px 18px;
  box-shadow: 4px 5px 0 rgba(43, 38, 32, .18); animation: drift 6s ease-in-out infinite;
}
.hero__plaque-label { font-family: 'IBM Plex Mono', monospace; font-size: 10px; letter-spacing: .18em; color: var(--soft); }
.hero__plaque-number { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 30px; line-height: 1.1; }
.hero__plaque-street { font-size: 11px; color: var(--soft); }
.hero__badge {
  position: absolute; bottom: -26px; right: -18px; width: 132px; height: 132px; border-radius: 50%;
  background: var(--moss); color: #f4efe6; display: grid; place-items: center; text-align: center;
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .14em; line-height: 1.7;
  transform: rotate(8deg);
}

/* ============ MARQUEE ============ */
.marquee {
  background: var(--accent); color: #f4efe6; overflow: hidden; padding: 13px 0;
  border-top: 1px solid rgba(43, 38, 32, .15); border-bottom: 1px solid rgba(43, 38, 32, .15);
}
.marquee__track {
  display: flex; width: max-content; animation: marquee 26s linear infinite;
  font-family: 'IBM Plex Mono', monospace; font-size: 13px; letter-spacing: .14em; text-transform: uppercase;
}
.marquee__item { white-space: nowrap; }

/* ============ CÂU CHUYỆN (story) ============ */
.story {
  position: relative; max-width: 1240px; margin: 0 auto; padding: 110px 40px 100px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start;
}
.story__leaf { position: absolute; top: 14%; right: -80px; width: 230px; height: 230px; pointer-events: none; }
.story__leaf-shape {
  width: 100%; height: 100%; transform: rotate(-42deg);
  background: linear-gradient(135deg, #6b8a5a, #35482f); border-radius: 0 100% 0 100%;
  opacity: .38; animation: sway 8s ease-in-out infinite;
}
.story__aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.story__overline {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.story__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; }
.story__title-em { color: var(--moss); font-style: italic; }
.story__rule { width: 64px; height: 3px; background: var(--accent); }
.story__photo { height: 240px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); margin-top: 10px; }
.story__photo-img { width: 100%; height: 100%; object-fit: cover; }
.story__body { position: relative; display: flex; flex-direction: column; gap: 22px; font-size: 16.5px; line-height: 1.85; color: var(--soft); }
.story__quote {
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
  border-top: 1px dashed var(--line); padding-top: 22px;
}
.story__quote-text {
  font-family: 'Playfair Display', serif; font-style: italic; font-size: 22px; color: var(--ink);
  flex-shrink: 0; white-space: nowrap;
}
.story__quote-note { font-size: 13.5px; }

/* ============ KHÔNG GIAN (zones) ============ */
.zones {
  position: relative; background: var(--panel);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: clip;
}
.zones__leaf { position: absolute; pointer-events: none; }
.zones__leaf--1 { top: -40px; left: -50px; width: 180px; height: 180px; }
.zones__leaf--2 { bottom: 6%; right: -60px; width: 200px; height: 200px; }
.zones__leaf--1 .zones__leaf-shape {
  width: 100%; height: 100%; transform: rotate(120deg);
  background: linear-gradient(135deg, #8fae76, #42543a); border-radius: 0 100% 0 100%;
  opacity: .4; animation: sway 7.5s ease-in-out infinite;
}
.zones__leaf--2 .zones__leaf-shape {
  width: 100%; height: 100%; transform: rotate(-105deg);
  background: linear-gradient(135deg, #7fa06a, #35482f); border-radius: 100% 0 100% 0;
  opacity: .42; animation: sway 9s ease-in-out infinite;
}
.zones__inner { position: relative; max-width: 1240px; margin: 0 auto; padding: 100px 40px; }
.zones__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 54px; flex-wrap: wrap; }
.zones__overline {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.zones__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; }

.zones__grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 26px; }
.zones__item { display: flex; flex-direction: column; gap: 14px; }
.zones__item--1 { grid-column: span 7; }
.zones__item--2 { grid-column: span 5; }
.zones__item--3 { grid-column: span 5; }
.zones__item--4 { grid-column: span 7; }
.zones__photo { width: 100%; object-fit: cover; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); }
.zones__item--1 .zones__photo, .zones__item--2 .zones__photo { height: 420px; }
.zones__item--3 .zones__photo, .zones__item--4 .zones__photo { height: 360px; }
.zones__caption { display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap; }
.zones__num { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--accent); }
.zones__name { font-weight: 600; font-size: 16px; flex-shrink: 0; white-space: nowrap; }
.zones__desc { font-size: 13.5px; color: var(--soft); }

.zones__stats {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 26px;
  border-top: 1px dashed var(--line); margin-top: 56px; padding-top: 44px;
}
.zones__stat { display: flex; flex-direction: column; gap: 6px; }
.zones__stat-n { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 38px; }
.zones__stat-c { font-size: 13.5px; color: var(--soft); }

/* ============ SỐNG ẢO (gallery) ============ */
.gallery { position: relative; max-width: 1240px; margin: 0 auto; padding: 104px 40px 96px; }
.gallery__leaf { position: absolute; pointer-events: none; }
.gallery__leaf--1 { top: 6%; left: -70px; width: 160px; height: 160px; }
/* Ghi chú: partial song-ao.html render 2 leaf (--1, --2) nhưng thiết kế gốc chỉ có 1
   leaf ở khu Sống ảo — leaf--2 dưới đây là quyết định riêng để đối xứng, không có
   trong file gốc. Xem báo cáo Task 9 mục "tự quyết". */
.gallery__leaf--2 { bottom: 8%; right: -60px; width: 150px; height: 150px; }
.gallery__leaf--1 .gallery__leaf-shape {
  width: 100%; height: 100%; transform: rotate(52deg);
  background: linear-gradient(135deg, #8fae76, #3c4f34); border-radius: 0 100% 0 100%;
  opacity: .36; animation: sway 8s ease-in-out infinite;
}
.gallery__leaf--2 .gallery__leaf-shape {
  width: 100%; height: 100%; transform: rotate(-64deg);
  background: linear-gradient(135deg, #7fa06a, #35482f); border-radius: 100% 0 100% 0;
  opacity: .3; animation: sway 10s ease-in-out infinite;
}
.gallery__head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 48px; flex-wrap: wrap; }
.gallery__intro { display: flex; flex-direction: column; gap: 16px; }
.gallery__overline {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.gallery__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; }
.gallery__note { max-width: 40ch; font-size: 14.5px; line-height: 1.7; color: var(--soft); }
.gallery__handle { font-weight: 600; }

.gallery__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.gal-item { height: var(--h); border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.gal-photo { width: 100%; height: 100%; object-fit: cover; }
.gal-1 { grid-column: 1; grid-row: 1; }
.gal-2 { grid-column: 1; grid-row: 2; }
.gal-3 { grid-column: 2; grid-row: 1; margin-top: 36px; }
.gal-4 { grid-column: 2; grid-row: 2; margin-top: 36px; }
.gal-5 { grid-column: 3; grid-row: 1; }
.gal-6 { grid-column: 3; grid-row: 2; }
.gal-7 { grid-column: 4; grid-row: 1; margin-top: 36px; }
.gal-8 { grid-column: 4; grid-row: 2; margin-top: 36px; }

/* ============ MENU ============ */
.menu {
  position: relative; max-width: 1240px; margin: 0 auto; padding: 110px 40px;
  display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 70px; align-items: start;
}
.menu__leaf { position: absolute; bottom: 10%; left: -70px; width: 170px; height: 170px; pointer-events: none; }
.menu__leaf-shape {
  width: 100%; height: 100%; transform: rotate(66deg);
  background: linear-gradient(135deg, #6b8a5a, #3c4f34); border-radius: 0 100% 0 100%;
  opacity: .36; animation: sway 8.5s ease-in-out infinite;
}
.menu__aside { display: flex; flex-direction: column; gap: 18px; position: sticky; top: 110px; }
.menu__overline {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.menu__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(34px, 4vw, 52px); line-height: 1.12; }
.menu__title-em { color: var(--moss); font-style: italic; }
.menu__note { font-size: 15px; line-height: 1.75; color: var(--soft); }

.menu__list { position: relative; display: flex; flex-direction: column; gap: 26px; }
.menu__signature {
  display: grid; grid-template-columns: minmax(0, 1fr) 150px; gap: 20px; align-items: center;
  background: var(--card); border: 1.5px solid var(--moss); border-radius: 16px; padding: 22px 24px;
}
.menu__signature-info { display: flex; flex-direction: column; gap: 8px; }
.menu__signature-badge {
  font-family: 'IBM Plex Mono', monospace; font-size: 10.5px; letter-spacing: .18em;
  text-transform: uppercase; color: var(--accent);
}
.menu__signature-row { display: flex; align-items: baseline; gap: 10px; font-size: 19px; }
.menu__signature-name { font-weight: 600; }
.menu__signature-leader { flex: 1; border-bottom: 1.5px dotted var(--line); }
.menu__signature-price { font-family: 'IBM Plex Mono', monospace; font-size: 15px; }
.menu__signature-desc { font-size: 13.5px; line-height: 1.6; color: var(--soft); }
.menu__signature-photo { height: 130px; border-radius: 12px; overflow: hidden; }
.menu__signature-photo img, .menu__signature-photo .imgph { width: 100%; height: 100%; object-fit: cover; }

.menu-row { display: flex; flex-direction: column; gap: 6px; border-bottom: 1px dashed var(--line); padding-bottom: 20px; }
.menu-row:last-of-type { border-bottom: none; padding-bottom: 0; }
.menu-row__top { display: flex; align-items: baseline; gap: 10px; font-size: 17px; }
.menu-row__name { font-weight: 600; }
.menu-row__leader { flex: 1; border-bottom: 1.5px dotted var(--line); }
.menu-row__price { font-family: 'IBM Plex Mono', monospace; font-size: 14px; }
.menu-row__desc { font-size: 13.5px; color: var(--soft); }
.menu__footnote { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: var(--soft); }

/* ============ BỘC BẠCH (confess) ============ */
.confess {
  position: relative; background: var(--panel);
  border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); overflow: clip;
}
.confess__leaf { position: absolute; pointer-events: none; }
.confess__leaf--1 { top: 12%; left: 6%; width: 150px; height: 150px; }
.confess__leaf--2 { bottom: 14%; right: 7%; width: 130px; height: 130px; }
.confess__leaf--1 .confess__leaf-shape {
  width: 100%; height: 100%; transform: rotate(18deg);
  background: linear-gradient(135deg, #8fae76, #42543a); border-radius: 0 100% 0 100%;
  opacity: .4; animation: sway 7s ease-in-out infinite;
}
.confess__leaf--2 .confess__leaf-shape {
  width: 100%; height: 100%; transform: rotate(-140deg);
  background: linear-gradient(135deg, #7fa06a, #35482f); border-radius: 100% 0 100% 0;
  opacity: .38; animation: sway 9.5s ease-in-out infinite;
}
.confess__inner {
  position: relative; max-width: 820px; margin: 0 auto; padding: 104px 40px;
  display: flex; flex-direction: column; gap: 22px; align-items: center; text-align: center;
}
.confess__overline {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.confess__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(32px, 4vw, 50px); line-height: 1.15; }
.confess__title-em { color: var(--moss); font-style: italic; }
.confess__body { max-width: 52ch; font-size: 16px; line-height: 1.8; color: var(--soft); }
.confess__cta {
  background: var(--ink); color: var(--paper); padding: 14px 30px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; transition: background .2s ease, color .2s ease;
}
.confess__cta:hover { background: var(--accent); color: #f4efe6; }

/* ============ CẢM ƠN (thanks) ============ */
.thanks { position: relative; max-width: 1240px; margin: 0 auto; padding: 104px 40px; display: flex; flex-direction: column; gap: 64px; }
.thanks__reviews { display: flex; flex-direction: column; gap: 28px; }
.thanks__reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; flex-wrap: wrap; }
.thanks__reviews-intro { display: flex; flex-direction: column; gap: 14px; }
.thanks__overline {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: var(--accent);
}
.thanks__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; }
.thanks__badge {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .06em;
  border: 1.5px solid var(--moss); color: var(--moss); border-radius: 999px; padding: 8px 16px;
}
.thanks__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.review-card { display: flex; flex-direction: column; gap: 12px; background: var(--card); border: 1px solid var(--line); border-radius: 16px; padding: 24px; }
.review-card__stars { color: var(--accent); font-size: 14px; letter-spacing: .2em; }
.review-card__quote { font-size: 14.5px; line-height: 1.75; color: var(--ink); }
.review-card__source { font-family: 'IBM Plex Mono', monospace; font-size: 11.5px; color: var(--soft); }

.thanks__ask { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr); gap: 70px; align-items: center; }
.thanks__ask-copy { display: flex; flex-direction: column; gap: 20px; }
.thanks__ask-title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(30px, 3.6vw, 46px); line-height: 1.15; }
.thanks__ask-title-em { color: var(--moss); font-style: italic; }
.thanks__ask-body { max-width: 52ch; font-size: 15.5px; line-height: 1.8; color: var(--soft); }
.thanks__ask-actions { display: flex; flex-direction: column; gap: 16px; }
.thanks__google-cta {
  display: flex; flex-direction: column; gap: 6px;
  background: var(--ink); color: var(--paper); border-radius: 16px; padding: 22px 26px;
  transition: background .2s ease;
}
.thanks__google-cta:hover { background: var(--accent); color: var(--paper); }
.thanks__google-cta-label { font-weight: 600; font-size: 16.5px; }
.thanks__google-cta-note { font-size: 13px; opacity: .75; }
.thanks__social { display: flex; flex-direction: column; gap: 10px; border: 1.5px dashed var(--line); border-radius: 16px; padding: 20px 26px; }
.thanks__social-title { font-size: 14px; font-weight: 600; }
.thanks__social-note { font-size: 13px; color: var(--soft); }
.thanks__social-links { display: flex; gap: 18px; font-size: 14px; font-weight: 500; flex-wrap: wrap; }
.thanks__social-link { color: var(--moss); transition: color .2s ease; }
.thanks__social-link:hover { color: var(--accent); }

/* ============ GHÉ QUÁN (visit) — vùng tối riêng ============ */
.visit { background: #2c3527; color: #eee7d6; }
.visit :where(a) { color: #eee7d6; }
.visit__inner { max-width: 1240px; margin: 0 auto; padding: 110px 40px 60px; display: flex; flex-direction: column; gap: 60px; }
.visit__top { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 70px; align-items: start; }
.visit__intro { display: flex; flex-direction: column; gap: 24px; }
.visit__overline {
  font-family: 'IBM Plex Mono', monospace; font-size: 12px; letter-spacing: .22em;
  text-transform: uppercase; color: #c9a27a;
}
.visit__title { font-family: 'Playfair Display', serif; font-weight: 700; font-size: clamp(36px, 4.6vw, 60px); line-height: 1.1; }
.visit__title-em { color: #b8c9a0; font-style: italic; }
.visit__address { max-width: 52ch; font-size: 16px; line-height: 1.8; color: #c4bba6; }
.visit__steps { display: flex; flex-direction: column; gap: 14px; }
.step { display: flex; gap: 16px; align-items: baseline; }
.step__num {
  flex-shrink: 0; width: 30px; height: 30px; border-radius: 50%; border: 1.5px solid #c9a27a; color: #c9a27a;
  display: grid; place-items: center; font-family: 'IBM Plex Mono', monospace; font-size: 13px;
}
.step__text { font-size: 14.5px; line-height: 1.7; color: #d8d0ba; }
.step__title { color: #eee7d6; }
.visit__ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.visit__map-cta {
  background: #eee7d6; color: #2c3527; padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 600;
  transition: background .2s ease, color .2s ease;
}
.visit__map-cta:hover { background: var(--accent); color: #f4efe6; }
.visit__fb-cta {
  color: #eee7d6; padding: 13px 26px; border-radius: 999px; font-size: 14px; font-weight: 600;
  border: 1.5px solid rgba(238, 231, 214, .35); transition: border-color .2s ease;
}
.visit__fb-cta:hover { border-color: #eee7d6; }

.visit__info { display: flex; flex-direction: column; border: 1px solid rgba(238, 231, 214, .22); border-radius: 16px; overflow: hidden; }
.info-row { display: flex; justify-content: space-between; gap: 16px; padding: 18px 24px; border-bottom: 1px dashed rgba(238, 231, 214, .22); }
.info-row:last-child { border-bottom: none; }
.info-row__label { font-size: 14px; color: #c4bba6; }
.info-row__value { font-family: 'IBM Plex Mono', monospace; font-size: 14px; color: #eee7d6; }

.visit__map { border-radius: 18px; overflow: hidden; border: 1px solid rgba(238, 231, 214, .22); height: 340px; }
.visit__map-iframe { width: 100%; height: 100%; border: 0; }

/* ============ FOOTER ============ */
/* Ghi chú: file gốc gộp copyright vào cuối section "Ghé quán" (nền tối), nhưng
   partial footer.html là <footer> độc lập nằm ngoài .visit — dùng lại đúng bảng
   màu tối đó để nối liền thị giác với section liền trước, không bị đổi nền đột ngột. */
.site-footer { background: #2c3527; color: #eee7d6; border-top: 1px solid rgba(238, 231, 214, .18); }
.site-footer__inner {
  max-width: 1240px; margin: 0 auto; padding: 28px 40px;
  display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap;
}
.site-footer__wordmark { font-family: 'Playfair Display', serif; font-weight: 900; font-size: 18px; }
.site-footer__wordmark-sub { font-weight: 400; font-style: italic; font-size: 14px; }
.site-footer__text { font-family: 'IBM Plex Mono', monospace; font-size: 12px; color: #8f9a80; }

/* ============ MOBILE (tự thiết kế — không có trong bản gốc) ============ */
@media (max-width: 720px) {
  .site-header { flex-wrap: wrap; gap: 10px 16px; padding: 12px 20px; }
  .site-header__nav { flex-wrap: wrap; gap: 10px 16px; font-size: 12.5px; }

  .hero { grid-template-columns: 1fr; gap: 32px; padding: 48px 20px 64px; }
  .hero__title { font-size: clamp(56px, 14vw, 88px); }
  .hero__visual { justify-self: stretch; width: 100%; }
  .hero__photo-frame { height: 380px; border-radius: 32px; }
  .hero-photo { height: 380px; }
  .hero__plaque { position: static; margin: 0 0 16px; }
  .hero__badge { width: 100px; height: 100px; font-size: 9px; bottom: 12px; right: 12px; }
  .hero__persona-grid { grid-template-columns: 1fr; }

  .story { grid-template-columns: 1fr; gap: 32px; padding: 64px 20px; }
  .story__aside { position: static; top: auto; }

  .zones__inner { padding: 64px 20px; }
  .zones__grid { grid-template-columns: 1fr; gap: 20px; }
  .zones__item--1, .zones__item--2, .zones__item--3, .zones__item--4 { grid-column: 1 / -1; }
  .zones__item--1 .zones__photo, .zones__item--2 .zones__photo,
  .zones__item--3 .zones__photo, .zones__item--4 .zones__photo { height: 260px; }
  .zones__stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .gallery { padding: 64px 20px; }
  .gallery__head { flex-direction: column; align-items: flex-start; gap: 16px; }
  .gallery__grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .gal-item { grid-column: auto; grid-row: auto; margin-top: 0 !important; }

  .menu { grid-template-columns: 1fr; gap: 32px; padding: 64px 20px; }
  .menu__aside { position: static; top: auto; }
  .menu__signature { grid-template-columns: 1fr; }
  .menu__signature-photo { height: 160px; }

  .confess__inner { padding: 64px 20px; }

  .thanks { padding: 64px 20px; gap: 48px; }
  .thanks__reviews-head { flex-direction: column; align-items: flex-start; }
  .thanks__grid { grid-template-columns: 1fr; }
  .thanks__ask { grid-template-columns: 1fr; gap: 32px; }

  .visit__inner { padding: 64px 20px 40px; }
  .visit__top { grid-template-columns: 1fr; gap: 40px; }
  .visit__map { height: 240px; }
  .site-footer__inner { padding: 24px 20px; flex-direction: column; align-items: flex-start; gap: 10px; }

  /* Vùng chạm >=44px. Chỉ đặt min-height thì hộp cao lên mà chữ vẫn dính mép
     trên — phải căn giữa theo chiều dọc, nếu không nút trông lệch. */
  .site-header__cta, .hero__directions, .confess__cta,
  .visit__map-cta, .visit__fb-cta, .thanks__social-link {
    min-height: 44px; display: inline-flex; align-items: center; justify-content: center;
  }
  .thanks__google-cta { min-height: 44px; justify-content: center; }
  :root { --header-h: 104px; }
}

/* con trỏ tuỳ biến chỉ dành cho chuột — ẩn trên thiết bị cảm ứng/thô */
@media (pointer: coarse) {
  .cursor { display: none; }
}

/* tôn trọng prefers-reduced-motion — tắt toàn bộ animation/transition */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}
