/* =========================================================
   BEYTI · Ma Maison Libanaise
   Design system — beige + vert libanais #14453d
   ========================================================= */

:root {
  --c-green: #14453d;
  --c-green-soft: #1f5a4f;
  --c-gold: #b8985a;
  --c-gold-soft: #d4b878;
  --c-beige: #f7f0e4;
  --c-beige-2: #efe4cf;
  --c-beige-3: #e8dcc4;
  --c-cream: #faf7f2;
  --c-ink: #14453d;
  --c-ink-soft: #3a5f58;
  --c-white: #ffffff;

  --f-serif: 'Cormorant Garamond', 'Playfair Display', Georgia, serif;
  --f-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --f-arabic: 'Amiri', 'Times New Roman', serif;

  --w-max: 1200px;
  --w-narrow: 760px;
  --pad-x: clamp(1.25rem, 4vw, 2.5rem);

  --shadow-sm: 0 2px 8px rgba(20, 69, 61, 0.06);
  --shadow-md: 0 8px 24px rgba(20, 69, 61, 0.08);
  --shadow-lg: 0 20px 60px rgba(20, 69, 61, 0.12);

  --radius: 4px;
  --radius-lg: 12px;

  --t-fast: 180ms ease;
  --t-base: 300ms ease;
  --t-slow: 600ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* ---------- RESET ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--f-sans);
  font-size: 16px;
  line-height: 1.65;
  color: var(--c-ink);
  background: var(--c-beige);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--t-fast); }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
h1, h2, h3, h4 {
  font-family: var(--f-serif);
  font-weight: 500;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--c-green);
  letter-spacing: -0.01em;
}
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }

/* ---------- LAYOUT ---------- */
.container {
  max-width: var(--w-max);
  margin: 0 auto;
  padding-left: var(--pad-x);
  padding-right: var(--pad-x);
}
.narrow { max-width: var(--w-narrow); }

/* ---------- HEADER ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(247, 240, 228, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(20, 69, 61, 0.08);
}
.header-inner {
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 1rem var(--pad-x);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.logo {
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 0.85rem;
  align-items: center;
  line-height: 1;
}
.logo-img { grid-row: 1 / 3; width: 70px; height: 70px; display: block; object-fit: contain; }
.logo-brand { grid-column: 2; grid-row: 1; align-self: end; }
.logo-sub { grid-column: 2; grid-row: 2; align-self: start; }
.logo-brand {
  font-family: var(--f-serif);
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 500;
  font-style: italic;
  color: var(--c-green);
  letter-spacing: 0.01em;
}
.logo-sub {
  font-family: var(--f-sans);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--c-ink-soft);
  margin-top: 0.25rem;
}
.site-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}
.site-nav a {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--c-ink);
  position: relative;
  padding: 0.5rem 0;
}
.site-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform var(--t-base);
}
.site-nav a:hover::after,
.site-nav a.is-current::after { transform: scaleX(1); }
.nav-phone {
  background: var(--c-green);
  color: var(--c-beige) !important;
  padding: 0.6rem 1.2rem !important;
  border-radius: var(--radius);
  transition: background var(--t-fast);
}
.nav-phone::after { display: none; }
.nav-phone:hover { background: var(--c-green-soft); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--c-green);
  transition: transform var(--t-base), opacity var(--t-base);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--c-beige);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 1rem var(--pad-x) 2rem;
    border-bottom: 1px solid rgba(20, 69, 61, 0.08);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: transform var(--t-base), opacity var(--t-base);
  }
  .site-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }
  .site-nav a { padding: 1rem 0; border-bottom: 1px solid rgba(20, 69, 61, 0.08); }
  .site-nav a:last-child { border-bottom: none; }
  .nav-phone { text-align: center; margin-top: 1rem; }
}

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 86vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--c-beige);
}
.hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
  animation: slowZoom 20s ease-in-out infinite alternate;
}
@keyframes slowZoom {
  to { transform: scale(1.12); }
}
.hero-overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(20,69,61,0.55) 0%, rgba(20,69,61,0.35) 40%, rgba(10,40,35,0.85) 100%),
    linear-gradient(135deg, rgba(20,69,61,0.75) 0%, rgba(20,69,61,0.5) 50%, rgba(10,40,35,0.8) 100%);
}
.hero-content {
  position: relative;
  max-width: var(--w-max);
  margin: 0 auto;
  padding: 6rem var(--pad-x) 8rem;
  width: 100%;
}
.hero-content::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10%;
  width: 70%;
  height: 80%;
  background: radial-gradient(ellipse at left center, rgba(0,0,0,0.4) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}
.hero-title {
  font-size: clamp(2.5rem, 6vw, 5rem);
  color: var(--c-beige);
  font-weight: 500;
  margin-bottom: 1.5rem;
  max-width: 20ch;
  line-height: 1.05;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45), 0 1px 3px rgba(0, 0, 0, 0.3);
}
.hero-title em {
  font-style: italic;
  color: var(--c-gold-soft);
  font-weight: 400;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.3);
}
.hero-lead {
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  max-width: 55ch;
  color: rgba(250, 247, 242, 0.98);
  font-weight: 400;
  margin-bottom: 2.5rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.3);
}
.hero-lead.light { color: rgba(247, 240, 228, 0.92); }
.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.hero-scroll {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.3em;
  color: rgba(247, 240, 228, 0.8);
  animation: bounce 2.5s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.page-hero {
  position: relative;
  min-height: 56vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  color: var(--c-beige);
}
.page-hero.small { min-height: 42vh; }
.page-hero-img {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
}
.page-hero-content {
  position: relative;
  padding-top: 5rem;
  padding-bottom: 4rem;
  width: 100%;
}
.page-hero .hero-title { color: var(--c-beige); margin-top: 1rem; }

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.95rem 2rem;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius);
  transition: all var(--t-base);
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn-primary {
  background: var(--c-gold);
  color: var(--c-green);
  border-color: var(--c-gold);
}
.btn-primary:hover {
  background: transparent;
  color: var(--c-beige);
  border-color: var(--c-gold);
}
.hero .btn-primary:hover { color: var(--c-beige); }
body .btn-primary:hover { color: var(--c-green); background: var(--c-gold-soft); border-color: var(--c-gold-soft); }
.btn-ghost {
  background: transparent;
  color: var(--c-beige);
  border-color: rgba(247, 240, 228, 0.4);
}
.btn-ghost:hover {
  background: var(--c-beige);
  color: var(--c-green);
  border-color: var(--c-beige);
}

/* ---------- SECTIONS ---------- */
section { padding: clamp(4rem, 8vw, 7rem) 0; }
.eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.25em;
  color: var(--c-gold);
  margin-bottom: 1.25rem;
}
.eyebrow.light { color: var(--c-gold-soft); }
.section-title {
  font-size: clamp(2rem, 4vw, 3.25rem);
  margin-bottom: 1.5rem;
}
.section-head {
  text-align: center;
  margin-bottom: 4rem;
}
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1rem auto 1.5rem;
  position: relative;
}
.divider::before, .divider::after {
  content: '';
  width: 40px;
  height: 1px;
  background: var(--c-gold);
  opacity: 0.6;
}
.divider span {
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
  margin: 0 1rem;
  display: inline-block;
}
.lead {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--c-green);
  font-family: var(--f-serif);
  margin-bottom: 1.5rem;
}

/* ---------- INTRO ---------- */
.intro {
  text-align: center;
  background: var(--c-beige);
}
.arabic-mark {
  font-family: var(--f-arabic);
  font-size: 3rem;
  color: var(--c-gold);
  line-height: 1;
  margin-bottom: 1rem;
  direction: rtl;
}
.arabic-mark.small { font-size: 1.75rem; }

/* ---------- CATEGORIES ---------- */
.categories {
  background: var(--c-beige-2);
  position: relative;
}
.cat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.cat-card {
  background: var(--c-cream);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform var(--t-base), box-shadow var(--t-base);
  display: flex;
  flex-direction: column;
}
.cat-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.cat-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  background-color: var(--c-beige-3);
  transition: transform var(--t-slow);
}
.cat-card:hover .cat-img { transform: scale(1.06); }
.cat-body { padding: 1.75rem; flex: 1; display: flex; flex-direction: column; }
.cat-body h3 { font-size: 1.7rem; margin-bottom: 0.75rem; }
.cat-body p { color: var(--c-ink-soft); margin-bottom: 1.25rem; flex: 1; }
.link-arrow {
  color: var(--c-green);
  font-weight: 500;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  letter-spacing: 0.03em;
  border-bottom: 1px solid var(--c-gold);
  padding-bottom: 2px;
  align-self: flex-start;
  transition: gap var(--t-fast), border-color var(--t-fast);
}
.link-arrow::after {
  content: '→';
  transition: transform var(--t-fast);
}
.link-arrow:hover { gap: 0.75rem; border-color: var(--c-green); }
.link-arrow:hover::after { transform: translateX(3px); }

/* ---------- STORY ---------- */
.story { background: var(--c-beige); }
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.story-grid.reverse .story-visual { order: 2; }
.story-visual {
  position: relative;
  aspect-ratio: 4 / 5;
  max-height: 600px;
}
.story-img {
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  background-color: var(--c-beige-3);
}
.arch-deco {
  position: absolute;
  top: -30px;
  left: -30px;
  width: 140px;
  height: auto;
  color: var(--c-gold);
  opacity: 0.4;
  z-index: -1;
}
.arch-deco.right { left: auto; right: -30px; }
.story-text .section-title { margin-bottom: 1rem; }

@media (max-width: 780px) {
  .story-grid { grid-template-columns: 1fr; }
  .story-grid.reverse .story-visual { order: 0; }
  .story-visual { aspect-ratio: 4 / 3; max-height: 400px; }
  .arch-deco { display: none; }
}

/* ---------- TEAM ---------- */
.team { background: var(--c-cream); }
.team-portrait {
  margin: 0;
  display: grid;
  gap: clamp(2rem, 4vw, 3rem);
  max-width: 960px;
  margin-inline: auto;
}
.team-portrait img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border: 1px solid var(--c-gold);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: block;
}
.team-portrait figcaption {
  text-align: center;
  max-width: 640px;
  margin-inline: auto;
}
.team-portrait figcaption .section-title { margin: 0.5rem 0 0; }
.team-portrait figcaption p {
  color: var(--c-ink-soft);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-top: 0.5rem;
}

/* ---------- VALUES ---------- */
.values { background: var(--c-beige-2); }
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.value-card {
  background: var(--c-cream);
  padding: 2.5rem 2rem;
  border-radius: var(--radius-lg);
  text-align: center;
  border: 1px solid rgba(184, 152, 90, 0.2);
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.value-icon {
  color: var(--c-gold);
  margin-bottom: 1.5rem;
  display: flex;
  justify-content: center;
}
.value-card h3 { font-size: 1.6rem; }

/* ---------- GALLERY ---------- */
.gallery { background: var(--c-beige); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  grid-auto-rows: 220px;
}
.gal-item {
  background-size: cover;
  background-position: center;
  background-color: var(--c-beige-3);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  transition: transform var(--t-base), box-shadow var(--t-base);
}
.gal-item::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 60%, rgba(20,69,61,0.3));
  opacity: 0;
  transition: opacity var(--t-base);
}
.gal-item:hover { transform: scale(1.02); box-shadow: var(--shadow-md); }
.gal-item:hover::after { opacity: 1; }
.gal-lg { grid-row: span 2; }
.gal-tile { cursor: default; background-size: cover; }
.gal-tile::after { display: none; }
.gal-tile:hover { transform: none; }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
}

/* ---------- INFOS ---------- */
.infos {
  background: var(--c-green);
  color: var(--c-beige);
}
.infos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(2rem, 4vw, 3.5rem);
}
.infos-block .eyebrow { color: var(--c-gold-soft); }
.infos-block h3 {
  color: var(--c-beige);
  font-size: 2rem;
  margin-bottom: 1rem;
}
.infos-block p { color: rgba(247, 240, 228, 0.88); }
.infos-block .link-arrow {
  color: var(--c-gold-soft);
  border-color: var(--c-gold-soft);
}
.infos-block .link-arrow:hover { color: var(--c-beige); border-color: var(--c-beige); }
.phone-big {
  font-family: var(--f-serif);
  font-size: 1.8rem;
  color: var(--c-gold-soft);
  font-weight: 500;
  letter-spacing: 0.02em;
  display: inline-block;
  margin: 0.5rem 0;
  border-bottom: 1px solid transparent;
  transition: border-color var(--t-fast);
}
.phone-big:hover { border-color: var(--c-gold-soft); }
.hours {
  font-size: 0.95rem;
}
.hours li {
  display: flex;
  justify-content: space-between;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(247, 240, 228, 0.12);
  color: rgba(247, 240, 228, 0.88);
}
.hours li:last-child { border-bottom: none; }
.hours .closed { color: rgba(247, 240, 228, 0.5); font-style: italic; }
.small { font-size: 0.85rem; }

@media (max-width: 780px) {
  .infos-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

/* ---------- QUOTE ---------- */
.quote {
  background: var(--c-beige-3);
  text-align: center;
}
.quote blockquote {
  margin: 0;
  padding: 0;
}
.quote blockquote p {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  color: var(--c-green);
  line-height: 1.3;
  margin-bottom: 1.5rem;
}
.quote cite {
  font-style: normal;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-gold);
}

/* ---------- MENU NAV ---------- */
.menu-nav {
  position: sticky;
  top: 104px;
  z-index: 40;
  background: var(--c-cream);
  border-bottom: 1px solid rgba(20, 69, 61, 0.1);
  box-shadow: var(--shadow-sm);
}
.menu-nav-inner {
  display: flex;
  gap: 0.25rem;
  padding: 0.75rem var(--pad-x);
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-nav-inner::-webkit-scrollbar { display: none; }
.menu-nav a {
  padding: 0.6rem 1.1rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--c-ink);
  white-space: nowrap;
  border-radius: var(--radius);
  transition: background var(--t-fast), color var(--t-fast);
}
.menu-nav a:hover,
.menu-nav a.active {
  background: var(--c-green);
  color: var(--c-beige);
}

/* ---------- MENU LEGEND ---------- */
.menu-legend {
  position: sticky;
  top: 162px;
  z-index: 35;
  padding: 0.6rem 0;
  background: var(--c-beige);
  border-bottom: 1px solid rgba(20, 69, 61, 0.08);
  box-shadow: var(--shadow-sm);
  font-size: 0.8rem;
}
.menu-legend .container {
  display: flex;
  flex-wrap: nowrap;
  gap: 1.5rem;
  align-items: center;
  justify-content: center;
  color: var(--c-ink-soft);
  overflow-x: auto;
  scrollbar-width: none;
}
.menu-legend .container::-webkit-scrollbar { display: none; }
.menu-legend .container > span { white-space: nowrap; flex-shrink: 0; }
.menu-legend .container > span:not(.small) { font-size: 0.9rem; }
.menu-legend .small { font-size: 0.72rem; }
.menu-legend .veg, .dish .veg { color: #4a7a5a; font-size: 1.05em; }
.menu-legend .vegan, .dish .vegan { color: var(--c-gold); font-size: 0.9em; }

@media (max-width: 600px) {
  .menu-legend { padding: 0.4rem 0; }
  .menu-legend .container { gap: 0.7rem; justify-content: flex-start; padding-left: 0.75rem; padding-right: 0.75rem; }
  .menu-legend .container > span:not(.small) { font-size: 0.8rem; }
  .menu-legend .small { font-size: 0.62rem; }
}

/* ---------- MENU SECTIONS ---------- */
.menu-section { padding: clamp(3rem, 6vw, 5rem) 0; scroll-margin-top: 232px; }
.menu-section.alt { background: var(--c-beige-2); }
.menu-head {
  text-align: center;
  margin-bottom: 3rem;
}
.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 3rem;
  max-width: 1000px;
  margin: 0 auto;
}
.menu-grid.menu-compact { gap: 0.5rem 3rem; }

@media (max-width: 780px) {
  .menu-grid { grid-template-columns: 1fr; gap: 1.25rem 0; }
}

.dish {
  padding: 1.25rem 0;
  border-bottom: 1px dashed rgba(20, 69, 61, 0.18);
}
.menu-grid.menu-compact .dish { padding: 0.75rem 0; }
.dish-head {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.4rem;
}
.dish h3, .dish h4 {
  font-size: 1.2rem;
  margin: 0;
  font-weight: 500;
  color: var(--c-green);
}
.dish h4 { font-size: 1.1rem; }
.dish .small { font-size: 0.75rem; color: var(--c-ink-soft); font-weight: 400; }
.price {
  font-family: var(--f-serif);
  font-size: 1.15rem;
  color: var(--c-gold);
  font-weight: 600;
  white-space: nowrap;
}
.dish p {
  font-size: 0.92rem;
  color: var(--c-ink-soft);
  margin: 0;
  line-height: 1.55;
}
.dish .veg, .dish .vegan { font-size: 0.9em; vertical-align: middle; margin-left: 0.15em; }

/* Dish featured (with image) */
.dish-featured {
  grid-column: span 2;
  border-bottom: 1px dashed rgba(20, 69, 61, 0.18);
  padding: 1.5rem 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 2rem;
  align-items: center;
}
.dish-featured .dish-img {
  aspect-ratio: 4 / 3;
  background-size: cover;
  background-position: center;
  border-radius: var(--radius-lg);
  background-color: var(--c-beige-3);
}
.dish-featured .dish-body { padding: 0; }
@media (max-width: 780px) {
  .dish-featured { grid-column: span 1; grid-template-columns: 1fr; }
  .dish-featured .dish-img { max-height: 180px; width: 100%; }
}

/* Wines */
.wine-list { max-width: 900px; margin: 0 auto; }
.wine-color {
  font-family: var(--f-serif);
  font-size: 1.4rem;
  color: var(--c-green);
  margin: 2rem 0 0.75rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--c-gold);
  font-style: italic;
}
.wine-color:first-child { margin-top: 0; }
.price-pair {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  font-family: var(--f-serif);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--c-gold);
  line-height: 1.4;
  white-space: nowrap;
}
.price-pair span:first-child { color: var(--c-ink-soft); font-weight: 500; }

/* ---------- LEGAL PAGE ---------- */
.legal { background: var(--c-cream); }
.legal-head {
  text-align: center;
  margin-bottom: clamp(2.5rem, 5vw, 4rem);
}
.legal-head .lead {
  color: var(--c-ink-soft);
  font-size: 1rem;
  margin-top: 1rem;
}
.legal-block {
  padding: 1.75rem 0;
  border-bottom: 1px dashed rgba(20, 69, 61, 0.18);
}
.legal-block:last-of-type { border-bottom: 0; }
.legal-block h2 {
  font-family: var(--f-serif);
  font-size: 1.5rem;
  font-weight: 500;
  color: var(--c-green);
  margin: 0 0 0.75rem;
}
.legal-block p {
  color: var(--c-ink-soft);
  font-size: 0.98rem;
  line-height: 1.7;
  margin: 0 0 0.75rem;
}
.legal-block p:last-child { margin-bottom: 0; }
.legal-block a {
  color: var(--c-green);
  border-bottom: 1px solid var(--c-gold);
  transition: color var(--t-fast), border-color var(--t-fast);
}
.legal-block a:hover { color: var(--c-gold); border-color: var(--c-green); }
.legal-small { font-size: 0.85rem; color: var(--c-ink-soft); font-style: italic; }
.legal-placeholder {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  background: var(--c-beige-2);
  color: var(--c-ink-soft);
  border-radius: 4px;
  font-size: 0.9rem;
  font-style: italic;
}
.legal-update {
  margin-top: 2.5rem;
  text-align: center;
  font-size: 0.85rem;
  color: var(--c-ink-soft);
  font-style: italic;
}

/* ---------- ALCOHOL NOTICE ---------- */
.alcohol-notice {
  background: var(--c-beige);
  padding: 2rem 0;
  text-align: center;
  border-top: 1px solid rgba(20, 69, 61, 0.1);
  color: var(--c-ink-soft);
  font-size: 0.9rem;
}
.alcohol-notice p { margin: 0.3rem 0; }

/* ---------- FOOTER ---------- */
.site-footer {
  background: var(--c-green);
  color: var(--c-beige);
  padding: 4rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(247, 240, 228, 0.15);
  align-items: start;
}
.footer-brand .logo-brand { color: var(--c-beige); font-size: 2rem; }
.footer-brand .logo-sub { color: rgba(247, 240, 228, 0.7); }
.footer-brand .arabic-mark { color: var(--c-gold-soft); margin-top: 1rem; }
.footer-nav { display: flex; flex-direction: column; gap: 0.75rem; }
.footer-nav a {
  color: rgba(247, 240, 228, 0.88);
  font-size: 0.95rem;
  transition: color var(--t-fast);
}
.footer-nav a:hover { color: var(--c-gold-soft); }
.footer-contact p { color: rgba(247, 240, 228, 0.88); margin: 0.3rem 0; font-size: 0.92rem; }
.footer-contact a { color: var(--c-gold-soft); }
.footer-contact a:hover { color: var(--c-beige); }
.footer-legal {
  padding-top: 1.5rem;
  font-size: 0.8rem;
  color: rgba(247, 240, 228, 0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-legal p { margin: 0; }

@media (max-width: 780px) {
  .footer-inner { grid-template-columns: 1fr; gap: 2.5rem; text-align: center; }
  .footer-brand, .footer-nav, .footer-contact { display: block; }
  .footer-nav { flex-direction: row; flex-wrap: wrap; justify-content: center; gap: 1.5rem; }
  .footer-legal { flex-direction: column; text-align: center; }
}

/* ---------- LIGHTBOX ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20, 69, 61, 0.94);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 100;
  padding: 2rem;
  animation: fadeIn var(--t-base);
}
.lightbox.is-open { display: flex; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.lightbox img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(247, 240, 228, 0.15);
  color: var(--c-beige);
  font-size: 2rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--t-fast);
}
.lightbox-close:hover { background: rgba(247, 240, 228, 0.3); }

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s ease, transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE TWEAKS ---------- */
@media (max-width: 540px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-content { padding: 4rem var(--pad-x) 6rem; }
}
