/* ============================================================
   JB CHICKEN — styles.css
   Warm, appetite-driven design system
   ============================================================ */

/* ---------- 1. Tokens & reset ---------- */
:root {
  --cream: #faf3e7;
  --cream-2: #f4e8d3;
  --paper: #fffdf8;
  --ink: #1c120c;
  --ink-2: #2a1c13;
  --muted: #6b584a;
  --red: #d13b22;
  --red-deep: #ad2c13;
  --gold: #eda139;
  --gold-soft: #f7ce8b;
  --line: rgba(28, 18, 12, 0.14);
  --line-soft: rgba(28, 18, 12, 0.08);

  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;

  --radius: 18px;
  --radius-lg: 28px;
  --shadow-1: 0 10px 30px -12px rgba(28, 18, 12, 0.25);
  --shadow-2: 0 24px 60px -20px rgba(28, 18, 12, 0.35);

  --container: 1180px;
  --header-h: 76px;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 18px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.03rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

/* The `hidden` attribute must win over any display rule below. */
[hidden] {
  display: none !important;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  cursor: pointer;
}

h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.08;
  margin: 0;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em;
}

ul, ol, dl {
  margin: 0;
  padding: 0;
  list-style: none;
}

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

::selection {
  background: var(--gold);
  color: var(--ink);
}

.skip-link {
  position: fixed;
  top: -60px;
  left: 16px;
  z-index: 200;
  background: var(--ink);
  color: var(--cream);
  padding: 10px 18px;
  border-radius: 10px;
  transition: top 0.25s;
}

.skip-link:focus {
  top: 14px;
}

/* Scroll progress */
.scroll-progress {
  position: fixed;
  inset: 0 0 auto 0;
  height: 3px;
  z-index: 120;
  pointer-events: none;
}

.scroll-progress span {
  display: block;
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--red), var(--gold));
}

/* ---------- 2. Utilities ---------- */
.container {
  width: min(var(--container), calc(100% - 44px));
  margin-inline: auto;
}

.section {
  padding: clamp(64px, 9vw, 118px) 0;
}

.section-head {
  max-width: 660px;
  margin: 0 auto clamp(36px, 5vw, 60px);
  text-align: center;
}

.section-title {
  font-size: clamp(2.1rem, 4.6vw, 3.4rem);
  font-weight: 900;
}

.section-title em {
  font-style: italic;
  color: var(--red);
  font-weight: 700;
}

.section-sub {
  color: var(--muted);
  margin-top: 14px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-size: 0.79rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin: 0 0 14px;
}

.eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--red);
  box-shadow: 0 0 0 4px rgba(209, 59, 34, 0.18);
}

.eyebrow--light {
  color: var(--gold);
}

.eyebrow--light .eyebrow-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(237, 161, 57, 0.22);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 13px 26px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.96rem;
  line-height: 1;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease),
    background 0.25s, color 0.25s, border-color 0.25s;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.btn-lg {
  padding: 17px 32px;
  font-size: 1.02rem;
}

.btn-primary {
  background: var(--red);
  color: #fff6ee;
  box-shadow: 0 14px 28px -12px rgba(209, 59, 34, 0.65);
}

.btn-primary:hover {
  background: var(--red-deep);
  transform: translateY(-2px);
  box-shadow: 0 20px 34px -14px rgba(209, 59, 34, 0.7);
}

.btn-ghost {
  border-color: var(--line);
  color: var(--ink);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.chip {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  background: var(--paper);
  color: var(--ink);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 7px 13px;
  border-radius: 999px;
  box-shadow: var(--shadow-1);
}

.chip-hot {
  background: var(--gold);
}

.chip-spicy {
  background: var(--red);
  color: #fff;
}

/* Reveal-on-scroll */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  transition-delay: var(--d, 0s);
}

.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ---------- 3. Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  background: rgba(250, 243, 231, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.site-header.is-scrolled {
  border-color: var(--line-soft);
  box-shadow: 0 12px 30px -22px rgba(28, 18, 12, 0.5);
}

.header-inner {
  height: var(--header-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  background: var(--red);
  color: var(--cream);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  border-radius: 14px;
  box-shadow: inset 0 -3px 0 rgba(0, 0, 0, 0.18);
  transition: transform 0.3s var(--ease);
}

.brand:hover .brand-mark {
  transform: rotate(-6deg) scale(1.05);
}

/* Real logo (images/logo.png) — shown automatically when the file exists */
.brand-logo {
  height: 48px;
  width: auto;
  max-width: 64px;
  object-fit: contain;
  border-radius: 12px;
  transition: transform 0.3s var(--ease);
}

.brand.has-logo .brand-mark {
  display: none;
}

.brand:hover .brand-logo {
  transform: rotate(-6deg) scale(1.05);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.brand-text strong {
  font-family: var(--font-display);
  font-size: 1.18rem;
  font-weight: 900;
  letter-spacing: -0.01em;
}

.brand-text small {
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.main-nav {
  display: flex;
  gap: 26px;
}

.main-nav a {
  position: relative;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 6px 0;
  color: var(--ink);
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease);
}

.main-nav a:hover::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
  transform-origin: left;
}

.main-nav a.is-active {
  color: var(--red);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.92rem;
}

.header-phone svg {
  width: 17px;
  height: 17px;
  fill: var(--red);
}

.header-phone:hover {
  color: var(--red);
}

/* Mobile toggle */
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: transparent;
  padding: 0;
  position: relative;
}

.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 20px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform 0.3s var(--ease), opacity 0.2s;
}

.nav-toggle span:nth-child(1) { top: 16px; }
.nav-toggle span:nth-child(2) { top: 22px; }
.nav-toggle span:nth-child(3) { top: 28px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-menu {
  border-top: 1px solid var(--line-soft);
  background: var(--cream);
  padding: 18px 22px 26px;
}

.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-menu a {
  padding: 13px 6px;
  font-weight: 700;
  font-size: 1.06rem;
  border-bottom: 1px solid var(--line-soft);
}

.mobile-menu .btn {
  margin-top: 14px;
  border-bottom: 0;
  color: #fff6ee;
}

/* ---------- 4. Hero ---------- */
.hero {
  position: relative;
  padding: calc(var(--header-h) + clamp(40px, 7vw, 84px)) 0 clamp(48px, 6vw, 84px);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -22%;
  right: -14%;
  width: 62vw;
  height: 62vw;
  max-width: 820px;
  max-height: 820px;
  background: radial-gradient(circle at center, rgba(237, 161, 57, 0.3), transparent 62%);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  bottom: -30%;
  left: -18%;
  width: 46vw;
  height: 46vw;
  max-width: 620px;
  max-height: 620px;
  background: radial-gradient(circle at center, rgba(209, 59, 34, 0.16), transparent 65%);
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.04fr 0.96fr;
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
}

.hero-title {
  font-size: clamp(2.9rem, 7vw, 5.4rem);
  font-weight: 900;
  margin: 0 0 20px;
}

.hero-title .line {
  display: block;
}

.hero-title .accent {
  font-style: italic;
  color: var(--red);
  font-weight: 700;
}

.hero-sub {
  max-width: 480px;
  color: var(--muted);
  font-size: 1.08rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 28px 0 36px;
}

.hero-stats {
  display: flex;
  gap: clamp(22px, 4vw, 46px);
  border-top: 1px solid var(--line);
  padding-top: 26px;
  max-width: 520px;
}

.hero-stats dt {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 2.6vw, 2.1rem);
  font-weight: 900;
  line-height: 1;
}

.hero-stats dd {
  margin: 6px 0 0;
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}

/* Hero media */
.hero-media {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 560px;
  margin-inline: auto;
}

.hero-plate {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  overflow: hidden;
  box-shadow: var(--shadow-2), inset 0 0 0 10px rgba(250, 243, 231, 0.9),
    inset 0 0 0 13px var(--gold);
  transform: rotate(-3deg);
}

.hero-plate img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: rotate(3deg) scale(1.12);
}

.hero-ring {
  position: absolute;
  inset: -2%;
  animation: spin 26s linear infinite;
}

.hero-ring svg {
  width: 100%;
  height: 100%;
}

.hero-ring text {
  font-family: var(--font-body);
  font-size: 11.5px;
  font-weight: 800;
  letter-spacing: 0.32em;
  fill: var(--muted);
  text-transform: uppercase;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

.float-card {
  position: absolute;
  background: var(--paper);
  border-radius: 16px;
  padding: 13px 18px;
  box-shadow: var(--shadow-2);
  margin: 0;
  animation: floaty 5.5s ease-in-out infinite;
  z-index: 3;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-11px); }
}

.float-card--price {
  top: 9%;
  left: -4%;
}

.float-card--price figcaption {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
}

.float-card--price strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  line-height: 1.15;
  color: var(--red);
}

.float-card--price span {
  font-size: 0.8rem;
  color: var(--muted);
}

.float-card--open {
  bottom: 12%;
  right: -3%;
  display: flex;
  align-items: center;
  gap: 10px;
  animation-delay: -2.6s;
}

.float-card--open figcaption {
  font-size: 0.88rem;
  font-weight: 700;
}

.pulse {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #2e9e5b;
  box-shadow: 0 0 0 0 rgba(46, 158, 91, 0.55);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  70% { box-shadow: 0 0 0 10px rgba(46, 158, 91, 0); }
  100% { box-shadow: 0 0 0 0 rgba(46, 158, 91, 0); }
}

.hero-cutout {
  position: absolute;
  width: 40%;
  bottom: 1%;
  left: -9%;
  transform: rotate(-9deg);
  pointer-events: none;
  z-index: 2;
  filter: drop-shadow(0 18px 24px rgba(28, 18, 12, 0.28));
}

/* ---------- 5. Marquee ---------- */
.marquee {
  background: var(--red);
  color: #ffe9d6;
  overflow: hidden;
  padding: 17px 0;
  transform: rotate(-1.1deg) scale(1.02);
  border-block: 3px solid var(--ink);
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 34px;
  width: max-content;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.06rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.marquee-track i {
  font-style: normal;
  color: var(--gold);
}

@keyframes marquee {
  to { transform: translateX(-50%); }
}

/* ---------- 6. Story ---------- */
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(36px, 6vw, 84px);
  align-items: center;
}

.story-media {
  position: relative;
  padding-bottom: 64px;
}

.story-img {
  margin: 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
}

.story-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-img--main {
  aspect-ratio: 4 / 4.6;
}

.story-img--accent {
  position: absolute;
  right: -6%;
  bottom: 0;
  width: 58%;
  aspect-ratio: 4 / 3;
  border: 7px solid var(--cream);
  transform: rotate(3deg);
}

.story-badge {
  position: absolute;
  left: -18px;
  bottom: 24px;
  background: var(--ink);
  color: var(--cream);
  padding: 18px 22px;
  border-radius: 20px;
  box-shadow: var(--shadow-2);
  max-width: 190px;
  z-index: 2;
}

.story-badge strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}

.story-badge span {
  font-size: 0.82rem;
  color: rgba(250, 243, 231, 0.75);
  font-weight: 600;
}

.story-copy p {
  color: var(--muted);
}

.story-points {
  display: grid;
  gap: 13px;
  margin: 26px 0;
}

.story-points li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-weight: 600;
}

.story-points svg {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  padding: 4px;
  background: var(--gold);
  color: var(--ink);
  border-radius: 50%;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  margin-top: 2px;
}

.story-sign {
  display: flex;
  flex-direction: column;
  border-left: 3px solid var(--red);
  padding-left: 16px;
}

.story-sign-name {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 1.3rem;
  font-weight: 700;
}

.story-sign-role {
  font-size: 0.84rem;
  color: var(--muted);
}

/* ---------- 7. Menu ---------- */
.menu {
  background: var(--cream-2);
  border-block: 1px solid var(--line-soft);
}

.menu-featured {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-bottom: clamp(38px, 5vw, 56px);
}

.dish-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.dish-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-2);
}

.dish-card-img {
  position: relative;
  aspect-ratio: 16 / 10.5;
  overflow: hidden;
}

.dish-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease);
}

.dish-card:hover .dish-card-img img {
  transform: scale(1.07);
}

.dish-card-body {
  padding: 20px 22px 24px;
}

.dish-card-body h3 {
  font-size: 1.24rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.dish-card-body p {
  font-size: 0.92rem;
  color: var(--muted);
  margin-bottom: 12px;
}

.dish-card-body .price {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 900;
  color: var(--red);
}

/* Tabs */
.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 34px;
}

.menu-tabs button {
  border: 1.5px solid var(--line);
  background: transparent;
  color: var(--ink);
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 21px;
  border-radius: 999px;
  transition: all 0.25s var(--ease);
}

.menu-tabs button:hover {
  border-color: var(--ink);
  transform: translateY(-2px);
}

.menu-tabs button[aria-selected="true"] {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

/* Menu list */
.menu-panels {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 44px);
  box-shadow: var(--shadow-1);
}

.menu-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 46px;
  animation: panelIn 0.5s var(--ease);
}

@keyframes panelIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

.menu-list li {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px dashed var(--line-soft);
}

.dish h3 {
  font-size: 1.08rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: 4px;
}

.dish p {
  font-size: 0.88rem;
  color: var(--muted);
  margin: 0;
  max-width: 42ch;
}

.tag {
  font-size: 0.62rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 999px;
  line-height: 1;
  font-family: var(--font-body);
}

.tag-best { background: var(--gold); color: var(--ink); }
.tag-out { background: #6f6257; color: var(--cream); }

.menu-list li.is-soldout {
  opacity: 0.55;
}

.menu-list li.is-soldout .price {
  text-decoration: line-through;
}

.menu-empty {
  color: var(--muted);
  font-style: italic;
  padding: 18px 0;
}
.tag-spicy { background: var(--red); color: #fff; }
.tag-new { background: var(--ink); color: var(--cream); }

.dots {
  flex: 1;
  border-bottom: 2px dotted rgba(28, 18, 12, 0.22);
  transform: translateY(-4px);
  min-width: 24px;
}

.price {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.12rem;
  color: var(--red);
  white-space: nowrap;
}

.menu-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 30px auto 0;
  font-size: 0.85rem;
  color: var(--muted);
  text-align: center;
}

.menu-note svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--gold);
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

/* ---------- 8. Values ---------- */
.values {
  padding-block: clamp(52px, 7vw, 88px);
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.value-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-1);
}

.value-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold));
  margin-bottom: 18px;
}

.value-icon svg {
  width: 26px;
  height: 26px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.value-card h3 {
  font-size: 1.14rem;
  margin-bottom: 8px;
}

.value-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
}

/* ---------- 9. Gallery ---------- */
.gallery {
  background: var(--ink);
  color: var(--cream);
}

.gallery .eyebrow {
  color: var(--gold);
}

.gallery .eyebrow .eyebrow-dot {
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(237, 161, 57, 0.22);
}

.gallery .section-title em {
  color: var(--gold);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 250px;
  gap: 18px;
}

.gallery-item {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  box-shadow: 0 18px 40px -18px rgba(0, 0, 0, 0.7);
}

.gallery-item:nth-child(1) {
  grid-column: span 2;
}

.gallery-item:nth-child(6) {
  grid-row: span 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s var(--ease), filter 0.5s;
  filter: saturate(1.02);
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.08);
  filter: saturate(1.15) brightness(1.03);
}

.gallery-item figcaption {
  position: absolute;
  inset: auto 0 0 0;
  padding: 40px 18px 14px;
  background: linear-gradient(transparent, rgba(12, 7, 4, 0.82));
  font-weight: 700;
  font-size: 0.92rem;
  transform: translateY(6px);
  opacity: 0.92;
  transition: transform 0.4s var(--ease);
}

.gallery-item:hover figcaption {
  transform: none;
}

/* ---------- 10. Reviews ---------- */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.review-card {
  background: var(--paper);
  border-radius: var(--radius-lg);
  padding: 30px 28px;
  box-shadow: var(--shadow-1);
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 5px solid var(--gold);
}

.review-card .stars {
  margin: 0;
  color: var(--gold);
  letter-spacing: 4px;
  font-size: 1.02rem;
}

.review-card blockquote {
  margin: 0;
  font-size: 0.98rem;
  color: var(--ink-2);
  line-height: 1.7;
  flex: 1;
}

.review-card footer {
  display: flex;
  align-items: center;
  gap: 13px;
}

.avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--ink);
  color: var(--gold);
  font-weight: 800;
  font-size: 0.86rem;
  flex: 0 0 auto;
}

.review-card footer strong {
  display: block;
  font-size: 0.96rem;
}

.review-card footer span:not(.avatar) {
  font-size: 0.8rem;
  color: var(--muted);
}

/* ---------- 11. Reservation ---------- */
.reserve {
  position: relative;
  background: var(--ink-2);
  color: var(--cream);
  overflow: hidden;
}

.reserve::before {
  content: "";
  position: absolute;
  top: -18%;
  left: -10%;
  width: 55vw;
  height: 55vw;
  max-width: 700px;
  max-height: 700px;
  background: radial-gradient(circle, rgba(209, 59, 34, 0.28), transparent 65%);
  pointer-events: none;
}

.reserve-grid {
  position: relative;
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: clamp(34px, 5vw, 70px);
  align-items: start;
}

.reserve-info .section-title {
  margin-bottom: 16px;
}

.reserve-info > p {
  color: rgba(250, 243, 231, 0.72);
  max-width: 44ch;
}

.hours-list {
  margin: 30px 0;
  border-top: 1px solid rgba(250, 243, 231, 0.16);
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 13px 4px;
  border-bottom: 1px solid rgba(250, 243, 231, 0.16);
  font-weight: 600;
  font-size: 0.95rem;
  transition: background 0.3s;
}

.hours-list li span:last-child {
  color: var(--gold-soft);
  font-variant-numeric: tabular-nums;
}

.hours-list li.is-today {
  background: rgba(237, 161, 57, 0.12);
  border-radius: 10px;
  padding-inline: 12px;
}

.hours-list li.is-today span:first-child::after {
  content: "· today";
  color: var(--gold);
  font-weight: 800;
  margin-left: 8px;
  text-transform: uppercase;
  font-size: 0.7rem;
  letter-spacing: 0.1em;
}

.reserve-contact a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--gold);
}

.reserve-contact a svg {
  width: 22px;
  height: 22px;
  fill: var(--gold);
}

.reserve-contact a:hover {
  color: var(--cream);
}

.reserve-contact a:hover svg {
  fill: var(--cream);
}

.reserve-contact p {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: rgba(250, 243, 231, 0.6);
}

.reserve-photo {
  margin: 30px 0 0;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-2);
  aspect-ratio: 16 / 9;
}

.reserve-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Form card */
.reserve-card {
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px);
  box-shadow: var(--shadow-2);
}

.stepper {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 30px;
}

.stepper li {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(28, 18, 12, 0.4);
  flex: 1;
}

.stepper li span {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(28, 18, 12, 0.08);
  font-size: 0.84rem;
  transition: all 0.3s var(--ease);
  flex: 0 0 auto;
}

.stepper li.is-active {
  color: var(--ink);
}

.stepper li.is-active span {
  background: var(--red);
  color: #fff;
  box-shadow: 0 8px 16px -8px rgba(209, 59, 34, 0.7);
}

.stepper li.is-done span {
  background: var(--ink);
  color: var(--gold);
}

.step {
  border: 0;
  margin: 0;
  padding: 0;
  animation: panelIn 0.45s var(--ease);
}

.step legend {
  font-family: var(--font-display);
  font-size: 1.42rem;
  font-weight: 900;
  margin-bottom: 22px;
  padding: 0;
}

.field {
  margin-bottom: 18px;
}

.field-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 16px;
}

.field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  margin-bottom: 7px;
}

.field label em {
  font-weight: 500;
  font-style: normal;
  color: var(--muted);
}

.field input,
.field select {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  transition: border-color 0.25s, box-shadow 0.25s;
  appearance: none;
}

.field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231c120c' stroke-width='2.2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 13px center;
  background-size: 17px;
  padding-right: 40px;
}

.field input:focus,
.field select:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(209, 59, 34, 0.14);
}

.field input.is-invalid,
.field select.is-invalid {
  border-color: var(--red);
  background: rgba(209, 59, 34, 0.05);
}

.error {
  display: none;
  color: var(--red-deep);
  font-size: 0.78rem;
  font-weight: 700;
  margin-top: 6px;
}

.error.is-shown {
  display: block;
}

/* Guest picker */
.guest-picker {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 7px 10px;
}

.guest-picker:focus-within {
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(209, 59, 34, 0.14);
}

.guest-btn {
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 10px;
  background: rgba(28, 18, 12, 0.07);
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1;
  color: var(--ink);
  transition: background 0.2s;
}

.guest-btn:hover {
  background: var(--gold);
}

.guest-picker input {
  border: 0;
  width: 44px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 900;
  padding: 0;
  background: transparent;
  box-shadow: none !important;
}

.guest-hint {
  font-size: 0.82rem;
  color: var(--muted);
  font-weight: 600;
  margin-left: auto;
  padding-right: 6px;
}

/* Segmented control */
.segmented {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.segmented label {
  flex: 1;
  min-width: 110px;
}

.segmented input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.segmented span {
  display: block;
  text-align: center;
  padding: 12px 10px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.22s var(--ease);
  background: #fff;
}

.segmented span:hover {
  border-color: var(--ink);
}

.segmented input:checked + span {
  background: var(--ink);
  border-color: var(--ink);
  color: var(--cream);
}

.segmented input:focus-visible + span {
  outline: 3px solid var(--red);
  outline-offset: 2px;
}

/* Steps actions */
.step-actions {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-top: 26px;
}

/* Summary */
.summary {
  display: grid;
  gap: 2px;
  background: var(--cream);
  border-radius: var(--radius);
  padding: 8px 20px;
  margin-bottom: 20px;
}

.summary > div {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 11px 0;
  border-bottom: 1px dashed rgba(28, 18, 12, 0.14);
}

.summary > div:last-child {
  border-bottom: 0;
}

.summary dt {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--muted);
}

.summary dd {
  margin: 0;
  font-weight: 700;
  text-align: right;
}

.checkbox {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  font-size: 0.88rem;
  color: var(--muted);
  cursor: pointer;
}

.checkbox input {
  width: 20px;
  height: 20px;
  accent-color: var(--red);
  margin-top: 2px;
  flex: 0 0 auto;
}

/* Success */
.reserve-success {
  text-align: center;
  animation: panelIn 0.5s var(--ease);
}

.success-ring {
  width: 86px;
  height: 86px;
  margin: 6px auto 20px;
  border-radius: 50%;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold));
  display: grid;
  place-items: center;
  box-shadow: 0 18px 34px -16px rgba(237, 161, 57, 0.8);
}

.success-ring svg {
  width: 46px;
  height: 46px;
  fill: none;
  stroke: var(--ink);
  stroke-width: 4.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 60;
  stroke-dashoffset: 60;
  animation: draw 0.7s 0.2s var(--ease) forwards;
}

@keyframes draw {
  to { stroke-dashoffset: 0; }
}

.reserve-success h3 {
  font-size: 1.7rem;
  font-weight: 900;
  margin-bottom: 10px;
}

.reserve-success p {
  color: var(--muted);
  max-width: 42ch;
  margin-inline: auto;
}

.reserve-success code {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--red);
  background: rgba(209, 59, 34, 0.08);
  border: 2px dashed rgba(209, 59, 34, 0.4);
  border-radius: 14px;
  padding: 12px 26px;
  margin: 8px 0 20px;
}

.summary--compact {
  text-align: left;
  max-width: 380px;
  margin-inline: auto;
}

/* ---------- 12. Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 26px;
  align-items: stretch;
}

.contact-cards {
  display: grid;
  gap: 16px;
}

.contact-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  padding: 24px;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.contact-card:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow-1);
}

.contact-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: rgba(209, 59, 34, 0.1);
  margin-bottom: 14px;
}

.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: var(--red);
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-card h3 {
  font-size: 1.1rem;
  margin-bottom: 6px;
}

.contact-card p {
  font-size: 0.92rem;
  color: var(--muted);
  margin: 0 0 8px;
}

.contact-card a {
  font-weight: 700;
  color: var(--red);
}

.contact-card a:hover {
  text-decoration: underline;
}

/* Map card */
.map-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-1);
}

.map-canvas {
  position: relative;
  flex: 1;
  min-height: 320px;
  background:
    radial-gradient(circle at 78% 26%, rgba(237, 161, 57, 0.22), transparent 40%),
    repeating-linear-gradient(0deg, transparent 0 74px, rgba(28, 18, 12, 0.05) 74px 76px),
    repeating-linear-gradient(90deg, transparent 0 110px, rgba(28, 18, 12, 0.05) 110px 112px),
    #f1e7d4;
  overflow: hidden;
}

.road {
  position: absolute;
  background: var(--paper);
  box-shadow: 0 0 0 1px rgba(28, 18, 12, 0.07);
}

.road-1 {
  width: 130%;
  height: 26px;
  top: 58%;
  left: -15%;
  transform: rotate(-7deg);
}

.road-2 {
  width: 24px;
  height: 130%;
  left: 30%;
  top: -15%;
  transform: rotate(5deg);
}

.road-3 {
  width: 120%;
  height: 18px;
  top: 22%;
  left: -10%;
  transform: rotate(3deg);
}

.map-pin {
  position: absolute;
  top: 44%;
  left: 55%;
  transform: translate(-50%, -100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  z-index: 2;
  animation: floaty 4s ease-in-out infinite;
}

.map-pin svg {
  width: 44px;
  height: 44px;
  fill: var(--red);
  stroke: #fff;
  stroke-width: 1.2;
  filter: drop-shadow(0 10px 12px rgba(28, 18, 12, 0.35));
}

.map-pin em {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 0.86rem;
  background: var(--ink);
  color: var(--cream);
  padding: 4px 11px;
  border-radius: 999px;
  white-space: nowrap;
}

.map-label {
  position: absolute;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(28, 18, 12, 0.4);
}

.map-label-1 { top: 63%; left: 8%; transform: rotate(-7deg); }
.map-label-2 { top: 30%; left: 33%; transform: rotate(90deg); transform-origin: left; }

.map-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 20px 24px;
  border-top: 1px solid var(--line-soft);
}

.map-foot strong {
  display: block;
  font-size: 0.98rem;
}

.map-foot span {
  font-size: 0.84rem;
  color: var(--muted);
  font-weight: 600;
}

/* ---------- 13. Footer ---------- */
.site-footer {
  background: var(--ink);
  color: rgba(250, 243, 231, 0.78);
  padding: clamp(52px, 7vw, 82px) 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1fr 1.2fr;
  gap: clamp(28px, 4vw, 54px);
  padding-bottom: 42px;
  border-bottom: 1px solid rgba(250, 243, 231, 0.14);
}

.footer-brand .brand-text strong {
  color: var(--cream);
}

.footer-brand .brand-text small {
  color: rgba(250, 243, 231, 0.5);
}

.footer-brand p {
  margin: 18px 0;
  font-size: 0.9rem;
  max-width: 34ch;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(250, 243, 231, 0.2);
  border-radius: 50%;
  transition: all 0.25s var(--ease);
  color: rgba(250, 243, 231, 0.7);
}

.socials a:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

.socials svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

.footer-col h3 {
  color: var(--cream);
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.92rem;
  margin: 0 0 10px;
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-status {
  color: var(--gold);
  font-weight: 700;
}

.news-form {
  display: flex;
  background: rgba(250, 243, 231, 0.1);
  border: 1px solid rgba(250, 243, 231, 0.18);
  border-radius: 999px;
  padding: 5px;
  margin-top: 14px;
}

.news-form input {
  flex: 1;
  min-width: 0;
  background: transparent;
  border: 0;
  padding: 9px 15px;
  color: var(--cream);
  font: inherit;
  font-size: 0.92rem;
}

.news-form input::placeholder {
  color: rgba(250, 243, 231, 0.45);
}

.news-form input:focus {
  outline: none;
}

.news-form button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: var(--red);
  display: grid;
  place-items: center;
  transition: background 0.25s, transform 0.25s var(--ease);
  flex: 0 0 auto;
}

.news-form button:hover {
  background: var(--gold);
  transform: scale(1.06);
}

.news-form button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: var(--cream);
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.news-form button:hover svg {
  stroke: var(--ink);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
  padding-top: 24px;
  font-size: 0.8rem;
  color: rgba(250, 243, 231, 0.5);
}

.footer-bottom p {
  margin: 0;
}

.footer-bottom a {
  color: rgba(250, 243, 231, 0.75);
  text-decoration: underline;
}

.footer-bottom a.staff-link {
  color: var(--gold);
  font-weight: 700;
  text-decoration: none;
}

.footer-bottom a.staff-link:hover {
  text-decoration: underline;
}

/* ---------- 14. Lightbox ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  z-index: 300;
  background: rgba(12, 7, 4, 0.92);
  display: grid;
  place-items: center;
  padding: 5vh 5vw;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.lightbox figure {
  margin: 0;
  max-width: min(1000px, 100%);
  animation: panelIn 0.4s var(--ease);
}

.lightbox img {
  max-width: 100%;
  max-height: 78vh;
  border-radius: var(--radius);
  box-shadow: 0 40px 90px -30px rgba(0, 0, 0, 0.9);
  margin-inline: auto;
}

.lightbox figcaption {
  color: rgba(250, 243, 231, 0.85);
  text-align: center;
  margin-top: 16px;
  font-weight: 600;
}

.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(250, 243, 231, 0.3);
  background: rgba(250, 243, 231, 0.08);
  color: var(--cream);
  font-size: 1.2rem;
  transition: background 0.2s, transform 0.2s var(--ease);
}

.lightbox-close:hover {
  background: var(--red);
  border-color: var(--red);
  transform: rotate(90deg);
}

/* ---------- 15. Responsive ---------- */
@media (max-width: 1080px) {
  .main-nav {
    gap: 18px;
  }

  .header-phone span {
    display: none;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 920px) {
  :root {
    --header-h: 68px;
  }

  .main-nav,
  .header-cta {
    display: none;
  }

  .nav-toggle {
    display: block;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-media {
    max-width: 460px;
    margin-top: 18px;
  }

  .hero-sub {
    max-width: none;
  }

  .story-grid,
  .reserve-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .story-media {
    max-width: 520px;
  }

  .menu-featured {
    grid-template-columns: 1fr;
    max-width: 480px;
    margin-inline: auto;
  }

  .menu-list {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 210px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 2;
  }

  .reviews-grid {
    grid-template-columns: 1fr;
    max-width: 560px;
    margin-inline: auto;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  body {
    font-size: 0.98rem;
  }

  .container {
    width: calc(100% - 32px);
  }

  .hero-stats {
    gap: 18px;
  }

  .hero-stats dd {
    font-size: 0.74rem;
  }

  .float-card--price {
    left: -2%;
    padding: 10px 14px;
  }

  .float-card--open {
    right: -1%;
    padding: 10px 14px;
  }

  .float-card--open figcaption {
    font-size: 0.78rem;
  }

  .story-img--accent {
    right: 0;
  }

  .story-badge {
    left: 0;
    bottom: 12px;
  }

  .field-grid {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 230px;
  }

  .gallery-item:nth-child(1) {
    grid-column: span 1;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }

  .stepper li {
    font-size: 0;
  }

  .stepper li span {
    font-size: 0.84rem;
  }

  .map-foot {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
  }

  .marquee-track {
    font-size: 0.92rem;
  }
}

/* ---------- 16. Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }

  /* The feature ribbon keeps its gentle horizontal scroll even when
     the OS asks for reduced motion (specificity beats the * rule). */
  .marquee-track {
    animation-name: marquee !important;
    animation-duration: 30s !important;
    animation-timing-function: linear !important;
    animation-iteration-count: infinite !important;
    animation-play-state: running !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* ============================================================
   17. MULTI-PAGE COMPONENTS (French site, ordering, i18n)
   ============================================================ */

/* ---------- 17.1 Small utilities ---------- */
.btn-sm {
  padding: 9px 16px;
  font-size: 0.85rem;
  border-radius: 999px;
}

.pending {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--red-deep);
  background: #fdeae5;
  border: 1px solid rgba(209, 59, 34, 0.25);
  border-radius: 999px;
  padding: 4px 11px;
}

/* ---------- 17.2 Language switch ---------- */
.lang-switch {
  display: inline-flex;
  gap: 2px;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.55);
}

.lang-switch button {
  border: 0;
  background: transparent;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  padding: 5px 9px;
  border-radius: 999px;
  color: var(--muted);
  transition: background 0.2s, color 0.2s;
}

.lang-switch button:hover {
  color: var(--ink);
}

.lang-switch button.is-active {
  background: var(--ink);
  color: var(--cream);
}

.lang-notice {
  margin: 0;
  padding: 9px 16px;
  text-align: center;
  font-size: 0.84rem;
  background: var(--gold-soft);
  color: var(--ink);
  border-bottom: 1px solid rgba(28, 18, 12, 0.15);
}

/* ---------- 17.3 Breadcrumbs + page hero ---------- */
.breadcrumbs {
  margin-bottom: 16px;
}

.breadcrumbs ol {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 0.8rem;
  color: rgba(250, 243, 231, 0.72);
  margin: 0;
  padding: 0;
  list-style: none;
}

.breadcrumbs li {
  display: flex;
  align-items: center;
  gap: 6px;
}

.breadcrumbs li::after {
  content: "�";
  opacity: 0.55;
}

.breadcrumbs li:last-child::after {
  content: none;
}

.breadcrumbs a:hover {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.page-hero {
  position: relative;
  background: var(--ink);
  color: var(--cream);
  padding: 44px 0 56px;
  overflow: hidden;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: -40% -10% auto auto;
  width: 540px;
  height: 540px;
  background: radial-gradient(circle, rgba(237, 161, 57, 0.24), transparent 65%);
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  font-size: clamp(2.1rem, 5vw, 3.3rem);
  font-weight: 900;
  max-width: 820px;
}

.page-hero h1 em {
  color: var(--gold);
}

.page-sub {
  max-width: 640px;
  margin: 16px 0 0;
  color: rgba(250, 243, 231, 0.78);
  font-size: 1.04rem;
}

.page-hero .hero-cta {
  margin-top: 26px;
}

/* ---------- 17.4 Hero trust chips ---------- */
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 26px;
}

.hero-trust li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border: 1px solid rgba(250, 243, 231, 0.25);
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--cream);
  background: rgba(250, 243, 231, 0.07);
}

.hero-trust svg {
  width: 16px;
  height: 16px;
  stroke: var(--gold);
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

/* ---------- 17.5 Product cards (menu page) ---------- */
.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(248px, 1fr));
  gap: 22px;
}

.product-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-2);
}

.product-img {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: var(--cream-2);
  aspect-ratio: 4 / 3;
  overflow: hidden;
  cursor: zoom-in;
}

.product-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s var(--ease);
}

.product-card:hover .product-img img {
  transform: scale(1.05);
}

.product-img .tag {
  position: absolute;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 2;
}

.product-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 18px 20px 20px;
  flex: 1;
}

.product-body h3 {
  font-size: 1.13rem;
}

.product-body p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.55;
}

.product-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 8px;
}

.product-foot .price {
  font-size: 1.16rem;
}

.product-card.is-soldout {
  opacity: 0.7;
}

.product-card.is-soldout .product-img img {
  filter: grayscale(0.75);
}

/* ---------- 17.6 Menu toolbar (tabs + search) ---------- */
.menu-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.menu-toolbar .menu-tabs {
  margin: 0;
  flex: 2 1 420px;
}

.menu-search {
  flex: 1 1 240px;
  max-width: 330px;
}

.menu-search input {
  width: 100%;
  padding: 12px 18px;
  border: 1.5px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  font: inherit;
  font-size: 0.92rem;
  color: var(--ink);
}

.menu-search input:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(209, 59, 34, 0.14);
}

/* ---------- 17.7 Offers ---------- */
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.offer-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.offer-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.offer-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px;
  flex: 1;
}

.offer-body h3 {
  font-size: 1.3rem;
}

.offer-body p {
  margin: 0;
  flex: 1;
  color: var(--muted);
  font-size: 0.94rem;
}

.offer-body .price {
  font-size: 1.5rem;
}

.offer-until {
  color: var(--red);
  font-weight: 800;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.offers-empty {
  text-align: center;
  padding: 52px 26px;
  background: var(--paper);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
  color: var(--muted);
  font-size: 1.04rem;
}

/* ---------- 17.8 FAQ ---------- */
.faq-list {
  display: grid;
  gap: 14px;
  max-width: 820px;
  margin-inline: auto;
}

.faq-item {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  box-shadow: var(--shadow-1);
  overflow: hidden;
}

.faq-item summary {
  position: relative;
  cursor: pointer;
  list-style: none;
  padding: 20px 56px 20px 22px;
  font-weight: 800;
  font-size: 1rem;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  inset-inline-end: 22px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  line-height: 1;
  color: var(--red);
  transition: transform 0.25s var(--ease);
}

.faq-item[open] summary::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-item .faq-a {
  padding: 0 22px 20px;
  color: var(--muted);
}

.faq-item .faq-a p {
  margin-bottom: 0.6em;
}

.faq-item .faq-a a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ---------- 17.9 Prose (legal / about / faq intro) ---------- */
.prose {
  max-width: 760px;
  margin-inline: auto;
}

.prose h2 {
  font-size: 1.5rem;
  margin: 36px 0 12px;
}

.prose h2:first-child {
  margin-top: 0;
}

.prose h3 {
  font-size: 1.14rem;
  margin: 26px 0 8px;
}

.prose p,
.prose li {
  color: var(--ink-2);
}

.prose ul {
  list-style: disc;
  padding-inline-start: 22px;
  margin-bottom: 1em;
}

.prose ol {
  list-style: decimal;
  padding-inline-start: 22px;
  margin-bottom: 1em;
}

.prose a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.prose strong {
  color: var(--ink);
}

/* ---------- 17.10 Notices ---------- */
.notice {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px 18px;
  margin-bottom: 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(237, 161, 57, 0.55);
  background: var(--gold-soft);
  font-size: 0.92rem;
  color: var(--ink);
}

.notice--warn {
  background: #fdeae5;
  border-color: rgba(209, 59, 34, 0.35);
}

.notice--ok {
  background: #e7f3e9;
  border-color: rgba(45, 120, 60, 0.35);
}

.notice p {
  margin: 0;
}

/* ---------- 17.11 Order hub ---------- */
.order-hub {
  display: grid;
  gap: 26px;
  max-width: 840px;
  margin-inline: auto;
}

.order-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 32px;
  text-align: center;
}

.order-card h2 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.order-card > p {
  color: var(--muted);
  max-width: 560px;
  margin-inline: auto;
}

/* ---------- 17.x JBUJB widget slots (ordering + reservation) ---------- */
.jbujb-slot {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: clamp(20px, 3vw, 30px);
  text-align: start;
}

.jbujb-slot--reserve {
  background: none;
  border: 0;
  box-shadow: none;
  padding: 0;
  margin-bottom: 28px;
}

.jbujb-head {
  margin-bottom: 14px;
}

.jbujb-head h2,
.jbujb-head h3 {
  font-size: 1.4rem;
  margin-bottom: 6px;
}

.jbujb-head p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

.jbujb-loading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  font-size: 0.92rem;
  padding: 46px 14px;
}

.jbujb-loading::before {
  content: "";
  width: 15px;
  height: 15px;
  border: 2px solid rgba(209, 59, 34, 0.25);
  border-top-color: var(--red);
  border-radius: 50%;
  animation: jbujb-spin 0.8s linear infinite;
}

@keyframes jbujb-spin {
  to {
    transform: rotate(360deg);
  }
}

.jbujb-fallback-note {
  margin-bottom: 20px;
  padding: 12px 16px;
  border-radius: 12px;
  background: #fdf3e8;
  border: 1px dashed rgba(28, 18, 12, 0.25);
  color: var(--ink);
  font-size: 0.9rem;
  line-height: 1.5;
}

.order-card--dark {
  background: var(--ink);
  border-color: transparent;
  color: var(--cream);
}

.order-card--dark h2 {
  color: var(--cream);
}

.order-card--dark > p {
  color: rgba(250, 243, 231, 0.75);
}

.order-card .btn {
  margin-top: 18px;
}

.order-steps {
  counter-reset: jbstep;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
  margin-top: 26px;
}

.order-steps li {
  counter-increment: jbstep;
  position: relative;
  padding-top: 54px;
  text-align: center;
  color: rgba(250, 243, 231, 0.72);
  font-size: 0.9rem;
}

.order-steps li::before {
  content: counter(jbstep);
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  font-weight: 800;
  display: grid;
  place-items: center;
}

.order-steps li strong {
  display: block;
  color: var(--cream);
  font-size: 0.99rem;
  margin-bottom: 4px;
}

.order-fallback {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 8px;
}

.order-fallback a.phone-big {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--red);
}

.order-fallback a.phone-big:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* ---------- 17.12 Branch cards / locations ---------- */
.branch-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
}

.branch-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-1);
}

.branch-card-img {
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.branch-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.branch-card-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 24px;
  flex: 1;
}

.branch-card-body h2,
.branch-card-body h3 {
  font-size: 1.4rem;
}

.branch-meta {
  display: grid;
  gap: 9px;
  font-size: 0.92rem;
  color: var(--muted);
}

.branch-meta > div {
  display: flex;
  gap: 11px;
  align-items: flex-start;
}

.branch-meta svg {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 3px;
  stroke: var(--red);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.branch-meta a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.branch-meta .is-open {
  color: #1f7a3d;
  font-weight: 700;
}

.branch-meta .is-closed {
  color: var(--red-deep);
  font-weight: 700;
}

.service-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.service-chips li {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: var(--cream-2);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--ink-2);
}

.branch-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: auto;
}

/* ---------- 17.13 CTA band ---------- */
.cta-band {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  align-items: center;
  justify-content: space-between;
  background: var(--red);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: 44px;
  box-shadow: var(--shadow-2);
}

.cta-band h2 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  color: #fff;
}

.cta-band p {
  margin: 0.4em 0 0;
  color: rgba(255, 255, 255, 0.88);
  max-width: 520px;
}

.cta-band .btn-primary {
  background: var(--cream);
  color: var(--ink);
}

.cta-band .btn-primary:hover {
  background: var(--gold-soft);
}

.cta-band .btn-ghost {
  border-color: rgba(255, 255, 255, 0.7);
  color: #fff;
}

/* ---------- 17.14 Contact form ---------- */
.form-card {
  background: var(--paper);
  border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-1);
  padding: 30px;
}

.form-card h2,
.form-card h3 {
  font-size: 1.45rem;
  margin-bottom: 6px;
}

.form-card > p {
  color: var(--muted);
  font-size: 0.95rem;
}

.field textarea {
  width: 100%;
  padding: 13px 15px;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  background: #fff;
  font: inherit;
  font-size: 0.96rem;
  color: var(--ink);
  min-height: 150px;
  resize: vertical;
  transition: border-color 0.25s, box-shadow 0.25s;
}

.field textarea:focus {
  outline: none;
  border-color: var(--red);
  box-shadow: 0 0 0 4px rgba(209, 59, 34, 0.14);
}

.form-status {
  padding: 13px 16px;
  border-radius: 12px;
  font-size: 0.93rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.form-status--ok {
  background: #e7f3e9;
  border: 1px solid rgba(45, 120, 60, 0.35);
  color: #1c5c32;
}

.form-status--err {
  background: #fdeae5;
  border: 1px solid rgba(209, 59, 34, 0.35);
  color: var(--red-deep);
}

.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

/* ---------- 17.15 Footer extras ---------- */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
}

.footer-bottom {
  flex-wrap: wrap;
  gap: 8px 24px;
}

.menu-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 44px 20px;
  color: var(--muted);
  background: var(--paper);
  border: 1.5px dashed var(--line);
  border-radius: var(--radius-lg);
}

.footer-bottom a {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer-tech a {
  color: var(--gold);
}

/* ---------- 17.16 Responsive additions ---------- */
@media (max-width: 920px) {
  .order-steps {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .order-steps li {
    padding-top: 0;
    padding-inline-start: 56px;
    text-align: start;
  }

  .order-steps li::before {
    left: 0;
    transform: none;
  }

  .cta-band {
    padding: 32px;
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toolbar {
    flex-direction: column;
    align-items: stretch;
  }

  .menu-search {
    max-width: none;
  }

  .order-card {
    padding: 26px 20px;
  }
}

@media (max-width: 640px) {
  .page-hero {
    padding: 34px 0 42px;
  }

  .product-grid {
    grid-template-columns: 1fr;
    max-width: 420px;
    margin-inline: auto;
  }

  .form-card {
    padding: 22px 18px;
  }

  .lang-switch button {
    padding: 5px 7px;
    font-size: 0.68rem;
  }
}

/* ---------- 17.17 Arabic (RTL) ---------- */
html[lang="ar"] body,
html[lang="ar"] button,
html[lang="ar"] input,
html[lang="ar"] select,
html[lang="ar"] textarea {
  font-family: "Segoe UI", Tahoma, var(--font-body);
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] .hero-title,
html[lang="ar"] .page-hero h1 {
  font-family: "Segoe UI", Tahoma, sans-serif;
  letter-spacing: 0;
}

html[dir="rtl"] .btn svg {
  transform: scaleX(-1);
}

html[dir="rtl"] .field select {
  background-position: left 13px center;
  padding-left: 40px;
  padding-right: 15px;
}

html[dir="rtl"] .marquee-track i {
  transform: none;
}
