:root {
  --primary: #c2410c;
  --accent: #15803d;
  --bg: #fffaf5;
  --bg-alt: #f6efe7;
  --surface: #ffffff;
  --text: #1f1a17;
  --muted: #6b625b;
  --border: #e7ddd2;
  --radius: 14px;
  --shadow: 0 10px 30px rgba(31, 26, 23, 0.08);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "Inter", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #15120f;
    --bg-alt: #1d1915;
    --surface: #24201b;
    --text: #f5efe9;
    --muted: #b3a89d;
    --border: #3a332c;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  }
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body { font-family: var(--sans); background: var(--bg); color: var(--text); line-height: 1.6; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3 { font-family: var(--serif); line-height: 1.15; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); margin-bottom: 1rem; }
h3 { font-size: 1.25rem; margin: 2rem 0 .75rem; }

.container { width: min(1120px, 100% - 32px); margin-inline: auto; }
.section { padding: clamp(64px, 10vw, 112px) 0; }
.section--alt { background: var(--bg-alt); }
.center { text-align: center; }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .78rem; font-weight: 600; color: var(--primary); margin-bottom: .5rem; }
.lead { font-size: 1.08rem; color: var(--muted); max-width: 60ch; }
.link { color: var(--primary); font-weight: 600; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .85rem 1.5rem; border-radius: 999px; background: var(--primary); color: #fff; font-weight: 600; border: 2px solid var(--primary); cursor: pointer; transition: transform .15s, filter .15s, background .15s; font: inherit; font-weight: 600; }
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn--ghost { background: transparent; border-color: rgba(255,255,255,.85); }
.btn--ghost:hover { background: rgba(255,255,255,.12); }
.btn--small { padding: .5rem 1.1rem; font-size: .92rem; }
.btn--full { width: 100%; }
.btn--light { background: rgba(255,255,255,.14); border-color: transparent; font-size: .9rem; padding: .55rem 1.1rem; backdrop-filter: blur(6px); }

/* Nav */
.nav { position: fixed; inset: 0 0 auto; z-index: 50; transition: background .25s, box-shadow .25s; }
.nav--solid { background: var(--surface); box-shadow: 0 1px 0 var(--border); }
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 68px; }
.nav__brand { font-family: var(--serif); font-size: 1.35rem; font-weight: 700; color: #fff; }
.nav--solid .nav__brand { color: var(--text); }
.nav__links { display: flex; align-items: center; gap: 1.75rem; }
.nav__links a:not(.btn) { color: #fff; font-weight: 500; opacity: .92; }
.nav--solid .nav__links a:not(.btn) { color: var(--text); }
.nav__links a:not(.btn):hover { opacity: 1; color: var(--primary); }
.nav__toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav__toggle span { display: block; width: 24px; height: 2px; background: #fff; margin: 5px 0; transition: .2s; }
.nav--solid .nav__toggle span { background: var(--text); }

@media (max-width: 760px) {
  .nav__toggle { display: block; }
  .nav__links { position: fixed; inset: 68px 0 auto; flex-direction: column; gap: 0; background: var(--surface); padding: .5rem 16px 1.25rem; box-shadow: var(--shadow); transform: translateY(-12px); opacity: 0; pointer-events: none; transition: .2s; }
  .nav__links.open { transform: none; opacity: 1; pointer-events: auto; }
  .nav__links a:not(.btn) { color: var(--text); width: 100%; padding: .85rem 0; border-bottom: 1px solid var(--border); }
  .nav__links .btn { margin-top: 1rem; width: 100%; }
}

/* Hero */
.hero { position: relative; min-height: 100svh; display: grid; align-items: center; background: #222 center/cover no-repeat; color: #fff; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,.55), rgba(0,0,0,.35) 40%, rgba(0,0,0,.7)); }
.hero__content { position: relative; padding: 120px 0 80px; }
.hero h1 { font-size: clamp(2.75rem, 8vw, 5.5rem); max-width: 14ch; }
.hero__tagline { font-size: clamp(1.05rem, 2vw, 1.3rem); margin: 1rem 0 2rem; opacity: .92; max-width: 50ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: .75rem; }
.hero__order { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin-top: 1.75rem; font-size: .9rem; opacity: .95; }
.badge { display: inline-flex; align-items: center; gap: .45rem; padding: .35rem .85rem; border-radius: 999px; background: rgba(0,0,0,.4); font-size: .85rem; font-weight: 600; margin-bottom: 1.25rem; backdrop-filter: blur(6px); }
.badge::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: #9ca3af; }
.badge--open::before { background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,.25); }
.badge--closed::before { background: #ef4444; }

/* About */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(32px, 6vw, 72px); align-items: center; }
.about__img { aspect-ratio: 4/5; border-radius: var(--radius); background: var(--bg-alt) center/cover; box-shadow: var(--shadow); }
@media (max-width: 760px) { .about { grid-template-columns: 1fr; } .about__img { aspect-ratio: 4/3; } }

/* Menu */
.tabs { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin: 2rem 0 2.5rem; }
.tab { font: inherit; font-weight: 600; padding: .6rem 1.2rem; border-radius: 999px; border: 1px solid var(--border); background: var(--surface); color: var(--text); cursor: pointer; transition: .15s; }
.tab:hover { border-color: var(--primary); }
.tab[aria-selected="true"] { background: var(--primary); border-color: var(--primary); color: #fff; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1rem; }
.dish { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.25rem 1.35rem; animation: fadeUp .35s ease both; }
.dish--photo { padding-top: 0; overflow: hidden; }
.dish__img { aspect-ratio: 16/10; margin: 0 -1.35rem 1rem; background: var(--bg-alt) center/cover; }
.dish__head { display: flex; justify-content: space-between; align-items: baseline; gap: 1rem; }
.dish__name { font-family: var(--serif); font-size: 1.2rem; font-weight: 700; }
.dish__price { font-weight: 700; color: var(--primary); white-space: nowrap; }
.dish__desc { color: var(--muted); font-size: .95rem; margin: .35rem 0 .6rem; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag { font-size: .7rem; font-weight: 600; text-transform: uppercase; letter-spacing: .06em; padding: .15rem .5rem; border-radius: 6px; background: var(--bg-alt); color: var(--muted); }
.tag--veg, .tag--vegan { background: rgba(21,128,61,.12); color: #15803d; }
.tag--spicy { background: rgba(220,38,38,.12); color: #dc2626; }
.tag--popular, .tag--new { background: color-mix(in srgb, var(--primary) 14%, transparent); color: var(--primary); }
.legend { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 2rem; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

/* Gallery */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; margin-top: 2.5rem; }
.gallery__item { aspect-ratio: 1; border-radius: 10px; background: var(--bg-alt) center/cover; transition: transform .3s; }
.gallery__item:hover { transform: scale(1.02); }
.gallery__item { position: relative; overflow: hidden; margin: 0; background-size: cover; }
.gallery__item figcaption { position: absolute; inset: auto 0 0; padding: 2rem .9rem .7rem; color: #fff; font-weight: 600; font-size: .9rem; background: linear-gradient(transparent, rgba(0,0,0,.7)); }
.gallery__item:nth-child(1) { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
@media (max-width: 640px) { .gallery { grid-template-columns: 1fr 1fr; } .gallery__item:nth-child(1) { grid-column: span 2; grid-row: auto; aspect-ratio: 16/10; } }

/* Reviews */
.reviews { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; margin-top: 2.5rem; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 1.75rem; }
.review__stars { color: #f59e0b; letter-spacing: 2px; margin-bottom: .75rem; }
.review blockquote { font-family: var(--serif); font-size: 1.12rem; margin-bottom: 1rem; }
.rating { color: var(--muted); }
.rating .review__stars { display: inline; margin: 0 .25rem 0 0; }
.tag--gf, .tag--lf { background: rgba(37,99,235,.1); color: #2563eb; }
.review cite { color: var(--muted); font-style: normal; font-weight: 600; font-size: .9rem; }

/* Reserve */
.reserve { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(32px, 6vw, 72px); align-items: start; }
.form { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: clamp(1.25rem, 3vw, 2rem); box-shadow: var(--shadow); display: grid; gap: 1rem; }
.form__row { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 1rem; }
.form label { display: grid; gap: .35rem; font-size: .88rem; font-weight: 600; }
.form input, .form select, .form textarea { font: inherit; font-weight: 400; padding: .75rem .85rem; border-radius: 10px; border: 1px solid var(--border); background: var(--bg); color: var(--text); width: 100%; }
.form input:focus, .form select:focus, .form textarea:focus { outline: 2px solid var(--primary); outline-offset: 1px; border-color: transparent; }
.form__error { color: #dc2626; font-size: .9rem; min-height: 1.2em; }
@media (max-width: 860px) { .reserve { grid-template-columns: 1fr; } }

/* Visit */
.visit { display: grid; grid-template-columns: 1fr 1.2fr; gap: clamp(32px, 6vw, 72px); }
.address { font-size: 1.1rem; margin-bottom: 1rem; }
.contact-list { list-style: none; display: grid; gap: .4rem; }
.contact-list a { color: var(--primary); font-weight: 600; }
.hours { border-collapse: collapse; width: 100%; max-width: 420px; }
.hours td { padding: .5rem 0; border-bottom: 1px solid var(--border); }
.hours td:last-child { text-align: right; color: var(--muted); }
.hours tr.today td { font-weight: 700; color: var(--text); }
.map { min-height: 380px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface); }
.map iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
@media (max-width: 860px) { .visit { grid-template-columns: 1fr; } }

/* Footer */
.footer { background: #171310; color: #d9cfc5; padding: 48px 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1.5rem; }
.footer strong { font-family: var(--serif); font-size: 1.3rem; color: #fff; }
.footer p { font-size: .9rem; }
.footer__social { display: flex; gap: 1rem; flex-wrap: wrap; }
.footer__social a { font-weight: 600; text-transform: capitalize; }
.footer__social a:hover { color: var(--primary); }
.footer__copy { width: 100%; opacity: .6; }

/* WhatsApp button */
.whatsapp-fab { position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 24px rgba(0,0,0,.25); transition: transform .15s; }
.whatsapp-fab:hover { transform: scale(1.06); }
.whatsapp-fab[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }
