:root {
  --cream: #FBF6EC;
  --card: #FFFFFF;
  --ink: #2A1A14;
  --muted: #6E5A50;
  --maroon: #9E1C3F;
  --maroon-dark: #7C1230;
  --saffron: #E8891C;
  --plum: #6E2A7A;
  --line: #EADFCF;
  --leaf: #4E8B3A;
  --radius: 16px;
  --shadow: 0 6px 24px rgba(74, 32, 20, 0.08);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font: 16px/1.6 "DM Sans", system-ui, sans-serif;
}
img { max-width: 100%; display: block; }
h1, h2, h3 { font-family: "Fraunces", Georgia, serif; line-height: 1.15; margin: 0 0 .5em; }
h2 { font-size: clamp(2rem, 4vw, 2.75rem); color: var(--maroon); }
h3 { font-size: 1.3rem; }
a { color: var(--maroon); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .85em 1.5em; border-radius: 999px; border: 2px solid transparent;
  font: 700 1rem "DM Sans", sans-serif; text-decoration: none; cursor: pointer;
  transition: transform .15s, background .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--maroon); color: #fff; }
.btn-primary:hover { background: var(--maroon-dark); }
.btn-ghost { border-color: var(--maroon); color: var(--maroon); background: transparent; }
.btn-whatsapp { background: #1F8F4E; color: #fff; }
.btn-whatsapp:hover { background: #177340; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; justify-content: space-between;
  padding: .6rem clamp(1rem, 4vw, 3rem);
  background: rgba(251, 246, 236, .92); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav-brand { display: flex; align-items: center; gap: .6rem; text-decoration: none; font: 700 1.4rem "Fraunces", serif; color: var(--maroon); }
.nav-brand img { width: 42px; height: 42px; border-radius: 50%; border: 2px solid var(--saffron); }
.nav nav { display: flex; gap: clamp(.75rem, 2.5vw, 2rem); align-items: center; }
.nav nav a { text-decoration: none; color: var(--ink); font-weight: 500; }
.nav nav a:hover { color: var(--maroon); }
.nav-order { background: var(--saffron); color: #fff !important; padding: .4em 1em; border-radius: 999px; }
.cart-count { background: #fff; color: var(--saffron); border-radius: 999px; padding: 0 .45em; font-size: .8rem; margin-left: .2em; }

/* ---------- hero ---------- */
.hero {
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center;
  padding: clamp(2rem, 5vw, 4rem) clamp(1rem, 4vw, 3rem);
  max-width: 1200px; margin: 0 auto;
}
.hero-logo { width: 260px; margin-bottom: 1.25rem; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); color: var(--ink); }
.hero-sub { font-size: 1.15rem; color: var(--muted); max-width: 32em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 1.5rem; }
.hero-photos { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 1rem; height: 520px; }
.hero-photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); box-shadow: var(--shadow); }
.hero-photos img:first-child { grid-row: span 2; }

/* ---------- sections ---------- */
.section { max-width: 1200px; margin: 0 auto; padding: clamp(3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem); }
.eyebrow { text-transform: uppercase; letter-spacing: .14em; font-size: .8rem; font-weight: 700; color: var(--saffron); margin: 0 0 .4rem; }
.section-note { color: var(--muted); margin-top: -.25rem; }

/* about */
.about { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
.about-photo img { border-radius: var(--radius); box-shadow: var(--shadow); aspect-ratio: 4/3; object-fit: cover; width: 100%; }
#about-text p { font-size: 1.08rem; }
.signature { font: italic 500 1.3rem "Fraunces", serif; color: var(--plum); }

/* menu */
.filters { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1.5rem 0 2rem; }
.filters button {
  border: 1.5px solid var(--line); background: var(--card); color: var(--ink);
  padding: .5em 1.1em; border-radius: 999px; font: 500 .95rem "DM Sans", sans-serif; cursor: pointer;
}
.filters button[aria-selected="true"] { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 1.5rem; }
.dish { background: var(--card); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.dish-img { aspect-ratio: 4/3; object-fit: cover; width: 100%; background: var(--line); }
.dish-body { padding: 1.1rem 1.2rem 1.25rem; display: flex; flex-direction: column; flex: 1; }
.dish-head { display: flex; justify-content: space-between; gap: 1rem; align-items: baseline; }
.dish h3 { margin: 0; font-size: 1.2rem; }
.price { font-weight: 700; color: var(--maroon); white-space: nowrap; font-size: 1.1rem; }
.unit { font-size: .8rem; color: var(--muted); margin: .1rem 0 .5rem; text-align: right; }
.dish p.desc { color: var(--muted); font-size: .95rem; margin: .25rem 0 .75rem; flex: 1; }
.tags { display: flex; flex-wrap: wrap; gap: .35rem; margin-bottom: 1rem; }
.tag { font-size: .72rem; font-weight: 700; padding: .2em .65em; border-radius: 999px; background: #F6EDE0; color: var(--muted); }
.tag.veg { background: #E7F2E1; color: var(--leaf); }
.tag.hot { background: #FCE7D2; color: #B65F07; }
.qty { display: flex; align-items: center; gap: .5rem; }
.qty button {
  width: 38px; height: 38px; border-radius: 50%; border: 1.5px solid var(--maroon);
  background: #fff; color: var(--maroon); font-size: 1.25rem; cursor: pointer; line-height: 1;
}
.qty button.add { width: auto; border-radius: 999px; padding: 0 1.2em; background: var(--maroon); color: #fff; font: 700 .95rem "DM Sans", sans-serif; }
.qty span { min-width: 1.5em; text-align: center; font-weight: 700; }

/* gallery */
.gallery { columns: 3 260px; column-gap: 1rem; }
.gallery figure { margin: 0 0 1rem; break-inside: avoid; position: relative; cursor: zoom-in; border-radius: var(--radius); overflow: hidden; }
.gallery img, .gallery video { width: 100%; display: block; transition: transform .3s; }
.gallery figure:hover img { transform: scale(1.03); }
.gallery figcaption {
  position: absolute; inset: auto 0 0 0; padding: 2rem .9rem .7rem;
  background: linear-gradient(transparent, rgba(0,0,0,.6)); color: #fff; font-size: .9rem;
}
.gallery .play { position: absolute; top: .7rem; right: .7rem; background: rgba(0,0,0,.55); color: #fff; padding: .15em .6em; border-radius: 999px; font-size: .8rem; }

.lightbox { position: fixed; inset: 0; z-index: 50; background: rgba(20,10,5,.9); display: flex; align-items: center; justify-content: center; padding: 1rem; }
.lightbox[hidden] { display: none; }
.lightbox-body img, .lightbox-body video { max-width: 92vw; max-height: 82vh; border-radius: 10px; }
.lightbox-body p { color: #fff; text-align: center; }
.lightbox-close { position: absolute; top: .75rem; right: 1rem; background: none; border: 0; color: #fff; font-size: 2.5rem; cursor: pointer; }

/* order */
.order-wrap { display: grid; grid-template-columns: 1fr 1.2fr; gap: 2rem; align-items: start; margin-top: 1.5rem; }
.order-cart, .order-form { background: var(--card); border-radius: var(--radius); padding: 1.5rem; box-shadow: var(--shadow); }
.order-cart { position: sticky; top: 90px; }
.cart-line { display: grid; grid-template-columns: 1fr auto auto; gap: .75rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.cart-line small { display: block; color: var(--muted); }
.cart-line .qty button { width: 30px; height: 30px; font-size: 1rem; }
.cart-empty { color: var(--muted); padding: 1rem 0; }
.cart-total { display: flex; justify-content: space-between; padding-top: 1rem; font-size: 1.15rem; }
.cart-total strong { color: var(--maroon); }
.fine { font-size: .85rem; color: var(--muted); }
.order-form label { display: block; font-weight: 500; margin-bottom: 1rem; font-size: .95rem; }
.order-form .opt { color: var(--muted); font-weight: 400; }
.order-form input, .order-form select, .order-form textarea {
  display: block; width: 100%; margin-top: .3rem; padding: .7em .85em;
  border: 1.5px solid var(--line); border-radius: 10px; font: inherit; background: #FFFDF9; color: var(--ink);
}
.order-form input:focus, .order-form select:focus, .order-form textarea:focus { outline: 2px solid var(--saffron); border-color: transparent; }
.order-form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.send-buttons { display: flex; flex-wrap: wrap; gap: .75rem; }
.send-buttons .btn { flex: 1 1 200px; }
.form-error { color: #B3261E; font-weight: 500; min-height: 1.2em; margin: 0 0 .75rem; }

/* footer */
.footer { text-align: center; padding: 3rem 1rem; border-top: 1px solid var(--line); background: #F6EEDF; }
.footer img { width: 90px; margin: 0 auto 1rem; border-radius: 50%; border: 3px solid var(--saffron); }
.footer p { margin: .3rem 0; }

.cart-fab {
  position: fixed; bottom: 1rem; left: 50%; transform: translateX(-50%); z-index: 30;
  background: var(--maroon); color: #fff; text-decoration: none; font-weight: 700;
  padding: .85em 1.6em; border-radius: 999px; box-shadow: 0 8px 24px rgba(0,0,0,.25); display: none;
}

/* ---------- mobile ---------- */
@media (max-width: 860px) {
  .hero, .about, .order-wrap { grid-template-columns: 1fr; }
  .hero-photos { height: 340px; }
  .hero-logo { width: 200px; }
  .order-cart { position: static; }
  .nav nav a:not(.nav-order) { display: none; }
  .cart-fab:not([hidden]) { display: inline-block; }
  .at-order .cart-fab { display: none !important; }
}
@media (max-width: 480px) {
  .order-form .row { grid-template-columns: 1fr; }
  .hero-photos { height: 260px; gap: .6rem; }
}
