/* =================================================================
   La Milano — design system (hand-written, no build step, no JS)
   Palette: warm premium Italian. Fonts: Fraunces (display) + Inter.
   ================================================================= */

:root {
  --crema: #faf6ef;
  --charcoal: #1f1b17;
  --terracotta: #b6452c;
  --terracotta-600: #a03a22;
  --basil: #3c5a3e;
  --gold: #c8a050;
  --gold-400: #d8b871;
  --espresso: #2a211b;

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --radius: 16px;
  --radius-lg: 28px;
  --shadow-soft: 0 2px 8px rgba(31, 27, 23, 0.06), 0 8px 24px rgba(31, 27, 23, 0.06);
  --shadow-lift: 0 8px 20px rgba(31, 27, 23, 0.1), 0 20px 48px rgba(31, 27, 23, 0.12);

  --font-display: "Fraunces", Georgia, serif;
  --font-sans: "Inter", system-ui, -apple-system, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  color: var(--charcoal);
  background: var(--crema);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.08; text-wrap: balance; }
::selection { background: var(--terracotta); color: var(--crema); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.25rem; }
@media (min-width: 640px) { .container { padding: 0 2rem; } }
.section { padding: 6rem 0; }
.section--crema { background: var(--crema); }
.section--espresso { background: var(--espresso); color: var(--crema); }

.grid { display: grid; gap: 1.5rem; }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 1024px) { .lg-cols-1 { grid-template-columns: 1fr; } .cols-4 { grid-template-columns: repeat(2, 1fr); } .cols-3 { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .cols-2, .cols-4 { grid-template-columns: 1fr; } .sm-cols-2 { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Typography helpers ---------- */
.h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
.h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
.h3 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.eyebrow { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.22em; color: var(--terracotta); }
.eyebrow--gold { color: var(--gold-400); }
.lead { font-size: 1.125rem; color: rgba(31, 27, 23, 0.65); }
.muted { color: rgba(31, 27, 23, 0.55); }
.text-center { text-align: center; }
.hairline { height: 1px; width: 100%; background: linear-gradient(90deg, transparent, rgba(200, 160, 80, 0.5), transparent); }

.section-head { display: flex; flex-direction: column; gap: 1rem; align-items: center; text-align: center; max-width: 46rem; margin: 0 auto; }
.section-head.left { align-items: flex-start; text-align: left; margin: 0; }
.section-head p { max-width: 40rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  border-radius: 999px; font-weight: 600; letter-spacing: 0.01em; cursor: pointer;
  border: 0; transition: all 0.3s var(--ease); padding: 0.75rem 1.5rem; font-size: 0.9rem;
  font-family: var(--font-sans);
}
.btn--lg { padding: 1rem 2rem; font-size: 1rem; }
.btn--primary { background: var(--terracotta); color: var(--crema); box-shadow: var(--shadow-soft); }
.btn--primary:hover { background: var(--terracotta-600); box-shadow: var(--shadow-lift); transform: translateY(-2px); }
.btn--secondary { background: transparent; color: var(--charcoal); box-shadow: inset 0 0 0 1px rgba(31, 27, 23, 0.2); }
.btn--secondary:hover { box-shadow: inset 0 0 0 1px rgba(31, 27, 23, 0.5); background: rgba(31, 27, 23, 0.05); }
.btn--dark { background: var(--espresso); color: var(--crema); box-shadow: var(--shadow-soft); }
.btn--dark:hover { background: var(--charcoal); transform: translateY(-2px); }
.btn--ghost { background: rgba(250, 246, 239, 0.1); color: var(--crema); box-shadow: inset 0 0 0 1px rgba(250, 246, 239, 0.3); }
.btn--ghost:hover { background: rgba(250, 246, 239, 0.2); }
.btn--block { width: 100%; }

/* ---------- Badges ---------- */
.badge { display: inline-flex; align-items: center; border-radius: 999px; padding: 0.15rem 0.6rem; font-size: 0.69rem; font-weight: 600; }
.badge--popular { background: rgba(200, 160, 80, 0.15); color: #a07e30; box-shadow: inset 0 0 0 1px rgba(200, 160, 80, 0.3); }
.badge--vegetarian { background: rgba(60, 90, 62, 0.1); color: var(--basil); box-shadow: inset 0 0 0 1px rgba(60, 90, 62, 0.25); }
.badge--spicy { background: rgba(182, 69, 44, 0.1); color: var(--terracotta); box-shadow: inset 0 0 0 1px rgba(182, 69, 44, 0.25); }
.badge--family { background: rgba(42, 33, 27, 0.1); color: var(--espresso); box-shadow: inset 0 0 0 1px rgba(42, 33, 27, 0.2); }

/* ---------- Navbar ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; padding: 1.25rem 0; transition: background 0.3s var(--ease), padding 0.3s var(--ease); }
/* Solid bg after scroll — pure CSS via scroll detection isn't reliable cross-browser,
   so we use a translucent solid bar at all times on inner pages and transparent on hero pages. */
.nav--solid { background: rgba(250, 246, 239, 0.92); box-shadow: var(--shadow-soft); padding: 0.75rem 0; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; }
.brand { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--crema); }
.nav--solid .brand { color: var(--charcoal); }
.brand span { color: var(--terracotta); }
.nav__links { display: none; align-items: center; gap: 1.75rem; }
.nav__links a { font-size: 0.875rem; font-weight: 500; color: rgba(250, 246, 239, 0.9); position: relative; }
.nav--solid .nav__links a { color: rgba(31, 27, 23, 0.8); }
.nav__links a:hover { color: var(--crema); }
.nav--solid .nav__links a:hover { color: var(--charcoal); }
.nav__links a.active::after, .nav__links a:hover::after { content: ""; position: absolute; left: 0; bottom: -4px; height: 1px; width: 100%; background: currentColor; }
.nav__cta { display: none; align-items: center; gap: 0.75rem; }
.nav__phone { font-size: 0.875rem; font-weight: 600; color: var(--crema); }
.nav--solid .nav__phone { color: rgba(31, 27, 23, 0.8); }
@media (min-width: 1024px) { .nav__links, .nav__cta { display: flex; } .nav__toggle, .nav__close { display: none !important; } }

/* CSS-only mobile menu (checkbox hack) */
.nav__toggle, .nav__close { display: inline-flex; align-items: center; justify-content: center; width: 2.5rem; height: 2.5rem; cursor: pointer; color: var(--crema); }
.nav--solid .nav__toggle { color: var(--charcoal); }
#nav-toggle { display: none; }
.mobile-menu { position: fixed; inset: 0; z-index: 60; visibility: hidden; pointer-events: none; }
.mobile-menu__overlay { position: absolute; inset: 0; background: rgba(31, 27, 23, 0.5); opacity: 0; transition: opacity 0.3s var(--ease); }
.mobile-menu__panel { position: absolute; top: 0; right: 0; height: 100%; width: 82%; max-width: 22rem; background: var(--crema); box-shadow: var(--shadow-lift); padding: 1.75rem; transform: translateX(100%); transition: transform 0.35s var(--ease); display: flex; flex-direction: column; }
#nav-toggle:checked ~ .mobile-menu { visibility: visible; pointer-events: auto; }
#nav-toggle:checked ~ .mobile-menu .mobile-menu__overlay { opacity: 1; }
#nav-toggle:checked ~ .mobile-menu .mobile-menu__panel { transform: translateX(0); }
.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__links { margin-top: 2.5rem; display: flex; flex-direction: column; }
.mobile-menu__links a { font-family: var(--font-display); font-size: 1.5rem; color: var(--charcoal); padding: 0.75rem 0; border-bottom: 1px solid rgba(31, 27, 23, 0.1); }
.mobile-menu__links a:hover { color: var(--terracotta); }
.mobile-menu__foot { margin-top: auto; display: flex; flex-direction: column; gap: 0.75rem; padding-top: 2rem; }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 92vh; display: flex; align-items: flex-end; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 1.8s var(--ease) both; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--espresso), rgba(42,33,27,0.55) 45%, rgba(42,33,27,0.3)); }
.hero__inner { position: relative; z-index: 2; padding: 8rem 0 5rem; }
.hero__chip { display: inline-flex; align-items: center; gap: 0.5rem; border-radius: 999px; background: rgba(250,246,239,0.1); padding: 0.4rem 1rem; font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: var(--crema); box-shadow: inset 0 0 0 1px rgba(250,246,239,0.2); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); margin-bottom: 1.25rem; }
.hero__chip b { color: var(--gold-400); font-weight: 700; }
.hero h1 { color: var(--crema); }
.hero h1 .line { display: block; overflow: hidden; }
.hero h1 .line span { display: block; animation: lineUp 0.9s var(--ease) both; }
.hero h1 .line:nth-child(1) span { animation-delay: 0.3s; }
.hero h1 .line:nth-child(2) span { animation-delay: 0.42s; }
.hero__sub { margin-top: 1.5rem; max-width: 34rem; font-size: 1.125rem; color: rgba(250,246,239,0.8); animation: fadeUp 0.7s var(--ease) 0.7s both; }
.hero__cta { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; animation: fadeUp 0.7s var(--ease) 0.85s both; }
.hero__scroll { position: absolute; left: 50%; bottom: 1.5rem; transform: translateX(-50%); z-index: 2; width: 1.5rem; height: 2.5rem; border: 1px solid rgba(250,246,239,0.4); border-radius: 999px; display: flex; justify-content: center; padding-top: 0.4rem; animation: fadeUp 0.7s 1.4s both; }
.hero__scroll i { width: 3px; height: 8px; border-radius: 999px; background: rgba(250,246,239,0.7); animation: scrollBob 1.8s ease-in-out infinite; }

/* ---------- Page header (inner pages) ---------- */
.page-header { position: relative; min-height: 52vh; display: flex; align-items: flex-end; overflow: hidden; }
.page-header__bg { position: absolute; inset: 0; }
.page-header__bg img { width: 100%; height: 100%; object-fit: cover; animation: heroZoom 1.6s var(--ease) both; }
.page-header__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, var(--espresso), rgba(42,33,27,0.65) 50%, rgba(42,33,27,0.35)); }
.page-header__inner { position: relative; z-index: 2; padding: 8rem 0 3.5rem; }
.page-header h1 { color: var(--crema); margin-top: 0.75rem; animation: fadeUp 0.7s var(--ease) 0.3s both; }
.page-header .eyebrow { animation: fadeUp 0.6s var(--ease) 0.2s both; }
.page-header__sub { margin-top: 1rem; max-width: 34rem; font-size: 1.125rem; color: rgba(250,246,239,0.8); animation: fadeUp 0.7s var(--ease) 0.45s both; }

/* ---------- Trust stats ---------- */
.stats { position: relative; z-index: 20; margin-top: -4rem; }
.stats__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: rgba(31,27,23,0.1); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
@media (max-width: 640px) { .stats__grid { grid-template-columns: repeat(2, 1fr); } }
.stats__cell { background: var(--crema); padding: 2rem 1rem; text-align: center; display: flex; flex-direction: column; gap: 0.25rem; align-items: center; }
.stats__value { font-family: var(--font-display); font-weight: 600; font-size: clamp(2rem, 3vw, 3rem); color: var(--charcoal); }
.stats__label { font-size: 0.875rem; color: rgba(31,27,23,0.55); }

/* ---------- Cards (featured dishes / why / steps) ---------- */
.card { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-soft); overflow: hidden; transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease); display: flex; flex-direction: column; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lift); }
.card__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.card:hover .card__media img { transform: scale(1.1); }
.card__tag { position: absolute; left: 1rem; top: 1rem; background: rgba(250,246,239,0.9); color: var(--terracotta); border-radius: 999px; padding: 0.25rem 0.75rem; font-size: 0.72rem; font-weight: 600; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.card__body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.card__title-row { display: flex; justify-content: space-between; align-items: flex-start; gap: 0.75rem; }
.card__title { font-family: var(--font-display); font-size: 1.25rem; font-weight: 600; }
.card__price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--terracotta); white-space: nowrap; }
.card__desc { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(31,27,23,0.6); flex: 1; }

.feature { display: flex; flex-direction: column; gap: 1rem; background: #fff; border: 1px solid rgba(31,27,23,0.08); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-soft); transition: transform 0.3s var(--ease); }
.feature:hover { transform: translateY(-4px); }
.feature__icon { width: 3.5rem; height: 3.5rem; border-radius: var(--radius); background: rgba(182,69,44,0.1); color: var(--terracotta); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 1.25rem; }
.feature p { font-size: 0.875rem; color: rgba(31,27,23,0.6); }

.step { position: relative; background: #fff; border: 1px solid rgba(31,27,23,0.08); border-radius: var(--radius-lg); padding: 2rem; box-shadow: var(--shadow-soft); }
.step__n { font-family: var(--font-display); font-size: 3rem; font-weight: 600; color: rgba(200,160,80,0.4); }
.step h3 { font-size: 1.25rem; margin-top: 0.5rem; }
.step p { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(31,27,23,0.6); }

/* ---------- Story strip ---------- */
.story { display: grid; grid-template-columns: 1fr 1fr; gap: 3.5rem; align-items: center; }
@media (max-width: 1024px) { .story { grid-template-columns: 1fr; } }
.story__media { position: relative; aspect-ratio: 4 / 5; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-lift); }
.story__media img { width: 100%; height: 100%; object-fit: cover; }
.story__badge { position: absolute; bottom: -1.5rem; right: 1.5rem; background: var(--terracotta); color: var(--crema); border-radius: var(--radius); padding: 1.25rem 1.75rem; box-shadow: var(--shadow-lift); }
.story__badge b { display: block; font-family: var(--font-display); font-size: 1.875rem; font-weight: 600; }
.story__badge span { font-size: 0.875rem; color: rgba(250,246,239,0.8); }
.prose p + p { margin-top: 1rem; }

/* ---------- Reviews carousel (CSS scroll-snap, no JS) ---------- */
.carousel { display: flex; gap: 1.5rem; overflow-x: auto; scroll-snap-type: x mandatory; padding: 0.5rem 0 1.5rem; -webkit-overflow-scrolling: touch; scrollbar-width: thin; }
.carousel::-webkit-scrollbar { height: 6px; }
.carousel::-webkit-scrollbar-thumb { background: rgba(250,246,239,0.3); border-radius: 999px; }
.review-slide { scroll-snap-align: center; flex: 0 0 100%; max-width: 48rem; margin: 0 auto; text-align: center; display: flex; flex-direction: column; align-items: center; gap: 1.5rem; padding: 0 1rem; }
@media (min-width: 768px) { .review-slide { flex-basis: 80%; } }
.review-slide q { font-family: var(--font-display); font-size: clamp(1.4rem, 2.5vw, 1.875rem); line-height: 1.35; color: var(--crema); quotes: "“" "”"; }
.review-slide footer { font-size: 0.875rem; color: rgba(250,246,239,0.6); }
.review-slide footer b { color: var(--crema); }
.stars { display: flex; gap: 0.25rem; color: var(--gold); }
.stars--center { justify-content: center; }

/* Review cards (reviews page, masonry-ish) */
.review-card { break-inside: avoid; background: #fff; border: 1px solid rgba(31,27,23,0.08); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-soft); margin-bottom: 1.5rem; }
.review-card p { margin-top: 1rem; color: rgba(31,27,23,0.8); }
.review-card footer { margin-top: 1.25rem; display: flex; align-items: center; gap: 0.75rem; border-top: 1px solid rgba(31,27,23,0.08); padding-top: 1rem; }
.review-card .avatar { width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgba(182,69,44,0.1); color: var(--terracotta); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 600; }
.review-card .meta b { display: block; font-size: 0.875rem; }
.review-card .meta span { font-size: 0.875rem; color: rgba(31,27,23,0.5); }
.masonry { columns: 1; column-gap: 1.5rem; }
@media (min-width: 640px) { .masonry { columns: 2; } }
@media (min-width: 1024px) { .masonry { columns: 3; } }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 1rem; }
@media (max-width: 1024px) { .gallery { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; } }
.gallery figure { position: relative; overflow: hidden; border-radius: var(--radius-lg); }
.gallery figure.tall { grid-row: span 2; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.7s var(--ease); }
.gallery figure:hover img { transform: scale(1.1); }

/* ---------- CTA banner ---------- */
.cta { position: relative; overflow: hidden; border-radius: var(--radius-lg); padding: 5rem 1.5rem; text-align: center; }
.cta__bg { position: absolute; inset: 0; }
.cta__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta__bg::after { content: ""; position: absolute; inset: 0; background: rgba(42,33,27,0.8); }
.cta__inner { position: relative; z-index: 2; max-width: 40rem; margin: 0 auto; }
.cta h2 { color: var(--crema); margin-top: 1rem; }
.cta p { color: rgba(250,246,239,0.75); margin-top: 1.25rem; font-size: 1.125rem; }
.cta__btns { margin-top: 2.25rem; display: flex; flex-wrap: wrap; gap: 1rem; justify-content: center; }
.cta__btns .btn--primary { animation: pulse 2.4s ease-in-out infinite; }

/* ---------- Footer ---------- */
.footer { background: var(--espresso); color: var(--crema); padding: 4rem 0 0; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 3rem; }
@media (max-width: 1024px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .footer__grid { grid-template-columns: 1fr; } }
.footer .brand { font-size: 1.875rem; }
.footer .brand span { color: var(--gold-400); }
.footer__about { margin-top: 1rem; max-width: 20rem; font-size: 0.875rem; color: rgba(250,246,239,0.7); }
.footer h3 { font-size: 1.125rem; color: var(--crema); }
.footer ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.625rem; }
.footer ul a, .footer li { font-size: 0.875rem; color: rgba(250,246,239,0.7); }
.footer ul a:hover { color: var(--gold-400); }
.footer__hours li { display: flex; justify-content: space-between; gap: 1rem; }
.footer__social { margin-top: 1.5rem; display: flex; gap: 0.75rem; }
.footer__social a { width: 2.5rem; height: 2.5rem; border-radius: 999px; background: rgba(250,246,239,0.1); display: flex; align-items: center; justify-content: center; color: var(--crema); transition: background 0.3s; }
.footer__social a:hover { background: var(--gold); color: var(--espresso); }
.footer__bottom { margin-top: 3.5rem; border-top: 1px solid rgba(250,246,239,0.1); padding: 2rem 0; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: 0.75rem; color: rgba(250,246,239,0.5); }

/* ---------- Sticky mobile order bar ---------- */
.order-bar { position: fixed; inset: auto 0 0 0; z-index: 40; display: flex; gap: 0.75rem; padding: 0.75rem; background: rgba(250,246,239,0.95); border-top: 1px solid rgba(31,27,23,0.1); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); animation: slideUp 0.4s var(--ease) both; }
@media (min-width: 1024px) { .order-bar { display: none; } }
.order-bar a { flex: 1; display: flex; align-items: center; justify-content: center; gap: 0.5rem; border-radius: 999px; padding: 0.75rem; font-size: 0.875rem; font-weight: 600; }
.order-bar .call { background: transparent; color: var(--charcoal); box-shadow: inset 0 0 0 1px rgba(31,27,23,0.2); }
.order-bar .order { flex: 1.4; background: var(--terracotta); color: var(--crema); box-shadow: var(--shadow-soft); }
body { padding-bottom: 0; }
@media (max-width: 1023px) { body.has-order-bar { padding-bottom: 4.5rem; } }

/* ---------- Menu page ---------- */
.menu-controls { position: sticky; top: 64px; z-index: 30; background: rgba(250,246,239,0.96); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(31,27,23,0.08); padding: 1rem 0; }
.search { position: relative; }
.search input { width: 100%; border: 1px solid rgba(31,27,23,0.15); background: #fff; border-radius: 999px; padding: 0.75rem 1rem 0.75rem 3rem; font-size: 0.9rem; font-family: var(--font-sans); color: var(--charcoal); }
.search input:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(182,69,44,0.18); }
.search svg { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: rgba(31,27,23,0.4); }
.search button { position: absolute; right: 0.4rem; top: 50%; transform: translateY(-50%); }
.chips { margin-top: 0.75rem; display: flex; gap: 0.5rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { white-space: nowrap; border-radius: 999px; padding: 0.4rem 1rem; font-size: 0.85rem; font-weight: 500; background: #fff; color: rgba(31,27,23,0.7); box-shadow: inset 0 0 0 1px rgba(31,27,23,0.12); transition: all 0.2s; }
.chip:hover { box-shadow: inset 0 0 0 1px rgba(31,27,23,0.3); }
.chip.active { background: var(--terracotta); color: var(--crema); box-shadow: var(--shadow-soft); }
.catnav { margin-top: 0.75rem; display: flex; gap: 0.4rem; overflow-x: auto; padding-bottom: 0.25rem; scrollbar-width: none; }
.catnav::-webkit-scrollbar { display: none; }
.catnav a { white-space: nowrap; border-radius: 999px; padding: 0.25rem 0.9rem; font-size: 0.75rem; font-weight: 500; color: rgba(31,27,23,0.55); }
.catnav a:hover { color: var(--charcoal); }

.menu-section { scroll-margin-top: 12rem; margin-top: 4rem; }
.menu-section__head { border-bottom: 1px solid rgba(31,27,23,0.1); padding-bottom: 1rem; margin-bottom: 1.5rem; }
.menu-section__head .row { display: flex; align-items: baseline; justify-content: space-between; gap: 0.75rem; }
.menu-section__head h2 { font-size: clamp(1.4rem, 2.5vw, 2rem); }
.menu-section__head .sub { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; color: rgba(31,27,23,0.4); }
.menu-section__head .note { font-size: 0.875rem; color: rgba(31,27,23,0.55); margin-top: 0.25rem; }
.menu-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
@media (max-width: 640px) { .menu-grid { grid-template-columns: 1fr; } }
.menu-item { display: flex; justify-content: space-between; align-items: flex-start; gap: 1rem; background: #fff; border-radius: var(--radius-lg); padding: 1.25rem; box-shadow: var(--shadow-soft); transition: box-shadow 0.3s; }
.menu-item:hover { box-shadow: var(--shadow-lift); }
.menu-item__name { display: flex; flex-wrap: wrap; align-items: center; gap: 0.5rem; }
.menu-item h3 { font-family: var(--font-sans); font-size: 1rem; font-weight: 600; }
.menu-item .desc { margin-top: 0.25rem; font-size: 0.875rem; color: rgba(31,27,23,0.55); }
.menu-item .price { font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; color: var(--terracotta); white-space: nowrap; }
.menu-empty { text-align: center; padding: 6rem 0; }
.menu-empty h2 { font-family: var(--font-display); font-size: 1.5rem; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 1024px) { .contact-grid { grid-template-columns: 1fr; } }
.info-row { display: flex; flex-direction: column; gap: 0.25rem; margin-bottom: 1.5rem; }
.info-row p { font-size: 1.125rem; color: rgba(31,27,23,0.8); }
.info-row a { color: var(--terracotta); }
.hours-card { background: #fff; border: 1px solid rgba(31,27,23,0.08); border-radius: var(--radius-lg); padding: 1.5rem; box-shadow: var(--shadow-soft); }
.hours-card h3 { font-size: 1.125rem; }
.hours-card ul { margin-top: 1rem; display: flex; flex-direction: column; gap: 0.5rem; }
.hours-card li { display: flex; justify-content: space-between; padding: 0.375rem 0.75rem; border-radius: 10px; font-size: 0.9rem; color: rgba(31,27,23,0.7); }
.hours-card li.today { background: rgba(182,69,44,0.1); color: var(--terracotta); font-weight: 600; }
.map-card { overflow: hidden; border-radius: var(--radius-lg); border: 1px solid rgba(31,27,23,0.08); box-shadow: var(--shadow-soft); }
.map-card iframe { width: 100%; height: 18rem; border: 0; display: block; }
.map-card a { display: block; background: #fff; padding: 0.75rem 1.25rem; text-align: center; font-size: 0.875rem; font-weight: 500; color: var(--terracotta); }
.map-card a:hover { background: var(--crema); }
.form-card { background: var(--crema); border: 1px solid rgba(31,27,23,0.08); border-radius: var(--radius-lg); padding: 1.75rem; box-shadow: var(--shadow-soft); }
@media (min-width: 640px) { .form-card { padding: 2.25rem; } }
.field { margin-bottom: 1rem; }
.field label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 0.375rem; }
.field input, .field textarea { width: 100%; border: 1px solid rgba(31,27,23,0.15); background: #fff; border-radius: 12px; padding: 0.75rem 1rem; font-size: 0.9rem; font-family: var(--font-sans); color: var(--charcoal); }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--terracotta); box-shadow: 0 0 0 3px rgba(182,69,44,0.18); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 640px) { .field-row { grid-template-columns: 1fr; } }
.alert { border-radius: 12px; padding: 0.75rem 1rem; font-size: 0.875rem; margin-bottom: 1rem; }
.alert--success { background: rgba(60,90,62,0.1); color: var(--basil); }
.alert--error { background: rgba(182,69,44,0.1); color: var(--terracotta); }

/* ---------- Delivery ---------- */
.zones { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; margin-top: 2rem; }
.zones li { display: flex; align-items: center; gap: 0.5rem; background: var(--crema); border-radius: 12px; padding: 0.75rem 1rem; font-size: 0.875rem; font-weight: 500; color: rgba(31,27,23,0.8); }
.zones li::before { content: "●"; color: var(--terracotta); }
.promo { background: #fff; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-soft); }
.promo__tag { padding: 1rem 1.75rem; }
.promo__tag span { font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.22em; color: rgba(250,246,239,0.9); }
.promo__body { padding: 1.75rem; }
.promo__body h3 { font-size: 1.25rem; }
.promo__body p { margin-top: 0.5rem; font-size: 0.875rem; color: rgba(31,27,23,0.6); }
.order-panel { background: var(--espresso); border-radius: var(--radius-lg); padding: 2.25rem; text-align: center; color: var(--crema); box-shadow: var(--shadow-lift); }
.order-panel h3 { font-size: clamp(1.4rem,2.5vw,2rem); }
.order-panel p { margin: 0.75rem auto 0; max-width: 24rem; color: rgba(250,246,239,0.7); }
.order-panel__btns { margin-top: 2rem; display: flex; flex-direction: column; gap: 0.75rem; }

.bg-terracotta { background: var(--terracotta); }
.bg-basil { background: var(--basil); }
.bg-espresso { background: var(--espresso); }

/* =================================================================
   Animations
   ================================================================= */
@keyframes heroZoom { from { transform: scale(1.12); } to { transform: scale(1); } }
@keyframes lineUp { from { transform: translateY(110%); } to { transform: translateY(0); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideUp { from { transform: translateY(100%); } to { transform: translateY(0); } }
@keyframes pulse { 0%,100% { transform: scale(1); } 50% { transform: scale(1.04); } }
@keyframes scrollBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(8px); } }

/* Scroll-reveal — pure CSS, no JS.
   Content is visible by default; in browsers that support scroll-driven
   animations it fades/rises in as it enters the viewport (progressive enhancement). */
.reveal { opacity: 1; }
@supports (animation-timeline: view()) {
  @media (prefers-reduced-motion: no-preference) {
    .reveal {
      opacity: 0;
      animation: revealIn linear both;
      animation-timeline: view();
      animation-range: entry 0% cover 22%;
    }
  }
}
@keyframes revealIn { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: translateY(0); } }

/* Reduced motion: disable all motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1 !important; transform: none !important; }
}
