/* ================================================================
   GOODFOOD — WARM HARVEST EDITORIAL
   Design System & Stylesheet
   Built by NexKeys Agency
================================================================ */

/* ── DESIGN TOKENS ───────────────────────────────────────────── */
:root {
  /* Palette */
  --cream:       #FAF7F2;
  --cream2:      #F3EDE3;
  --cream3:      #EAE0D0;
  --espresso:    #1C1108;
  --espresso2:   #2E1F0E;
  --clay:        #D4622A;
  --clay-lo:     rgba(212,98,42,.1);
  --clay-mid:    rgba(212,98,42,.2);
  --sage:        #7A9B76;
  --sage-lo:     rgba(122,155,118,.12);
  --sand:        #C2895A;
  --sand-lo:     rgba(194,137,90,.12);
  --white:       #FFFFFF;

  /* Text */
  --tx:          #1C1108;
  --tx2:         #6B5C4A;
  --tx3:         #A0917E;
  --tx-light:    #FAF7F2;

  /* Typography */
  --f-serif:  'Cormorant Garamond', Georgia, serif;
  --f-sans:   'Jost', sans-serif;
  --f-mono:   'DM Mono', monospace;

  /* Spacing */
  --container: 1320px;
  --gap:       32px;
  --r:         12px;
  --r2:        20px;
  --r3:        32px;

  /* Shadows */
  --shadow-sm:  0 2px 12px rgba(28,17,8,.07);
  --shadow-md:  0 8px 32px rgba(28,17,8,.10);
  --shadow-lg:  0 20px 60px rgba(28,17,8,.14);

  /* Motion */
  --ease:  cubic-bezier(.22,.68,0,1.2);
  --out:   cubic-bezier(.16,1,.3,1);
  --dur:   .3s;
  --dur2:  .5s;
}

/* ── RESET ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--f-sans);
  background: var(--cream);
  color: var(--tx);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
button { font-family: var(--f-sans); cursor: pointer; border: none; background: none; }
img { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }

/* ── SCROLLBAR ───────────────────────────────────────────────── */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: var(--cream2); }
::-webkit-scrollbar-thumb { background: var(--clay); border-radius: 99px; }

/* ── GRAIN OVERLAY ───────────────────────────────────────────── */
.grain {
  position: fixed; inset: 0; z-index: 9000;
  pointer-events: none; opacity: .025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 200px;
}

/* ── TYPOGRAPHY HELPERS ──────────────────────────────────────── */
.section-eyebrow {
  font-family: var(--f-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--clay);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.section-title {
  font-family: var(--f-serif);
  font-size: clamp(32px, 4vw, 52px);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.01em;
  color: var(--espresso);
}
.section-title em {
  font-style: italic;
  color: var(--clay);
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 11px 24px; border-radius: 99px;
  background: var(--clay); color: var(--white);
  font-size: 14px; font-weight: 600; letter-spacing: .02em;
  transition: all var(--dur) var(--ease);
  box-shadow: 0 4px 20px rgba(212,98,42,.25);
}
.btn-primary:hover { background: #C2531E; transform: translateY(-1px); box-shadow: 0 8px 28px rgba(212,98,42,.35); }
.btn-primary.large { padding: 14px 32px; font-size: 15px; }

.btn-ghost {
  display: inline-flex; align-items: center;
  padding: 10px 20px; border-radius: 99px;
  border: 1.5px solid var(--cream3); color: var(--tx);
  font-size: 14px; font-weight: 500;
  transition: all var(--dur);
}
.btn-ghost:hover { border-color: var(--clay); color: var(--clay); }

.btn-outline-light {
  display: inline-flex; align-items: center;
  padding: 14px 32px; border-radius: 99px;
  border: 2px solid rgba(255,255,255,.5); color: var(--white);
  font-size: 15px; font-weight: 600; letter-spacing: .02em;
  transition: all var(--dur);
}
.btn-outline-light:hover { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.9); }

.text-link {
  font-size: 14px; font-weight: 600; color: var(--clay);
  display: inline-flex; align-items: center; gap: 4px;
  transition: gap var(--dur);
}
.text-link:hover { gap: 8px; }

/* ── REVEAL ANIMATION ────────────────────────────────────────── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s var(--out), transform .65s var(--out);
}
.reveal.visible { opacity: 1; transform: none; }

/* ── SECTION HEADER ──────────────────────────────────────────── */
.section-header {
  display: flex; justify-content: space-between; align-items: flex-end;
  margin-bottom: var(--gap);
  gap: 16px; flex-wrap: wrap;
}
.sh-left { flex: 1; }

/* ════════════════════════════════════════════════════════════════
   NAVIGATION
════════════════════════════════════════════════════════════════ */
.site-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 500;
  background: rgba(250,247,242,.9);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--cream3);
  transition: box-shadow var(--dur);
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.nav-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 0 32px;
  height: 70px;
  display: flex; align-items: center; gap: 32px;
}

/* Logo */
.logo {
  display: flex; align-items: center; gap: 2px;
  flex-shrink: 0; position: relative;
}
.logo-good {
  font-family: var(--f-serif);
  font-weight: 600; font-size: 26px; color: var(--espresso);
  letter-spacing: -.02em;
}
.logo-food {
  font-family: var(--f-serif);
  font-weight: 600; font-size: 26px; color: var(--clay);
  letter-spacing: -.02em;
}
.logo-dot {
  position: absolute; bottom: 6px; right: -5px;
  width: 5px; height: 5px; border-radius: 50%;
  background: var(--clay);
}

/* Desktop nav */
.main-nav { flex: 1; display: flex; justify-content: center; }
.main-nav ul { display: flex; gap: 6px; }
.nav-link {
  padding: 7px 14px; border-radius: 99px;
  font-size: 14px; font-weight: 500; color: var(--tx2);
  transition: all var(--dur); position: relative;
}
.nav-link:hover, .nav-link.active { color: var(--clay); background: var(--clay-lo); }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

/* Mobile hamburger */
.nav-burger {
  display: none; flex-direction: column; gap: 5px;
  padding: 6px; border-radius: 8px;
}
.nav-burger span {
  display: block; width: 20px; height: 2px;
  background: var(--espresso); border-radius: 99px;
  transition: all var(--dur);
}
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity: 0; }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile drawer */
.mobile-nav {
  display: none;
  padding: 16px 24px 24px;
  border-top: 1px solid var(--cream3);
  background: rgba(250,247,242,.98);
}
.mobile-nav.open { display: block; }
.mobile-nav ul { display: flex; flex-direction: column; gap: 4px; }
.mobile-nav .nav-link { display: block; padding: 10px 14px; font-size: 15px; }

/* ════════════════════════════════════════════════════════════════
   HERO
════════════════════════════════════════════════════════════════ */
.hero {
  padding-top: 120px;
  min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  position: relative; overflow: hidden;
  background: var(--cream);
}

/* Giant watermark */
.hero-watermark {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--f-serif);
  font-size: clamp(120px, 18vw, 280px);
  font-weight: 700; letter-spacing: -.04em;
  color: rgba(212,98,42,.04);
  pointer-events: none; user-select: none;
  white-space: nowrap; z-index: 0;
}

.hero-inner {
  max-width: var(--container);
  margin: 0 auto; padding: 60px 32px 80px;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 64px; align-items: center;
  position: relative; z-index: 1;
}

/* Hero copy */
.hero-copy { display: flex; flex-direction: column; gap: 0; }
.eyebrow-pip {
  display: inline-block; width: 8px; height: 8px;
  border-radius: 50%; background: var(--clay);
  flex-shrink: 0;
}
.hero-headline {
  font-family: var(--f-serif);
  font-size: clamp(52px, 7vw, 90px);
  font-weight: 600; line-height: 1.0;
  letter-spacing: -.02em; color: var(--espresso);
  margin: 16px 0 20px;
}
.hero-headline em { font-style: italic; color: var(--clay); }

.hero-sub {
  font-size: 16px; color: var(--tx2); line-height: 1.7;
  max-width: 440px; margin-bottom: 32px;
}

/* Search bar */
.search-wrap {
  display: flex; align-items: center;
  background: var(--white); border: 1.5px solid var(--cream3);
  border-radius: 99px; padding: 6px 6px 6px 20px;
  box-shadow: var(--shadow-sm);
  transition: all var(--dur);
  max-width: 480px;
  margin-bottom: 8px;
  position: relative;
}
.search-wrap:focus-within { border-color: var(--clay); box-shadow: 0 0 0 4px var(--clay-lo); }

.search-input {
  flex: 1; border: none; outline: none;
  font-family: var(--f-sans); font-size: 14px; color: var(--tx);
  background: transparent;
}
.search-input::placeholder { color: var(--tx3); }
.search-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--clay); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease); flex-shrink: 0;
}
.search-btn:hover { background: #C2531E; transform: scale(1.08); }

/* Search results */
.search-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0;
  background: var(--white); border: 1px solid var(--cream3);
  border-radius: var(--r2); box-shadow: var(--shadow-md);
  z-index: 100; overflow: hidden;
}
.search-result-item {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; cursor: pointer;
  transition: background var(--dur); font-size: 14px;
}
.search-result-item:hover { background: var(--cream); }
.sri-emoji { font-size: 20px; }
.sri-name { font-weight: 600; color: var(--espresso); }
.sri-price { margin-left: auto; font-family: var(--f-mono); color: var(--clay); font-size: 13px; }

/* Hero badges strip */
.hero-badges {
  display: flex; align-items: center; gap: 0;
  margin-top: 32px;
  background: var(--white); border: 1px solid var(--cream3);
  border-radius: var(--r2); padding: 14px 20px;
  box-shadow: var(--shadow-sm);
  max-width: 480px;
}
.hbadge { text-align: center; flex: 1; }
.hb-num {
  display: block; font-family: var(--f-serif);
  font-size: 22px; font-weight: 600; color: var(--espresso);
  letter-spacing: -.01em;
}
.hb-lbl { font-size: 11px; color: var(--tx2); font-weight: 500; }
.hbadge-divider { width: 1px; height: 36px; background: var(--cream3); }

/* Hero visual */
.hero-visual { position: relative; display: flex; justify-content: center; }
.hero-img-frame {
  width: 100%; max-width: 540px;
  border-radius: var(--r3);
  overflow: hidden; position: relative;
  aspect-ratio: 4/5;
  box-shadow: var(--shadow-lg);
}
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 1.2s var(--out);
}
.hero-img-frame:hover .hero-img { transform: scale(1.04); }

.hero-img-badge {
  position: absolute; top: 20px; left: 20px;
  background: var(--white); border-radius: 99px;
  padding: 7px 14px; font-size: 12px; font-weight: 700;
  color: var(--espresso); box-shadow: var(--shadow-sm);
  display: flex; align-items: center; gap: 6px;
}
.hero-img-tag {
  position: absolute; bottom: 20px; left: 20px; right: 20px;
  background: rgba(250,247,242,.92); backdrop-filter: blur(10px);
  border-radius: var(--r); padding: 12px 16px;
  display: flex; flex-direction: column; gap: 2px;
}
.hero-img-tag span { font-size: 10px; color: var(--tx2); text-transform: uppercase; letter-spacing: .1em; font-weight: 600; }
.hero-img-tag strong { font-family: var(--f-serif); font-size: 18px; color: var(--espresso); }

/* Floating card */
.hero-float-card {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--white); border-radius: var(--r2);
  padding: 14px 16px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px;
  min-width: 220px;
  animation: float-gentle 4s ease-in-out infinite;
}
@keyframes float-gentle {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}
.hfc-img { width: 46px; height: 46px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.hfc-text { display: flex; flex-direction: column; gap: 2px; flex: 1; }
.hfc-title { font-size: 13px; font-weight: 600; color: var(--espresso); }
.hfc-sub   { font-size: 11px; color: var(--tx2); }
.hfc-arrow { font-size: 18px; color: var(--clay); }

/* ════════════════════════════════════════════════════════════════
   CATEGORY CAROUSEL
════════════════════════════════════════════════════════════════ */
.category-section {
  padding: 80px 0;
  background: var(--white);
  border-top: 1px solid var(--cream3);
  border-bottom: 1px solid var(--cream3);
}
.category-section .section-header,
.category-section .section-header + * {
  max-width: var(--container);
  margin-left: auto; margin-right: auto;
  padding-left: 32px; padding-right: 32px;
}
.category-section .section-header { padding-left: 32px; padding-right: 32px; max-width: var(--container); margin: 0 auto 32px; }

.carousel-controls { display: flex; gap: 8px; }
.ctrl-btn {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--cream); border: 1.5px solid var(--cream3);
  display: flex; align-items: center; justify-content: center;
  transition: all var(--dur) var(--ease); color: var(--tx);
}
.ctrl-btn:hover { background: var(--clay); border-color: var(--clay); color: var(--white); transform: scale(1.08); }

.carousel-track-wrap {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
}
.carousel-track {
  display: flex; gap: 24px; padding: 16px 48px;
  overflow-x: auto; scroll-behavior: smooth;
  scrollbar-width: none;
  cursor: grab;
}
.carousel-track:active { cursor: grabbing; }
.carousel-track::-webkit-scrollbar { display: none; }

.cat-item {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  flex-shrink: 0; cursor: pointer;
  transition: transform var(--dur) var(--ease);
}
.cat-item:hover { transform: translateY(-4px); }
.cat-item.active .cat-circle { border-color: var(--clay); box-shadow: 0 0 0 4px var(--clay-lo); }
.cat-item.active .cat-label { color: var(--clay); }

.cat-circle {
  width: 80px; height: 80px; border-radius: 50%;
  overflow: hidden; border: 2.5px solid var(--cream3);
  transition: all var(--dur) var(--ease);
  background: var(--cream2);
}
.cat-circle img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--out); }
.cat-item:hover .cat-circle img { transform: scale(1.1); }

.cat-label { font-size: 13px; font-weight: 600; color: var(--espresso); }
.cat-count { font-size: 10px; color: var(--tx2); font-family: var(--f-mono); }

/* ════════════════════════════════════════════════════════════════
   MENU / FEATURED DISHES
════════════════════════════════════════════════════════════════ */
.menu-section {
  padding: 100px 32px 60px;
  max-width: var(--container); margin: 0 auto;
  position: relative;
}

/* Filter pills */
.filter-row {
  display: flex; gap: 8px; flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-pill {
  padding: 7px 18px; border-radius: 99px; font-size: 13px; font-weight: 600;
  background: var(--cream2); border: 1.5px solid var(--cream3); color: var(--tx2);
  cursor: pointer; transition: all var(--dur);
}
.filter-pill:hover { color: var(--clay); border-color: var(--clay-mid); }
.filter-pill.active { background: var(--clay); border-color: var(--clay); color: var(--white); }

/* Editorial grid */
.menu-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto;
  gap: 20px;
}

/* Card base */
.dish-card {
  background: var(--white); border-radius: var(--r2);
  overflow: hidden; border: 1px solid var(--cream3);
  transition: all var(--dur2) var(--out);
  display: flex; flex-direction: column;
}
.dish-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: transparent; }

/* Large card spans 2 rows */
.dish-card.large { grid-row: span 2; }
.dish-card.large .dc-img-wrap { aspect-ratio: 4/3; }
.dish-card.large .dc-desc { display: block; }

/* Tall card */
.dish-card.tall .dc-img-wrap { aspect-ratio: 3/2; }

.dc-img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 4/3;
}
.dc-img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--out);
}
.dish-card:hover .dc-img-wrap img { transform: scale(1.06); }

.dc-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--clay); color: var(--white);
  font-size: 10px; font-weight: 700; letter-spacing: .06em;
  text-transform: uppercase; padding: 4px 10px; border-radius: 99px;
}
.dc-badge.vegan { background: var(--sage); }
.dc-badge.new   { background: var(--sand); }

.dc-body { padding: 16px 18px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.dc-meta { display: flex; align-items: center; justify-content: space-between; }
.dc-cat { font-size: 10px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--clay); }
.dc-time { font-size: 11px; color: var(--tx3); }
.dc-title { font-family: var(--f-serif); font-size: 18px; font-weight: 600; color: var(--espresso); line-height: 1.25; }
.dc-desc { font-size: 13px; color: var(--tx2); line-height: 1.55; display: none; margin-top: 4px; }

.dc-footer {
  display: flex; align-items: center; justify-content: space-between;
  margin-top: auto; padding-top: 12px;
  border-top: 1px solid var(--cream3);
}
.dc-price { font-family: var(--f-serif); font-size: 22px; font-weight: 600; color: var(--espresso); }

.add-btn {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 16px; border-radius: 99px;
  background: var(--clay-lo); color: var(--clay);
  font-size: 12px; font-weight: 700; letter-spacing: .03em;
  border: 1.5px solid var(--clay-mid);
  transition: all var(--dur) var(--ease);
}
.add-btn:hover { background: var(--clay); color: var(--white); }
.add-btn.added { background: var(--sage); color: var(--white); border-color: var(--sage); }

/* Cart bar */
.cart-bar {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%);
  background: var(--espresso); color: var(--white);
  border-radius: 99px; padding: 14px 20px;
  display: flex; align-items: center; gap: 16px;
  box-shadow: 0 12px 40px rgba(28,17,8,.3);
  z-index: 400; min-width: 360px;
  animation: slideUp .4s var(--ease) forwards;
}
@keyframes slideUp { from { opacity:0; transform: translateX(-50%) translateY(20px); } to { opacity:1; transform: translateX(-50%) translateY(0); } }
.cart-info { display: flex; align-items: center; gap: 8px; flex: 1; }
.cart-count {
  background: var(--clay); width: 26px; height: 26px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 12px; font-weight: 700;
}
.cart-label { font-size: 14px; font-weight: 500; }
.cart-total { font-family: var(--f-mono); font-size: 15px; font-weight: 700; color: var(--clay); }
#checkoutBtn { padding: 8px 20px; font-size: 13px; }

/* ════════════════════════════════════════════════════════════════
   ABOUT
════════════════════════════════════════════════════════════════ */
.about-section {
  background: var(--cream2);
  padding: 100px 32px;
  border-top: 1px solid var(--cream3);
}
.about-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}

.about-visual { position: relative; }
.about-img {
  width: 100%; border-radius: var(--r3);
  aspect-ratio: 5/4; object-fit: cover;
  box-shadow: var(--shadow-lg);
}
.about-stat-card {
  position: absolute; background: var(--white);
  border-radius: var(--r2); padding: 16px 22px;
  box-shadow: var(--shadow-md);
  display: flex; flex-direction: column; gap: 4px;
}
.about-stat-card        { bottom: -20px; right: -20px; }
.about-stat-card.secondary { top: -20px; left: -20px; }
.asc-num {
  font-family: var(--f-serif); font-size: 32px; font-weight: 600;
  color: var(--clay); line-height: 1;
}
.asc-lbl { font-size: 12px; color: var(--tx2); font-weight: 500; }

.about-copy { display: flex; flex-direction: column; gap: 20px; }

.about-quote {
  font-family: var(--f-serif); font-size: 22px; font-style: italic;
  color: var(--espresso); line-height: 1.5;
  padding: 20px 24px; border-left: 4px solid var(--clay);
  background: var(--cream); border-radius: 0 var(--r) var(--r) 0;
  margin: 8px 0;
}
.about-quote cite { display: block; font-size: 13px; font-style: normal; color: var(--tx2); margin-top: 8px; }

.about-text { font-size: 15px; color: var(--tx2); line-height: 1.75; }

.about-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.about-pill {
  padding: 7px 16px; border-radius: 99px;
  background: var(--white); border: 1.5px solid var(--cream3);
  font-size: 13px; font-weight: 600; color: var(--espresso);
}

/* ════════════════════════════════════════════════════════════════
   STATS RIBBON
════════════════════════════════════════════════════════════════ */
.stats-ribbon {
  background: var(--espresso);
  padding: 48px 32px;
  display: flex; justify-content: center; align-items: center;
  flex-wrap: wrap; gap: 0;
}
.stat-item { text-align: center; padding: 0 48px; }
.sr-num {
  display: block; font-family: var(--f-serif);
  font-size: clamp(36px, 5vw, 56px); font-weight: 600;
  color: var(--white); letter-spacing: -.02em; line-height: 1;
}
.sr-lbl { font-size: 13px; color: var(--tx3); font-weight: 500; margin-top: 6px; display: block; }
.stat-divider { width: 1px; height: 60px; background: rgba(255,255,255,.1); }

/* ════════════════════════════════════════════════════════════════
   REVIEWS
════════════════════════════════════════════════════════════════ */
.reviews-section {
  padding: 100px 32px;
  max-width: var(--container); margin: 0 auto;
}

.rating-badge-large { text-align: center; }
.rbl-num {
  font-family: var(--f-serif); font-size: 48px; font-weight: 600;
  color: var(--espresso); line-height: 1; display: block;
}
.rbl-stars { color: var(--clay); font-size: 18px; letter-spacing: 2px; margin: 4px 0; }
.rbl-lbl { font-size: 12px; color: var(--tx2); }

.reviews-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.review-card {
  background: var(--white); border-radius: var(--r2);
  padding: 28px; border: 1px solid var(--cream3);
  display: flex; flex-direction: column; gap: 16px;
  transition: all var(--dur2) var(--out);
}
.review-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: transparent; }

/* Featured review spans 2 cols */
.review-card.featured-review { grid-column: span 2; background: var(--cream2); }

.rc-stars { color: var(--clay); font-size: 15px; letter-spacing: 2px; }
.rc-quote {
  font-family: var(--f-serif); font-size: clamp(16px, 2vw, 20px);
  font-style: italic; color: var(--espresso); line-height: 1.6;
  flex: 1;
}
.featured-review .rc-quote { font-size: clamp(18px, 2.5vw, 24px); }
.rc-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.rc-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-serif); font-weight: 600; font-size: 16px;
  color: var(--white); flex-shrink: 0;
}
.rc-name { display: block; font-size: 14px; font-weight: 700; color: var(--espresso); }
.rc-role { font-size: 12px; color: var(--tx2); }

/* ════════════════════════════════════════════════════════════════
   CTA BANNER
════════════════════════════════════════════════════════════════ */
.cta-banner {
  position: relative; overflow: hidden;
  padding: 100px 32px;
  background: var(--espresso);
  text-align: center;
}
.cta-bg {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("https://images.unsplash.com/photo-1504674900247-0877df9cc836?w=1400&q=60&auto=format&fit=crop");
  background-size: cover; background-position: center;
  opacity: .12;
}
/* Decorative serif watermark */
.cta-banner::before {
  content: 'Order';
  position: absolute; bottom: -40px; right: -20px;
  font-family: var(--f-serif); font-size: 200px; font-weight: 700;
  color: rgba(255,255,255,.03); pointer-events: none; line-height: 1;
  letter-spacing: -.04em;
}
.cta-inner { position: relative; z-index: 1; max-width: 640px; margin: 0 auto; }
.section-eyebrow.light { color: var(--clay); justify-content: center; }
.cta-title {
  font-family: var(--f-serif);
  font-size: clamp(40px, 6vw, 72px);
  font-weight: 600; line-height: 1.1; letter-spacing: -.02em;
  color: var(--white); margin: 12px 0 16px;
}
.cta-title em { font-style: italic; color: var(--clay); }
.cta-sub { font-size: 16px; color: rgba(255,255,255,.6); margin-bottom: 36px; }
.cta-btns { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }

/* ════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════ */
.site-footer {
  background: var(--espresso2);
  padding: 60px 32px 0;
  color: rgba(255,255,255,.7);
}
.footer-inner {
  max-width: var(--container); margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 2fr;
  gap: 64px; padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.site-footer .logo-good { color: var(--white); font-size: 28px; }
.site-footer .logo-food { color: var(--clay); font-size: 28px; }
.footer-tagline { font-size: 14px; color: rgba(255,255,255,.5); margin: 12px 0 20px; max-width: 280px; line-height: 1.65; }

.footer-socials { display: flex; gap: 8px; }
.social-btn {
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
  transition: all var(--dur);
}
.social-btn:hover { background: var(--clay); color: var(--white); border-color: var(--clay); }

.footer-links { display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.fl-col h4 {
  font-size: 13px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: var(--white); margin-bottom: 16px;
}
.fl-col ul { display: flex; flex-direction: column; gap: 10px; }
.fl-col ul li a {
  font-size: 14px; color: rgba(255,255,255,.5);
  transition: color var(--dur);
}
.fl-col ul li a:hover { color: var(--clay); }

.footer-bottom {
  max-width: var(--container); margin: 0 auto;
  padding: 20px 0;
  display: flex; align-items: center; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.3);
  flex-wrap: wrap; gap: 12px;
}
.nexkeys-link {
  color: var(--clay); font-weight: 600;
  transition: opacity var(--dur);
}
.nexkeys-link:hover { opacity: .7; }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { color: rgba(255,255,255,.3); transition: color var(--dur); font-size: 12px; }
.footer-legal a:hover { color: var(--clay); }

/* ════════════════════════════════════════════════════════════════
   TOAST
════════════════════════════════════════════════════════════════ */
#toastContainer {
  position: fixed; top: 90px; right: 24px; z-index: 9999;
  display: flex; flex-direction: column; gap: 8px;
  pointer-events: none;
}
.toast {
  background: var(--espresso); color: var(--white);
  border-radius: var(--r2); padding: 12px 18px;
  font-size: 13px; font-weight: 500;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow-lg); pointer-events: all;
  animation: toastIn .35s var(--ease) forwards;
  border-left: 3px solid var(--clay);
  max-width: 320px;
}
@keyframes toastIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:none; } }
@keyframes toastOut { to { opacity:0; transform:translateX(20px); } }

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — TABLET (≤ 1023px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 1023px) {
  .hero-inner   { grid-template-columns: 1fr; gap: 48px; }
  .hero-visual  { display: none; } /* hide on tablet to avoid crowding */
  .hero-headline { font-size: clamp(52px, 10vw, 80px); }

  .about-inner  { grid-template-columns: 1fr; gap: 48px; }
  .about-stat-card.secondary { left: 10px; }
  .about-stat-card { right: 10px; }

  .menu-grid { grid-template-columns: repeat(2, 1fr); }
  .dish-card.large { grid-row: span 1; }

  .reviews-grid { grid-template-columns: 1fr; }
  .review-card.featured-review { grid-column: span 1; }

  .footer-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-links { grid-template-columns: repeat(3, 1fr); }

  .stat-item { padding: 0 28px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤ 767px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 767px) {
  /* Nav */
  .main-nav, .nav-actions { display: none; }
  .nav-burger { display: flex; margin-left: auto; }
  .nav-inner { padding: 0 20px; }

  /* Hero */
  .hero { padding-top: 90px; }
  .hero-inner { padding: 40px 20px 60px; }
  .hero-badges { flex-direction: column; gap: 12px; padding: 16px; }
  .hbadge-divider { width: 100%; height: 1px; }

  /* Category */
  .category-section { padding: 56px 0; }
  .category-section .section-header { padding: 0 20px; }
  .carousel-track { padding: 12px 20px; gap: 16px; }
  .cat-circle { width: 64px; height: 64px; }

  /* Menu */
  .menu-section { padding: 64px 20px 40px; }
  .menu-grid { grid-template-columns: 1fr; }

  /* About */
  .about-section { padding: 64px 20px; }
  .about-stat-card        { bottom: -10px; right: 10px; }
  .about-stat-card.secondary { top: -10px; left: 10px; }
  .about-quote { font-size: 18px; }

  /* Stats ribbon */
  .stats-ribbon { gap: 32px; padding: 40px 20px; flex-direction: column; }
  .stat-divider { width: 80px; height: 1px; }
  .stat-item { padding: 0; }

  /* Reviews */
  .reviews-section { padding: 64px 20px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .rating-badge-large { text-align: left; }

  /* CTA */
  .cta-banner { padding: 72px 20px; }
  .cta-btns { flex-direction: column; align-items: center; }

  /* Footer */
  .site-footer { padding: 48px 20px 0; }
  .footer-inner { gap: 32px; padding-bottom: 40px; }
  .footer-links { grid-template-columns: 1fr 1fr; gap: 24px; }
  .footer-bottom { flex-direction: column; text-align: center; align-items: center; }

  /* Cart bar */
  .cart-bar { min-width: 90vw; bottom: 16px; }
}

/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — SMALL MOBILE (≤ 400px)
════════════════════════════════════════════════════════════════ */
@media (max-width: 400px) {
  .hero-headline { font-size: 44px; }
  .section-title { font-size: 28px; }
  .footer-links { grid-template-columns: 1fr; }
  .filter-row { gap: 6px; }
  .filter-pill { padding: 6px 12px; font-size: 12px; }
}