/* ==========================================================================
   MAZENCITO PIZZERIA
   Built from the Mazencito brand guide:
   - Colour: black #231F20, red #ED1C24, green #007F3E, on white
   - Type: David Libre (Regular 400, Bold 700) for everything
   - Motif: the red / white / green flag stripe from the logo, and the
     green + red vertical bars used as heading markers in the guide
   - "Classic 3D": hard black offset blocks under cards, and buttons that
     sit on a solid base and press down when clicked
   ========================================================================== */

/* David Libre, self-hosted (SIL Open Font License, see assets/fonts/OFL-LICENSE.txt) */
@font-face{ font-family: 'David Libre'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/david-libre-400.woff2') format('woff2'); }
@font-face{ font-family: 'David Libre'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/david-libre-700.woff2') format('woff2'); }
@font-face{ font-family: 'Cairo'; font-style: normal; font-weight: 400; font-display: swap; src: url('../assets/fonts/cairo-arabic-400.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }
@font-face{ font-family: 'Cairo'; font-style: normal; font-weight: 700; font-display: swap; src: url('../assets/fonts/cairo-arabic-700.woff2') format('woff2'); unicode-range: U+0600-06FF, U+0750-077F, U+08A0-08FF, U+FB50-FDFF, U+FE70-FEFF; }

:root{
  /* Brand colour */
  --ink:        #231F20;   /* logo black (the guide lists it as 000000, the artwork uses 231F20) */
  --red:        #ED1C24;
  --green:      #007F3E;
  --red-deep:   #B3141B;   /* red for small text on white (AA contrast) */
  --green-deep: #005C2D;

  /* Neutrals derived from the black */
  --paper:      #FFFFFF;
  --paper-2:    #F5F4F3;
  --line:       #DAD6D4;
  --ink-2:      #4B4647;   /* secondary text */

  /* Type */
  --f: 'David Libre', Georgia, 'Times New Roman', serif;

  /* Layout */
  --maxw: 1180px;
  --pad: clamp(20px, 5vw, 56px);
  --header-h: 92px;
  --r: 10px;

  /* Classic 3D recipes (defined once, used everywhere) */
  --offset:    6px 6px 0 var(--ink);
  --offset-lg: 10px 10px 0 var(--ink);
  --gloss:     inset 0 3px 0 rgba(255,255,255,.28);
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 72px); }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--f);
  font-size: 18px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img, svg{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
p{ margin: 0 0 1em; }
ul{ margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4{ font-family: var(--f); font-weight: 700; line-height: 1.12; margin: 0 0 .45em; letter-spacing: -.005em; }
h1{ font-size: clamp(2.5rem, 5.4vw, 4.2rem); }
h2{ font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
h3{ font-size: 1.4rem; }
button, input, select, textarea{ font-family: var(--f); font-size: inherit; color: inherit; }
button{ cursor: pointer; }

.wrap{ max-width: var(--maxw); margin: 0 auto; padding-inline: var(--pad); }
.skip{ position: absolute; left: -999px; top: 8px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border: 2px solid var(--ink); font-weight: 700; }
.skip:focus{ left: 8px; }

:focus-visible{ outline: 3px solid var(--green); outline-offset: 3px; border-radius: 4px; }
.band-red :focus-visible, .band-green :focus-visible, .band-ink :focus-visible, .site-footer :focus-visible, .page-head :focus-visible{ outline-color: #fff; }

@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
  *, *::before, *::after{ animation-duration: .001ms !important; transition-duration: .001ms !important; }
}

/* ---------- Eyebrow: tracked capitals, like PIZZERIA in the logo ---------- */
.eyebrow{
  font-size: .8rem; font-weight: 700; letter-spacing: .26em; text-transform: uppercase;
  color: var(--green); margin: 0 0 .7em;
}
.band-red .eyebrow, .band-green .eyebrow, .band-ink .eyebrow, .page-head .eyebrow{ color: #fff; }

/* ---------- Section heading with the guide's green + red bars ---------- */
.sec-head{ position: relative; padding-left: 28px; margin-bottom: 44px; max-width: 720px; }
.sec-head::before{
  content: ""; position: absolute; left: 0; top: .2em; bottom: .35em; width: 14px;
  background: linear-gradient(90deg, var(--green) 0 6px, transparent 6px 8px, var(--red) 8px 14px);
}
.band-red .sec-head::before, .page-head .sec-head::before{
  background: linear-gradient(90deg, var(--green) 0 6px, transparent 6px 8px, #fff 8px 14px);
}
.band-green .sec-head::before, .band-ink .sec-head::before{
  background: linear-gradient(90deg, #fff 0 6px, transparent 6px 8px, var(--red) 8px 14px);
}
.sec-head p{ color: var(--ink-2); font-size: 1.08rem; margin: 0; }
.band-red .sec-head p, .band-green .sec-head p, .band-ink .sec-head p, .page-head .sec-head p{ color: rgba(255,255,255,.92); }

/* ---------- Bands ---------- */
section{ padding: clamp(56px, 8vw, 96px) 0; }
.band-alt{ background: var(--paper-2); }
.band-red{ background: var(--red); color: #fff; }
.band-red h1, .band-red h2, .band-red h3{ color: #fff; }
.band-green{ background: var(--green); color: #fff; }
.band-green h2, .band-green h3{ color: #fff; }
.band-ink{ background: var(--ink); color: #fff; }
.band-ink h2, .band-ink h3{ color: #fff; }

/* ==========================================================================
   FLAG STRIPE: red / white / green, straight from the logo
   ========================================================================== */
.flag{
  height: 30px; border-block: 3px solid #fff;
  background: linear-gradient(to bottom, var(--red) 0 33.34%, #fff 33.34% 66.67%, var(--green) 66.67% 100%);
}

/* ==========================================================================
   HEADER
   ========================================================================== */
.site-header{
  position: sticky; top: 0; z-index: 50;
  background: var(--paper);
  height: var(--header-h);
}
.site-header::after{
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 9px;
  background: linear-gradient(to bottom, var(--red) 0 33.34%, transparent 33.34% 66.67%, var(--green) 66.67% 100%);
}
.nav{ height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-bottom: 9px; }
.brand{ display: block; width: 92px; flex-shrink: 0; }   /* guide minimum is 90px */
.brand img{ width: 100%; height: auto; }
.nav-links{ display: flex; align-items: center; gap: clamp(16px, 2.6vw, 34px); }
.nav-links a:not(.btn){
  font-size: .82rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 8px 0; position: relative; color: var(--ink); white-space: nowrap;
}
.nav-links a:not(.btn)::after{
  content: ""; position: absolute; left: 0; right: 100%; bottom: 2px; height: 3px; background: var(--red);
  transition: right .2s ease;
}
.nav-links a:not(.btn):hover::after, .nav-links a[aria-current="page"]::after{ right: 0; }

.lang-switch{
  border: 2px solid var(--ink); border-radius: 999px; padding: 6px 14px !important;
  font-family: "Cairo", "David Libre", serif; letter-spacing: 0 !important; text-transform: none !important;
}
.lang-switch::after{ display: none; }

.nav-toggle{
  display: none; width: 46px; height: 42px; align-items: center; justify-content: center;
  background: var(--paper); border: 2px solid var(--ink); border-radius: 8px;
  box-shadow: 0 3px 0 var(--ink); position: relative; top: 0;
  transition: top .1s ease, box-shadow .1s ease;
}
.nav-toggle:active{ top: 2px; box-shadow: 0 1px 0 var(--ink); }
.nav-toggle svg{ width: 22px; height: 22px; }

@media (min-width: 881px) and (max-width: 1150px){
  .nav-links{ gap: clamp(10px, 1.5vw, 20px); }
  .nav-links a:not(.btn){ font-size: .72rem; letter-spacing: .07em; }
}

@media (max-width: 880px){
  :root{ --header-h: 84px; }
  .nav-toggle{ display: flex; }
  .nav-links{
    position: absolute; top: 100%; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); padding: 8px var(--pad) 22px; border-bottom: 2px solid var(--ink);
    max-height: 0; overflow: hidden; padding-block: 0; visibility: hidden;
    transition: max-height .3s ease, padding .3s ease, visibility 0s .3s;
  }
  .nav-links.open{ max-height: 460px; padding-block: 8px 22px; visibility: visible; transition: max-height .3s ease, padding .3s ease; }
  .nav-links a:not(.btn){ padding: 14px 0; border-bottom: 1px solid var(--line); }
  .nav-links .btn{ margin-top: 16px; }
}

/* ==========================================================================
   BUTTONS: sit on a solid base, lift on hover, press flat on click
   ========================================================================== */
.btn{
  display: inline-flex; align-items: center; justify-content: center; gap: .5em; white-space: nowrap;
  padding: .78em 1.5em; font-size: 1.17rem; font-weight: 700; line-height: 1; letter-spacing: .01em;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: var(--gloss), 0 5px 0 var(--ink);
  position: relative; text-align: center;
  transition: transform .12s ease, box-shadow .12s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-3px); box-shadow: var(--gloss), 0 8px 0 var(--ink); }
.btn:active{ transform: translateY(4px); box-shadow: var(--gloss), 0 1px 0 var(--ink); }
.btn-red{ background: var(--red); color: #fff; }
.btn-green{ background: var(--green); color: #fff; }
.btn-white{ background: #fff; color: var(--ink); }
.btn-sm{ font-size: 1rem; padding: .66em 1.15em; }
.btn-wide{ width: 100%; }
.btn[disabled]{ opacity: .5; cursor: not-allowed; }

/* ==========================================================================
   CARDS + 3D TILT
   .tilt is the perspective wrapper, .tilt-card is what rotates toward the cursor
   ========================================================================== */
.card{
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--r);
  box-shadow: var(--offset); overflow: hidden;
}
.tilt{ perspective: 900px; }
.tilt-card{
  transform-style: preserve-3d; will-change: transform;
  transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .2s ease;
}
.tilt:hover .tilt-card, .tilt:focus-within .tilt-card{ box-shadow: var(--offset-lg); transition: transform .12s ease-out, box-shadow .2s ease; }

/* scroll reveal: cards rise like a pie coming off the counter */
[data-reveal]{
  opacity: 0; transform: translateY(24px) rotateX(8deg); transform-origin: bottom center;
  transition: opacity .6s ease, transform .6s cubic-bezier(.22,1,.36,1);
}
[data-reveal].in-view{ opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce){ [data-reveal]{ opacity: 1; transform: none; } }

/* Photo slot. Shows the brand's pizza icon until a real photo replaces it. */
.ph{
  aspect-ratio: 4 / 3; display: grid; place-items: center; overflow: hidden;
  background: var(--paper-2); border-bottom: 2px solid var(--ink);
}
.ph img{ width: 46%; height: auto; }
.ph--red{ background: var(--red); }
.ph--green{ background: var(--green); }
.ph--ink{ background: var(--ink); }
.ph--tall{ aspect-ratio: 4 / 5; }
.ph--fill{ aspect-ratio: auto; height: 100%; min-height: 320px; border-bottom: 0; }
/* Real photo fills the frame instead of showing the small brand icon. */
.ph-real{ background: var(--paper-2); }
.ph-real img{ width: 100%; height: 100%; object-fit: cover; }

/* ==========================================================================
   GALLERY (Our Place)
   ========================================================================== */
.gallery-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 22px; }
.gallery-grid--home{ grid-template-columns: repeat(4, 1fr); }
@media (max-width: 760px){ .gallery-grid--home{ grid-template-columns: repeat(2, 1fr); } }
.gallery-tile{
  aspect-ratio: 4 / 5; border: 2px solid var(--ink); border-radius: var(--r);
  overflow: hidden; box-shadow: var(--offset); background: var(--paper-2);
}
.gallery-tile img{ width: 100%; height: 100%; object-fit: cover; display: block; }
.kcal{ opacity: .7; font-size: .88em; }

/* Original menu pages: bigger labeled cards that pop a lightbox viewer */
.menu-pages-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr)); gap: 30px; }
.menu-page-card{ display: flex; flex-direction: column; text-align: left; cursor: zoom-in; }
.menu-page-thumb{
  position: relative; aspect-ratio: 3 / 4; display: flex; align-items: center; justify-content: center;
  background: var(--paper-2); border-bottom: 2px solid var(--ink); overflow: hidden; padding: 14px;
}
.menu-page-thumb img{ max-width: 100%; max-height: 100%; width: auto; height: auto; object-fit: contain; box-shadow: 0 2px 10px rgba(0,0,0,.12); transition: transform .35s cubic-bezier(.22,1,.36,1); }
.menu-page-card:hover .menu-page-thumb img, .menu-page-card:focus-visible .menu-page-thumb img{ transform: scale(1.04); }
.zoom-badge{
  position: absolute; right: 12px; bottom: 12px; width: 38px; height: 38px; border-radius: 50%;
  background: #fff; border: 2px solid var(--ink); display: flex; align-items: center; justify-content: center;
  font-size: 1rem; box-shadow: 0 2px 0 var(--ink); opacity: 0; transform: translateY(6px);
  transition: opacity .2s ease, transform .2s ease;
}
.menu-page-card:hover .zoom-badge, .menu-page-card:focus-visible .zoom-badge{ opacity: 1; transform: none; }
.menu-page-label{
  padding: 14px 18px; font-weight: 700; font-size: .95rem; display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--ink);
}
.zoom-hint{ font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--red-deep); opacity: 0; transform: translateX(-4px); transition: opacity .2s ease, transform .2s ease; white-space: nowrap; }
.menu-page-card:hover .zoom-hint, .menu-page-card:focus-visible .zoom-hint{ opacity: 1; transform: none; }

/* ==========================================================================
   HERO (home): the cover of the brand guide, as a web page
   Badge in the middle, flag stripes running off both edges of the screen.
   ========================================================================== */
.hero{ position: relative; overflow: hidden; padding: clamp(44px, 6vw, 72px) 0 clamp(52px, 7vw, 84px); text-align: center; }
.hero-badge{
  --D: clamp(250px, min(32vw, 40vh), 390px);
  position: relative; width: var(--D); height: var(--D); margin: 0 auto clamp(30px, 4vw, 44px);
}
.hero-badge .disc{
  position: absolute; inset: 0; border-radius: 50%; background: #fff;
  box-shadow: inset 0 0 0 calc(var(--D) * .028) #fff, inset 0 0 0 calc(var(--D) * .046) var(--ink), 10px 12px 0 rgba(35,31,32,.9);
}
.hero-badge .logo{ position: absolute; left: 14%; width: 72%; top: 50%; transform: translateY(-50%); height: auto; }
.hero-badge .flag-l, .hero-badge .flag-r{
  position: absolute; height: calc(var(--D) * .0432); top: calc(var(--D) * .583);
  transform: translateY(-50%); box-sizing: content-box;
  border-block: 3px solid #fff;
  background: linear-gradient(to bottom, var(--red) 0 33.34%, #fff 33.34% 66.67%, var(--green) 66.67% 100%);
}
.hero-badge .flag-l{ right: calc(var(--D) * .7654); width: 100vw; }   /* ends where the logo's own flag ends */
.hero-badge .flag-r{ left: calc(var(--D) * .7573); width: 100vw; }
.hero h1{ font-size: clamp(2.2rem, 4.6vw, 3.4rem); max-width: 21ch; margin-inline: auto; }
.hero p.lead{ font-size: 1.25rem; max-width: 36em; margin: 0 auto 1.6em; color: rgba(255,255,255,.95); }
.hero-cta{ display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ==========================================================================
   PAGE HEAD (inner pages): red band, white headline, flag stripe along the bottom
   ========================================================================== */
.page-head{ background: var(--red); color: #fff; padding: clamp(44px, 6vw, 72px) 0 0; }
.page-head h1{ color: #fff; margin-bottom: .3em; }
.page-head .sec-head{ margin-bottom: clamp(36px, 5vw, 56px); max-width: 760px; }
.page-head .flag{ margin: 0; }

/* ==========================================================================
   HOME: three pillars, about, facts
   ========================================================================== */
.pillars{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 36px; }
.pillar{ display: block; height: 100%; }
.pillar .body{ padding: 22px 24px 26px; }
.pillar h3{ margin-bottom: .25em; }
.pillar p{ color: var(--ink-2); margin: 0 0 .9em; }
.more{ font-weight: 700; color: var(--red-deep); letter-spacing: .02em; }
.more::after{ content: " \2192"; }

/* ==========================================================================
   GUEST REVIEWS: star rating badge + quoted-review cards
   ========================================================================== */
.review-head{ display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.review-score{ display: flex; align-items: center; gap: 16px; }
.review-score .num{ font-family: var(--f); font-weight: 700; font-size: 2.6rem; line-height: 1; color: var(--ink); }
.review-score .stars{ color: #F2A33C; font-size: 1.3rem; letter-spacing: .08em; line-height: 1.1; }
.review-score .count{ color: var(--ink-2); font-size: .95rem; margin: .15em 0 0; }
.review-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 28px; }
.review-card{ padding: 24px 24px 22px; display: flex; flex-direction: column; gap: 14px; }
.review-card .stars{ color: #F2A33C; font-size: 1rem; letter-spacing: .08em; }
.review-card p{ margin: 0; color: var(--ink); font-size: .98rem; line-height: 1.55; }
.review-card .src{ margin-top: auto; color: var(--ink-2); font-size: .85rem; font-weight: 700; letter-spacing: .02em; }

.split{ display: grid; grid-template-columns: .95fr 1.05fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 820px){ .split{ grid-template-columns: 1fr; } }
.facts{ margin: 28px 0 0; display: grid; gap: 0; }
.facts div{ display: grid; grid-template-columns: 9.5em 1fr; gap: 12px; padding: 14px 0; border-top: 2px solid var(--ink); }
.facts div:last-child{ border-bottom: 2px solid var(--ink); }
.facts dt{ font-size: .8rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--green); padding-top: .25em; }
.facts dd{ margin: 0; }
.facts a{ border-bottom: 2px solid var(--red); }

.cta-band{ text-align: center; }
.cta-band h2{ margin-bottom: .3em; }
.cta-band p{ font-size: 1.15rem; margin-bottom: 1.6em; }
.cta-band .actions{ display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.btn-outline-white{ background: transparent; color: #fff; border-color: #fff; box-shadow: 0 5px 0 #fff; }
.btn-outline-white:hover{ box-shadow: 0 8px 0 #fff; }
.btn-outline-white:active{ box-shadow: 0 1px 0 #fff; }
.text-link{ display: inline-block; margin-top: 26px; color: #fff; font-weight: 700; border-bottom: 2px solid #fff; }

/* ==========================================================================
   TAGS + PRICE
   ========================================================================== */
.tag{
  display: inline-flex; align-items: center; font-size: .72rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  padding: 3px 10px; border: 2px solid var(--ink-2); border-radius: 999px; color: var(--ink-2); background: var(--paper);
}
.tag.veg{ border-color: var(--green); color: var(--green); }
.tag.spicy{ border-color: var(--red-deep); color: var(--red-deep); }
.price{ font-weight: 700; color: var(--ink); white-space: nowrap; }
.price small{ font-size: .72em; letter-spacing: .08em; margin-left: .2em; color: var(--ink-2); }


/* ==========================================================================
   MENU
   ========================================================================== */
.menu-jump{
  position: sticky; top: var(--header-h); z-index: 40; background: var(--paper);
  border-bottom: 2px solid var(--ink); overflow-x: auto;
}
.menu-jump ul{ display: flex; gap: 10px; padding: 12px var(--pad); max-width: var(--maxw); margin: 0 auto; }
.menu-jump a{
  display: block; white-space: nowrap; font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
  padding: 9px 16px; border: 2px solid var(--ink); border-radius: 999px; background: var(--paper);
}
.menu-jump a:hover{ background: var(--ink); color: #fff; }

.draft-note{
  display: inline-block; margin-top: 18px; padding: 10px 14px; font-size: .9rem; color: var(--ink);
  background: var(--paper); border: 2px dashed var(--ink); border-radius: 8px;
}

.menu-section{ padding-block: clamp(40px, 6vw, 64px); }
.menu-section + .menu-section{ border-top: 2px solid var(--line); }
.item-row{ display: flex; align-items: center; gap: 12px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.item-row:last-child{ border-bottom: 0; }
.item-main{ flex: 0 1 auto; min-width: 0; }
.item-name{ font-size: 1.2rem; font-weight: 700; margin: 0 0 2px; line-height: 1.25; }
.item-desc{ color: var(--ink-2); font-size: .98rem; line-height: 1.5; margin: 0 0 6px; max-width: 52ch; }
.item-tags{ display: flex; gap: 6px; flex-wrap: wrap; }
.dots{ flex: 1 1 auto; min-width: 20px; align-self: flex-end; margin-bottom: 10px; border-bottom: 3px dotted var(--ink-2); opacity: .55; }
.item-row .price{ font-size: 1.2rem; }
@media (max-width: 600px){
  .item-row{ flex-wrap: wrap; }
  .item-main{ flex-basis: 100%; }
  .dots{ display: none; }
  .item-row .price{ margin-right: auto; }
}


/* ==========================================================================
   DISHES
   ========================================================================== */
.dish-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr)); gap: 40px; }
.dish .body{ padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.dish-top{ display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.dish-top h3{ margin: 0; font-size: 1.5rem; }
.dish p{ color: var(--ink-2); margin: 0; }

/* ==========================================================================
   ORDER
   ========================================================================== */
.steps{ display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 28px; }
.step{ padding: 22px 24px; display: flex; gap: 16px; align-items: flex-start; }
.num-tab{ flex-shrink: 0; width: 44px; height: 44px; display: grid; place-items: center; background: var(--green); color: #fff; font-weight: 700; font-size: 1.3rem; }
.step h3{ font-size: 1.15rem; margin: 0 0 4px; }
.step p{ margin: 0; color: var(--ink-2); font-size: .98rem; line-height: 1.5; }
.step a{ border-bottom: 2px solid var(--red); }


.note{ font-size: .9rem; color: var(--ink-2); margin: 16px 0 0; }


/* ==========================================================================
   FORMS: recessed, the counterpart to the raised buttons
   ========================================================================== */
.field{ margin-bottom: 18px; }
.field label{ display: block; font-size: .8rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; margin-bottom: 6px; }
.field input, .field textarea, .field select{
  width: 100%; padding: 12px 14px; background: var(--paper); border: 2px solid var(--ink); border-radius: 8px;
  box-shadow: inset 0 3px 0 rgba(35,31,32,.12);
}
.field textarea{ resize: vertical; min-height: 84px; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible{ border-color: var(--green); outline-offset: 1px; }

/* ==========================================================================
   CONTACT
   ========================================================================== */
.contact-grid{ display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: start; }
@media (max-width: 900px){ .contact-grid{ grid-template-columns: 1fr; } }
.info-list{ padding: 8px 28px; margin-bottom: 28px; }
.info-row{ display: flex; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.info-row:last-child{ border-bottom: 0; }
.info-row svg{ flex-shrink: 0; width: 24px; height: 24px; margin-top: 4px; color: var(--green); }
.info-row strong{ display: block; font-size: .8rem; letter-spacing: .2em; text-transform: uppercase; color: var(--green); margin-bottom: 2px; }
.info-row p{ margin: 0; }
.info-row a{ border-bottom: 2px solid var(--red); }
.map-frame{ aspect-ratio: 4 / 3; border: 2px solid var(--ink); border-radius: var(--r); box-shadow: var(--offset); overflow: hidden; background: var(--paper-2); }
.map-frame iframe{ width: 100%; height: 100%; border: 0; }
.form-narrow{ max-width: 680px; }

/* ==========================================================================
   FOOTER: inverted logo on black, as in the guide
   ========================================================================== */
.site-footer{ background: var(--ink); color: #fff; padding: 0 0 36px; }
.site-footer .flag{ margin-bottom: 52px; border-color: var(--ink); }
.footer-grid{ display: grid; grid-template-columns: 1.2fr 1fr 1fr 1fr; gap: 40px; }
@media (max-width: 860px){ .footer-grid{ grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px){ .footer-grid{ grid-template-columns: 1fr; } }
.footer-logo{ width: 170px; margin-bottom: 14px; }
.site-footer h4{ font-size: .8rem; letter-spacing: .24em; text-transform: uppercase; color: #fff; margin-bottom: 1em; }
.site-footer p, .site-footer a{ color: rgba(255,255,255,.82); font-size: .98rem; }
.site-footer nav a, .site-footer .contact a{ display: block; padding: 5px 0; }
.site-footer a:hover{ color: #fff; text-decoration: underline; text-decoration-color: var(--red); text-decoration-thickness: 2px; text-underline-offset: 4px; }
.footer-bottom{ margin-top: 44px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.2); font-size: .88rem; color: rgba(255,255,255,.7); }

/* Draft note inside red page heads: keep ink text on white */
.page-head .sec-head p.draft-note{color:var(--ink)}


/* Menu thumbnails (photo or video slot) */
.thumb{ flex: 0 0 92px; width: 92px; aspect-ratio: 1; border: 2px solid var(--ink); border-radius: 10px; box-shadow: 4px 4px 0 var(--ink); }
.thumb img{ width: 52%; }
.thumb img.photo, .thumb video, .thumb.ph-real img{ width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 600px){
  .item-row{ flex-wrap: nowrap; align-items: flex-start; }
  .item-main{ flex: 1 1 auto; }
  .thumb{ flex-basis: 76px; width: 76px; }
  .item-row .price{ margin: 0; align-self: flex-start; }
}

/* Video tiles */
.video-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 36px; }
.video-card{ margin: 0; overflow: hidden; }
.video-card video, .video-card .ph{ aspect-ratio: 16 / 10; width: 100%; height: 100%; object-fit: cover; display: block; background: var(--ink); }
.video-card--portrait video{ aspect-ratio: 9 / 16; }
.video-card figcaption{ padding: 16px 20px 20px; font-weight: 700; font-size: 1.1rem; }
.ph--video{ position: relative; }
.ph--video .play{ position: absolute; width: 64px; height: 64px; border-radius: 50%; background: #fff; border: 2px solid var(--ink); box-shadow: 0 4px 0 var(--ink); }
.ph--video .play::after{ content: ""; position: absolute; left: 25px; top: 18px; border-left: 20px solid var(--ink); border-top: 12px solid transparent; border-bottom: 12px solid transparent; }
.ph--video img{ width: 30%; opacity: .35; }

/* Delivery app cards */
.app-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); gap: 36px; }
.app-card{ display: flex; flex-direction: column; align-items: center; gap: 14px; padding: 30px 20px 26px; text-align: center; }
.app-card img{ width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 3px solid var(--ink); background: #fff; }
.app-card h3{ margin: 0; font-size: 1.3rem; }

/* Direct ways to order */
.way-grid{ display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 32px; }
.way{ padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.way .num-tab svg{ width: 24px; height: 24px; }
.way h3{ margin: 8px 0 0; font-size: 1.3rem; }
.way p{ margin: 0; color: var(--ink-2); }
.way .actions{ display: flex; gap: 10px; flex-wrap: wrap; margin-top: auto; padding-top: 12px; }

/* Delivery / takeaway toggle */
.seg{ display: flex; gap: 12px; margin-bottom: 22px; }
.seg button{
  flex: 1; padding: 12px; font-weight: 700; font-size: 1rem; background: var(--paper); border: 2px solid var(--ink); border-radius: 8px;
  position: relative; top: 0; box-shadow: 0 3px 0 var(--ink); transition: top .1s ease, box-shadow .1s ease;
}
.seg button.active{ background: var(--red); color: #fff; box-shadow: var(--gloss), 0 3px 0 var(--ink); }
.seg button:active{ top: 3px; box-shadow: 0 0 0 var(--ink); }

.panel{ padding: 28px; }
.panel h2{ font-size: 1.6rem; margin-bottom: .6em; }
.way-grid{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 215px), 1fr)); }

/* ==========================================================================
   LIGHTBOX: full-size image viewer for gallery-tile--page (and similar) links
   ========================================================================== */
.lightbox{
  position: fixed; inset: 0; z-index: 90; display: flex; align-items: center; justify-content: center;
  padding: 56px 20px; background: rgba(20, 17, 16, .92);
  opacity: 0; visibility: hidden; transition: opacity .25s ease, visibility 0s .25s;
}
.lightbox.open{ opacity: 1; visibility: visible; transition: opacity .25s ease; }
.lightbox-figure{ max-width: min(94vw, 900px); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.lightbox-img{
  max-width: 100%; max-height: 78vh; width: auto; height: auto; object-fit: contain;
  background: var(--paper); border: 3px solid #fff; box-shadow: 0 20px 50px rgba(0,0,0,.5);
}
.lightbox-caption{ color: #fff; text-align: center; font-size: .95rem; max-width: 70ch; }
.lightbox-counter{ color: rgba(255,255,255,.6); font-size: .8rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; }
.lightbox-close{
  position: absolute; top: 18px; right: 18px; width: 46px; height: 46px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 2px solid var(--ink); font-size: 1.4rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--ink);
}
.lightbox-close:active{ box-shadow: none; transform: translateY(3px); }
.lightbox-prev, .lightbox-next{
  position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; border-radius: 50%;
  background: #fff; color: var(--ink); border: 2px solid var(--ink); font-size: 1.3rem; line-height: 1;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 3px 0 var(--ink);
}
.lightbox-prev:active, .lightbox-next:active{ box-shadow: none; transform: translateY(calc(-50% + 3px)); }
.lightbox-prev{ left: 18px; }
.lightbox-next{ right: 18px; }
@media (max-width: 640px){
  .lightbox{ padding: 70px 14px 24px; }
  .lightbox-prev, .lightbox-next{ width: 42px; height: 42px; top: auto; bottom: -58px; transform: none; }
  .lightbox-prev{ left: calc(50% - 54px); }
  .lightbox-next{ right: calc(50% - 54px); }
  .lightbox-close{ top: 10px; right: 10px; }
}
/* ==========================================================================
   RTL (Arabic pages: <html lang="ar" dir="rtl">)
   ========================================================================== */
html[dir="rtl"] body{ font-family: "Cairo", "David Libre", "Tahoma", sans-serif; }
html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3, html[dir="rtl"] .eyebrow{ font-family: "Cairo", "David Libre", "Tahoma", sans-serif; }
html[dir="rtl"] .sec-head{ padding-left: 0; padding-right: 28px; }
html[dir="rtl"] .sec-head::before{ left: auto; right: 0; }
html[dir="rtl"] .nav-links a:not(.btn)::after{ left: 100%; right: 0; }
html[dir="rtl"] .nav-links a:not(.btn):hover::after, html[dir="rtl"] .nav-links a[aria-current="page"]::after{ left: 0; }
html[dir="rtl"] .lang-switch::after{ display: none; }
html[dir="rtl"] .price small{ margin-left: 0; margin-right: .2em; }
html[dir="rtl"] .skip{ left: auto; right: -999px; }
html[dir="rtl"] .skip:focus{ right: 8px; }
@media (max-width: 600px){
  html[dir="rtl"] .item-row .price{ margin-right: 0; margin-left: auto; }
}
html[dir="rtl"] .footer-logo, html[dir="rtl"] .brand img{ direction: ltr; }
html[dir="rtl"] .menu-page-card{ text-align: right; }
html[dir="rtl"] .zoom-badge{ right: auto; left: 12px; }
html[dir="rtl"] .zoom-hint{ transform: translateX(4px); }
html[dir="rtl"] .menu-page-card:hover .zoom-hint, html[dir="rtl"] .menu-page-card:focus-visible .zoom-hint{ transform: none; }
html[dir="rtl"] .lightbox-prev{ left: auto; right: 18px; }
html[dir="rtl"] .lightbox-next{ right: auto; left: 18px; }
html[dir="rtl"] .lightbox-close{ right: auto; left: 18px; }
@media (max-width: 640px){
  html[dir="rtl"] .lightbox-close{ left: 10px; }
}

/* reservation / way cards: breathing room between wrapped buttons */
.way .actions, #reservations .actions{ display: flex; flex-wrap: wrap; gap: 14px; }
