/* =========================================================================
   Bếp Nhà Hương — "Heritage Kitchen" design system
   Display + Body: Be Vietnam Pro (one sans family, full VN diacritics, no serif)
   Pure HTML/CSS/SVG — no image assets. Warm terracotta + charcoal + cream/gold.
   Shared studio structure (Web1Day tokens), recolored for an appetizing restaurant.
   ========================================================================= */

/* ---------- Tokens ---------- */
:root {
  /* Recolored for restaurant: deep terracotta-red + charcoal + cream/gold */
  --primary: #7A1E12;          /* deep terracotta red */
  --primary-dark: #571009;
  --primary-soft: #A8331F;
  --accent: #D89B2C;           /* warm gold */
  --accent-light: #F5C667;
  --accent-dark: #B87E1C;
  --bg: #FBF5EA;               /* warm cream */
  --surface: #F4E9D6;          /* deeper cream surface */
  --surface-2: #EFE0C7;
  --ink: #2A1A12;              /* warm charcoal */
  --muted: #6B5443;            /* warm taupe */
  --line: #E7D6BD;
  --ok: #4F7A3A;               /* herb green */

  --grad-ember: linear-gradient(135deg, #A8331F 0%, #7A1E12 55%, #571009 100%);
  --grad-gold: linear-gradient(135deg, #F5C667 0%, #D89B2C 55%, #B87E1C 100%);
  --grad-tint: radial-gradient(120% 140% at 100% 0%, #F4E9D6 0%, #FBF5EA 55%);
  --grad-warmth: linear-gradient(120deg, #7A1E12 0%, #A8331F 45%, #D89B2C 130%);

  --shadow-sm: 0 4px 16px rgba(42, 26, 18, .07);
  --shadow: 0 10px 30px rgba(87, 16, 9, .12);
  --shadow-lg: 0 26px 60px rgba(42, 26, 18, .20);
  --shadow-ember: 0 12px 30px rgba(122, 30, 18, .32);

  --r-sm: 12px;
  --r: 16px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-pill: 999px;

  --font-display: "Be Vietnam Pro", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Be Vietnam Pro", system-ui, sans-serif;

  --container: 1120px;
  --nav-gap: 28px;
  --nav-fz: .95rem;
  --header-h: 64px;
  --pad-x: clamp(16px, 5vw, 24px);
  --section-y: clamp(56px, 9vw, 104px);

  --ease: cubic-bezier(.2, .8, .2, 1);
}

/* ---------- Display font treatment ----------
   Owner dislikes the Times-New-Roman look of a serif, so ALL headings/display
   text use Be Vietnam Pro (sans) in BOTH languages (set via --font-display above).
   Be Vietnam Pro has no true italic — drop faux-slant on display bits,
   add a touch of weight/tracking so they still read as "accent" text. */
.hero__title-script,
.story__lead,
.story__sign,
.menu__note,
.reserve__quote,
.brand__accent {
  font-style: normal;
}
.brand__accent { font-weight: 800; }
.hero__title-main { font-weight: 800; }
.story-stat__value,
.hero__stamp-num { font-weight: 800; }

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: 0; background: none; }
ul, ol { list-style: none; padding: 0; }
table { border-collapse: collapse; width: 100%; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 800; line-height: 1.12; letter-spacing: -.01em; color: var(--ink); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x); }
.container--narrow { max-width: 820px; }
.section { padding-block: var(--section-y); }
.section--tint { background: var(--grad-tint); border-block: 1px solid var(--line); }
.section__head { max-width: 720px; margin: 0 auto clamp(32px, 5vw, 56px); text-align: center; }
.section__head h2 { font-size: clamp(1.9rem, 5.5vw, 3rem); }
.section__intro { margin-top: 14px; color: var(--muted); font-size: 1.075rem; }

.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: .8125rem; letter-spacing: .18em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 14px;
  padding: 6px 14px; background: var(--surface-2); border-radius: var(--r-pill);
}

.skip-link {
  position: fixed; top: -100px; left: 12px; z-index: 200;
  background: var(--ink); color: #fff; padding: 10px 16px; border-radius: 8px;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

/* ---------- Buttons ---------- */
.btn {
  --btn-bg: var(--grad-ember);
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 13px 26px; border-radius: var(--r-pill); min-height: 48px;
  color: #FBF5EA; background: var(--btn-bg);
  box-shadow: var(--shadow-ember); transition: transform .18s var(--ease), box-shadow .18s;
  position: relative; overflow: hidden; white-space: normal; text-align: center; max-width: 100%;
}
.btn::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(110deg, transparent 30%, rgba(255,255,255,.35) 50%, transparent 70%);
  transform: translateX(-120%);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 18px 40px rgba(122,30,18,.42); }
.btn:active { transform: translateY(0) scale(.98); }
.btn--primary:hover::after { animation: sheen 1s var(--ease); }
@keyframes sheen { to { transform: translateX(120%); } }

.btn--ghost {
  background: transparent; color: var(--primary); box-shadow: inset 0 0 0 2px var(--primary);
}
.btn--ghost::after { display: none; }
.btn--ghost:hover { background: rgba(122,30,18,.06); box-shadow: inset 0 0 0 2px var(--primary), var(--shadow); }
.btn--white { background: var(--accent-light); color: var(--primary-dark); box-shadow: var(--shadow-lg); }
.btn--white::after { display: none; }
.btn--white:hover { background: #F8D784; }
.btn--sm { padding: 10px 18px; min-height: 44px; font-size: .9375rem; }
.btn--lg { padding: 16px 32px; min-height: 56px; font-size: 1.075rem; }
.btn--block { width: 100%; }
.btn--call { gap: 10px; margin-top: 18px; }

/* ---------- DEMO ribbon (funnel back to Web1Day) ---------- */
.demo-ribbon {
  background: var(--ink); color: #FBF5EA; font-size: .85rem;
}
.demo-ribbon__inner { display: flex; align-items: center; gap: 10px 14px; min-height: 38px; flex-wrap: wrap; justify-content: center; padding-block: 6px; }
.demo-ribbon__tag {
  font-family: var(--font-body); font-weight: 800; font-size: .68rem; letter-spacing: .14em;
  background: var(--accent); color: var(--ink); padding: 3px 9px; border-radius: var(--r-pill);
}
.demo-ribbon__text { opacity: .85; }
.demo-ribbon__link { font-weight: 700; color: var(--accent-light); text-decoration: underline; text-underline-offset: 3px; }
.demo-ribbon__link:hover { color: #fff; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 245, 234, .85); backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .25s, box-shadow .25s, background .25s;
}
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 24px rgba(42,26,18,.08); background: rgba(251,245,234,.94); }
.site-header__inner { display: flex; align-items: center; gap: 16px; min-height: var(--header-h); flex-wrap: nowrap; }

.brand { display: inline-flex; align-items: center; gap: 11px; flex: none; font-family: var(--font-display); font-weight: 800; font-size: 1.3rem; letter-spacing: -.01em; white-space: nowrap; }
.brand__mark {
  display: grid; place-items: center; width: 42px; height: 42px; flex: none;
  color: var(--primary);
}
.brand__name { line-height: 1.05; }
.brand__accent { color: var(--accent-dark); font-style: italic; }
.brand--light { color: #FBF5EA; }
.brand--light .brand__mark { color: var(--accent-light); }
.brand--light .brand__accent { color: var(--accent-light); }

.nav { display: flex; gap: var(--nav-gap); margin-left: auto; min-width: 0; }
.nav a { font-weight: 600; font-size: var(--nav-fz); color: var(--muted); transition: color .2s; position: relative; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 0; bottom: -6px; width: 0; height: 2px; background: var(--accent); transition: width .25s var(--ease); border-radius: 2px; }
.nav a:hover { color: var(--primary); }
.nav a:hover::after { width: 100%; }

.site-header__actions { display: flex; align-items: center; gap: 10px; margin-left: auto; flex: none; }
.lang-toggle {
  display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: .85rem;
  color: var(--ink); padding: 8px 12px; min-height: 44px; border-radius: var(--r-pill); border: 1px solid var(--line);
  background: var(--bg); transition: border-color .2s, color .2s;
}
.lang-toggle:hover { border-color: var(--primary); color: var(--primary); }
.lang-toggle svg { color: var(--primary); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 44px; height: 44px; align-items: center; justify-content: center; border-radius: 10px; }
.nav-toggle__bar { width: 22px; height: 2px; background: var(--ink); border-radius: 2px; transition: transform .25s, opacity .2s; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bar:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; inset: var(--header-h) 0 auto 0; z-index: 99;
  background: var(--bg); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
  padding: 18px var(--pad-x) 26px; display: grid; gap: 14px;
  transform: translateY(-130%); transition: transform .35s var(--ease); visibility: hidden;
}
.mobile-nav.is-open { transform: translateY(0); visibility: visible; }
.mobile-nav__links { display: grid; gap: 4px; }
.mobile-nav__links a { padding: 13px 16px; border-radius: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; border-bottom: 1px solid var(--line); transition: background .15s; }
.mobile-nav__links a:active { background: var(--surface); }

/* ---------- Hero ---------- */
.hero { position: relative; padding-top: clamp(36px, 5vw, 72px); padding-bottom: clamp(48px, 7vw, 96px); overflow: hidden; }
.hero__bg { position: absolute; inset: 0; z-index: -1; }
.hero__glow { position: absolute; border-radius: 50%; filter: blur(80px); }
.hero__glow--ember { width: 520px; height: 520px; background: #A8331F; top: -200px; left: -140px; opacity: .22; }
.hero__glow--gold { width: 420px; height: 420px; background: var(--accent-light); bottom: -180px; right: -120px; opacity: .3; }
.hero__texture {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(122,30,18,.05) 1.2px, transparent 1.2px);
  background-size: 22px 22px;
  -webkit-mask-image: radial-gradient(85% 75% at 50% 35%, #000 0, transparent 78%);
          mask-image: radial-gradient(85% 75% at 50% 35%, #000 0, transparent 78%);
}
.hero__inner { display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(24px, 5vw, 56px); }
.hero__content { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; }

.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-weight: 600; font-size: .85rem; color: var(--primary);
  background: var(--surface-2); border: 1px solid var(--line);
  padding: 7px 15px; border-radius: var(--r-pill); margin-bottom: 22px;
}
.badge__dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(79,122,58,.18); animation: pulse 2.4s var(--ease) infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 4px rgba(79,122,58,.18); } 50% { box-shadow: 0 0 0 8px rgba(79,122,58,0); } }

.hero__title { display: flex; flex-direction: column; gap: 2px; margin-bottom: 18px; }
.hero__title-script { font-family: var(--font-display); font-style: italic; font-weight: 600; color: var(--accent-dark); font-size: clamp(1.4rem, 4vw, 2rem); letter-spacing: 0; }
.hero__title-main { font-family: var(--font-display); font-weight: 900; font-size: clamp(2.6rem, 8vw, 4.8rem); line-height: .98; color: var(--ink); }
/* Accent the word "Nhà" in the hero H1 the same gold as the logo's "Nhà",
   while keeping the hero's heavier weight (don't inherit .brand__accent's 800). */
.hero__title-main .brand__accent { color: var(--accent-dark); font-weight: inherit; }
.hero__subtitle { color: var(--muted); font-size: clamp(1.05rem, 2vw, 1.2rem); max-width: 46ch; margin-bottom: 28px; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero__chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; font-weight: 600; color: var(--ink); background: var(--bg); border: 1px solid var(--line); padding: 8px 14px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.chip__icon { color: var(--accent-dark); }

/* Hero art */
.hero__art { position: relative; display: grid; place-items: center; min-width: 0; }
.dish-plate--hero {
  position: relative; width: min(380px, 86vw); aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle at 50% 38%, #FBF0DC 0%, #F0DCB4 60%, #E7C893 100%);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg), inset 0 0 0 10px rgba(122,30,18,.08), inset 0 0 0 12px rgba(216,155,44,.35);
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.dish-svg { width: 84%; height: auto; }
.steam path { stroke-dasharray: 60; animation: steam 3.2s ease-in-out infinite; }
.steam .steam__2 { animation-delay: .5s; }
.steam .steam__3 { animation-delay: 1s; }
@keyframes steam { 0% { opacity: 0; transform: translateY(6px); } 30% { opacity: .9; } 100% { opacity: 0; transform: translateY(-6px); } }

.hero__stamp { position: absolute; top: -6px; right: 0; color: var(--primary); transform: rotate(-12deg); animation: spinStamp 30s linear infinite; }
@keyframes spinStamp { to { transform: rotate(348deg); } }
.hero__stamp-text { font-family: var(--font-body); font-size: 7px; font-weight: 700; letter-spacing: 1.5px; fill: var(--primary); text-transform: uppercase; }
.hero__stamp-num { font-family: var(--font-display); font-weight: 900; font-size: 22px; fill: var(--primary); }

/* ---------- USP strip ---------- */
.usp-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: clamp(16px, 2.4vw, 24px); }
.usp-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-lg);
  padding: 28px 24px; box-shadow: var(--shadow-sm); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s;
}
.usp-card__icon { display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px; background: var(--surface-2); color: var(--primary); margin-bottom: 16px; }
.usp-card h3 { font-size: 1.2rem; margin-bottom: 8px; }
.usp-card p { color: var(--muted); font-size: .96rem; line-height: 1.6; }
@media (hover: hover) { .usp-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: var(--accent); } }

/* ---------- Menu ---------- */
.menu { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.menu-cat {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(22px, 3vw, 34px); box-shadow: var(--shadow-sm);
}
.menu-cat__head { display: flex; align-items: center; gap: 14px; padding-bottom: 16px; margin-bottom: 8px; border-bottom: 2px dashed var(--line); }
.menu-cat__icon { font-size: 1.6rem; line-height: 1; }
.menu-cat__title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 800; }
.menu-cat__sub { display: block; font-family: var(--font-body); font-size: .78rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-dark); margin-top: 2px; }
.menu-item { display: flex; align-items: baseline; gap: 10px; padding: 14px 0; border-bottom: 1px solid var(--line); }
.menu-item:last-child { border-bottom: 0; padding-bottom: 0; }
.menu-item__body { min-width: 0; flex: 1; }
.menu-item__name { font-weight: 700; font-size: 1.05rem; color: var(--ink); display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.menu-item__tag { font-size: .66rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--primary); background: var(--surface-2); padding: 2px 8px; border-radius: var(--r-pill); }
.menu-item__desc { color: var(--muted); font-size: .92rem; line-height: 1.5; margin-top: 2px; }
.menu-item__dots { flex: 1; border-bottom: 1.5px dotted var(--line); transform: translateY(-4px); min-width: 16px; }
.menu-item__price { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; color: var(--primary); white-space: nowrap; }
.menu__note { text-align: center; margin-top: clamp(24px, 4vw, 40px); color: var(--muted); font-size: .95rem; font-family: var(--font-display); font-style: italic; }

/* ---------- Signature dishes ---------- */
.signature__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(18px, 2.6vw, 28px); }
.sig-card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform .3s var(--ease), box-shadow .3s;
}
/* Art wrapper clips the zoom inside soft rounded top corners (never goes sharp/spills). */
.sig-card__art { position: relative; aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden; border-radius: var(--r-xl) var(--r-xl) 0 0; }
.sig-card__art svg { width: 78%; height: auto; position: relative; z-index: 0; }
/* Badge always sits ON TOP of the (zooming) art and stays visible on hover. */
.sig-card__badge { position: absolute; z-index: 2; top: 14px; left: 14px; font-size: .72rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--ink); background: var(--accent-light); padding: 5px 12px; border-radius: var(--r-pill); box-shadow: var(--shadow-sm); }
.sig-card__body { padding: 20px 22px 24px; }
.sig-card__name { font-family: var(--font-display); font-size: 1.35rem; font-weight: 800; }
.sig-card__desc { color: var(--muted); font-size: .94rem; margin-top: 6px; line-height: 1.55; }
.sig-card__foot { display: flex; align-items: center; justify-content: space-between; margin-top: 16px; }
.sig-card__price { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; color: var(--primary); }
.sig-card__stars { color: var(--accent-dark); font-size: .9rem; letter-spacing: 2px; }
@media (hover: hover) { .sig-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); } .sig-card:hover .sig-card__art svg { transform: scale(1.06) rotate(-1deg); transition: transform .5s var(--ease); } }
.sig-card__art svg { transition: transform .5s var(--ease); }

/* ---------- Story ---------- */
.story__grid { display: grid; grid-template-columns: .85fr 1.15fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.story__art { display: grid; place-items: center; }
.story__frame { position: relative; border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid var(--bg); outline: 1px solid var(--line); max-width: 320px; }
.story__frame svg { width: 100%; height: auto; }
.story__content { min-width: 0; }
.story__content h2 { font-size: clamp(1.8rem, 5vw, 2.7rem); margin-bottom: 16px; }
.story__lead { font-family: var(--font-display); font-style: italic; font-size: 1.25rem; color: var(--primary); line-height: 1.4; margin-bottom: 16px; }
.story__content p { color: var(--muted); }
.story__stats { display: flex; flex-wrap: wrap; gap: clamp(20px, 4vw, 44px); margin: 30px 0 22px; }
.story-stat__value { font-family: var(--font-display); font-weight: 900; font-size: clamp(2rem, 5vw, 2.8rem); color: var(--primary); line-height: 1; }
.story-stat__label { font-size: .85rem; color: var(--muted); margin-top: 6px; font-weight: 600; }
.story__sign { font-family: var(--font-display); font-style: italic; font-size: 1.2rem; color: var(--ink); }

/* ---------- Visit (hours + map) ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(20px, 3vw, 36px); align-items: stretch; }
.visit__hours {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow-sm);
}
.visit__hours h3 { font-size: 1.5rem; margin-bottom: 18px; }
.hours-table td { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: .98rem; }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table .hours-day { font-weight: 600; color: var(--ink); }
.hours-table .hours-time { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.hours-table tr.is-today td { color: var(--primary); }
.hours-table tr.is-today .hours-day::after { content: "•"; color: var(--ok); margin-left: 8px; }
.visit__addr { display: flex; align-items: flex-start; gap: 10px; margin-top: 22px; color: var(--ink); font-weight: 500; }
.visit__addr-icon { color: var(--primary); flex: none; margin-top: 2px; }
.visit__map {
  border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow);
  border: 1px solid var(--line); background: var(--surface);
  position: relative; min-height: 100%;
}
.visit__map-frame {
  display: block; width: 100%; max-width: 100%; height: 100%; min-height: 320px;
  aspect-ratio: 16 / 11; border: 0; border-radius: inherit;
  /* warm the cold Google tiles slightly so the map sits in the palette */
  filter: saturate(.92) contrast(1.02);
}

/* ---------- Reservation ---------- */
.reserve__grid { display: grid; grid-template-columns: 1.2fr .8fr; gap: clamp(20px, 3vw, 36px); align-items: start; }
.reserve-form {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--r-xl);
  padding: clamp(24px, 3.5vw, 38px); box-shadow: var(--shadow); display: grid; gap: 16px;
  grid-template-columns: 1fr 1fr;
}
.field { display: grid; gap: 7px; grid-column: 1 / -1; }
.field--half { grid-column: span 1; }
.field label { font-weight: 600; font-size: .92rem; color: var(--ink); }
.field input, .field select {
  font: inherit; width: 100%; padding: 13px 16px; min-height: 50px;
  border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--surface);
  color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s;
}
.field input::placeholder { color: #A08A75; }
.field input:focus, .field select:focus { outline: none; border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(122,30,18,.12); }
.field--invalid input { border-color: #C0341E; background: #FBEEE9; }
.field__error { color: #C0341E; font-size: .85rem; font-weight: 600; }
.reserve-form .btn, .reserve-form .form-success, .reserve-form .reserve-form__consent { grid-column: 1 / -1; }
.reserve-form__consent { font-size: .82rem; color: var(--muted); text-align: center; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-success {
  display: flex; align-items: center; gap: 12px; justify-content: center; text-align: left;
  background: #EAF3E3; border: 1px solid #C3DDB0; border-radius: var(--r); padding: 16px 18px;
  color: var(--ok); font-weight: 600;
}
.form-success__icon { font-size: 1.4rem; }
.form-success:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }

.reserve__card { background: var(--grad-ember); color: #FBF5EA; border-radius: var(--r-xl); padding: clamp(26px, 3.5vw, 36px); box-shadow: var(--shadow-ember); }
.reserve__card h3 { color: #FBF5EA; font-size: 1.45rem; margin-bottom: 18px; }
.reserve__list { display: grid; gap: 14px; }
.reserve__list li { display: flex; align-items: center; gap: 12px; font-size: .98rem; }
.reserve__list li span[aria-hidden] { font-size: 1.15rem; }
.reserve__list a { font-weight: 700; text-decoration: underline; text-underline-offset: 3px; color: var(--accent-light); }
.reserve__quote { margin-top: 22px; padding-top: 20px; border-top: 1px solid rgba(251,245,234,.25); font-family: var(--font-display); font-style: italic; font-size: 1.1rem; opacity: .92; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #E8DCCD; padding-top: clamp(48px, 7vw, 80px); }
/* Wider CTA track so the longer VI button label ("Đặt một website như thế này")
   fits on a single line; narrower brand/link columns make room. */
.site-footer__grid { display: grid; grid-template-columns: 1.4fr .85fr .85fr 1.9fr; gap: clamp(24px, 3.4vw, 44px); padding-bottom: 40px; }
.site-footer__tagline { color: #B8A48F; margin-top: 14px; max-width: 34ch; font-size: .96rem; }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.social { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: rgba(251,245,234,.08); color: #E8DCCD; transition: background .2s, color .2s, transform .2s; }
.social:hover { background: var(--accent); color: var(--ink); transform: translateY(-3px); }
.site-footer__col h4, .site-footer__cta h4 { color: #FBF5EA; font-size: 1.05rem; margin-bottom: 16px; }
.site-footer__col { display: flex; flex-direction: column; gap: 10px; }
.site-footer__col a { color: #B8A48F; font-size: .95rem; transition: color .2s; }
.site-footer__col a:hover { color: var(--accent-light); }
.site-footer__cta { display: flex; flex-direction: column; align-items: flex-start; }
.site-footer__cta p { color: #B8A48F; font-size: .95rem; margin-bottom: 18px; }
.site-footer__cta .btn--block {
  /* One line: label never wraps; centered vertically in the button's fill. */
  white-space: nowrap; line-height: 1.2;
  padding-block: 15px; padding-inline: clamp(16px, 2vw, 24px);
}
.site-footer__bottom { display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between; align-items: center; padding: 22px 0; border-top: 1px solid rgba(251,245,234,.12); font-size: .85rem; color: #9D8A76; }
.site-footer__made a { color: var(--accent-light); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }
.site-footer__made a:hover { color: #fff; }

/* ---------- Sticky mobile bar ---------- */
.sticky-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 95;
  display: none; grid-template-columns: repeat(3, 1fr);
  background: var(--bg); border-top: 1px solid var(--line); box-shadow: 0 -8px 24px rgba(42,26,18,.12);
  transform: translateY(110%); transition: transform .3s var(--ease);
  padding-bottom: env(safe-area-inset-bottom);
}
.sticky-bar.is-visible { transform: translateY(0); }
.sticky-bar__item { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; padding: 9px 4px; min-height: 56px; font-size: .76rem; font-weight: 600; color: var(--ink); }
.sticky-bar__icon { font-size: 1.2rem; }
.sticky-bar__item--book { background: var(--grad-ember); color: #FBF5EA; }

/* ---------- Reveal on scroll ---------- */
.js .reveal { opacity: 0; transform: translateY(20px); transition: opacity .6s var(--ease), transform .6s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
/* Desktop header: keep nav + actions on ONE line in BOTH languages.
   VI labels are longer than EN, so progressively tighten the row across the
   whole desktop band before the mobile hamburger kicks in (≤860px).
   The container caps at 1120px, so even at 1280px the inner row is ~1072px —
   keep it tightened up to 1300px to guarantee VI never wraps. */
@media (min-width: 861px) and (max-width: 1300px) {
  .site-header__inner { gap: 12px; }
  :root { --nav-gap: 18px; --nav-fz: .9rem; }
  .site-header__actions { gap: 8px; }
  .lang-toggle { padding: 8px 10px; }
  .header-cta { padding: 9px 15px; }
}
@media (min-width: 861px) and (max-width: 1120px) {
  :root { --nav-gap: 14px; --nav-fz: .875rem; }
}
@media (max-width: 980px) {
  .hero__inner { grid-template-columns: 1fr; text-align: center; }
  .hero__content { align-items: center; }
  .hero__subtitle { margin-inline: auto; }
  .hero__art { order: -1; margin-bottom: 8px; }
  .usp-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .signature__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .story__grid { grid-template-columns: 1fr; text-align: center; }
  .story__content { display: flex; flex-direction: column; align-items: center; }
  .story__stats { justify-content: center; }
  .story__lead { max-width: 52ch; }
  .visit__grid { grid-template-columns: 1fr; }
  .visit__map { min-height: 300px; }
  .reserve__grid { grid-template-columns: 1fr; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; }
  .site-footer__brand { grid-column: 1 / -1; }
  .site-footer__cta { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .sticky-bar { display: grid; }
}
@media (max-width: 680px) {
  .menu { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .header-cta { display: none; } /* booking stays available via the sticky bottom bar */
  .site-header__actions { gap: 8px; }
  .usp-grid { grid-template-columns: 1fr; }
  .signature__grid { grid-template-columns: 1fr; }
  .reserve-form { grid-template-columns: 1fr; }
  .field--half { grid-column: 1 / -1; }
  .demo-ribbon__inner { gap: 6px 10px; }
  .site-footer__grid { grid-template-columns: 1fr; }
  /* Narrow mobile safety net: shrink the CTA label and let it wrap only if the
     single line truly cannot fit, so it never forces horizontal overflow. */
  .site-footer__cta .btn--block { white-space: normal; font-size: .95rem; padding-inline: 14px; }
  .hero__stamp { width: 76px; right: -4px; }
  .hero__stamp svg { width: 76px; height: 76px; }
}
@media (max-width: 400px) {
  .brand__name { font-size: 1.02rem; }
  .lang-toggle { padding: 7px 9px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  .dish-plate--hero, .hero__stamp, .badge__dot, .steam path { animation: none !important; }
}
