/* ==========================================================================
   Tiệm Ốc Cô Hạnh — hệ thống thiết kế v1
   Màu, chữ và nhịp lấy từ artboard "Hệ thống thiết kế".
   ========================================================================== */

:root {
  --ink:        #1C1815;
  --red:        #7B1E22;
  --red-dark:   #5C1317;
  --gold:       #C4954A;
  --muted:      #6E645B;
  --body-alt:   #4A403A;
  --tag:        #A2937F;
  --cream:      #F4EEE4;
  --paper:      #FCFAF6;
  --line:       #E8DFD1;
  --line-soft:  #EDE5D8;
  --line-btn:   #D6C9B6;
  --dot:        #CFC0A8;

  --serif: 'Cormorant Garamond', Georgia, 'Times New Roman', serif;
  --sans:  'Be Vietnam Pro', 'Segoe UI', system-ui, -apple-system, sans-serif;

  --gutter: 72px;      /* lề ngang desktop */
  --sec-y:  108px;     /* lề dọc một section */
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; display: block; }

a { color: var(--red); text-decoration: none; transition: color .18s ease; }
a:hover { color: var(--red-dark); }

h1, h2, h3, blockquote, p { margin: 0; }

::selection { background: rgba(196,149,74,.28); }

:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; }

/* ── Khối dùng chung ─────────────────────────────────────────────────────── */

.wrap { padding-left: var(--gutter); padding-right: var(--gutter); }

.eyebrow {
  font-size: 10.5px;
  letter-spacing: .26em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 500;
}
.eyebrow--rule { display: flex; align-items: center; gap: 12px; }
.eyebrow--rule::before { content: ""; width: 34px; height: 1px; background: var(--gold); }

.display {
  font-family: var(--serif);
  font-weight: 500;
  line-height: 1.05;
  letter-spacing: -.01em;
  text-wrap: pretty;
}

.lede {
  font-size: 16.5px;
  line-height: 1.72;
  color: var(--muted);
  font-weight: 300;
  text-wrap: pretty;
}

/* Nút — bo góc 2px, vùng bấm ≥44px trên mobile */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 17px 32px;
  border-radius: 2px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: .03em;
  border: 1px solid transparent;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.btn--primary { background: var(--red); color: var(--paper); }
.btn--primary:hover { background: var(--red-dark); color: var(--paper); }
.btn--ghost { border-color: var(--line-btn); color: var(--ink); font-weight: 400; }
.btn--ghost:hover { border-color: var(--ink); color: var(--ink); }
.btn--gold { background: var(--gold); color: var(--ink); }
.btn--gold:hover { background: #b8863b; color: var(--ink); }
.btn--onDark { border-color: rgba(252,250,246,.28); color: var(--paper); font-weight: 400; }
.btn--onDark:hover { border-color: var(--paper); color: var(--paper); }

.arrowlink {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 13.5px;
  color: var(--red);
}
.arrowlink svg { transition: transform .18s ease; }
.arrowlink:hover svg { transform: translateX(4px); }

/* Khung ảnh */
.frame { position: relative; overflow: hidden; background: var(--cream); }
.frame img { width: 100%; height: 100%; object-fit: cover; }
.frame--dark { background: linear-gradient(145deg, #3A2622 0%, #241715 60%, #1A100F 100%); }

/* ── Header ──────────────────────────────────────────────────────────────── */

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px var(--gutter);
  border-bottom: 1px solid var(--line);
  background: var(--paper);
  position: sticky;
  top: 0;
  z-index: 20;
}

.brand { display: flex; align-items: center; gap: 13px; color: var(--ink); }
.brand__mark { width: auto; height: 44px; flex-shrink: 0; }
.brand__mark--sm { height: 38px; }
.brand:hover { color: var(--ink); }
.brand__name {
  display: block;
  font-family: var(--serif);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: .09em;
  line-height: 1;
}
.brand__place {
  display: block;
  font-size: 9.5px;
  letter-spacing: .22em;
  color: var(--tag);
  margin-top: 4px;
  text-transform: uppercase;
  line-height: 1;
}

.site-nav { display: flex; align-items: center; gap: 36px; font-size: 13.5px; }
.site-nav a { color: var(--body-alt); padding-bottom: 3px; }
.site-nav a:hover { color: var(--ink); }
.site-nav a[aria-current="page"] { color: var(--ink); border-bottom: 1px solid var(--red); }

.phone-btn {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 11px 22px;
  border: 1px solid var(--ink);
  border-radius: 2px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink);
  letter-spacing: .02em;
  white-space: nowrap;
}
.phone-btn:hover { background: var(--ink); color: var(--paper); }

.header-icons { display: none; align-items: center; gap: 4px; }
.icon-btn {
  width: 44px; height: 44px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none; padding: 0; cursor: pointer; color: var(--ink);
}

/* ── Hero ────────────────────────────────────────────────────────────────── */

.hero { display: grid; grid-template-columns: 640px minmax(0, 1fr); align-items: stretch; }
.hero__copy {
  padding: 104px 64px 88px var(--gutter);
  display: flex; flex-direction: column; justify-content: center;
}
.hero__title { font-size: 82px; line-height: .98; margin-top: 30px; }
.hero__title em { font-style: italic; color: var(--red); }
.hero__lede { max-width: 430px; margin-top: 28px; }
.hero__cta { display: flex; gap: 14px; margin-top: 40px; flex-wrap: wrap; }
.hero__facts {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  margin-top: 64px; border-top: 1px solid var(--line); padding-top: 26px;
}
.fact__label {
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--tag); margin-bottom: 9px;
}
.fact__value { font-family: var(--serif); font-size: 21px; }
.hero__photo { min-height: 720px; }

/* ── Dải buffet ──────────────────────────────────────────────────────────── */

.band {
  background: var(--ink);
  padding: 26px var(--gutter);
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.band__text {
  font-family: var(--serif); font-size: 25px; color: var(--paper);
  display: flex; align-items: center; gap: 20px;
}
.band__text em { color: var(--gold); font-style: italic; }
.band__meta { display: flex; align-items: center; gap: 28px; }
.band__hours { font-size: 12.5px; color: rgba(252,250,246,.62); letter-spacing: .04em; }
.band__link { font-size: 12.5px; color: var(--gold); border-bottom: 1px solid rgba(196,149,74,.45); padding-bottom: 2px; }
.band__link:hover { color: #dcae64; }

/* ── Vì sao ──────────────────────────────────────────────────────────────── */

.why { padding: var(--sec-y) var(--gutter) 96px; }
.why__grid { display: grid; grid-template-columns: 400px minmax(0, 1fr); gap: 80px; align-items: start; }
.why__title { font-size: 46px; line-height: 1.1; margin-top: 20px; }
.why__items { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 64px; }
.why__item { border-top: 1px solid var(--line); padding-top: 22px; }
.why__num { font-family: var(--serif); font-size: 15px; color: var(--gold); letter-spacing: .1em; margin-bottom: 14px; }
.why__item h3 { font-size: 17px; font-weight: 500; margin-bottom: 10px; }
.why__item p { font-size: 14.5px; line-height: 1.7; color: var(--muted); font-weight: 300; }

/* ── Món signature ───────────────────────────────────────────────────────── */

.signature { padding: 0 var(--gutter) 110px; }
.sec-head {
  display: flex; align-items: flex-end; justify-content: space-between; gap: 32px;
  border-bottom: 1px solid var(--line); padding-bottom: 26px; margin-bottom: 48px;
}
.sec-head h2 { font-size: 46px; margin-top: 16px; }
.dishes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 34px; }
.dish__photo { height: 380px; }
.dish__photo img { transition: transform .5s cubic-bezier(.2,.6,.2,1); }
.dish:hover .dish__photo img { transform: scale(1.04); }
.dish__head {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-top: 22px;
}
.dish__name { font-family: var(--serif); font-size: 26px; font-weight: 500; }
.dish__price { font-size: 14px; font-weight: 500; color: var(--red); white-space: nowrap; }
.dish__note { margin-top: 10px; font-size: 14.5px; line-height: 1.68; color: var(--muted); font-weight: 300; }

/* ── Tráng miệng ─────────────────────────────────────────────────────────── */

.dessert { background: var(--cream); padding: 100px var(--gutter); }
.dessert__grid { display: grid; grid-template-columns: minmax(0, 1fr) 560px; gap: 76px; align-items: center; }
.dessert__photo {
  height: 520px;
  background: linear-gradient(145deg, #E9DECC 0%, #DCCDB6 55%, #CFBC9F 100%);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: 8px; padding: 40px 32px;
}
.dessert__photo img {
  min-width: 0; min-height: 0;
  width: 100%; height: 100%; object-fit: contain;
  filter: drop-shadow(0 18px 28px rgba(50,35,20,.24));
  transform: scale(1.42);
}
.dessert__photo img:nth-child(2) { transform: scale(1.62); position: relative; z-index: 1; }
.dessert__title { font-size: 52px; margin: 20px 0 24px; }
.dessert__lede { max-width: 460px; margin-bottom: 40px; font-size: 16px; line-height: 1.75; }
.dessert__row {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  border-top: 1px solid #DED2BF; padding: 17px 0;
}
.dessert__row:last-child { border-bottom: 1px solid #DED2BF; }
.dessert__row span:first-child { font-family: var(--serif); font-size: 22px; }
.free { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

/* ── Người đứng bếp ──────────────────────────────────────────────────────── */

.founder { padding: 110px var(--gutter); }
.founder__grid { display: grid; grid-template-columns: 440px minmax(0, 1fr); gap: 80px; align-items: center; }
.founder__photo { height: 560px; }
.founder__photo img { object-fit: contain; object-position: bottom; padding: 28px 0 0; }
.founder__quote {
  font-family: var(--serif); font-size: 40px; line-height: 1.26;
  font-weight: 400; font-style: italic; text-wrap: pretty; margin-top: 26px;
}
.founder__by { display: flex; align-items: center; gap: 16px; margin-top: 40px; }
.founder__by::before { content: ""; width: 44px; height: 1px; background: var(--gold); }
.founder__name { font-size: 15px; font-weight: 500; }
.founder__role { font-size: 12.5px; color: var(--tag); margin-top: 4px; }

/* ── Ghé tiệm ────────────────────────────────────────────────────────────── */

.visit { background: var(--ink); padding: 96px var(--gutter); color: var(--paper); }
.visit__grid { display: grid; grid-template-columns: 480px minmax(0, 1fr); gap: 72px; align-items: center; }
.visit__title { font-size: 50px; line-height: 1.06; color: var(--paper); margin: 22px 0 36px; }
.visit__facts { display: flex; flex-direction: column; gap: 18px; margin-bottom: 40px; }
.visit__fact { display: flex; gap: 14px; align-items: flex-start; }
.visit__fact svg { margin-top: 2px; flex-shrink: 0; }
.visit__fact div { font-size: 14.5px; line-height: 1.6; color: rgba(252,250,246,.78); font-weight: 300; }
.visit__cta { display: flex; gap: 14px; flex-wrap: wrap; }
.visit__photo { height: 420px; }

/* ── Footer ──────────────────────────────────────────────────────────────── */

.site-footer { background: var(--paper); padding: 72px var(--gutter) 36px; }
.footer__grid {
  display: grid; grid-template-columns: 420px repeat(3, minmax(0, 1fr)); gap: 56px;
  padding-bottom: 56px; border-bottom: 1px solid var(--line);
}
.footer__about { font-size: 14px; line-height: 1.7; color: var(--muted); font-weight: 300; max-width: 320px; margin-top: 18px; }
.footer__head {
  font-size: 9.5px; letter-spacing: .2em; text-transform: uppercase;
  color: var(--tag); margin-bottom: 18px;
}
.footer__list { display: flex; flex-direction: column; gap: 11px; font-size: 14px; }
.footer__list a, .footer__list span { color: var(--body-alt); line-height: 1.6; }
.footer__list a:hover { color: var(--ink); }
.footer__list a[href^="tel"] { color: var(--red); }
.footer__bottom {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 26px; font-size: 11.5px; color: var(--tag);
}
.footer__bottom a { color: var(--tag); }
.footer__legal { display: flex; gap: 26px; }

/* ── Trang thực đơn ──────────────────────────────────────────────────────── */

.menu-hero { padding: 84px var(--gutter) 44px; text-align: center; }
.menu-hero .eyebrow { display: inline-flex; align-items: center; justify-content: center; gap: 14px; margin-bottom: 22px; }
.menu-hero .eyebrow::before,
.menu-hero .eyebrow::after { content: ""; width: 34px; height: 1px; background: var(--gold); }
.menu-hero h1 { font-size: 76px; line-height: 1; }
.menu-hero p { margin: 22px auto 0; max-width: 520px; font-size: 15.5px; line-height: 1.72; color: var(--muted); font-weight: 300; }

.chips { display: flex; justify-content: center; gap: 8px; padding: 0 var(--gutter) 60px; flex-wrap: wrap; }
.chip {
  padding: 9px 18px; border: 1px solid var(--line-btn); color: var(--body-alt);
  border-radius: 999px; font-size: 12.5px; white-space: nowrap;
  transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.chip:hover { border-color: var(--ink); color: var(--ink); }
.chip--active, .chip--active:hover { border-color: var(--ink); background: var(--ink); color: var(--paper); }


/* ── Thực đơn: danh sách 2 cột, mỗi món một ảnh vuông ─────────────────────
   Giữ nguyên bố cục bảng giá của artboard (kẻ mảnh, hàng chấm nối, giá
   Cormorant đỏ) và thêm ảnh thật ở đầu dòng. */
.menu-grid { padding: 0 var(--gutter) 96px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 96px; }
.menu-col { display: flex; flex-direction: column; gap: 56px; }
.cat { scroll-margin-top: 104px; }
.cat__head { border-bottom: 1px solid var(--line); padding-bottom: 14px; margin-bottom: 8px; }
.cat h2 { font-family: var(--serif); font-size: 32px; font-weight: 500; margin-bottom: 5px; }
.cat__sub { font-size: 10.5px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); }

.row__thumb {
  flex: 0 0 auto; width: 58px; height: 58px; overflow: hidden;
  border-radius: 2px; background: var(--cream); align-self: center;
}
.row__thumb img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.6,.2,1);
}
.row:hover .row__thumb img { transform: scale(1.06); }

/* Hover: ảnh món bung lớn nổi phía trên dòng.
   Dùng chung tệp ảnh với ảnh nhỏ nên không tốn thêm request. */
.row__pop {
  position: absolute; left: 0; bottom: calc(100% + 8px);
  width: 224px; height: 224px; overflow: hidden; border-radius: 2px;
  background: var(--cream); box-shadow: 0 22px 44px rgba(28,24,21,.26), 0 4px 12px rgba(28,24,21,.12);
  opacity: 0; visibility: hidden;
  transform: scale(.82) translateY(10px); transform-origin: 28px bottom;
  transition: opacity .28s ease, transform .38s cubic-bezier(.2,.75,.25,1), visibility 0s .3s;
  pointer-events: none; z-index: 30;
}
.row__pop img { width: 100%; height: 100%; object-fit: cover; }
.row:hover .row__pop,
.row:focus-within .row__pop {
  opacity: 1; visibility: visible;
  transform: scale(1) translateY(0);
  transition: opacity .28s ease, transform .38s cubic-bezier(.2,.75,.25,1), visibility 0s 0s;
}
/* Dòng đầu nhóm không đủ chỗ phía trên thì lật xuống dưới. */
.cat__rows > .row:first-child .row__pop {
  bottom: auto; top: calc(100% + 8px); transform-origin: 28px top;
}

/* Dòng thực đơn (thành phần trong hệ thống thiết kế). */
.row { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line-soft); }
/* Mỗi dòng tự tạo stacking context (do translate của hiệu ứng reveal), nên
   phải nâng hẳn dòng đang hover lên thì ảnh bung mới nổi trên các dòng khác. */
.row:hover, .row:focus-within { z-index: 40; }
.row__name { font-size: 15.5px; color: var(--ink); }
/* Canh giữa theo chiều dọc: dòng có ảnh 58px nên không dùng baseline được,
   baseline sẽ kéo gạch nối và giá lệch hẳn lên trên. */
.row__dots { flex: 1 1 auto; height: 1px; border-bottom: 1px dotted var(--dot); }
.row__price { font-family: var(--serif); font-size: 19px; font-weight: 500; color: var(--red); white-space: nowrap; line-height: 1; }

.dessert-note {
  margin: 0 var(--gutter) 96px; background: var(--ink); padding: 52px 64px;
  display: flex; align-items: center; justify-content: space-between; gap: 48px;
}
.dessert-note__left { display: flex; align-items: center; gap: 26px; }
.dessert-note__title { font-family: var(--serif); font-size: 30px; color: var(--paper); line-height: 1.2; }
.dessert-note__sub { font-size: 14px; color: rgba(252,250,246,.62); margin-top: 8px; font-weight: 300; }
.pill {
  font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(196,149,74,.45); padding: 11px 20px; border-radius: 999px; white-space: nowrap;
}
.menu-footer { padding: 0 var(--gutter) 40px; }
.menu-footer__inner {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-top: 28px; border-top: 1px solid var(--line); font-size: 12.5px; color: var(--tag);
}

/* ── Thanh CTA dính đáy (mobile) ─────────────────────────────────────────── */

.sticky-cta { display: none; }

/* ══ Tablet ══════════════════════════════════════════════════════════════ */

@media (max-width: 1180px) {
  :root { --gutter: 40px; --sec-y: 80px; }
  .hero { grid-template-columns: minmax(0, 1fr) 420px; }
  .hero__copy { padding: 72px 40px 64px var(--gutter); }
  .hero__title { font-size: 62px; }
  .why__grid { grid-template-columns: 1fr; gap: 40px; }
  .why__title { font-size: 38px; }
  .dessert__grid, .founder__grid, .visit__grid { grid-template-columns: 1fr; gap: 48px; }
  .dessert__title { font-size: 42px; }
  .founder__quote { font-size: 32px; }
  .founder__photo { height: 440px; }
  .visit__title { font-size: 40px; }
  .footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px; }
  .menu-grid { gap: 0 56px; }
  .site-nav { gap: 24px; }
}

@media (max-width: 900px) {
  .dishes { grid-template-columns: 1fr; gap: 40px; }
  .dish__photo { height: 320px; }
  .sec-head { flex-direction: column; align-items: flex-start; gap: 20px; }
  .sec-head h2 { font-size: 36px; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-col + .menu-col { margin-top: 56px; }
  .cat h2 { font-size: 28px; }
}

/* ══ Mobile ══════════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
  :root { --gutter: 20px; --sec-y: 48px; }

  .site-header { padding: 14px var(--gutter); }
  .brand__name { font-size: 15px; letter-spacing: .08em; }
  .brand__mark { height: 36px; }
  .brand__place { display: none; }
  .site-nav, .phone-btn { display: none; }
  .header-icons { display: flex; }

  .site-nav--open {
    display: flex; flex-direction: column; align-items: stretch; gap: 0;
    position: absolute; left: 0; right: 0; top: 100%;
    background: var(--paper); border-bottom: 1px solid var(--line);
    padding: 4px var(--gutter) 12px; font-size: 16px;
  }
  .site-nav--open a { padding: 14px 0; border-bottom: 1px solid var(--line-soft); }
  .site-nav--open a:last-child { border-bottom: none; }

  /* Hero: ảnh lên trên, chữ xuống dưới */
  .hero { display: flex; flex-direction: column; }
  .hero__photo { min-height: 0; height: 400px; order: -1; }
  .hero__copy { padding: 34px var(--gutter) 36px; }
  .hero__title { font-size: 48px; margin-top: 18px; }
  .hero__lede { font-size: 15px; line-height: 1.68; margin-top: 20px; }
  .hero__cta { flex-direction: column; gap: 10px; margin-top: 28px; }
  .hero__cta .btn { width: 100%; height: 52px; padding: 0 20px; font-size: 15px; }
  .hero__facts { display: block; margin-top: 32px; padding-top: 0; }
  .hero__facts > div {
    display: flex; align-items: baseline; justify-content: space-between;
    padding: 14px 0; border-bottom: 1px solid var(--line);
  }
  .fact__label { margin-bottom: 0; }
  .fact__value { font-size: 20px; }

  .band { flex-direction: column; align-items: flex-start; gap: 12px; padding: 28px var(--gutter); }
  .band__text { font-size: 22px; line-height: 1.24; align-items: flex-start; gap: 14px; }
  .band__meta { flex-direction: column; align-items: flex-start; gap: 8px; }

  .why { padding: var(--sec-y) var(--gutter) 44px; }
  .why__title { font-size: 34px; margin-top: 14px; }
  .why__items { grid-template-columns: 1fr; gap: 26px; }
  .why__item { padding-top: 18px; }
  .why__item h3 { font-size: 16px; }
  .why__item p { font-size: 14px; line-height: 1.66; }

  .signature { padding: 0 var(--gutter) 48px; }
  .sec-head { margin-bottom: 32px; padding-bottom: 20px; }
  .sec-head h2 { font-size: 34px; }
  .dishes { gap: 32px; }
  .dish__photo { height: 280px; }
  .dish__name { font-size: 23px; }

  .dessert { padding: 48px var(--gutter); }
  .dessert__grid { gap: 32px; }
  .dessert__photo { height: 320px; padding: 24px; gap: 12px; }
  .dessert__title { font-size: 34px; margin: 14px 0 18px; }
  .dessert__lede { font-size: 15px; margin-bottom: 28px; }
  .dessert__row span:first-child { font-size: 19px; }

  .founder { padding: 48px var(--gutter); }
  .founder__photo { height: 360px; }
  .founder__quote { font-size: 26px; line-height: 1.3; }

  .visit { padding: 48px var(--gutter); }
  .visit__title { font-size: 34px; margin: 16px 0 26px; }
  .visit__cta { flex-direction: column; }
  .visit__cta .btn { width: 100%; height: 52px; padding: 0 20px; }
  .visit__photo { height: 240px; }

  .site-footer { padding: 44px var(--gutter) 24px; }
  .footer__grid { grid-template-columns: 1fr; gap: 32px; padding-bottom: 32px; }
  .footer__bottom { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer__legal { gap: 18px; }

  .menu-hero { padding: 44px var(--gutter) 28px; }
  .menu-hero h1 { font-size: 46px; }
  .menu-hero p { font-size: 15px; }
  .chips {
    justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto;
    padding: 0 var(--gutter) 36px; scrollbar-width: none;
  }
  .chips::-webkit-scrollbar { display: none; }
  .menu-grid { padding: 0 var(--gutter) 48px; }
  .menu-col { gap: 40px; }
  .cat h2 { font-size: 26px; }
  .row { padding: 10px 0; gap: 14px; }
  .row__thumb { width: 72px; height: 72px; }   /* ảnh to hơn vì màn nhỏ */
  .row__pop { display: none; }                 /* mobile không hover — bấm để xem */
  .row__name { font-size: 14.5px; }
  .row__price { font-size: 17px; }
  .row { padding: 12px 0; }
  .row__name { font-size: 14.5px; }
  .row__price { font-size: 17px; }

  .dessert-note {
    margin: 0 var(--gutter) 48px; padding: 32px 24px;
    flex-direction: column; align-items: flex-start; gap: 24px;
  }
  .dessert-note__left { align-items: flex-start; gap: 16px; }
  .dessert-note__title { font-size: 24px; }
  .menu-footer__inner { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Thanh CTA dính đáy */
  .sticky-cta {
    display: flex; gap: 10px; padding: 12px var(--gutter);
    border-top: 1px solid var(--line); background: rgba(252,250,246,.96);
    backdrop-filter: blur(8px);
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 30;
    padding-bottom: calc(12px + env(safe-area-inset-bottom));
  }
  .sticky-cta .btn { flex: 1 1 auto; height: 48px; padding: 0 16px; font-size: 14.5px; }
  .sticky-cta__call {
    width: 48px; height: 48px; flex: 0 0 48px;
    display: flex; align-items: center; justify-content: center;
    border: 1px solid var(--line-btn); border-radius: 2px; color: var(--ink);
  }
  body { padding-bottom: 72px; }
}

/* Tên món dài trên màn rất hẹp: cho phép xuống dòng, bỏ hàng chấm */
@media (max-width: 400px) {
  .row__dots { min-width: 16px; }
}

/* ══ Scroll reveal ═══════════════════════════════════════════════════════
   Chỉ hoạt động khi reveal.js gắn lớp .rv lên <html> — không JS, tắt
   prefers-reduced-motion hoặc trình duyệt cũ thì trang tĩnh như cũ.
   Chuyển động dùng thuộc tính translate/scale/rotate riêng để KHÔNG đụng
   các transform sẵn có (ảnh món hover, cụm ảnh tráng miệng). */

html.rv [data-reveal] {
  opacity: 0;
  translate: 0 32px;
  transition:
    opacity .85s cubic-bezier(.22,.61,.21,1),
    translate .85s cubic-bezier(.22,.61,.21,1),
    scale .85s cubic-bezier(.22,.61,.21,1),
    rotate .85s cubic-bezier(.22,.61,.21,1),
    filter .85s ease;
  transition-delay: var(--d, 0ms);
}
html.rv [data-reveal="left"]  { translate: -40px 0; }
html.rv [data-reveal="right"] { translate: 40px 0; }
html.rv [data-reveal="fade"]  { translate: 0 0; }
html.rv [data-reveal="zoom"]  { translate: 0 0; scale: .94; }
html.rv [data-reveal="blur"]  { translate: 0 16px; filter: blur(7px); }
html.rv [data-reveal="pop"]   { translate: 0 46px; rotate: 3deg; transition-duration: 1s; }
html.rv [data-reveal].is-in {
  opacity: 1;
  translate: 0 0;
  scale: 1;
  rotate: 0deg;
  filter: blur(0);
}

/* Khung ảnh: mở màn bằng clip từ trên xuống + ảnh thu về đúng cỡ */
html.rv [data-reveal="frame"] {
  opacity: 1;
  translate: 0 0;
  clip-path: inset(0 0 100% 0);
  transition: clip-path 1.1s cubic-bezier(.65,.05,.25,1);
  transition-delay: var(--d, 0ms);
}
html.rv [data-reveal="frame"].is-in { clip-path: inset(0 0 0 0); }
html.rv [data-reveal="frame"] img {
  scale: 1.12;
  transition: scale 1.5s cubic-bezier(.2,.6,.2,1);
  transition-delay: var(--d, 0ms);
}
html.rv [data-reveal="frame"].is-in img { scale: 1; }

/* Tiêu đề hero: từng dòng trồi lên qua mặt nạ */
[data-reveal="lines"] .line {
  display: block;
  overflow: hidden;
  padding-bottom: .1em;
  margin-bottom: -.1em;
}
html.rv [data-reveal="lines"] { opacity: 1; translate: 0 0; }
html.rv [data-reveal="lines"] .line > span {
  display: inline-block;
  translate: 0 112%;
  transition: translate 1s cubic-bezier(.19,.68,.16,1);
  transition-delay: var(--d, 0ms);
}
html.rv [data-reveal="lines"] .line:nth-child(2) > span { transition-delay: calc(var(--d, 0ms) + 120ms); }
html.rv [data-reveal="lines"] .line:nth-child(3) > span { transition-delay: calc(var(--d, 0ms) + 240ms); }
html.rv [data-reveal="lines"].is-in .line > span { translate: 0 0; }

/* Đường chỉ vàng của eyebrow tự kéo dài */
html.rv .eyebrow--rule::before,
html.rv .menu-hero .eyebrow::before,
html.rv .menu-hero .eyebrow::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s cubic-bezier(.65,.05,.25,1);
  transition-delay: calc(var(--d, 0ms) + 150ms);
}
html.rv .menu-hero .eyebrow::after { transform-origin: right; }
html.rv [data-reveal].is-in.eyebrow--rule::before,
html.rv .is-in .eyebrow--rule::before,
html.rv .menu-hero .is-in.eyebrow::before,
html.rv .menu-hero .is-in.eyebrow::after { transform: scaleX(1); }

/* Hàng thực đơn: hàng chấm nối giá tự "vẽ" ra */
html.rv .cat .row .row__dots {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s cubic-bezier(.65,.05,.25,1);
  transition-delay: calc(var(--d, 0ms) + 200ms);
}
html.rv .cat .row.is-in .row__dots { transform: scaleX(1); }

/* Parallax: ảnh phóng sẵn 1.15 để có biên dịch chuyển */
html.rv [data-parallax] { overflow: hidden; }
html.rv [data-parallax] > img,
html.rv [data-parallax][data-reveal] > img { scale: 1.15; }

/* Thanh tiến độ cuộn + header đổ bóng khi rời đầu trang */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #DCAE64);
  transform: scaleX(0);
  transform-origin: left;
  z-index: 40;
  pointer-events: none;
}
html.rv .site-header { transition: box-shadow .35s ease; }
html.rv .site-header.is-scrolled { box-shadow: 0 12px 32px -20px rgba(28,24,21,.4); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}


/* ── Xem ảnh lớn khi bấm vào ảnh món ─────────────────────────────────────── */
.row__thumb { cursor: zoom-in; }

.lightbox {
  position: fixed; inset: 0; z-index: 90;
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  background: rgba(28, 24, 21, .82);
  opacity: 0; visibility: hidden;
  transition: opacity .28s ease, visibility 0s .28s;
  cursor: zoom-out;
}
.lightbox.is-open { opacity: 1; visibility: visible; transition-delay: 0s; }
.lightbox__box {
  position: relative; max-width: min(560px, 92vw); width: 100%;
  transform: scale(.94); transition: transform .34s cubic-bezier(.2,.75,.25,1);
}
.lightbox.is-open .lightbox__box { transform: scale(1); }
.lightbox img {
  width: 100%; height: auto; border-radius: 2px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .45);
}
.lightbox__cap {
  display: flex; align-items: baseline; justify-content: space-between; gap: 16px;
  margin-top: 16px; color: var(--paper);
}
.lightbox__name { font-family: var(--serif); font-size: 24px; font-weight: 500; }
.lightbox__price { font-size: 14px; font-weight: 500; color: var(--gold); white-space: nowrap; }
.lightbox__close {
  position: absolute; top: -14px; right: -14px; width: 40px; height: 40px;
  display: flex; align-items: center; justify-content: center;
  background: var(--paper); color: var(--ink); border: none; border-radius: 999px;
  cursor: pointer; box-shadow: 0 6px 16px rgba(0, 0, 0, .3);
}
@media (max-width: 767px) {
  .lightbox__close { top: -10px; right: -10px; width: 36px; height: 36px; }
  .lightbox__name { font-size: 20px; }
}
