:root {
  --cream: #f8f0d8;
  --cream-2: #fff9e8;
  --red: #c81d25;
  --red-dark: #9f151b;
  --ink: #442320;
  --muted: #7e5a52;
  --line: rgba(200, 29, 37, 0.22);
  --paper-shadow: 0 18px 55px rgba(81, 35, 28, 0.12);
  --radius-lg: 30px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Estedad", "Vazirmatn", "IRANSansX", Tahoma, Arial, sans-serif;
  line-height: 1.8;
  min-height: 100vh;
}
button, input, dialog { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
a { color: inherit; text-decoration: none; }
svg { display: block; }

.paper-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 30;
  opacity: .18;
  mix-blend-mode: multiply;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(91, 50, 39, .18) 0 0.55px, transparent .8px),
    radial-gradient(circle at 70% 65%, rgba(91, 50, 39, .12) 0 0.65px, transparent .9px);
  background-size: 11px 13px, 17px 19px;
}

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 240, 216, .89);
  border-bottom: 1px solid rgba(200, 29, 37, .12);
  backdrop-filter: blur(14px);
}
.header-row { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: var(--red); }
.brand-mark { width: 48px; height: 48px; flex: 0 0 auto; }
.brand-mark svg { width: 100%; height: 100%; }
.brand-copy { display: flex; flex-direction: column; line-height: 1; }
.brand-copy strong { font-size: 1.55rem; letter-spacing: -.04em; }
.brand-copy small { font-weight: 800; letter-spacing: .2em; margin-top: 7px; font-size: .68rem; }
.header-note { display: inline-flex; align-items: center; gap: 9px; color: var(--muted); font-size: .92rem; }
.header-note-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 5px rgba(200, 29, 37, .12); }
.menu-toggle { display: none; border: 0; background: transparent; width: 44px; height: 44px; padding: 9px; cursor: pointer; }
.menu-toggle span:not(.sr-only) { height: 2px; display: block; background: var(--red); margin: 6px 0; border-radius: 9px; transition: .25s ease; }
.mobile-panel { padding: 10px 20px 20px; border-top: 1px solid var(--line); }
.mobile-panel a { display: block; padding: 10px 0; color: var(--muted); }

.hero {
  min-height: 680px;
  display: grid;
  grid-template-columns: 1fr 1.08fr;
  align-items: center;
  gap: 50px;
  padding-block: 70px 90px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--red);
  font-weight: 900;
  font-size: .86rem;
  letter-spacing: .02em;
}
.eyebrow::before { content: ""; width: 30px; height: 2px; background: currentColor; border-radius: 5px; }
.hero h1 { font-size: clamp(3.15rem, 7vw, 6rem); line-height: 1.02; margin: 18px 0 20px; letter-spacing: -.065em; }
.hero h1 span { color: var(--red); position: relative; }
.hero h1 span::after { content: ""; position: absolute; right: 0; left: 0; bottom: -12px; height: 10px; border-top: 3px solid var(--red); border-radius: 50%; transform: rotate(-2deg); }
.hero-copy { display: flex; flex-direction: column; justify-content: center; }
.hero-copy .eyebrow { margin-bottom: 4px; }
.hero-lead {
  max-width: 590px;
  margin: 16px 0 0;
  color: var(--ink);
  font-size: clamp(.92rem, 1.2vw, 1.08rem);
  font-weight: 800;
  line-height: 1.65;
}
.hero-tagline {
  width: fit-content;
  margin: 12px 0 0;
  padding: 8px 16px;
  color: var(--red-dark);
  background: rgba(200, 29, 37, .08);
  border-right: 4px solid var(--red);
  border-radius: 10px 0 0 10px;
  font-weight: 700;
}

.hero-art {
  position: relative;
  min-height: 520px;
  display: grid;
  place-items: center;
  color: var(--red);
  background:
    radial-gradient(circle at 50% 48%, rgba(255,255,255,.55), rgba(255,255,255,0) 68%),
    repeating-radial-gradient(circle at 50% 50%, transparent 0 42px, rgba(200,29,37,.045) 43px 44px);
  border: 1px solid rgba(200, 29, 37, .16);
  border-radius: 50% 46% 52% 48% / 47% 55% 45% 53%;
  box-shadow: inset 0 0 0 14px rgba(255,255,255,.25), var(--paper-shadow);
  transform: rotate(-1deg);
}
.pizza-line { width: min(92%, 540px); filter: drop-shadow(0 10px 0 rgba(200,29,37,.04)); }
.stamp {
  position: absolute;
  top: 24px;
  left: 34px;
  width: 105px;
  height: 105px;
  display: grid;
  place-items: center;
  text-align: center;
  line-height: 1.2;
  border: 3px double currentColor;
  border-radius: 50%;
  font-weight: 900;
  transform: rotate(-12deg);
  background: rgba(248,240,216,.85);
}
.scribble { position: absolute; font-weight: 900; font-size: .8rem; border: 2px solid currentColor; padding: 3px 10px; border-radius: 50%; opacity: .75; }
.scribble-1 { right: 24px; top: 105px; transform: rotate(13deg); }
.scribble-2 { left: 60px; bottom: 70px; transform: rotate(-8deg); }

.menu-section { padding: 85px 0 110px; background: var(--cream-2); border-top: 1px solid rgba(200,29,37,.12); }
.section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; }
.section-heading h2, .about-strip h2 { margin: 8px 0 0; font-size: clamp(2.25rem, 5vw, 4.3rem); line-height: 1.1; letter-spacing: -.055em; }
.search-box { width: min(430px, 100%); min-height: 54px; border: 1.5px solid var(--line); border-radius: 999px; display: flex; align-items: center; gap: 10px; padding: 0 18px; background: rgba(255,255,255,.55); transition: .2s ease; }
.search-box:focus-within { border-color: var(--red); box-shadow: 0 0 0 4px rgba(200,29,37,.08); }
.search-box svg { width: 21px; height: 21px; fill: none; stroke: var(--red); stroke-width: 2; flex: 0 0 auto; }
.search-box input { width: 100%; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--ink); }
.search-box input::placeholder { color: #a7867e; }
.clear-search { border: 0; background: transparent; color: var(--red); font-size: 1.4rem; line-height: 1; cursor: pointer; }

.category-nav { position: sticky; top: 78px; z-index: 10; display: flex; gap: 9px; overflow-x: auto; scrollbar-width: none; padding: 28px 0 14px; background: linear-gradient(var(--cream-2) 82%, rgba(255,249,232,0)); }
.category-nav::-webkit-scrollbar { display: none; }
.category-chip { flex: 0 0 auto; border: 1.4px solid var(--line); color: var(--red-dark); background: transparent; border-radius: 999px; min-height: 42px; padding: 8px 17px; cursor: pointer; font-weight: 800; transition: .2s ease; }
.category-chip:hover { border-color: var(--red); transform: translateY(-1px); }
.category-chip.is-active { color: #fff; background: var(--red); border-color: var(--red); box-shadow: 0 7px 16px rgba(200,29,37,.16); }

.menu-toolbar { min-height: 58px; display: flex; justify-content: space-between; align-items: center; gap: 20px; }
.menu-toolbar p { margin: 0; color: var(--muted); font-size: .92rem; }
.view-toggle { width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--red); display: grid; place-items: center; cursor: pointer; }
.view-toggle svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.view-toggle .list-icon { display: none; }
.view-toggle.is-list .grid-icon { display: none; }
.view-toggle.is-list .list-icon { display: block; }

.menu-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.menu-card {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border: 1px solid rgba(200,29,37,.16);
  border-radius: var(--radius-md);
  background: rgba(248,240,216,.58);
  padding: 24px;
  cursor: pointer;
  box-shadow: 0 8px 25px rgba(86, 45, 37, .06);
  transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
  animation: cardIn .45s ease both;
}
.menu-card::after { content: ""; position: absolute; width: 140px; height: 140px; left: -47px; bottom: -66px; border: 1px solid var(--line); border-radius: 50%; box-shadow: 0 0 0 13px rgba(200,29,37,.025), 0 0 0 27px rgba(200,29,37,.018); }
.menu-card:hover { transform: translateY(-5px) rotate(-.25deg); border-color: rgba(200,29,37,.5); box-shadow: 0 16px 32px rgba(86,45,37,.11); }
.card-top { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.card-category { color: var(--red); font-weight: 900; font-size: .76rem; padding: 4px 10px; background: rgba(200,29,37,.08); border-radius: 999px; }
.card-icon { width: 50px; height: 50px; display: grid; place-items: center; color: var(--red); flex: 0 0 auto; }
.card-icon svg { width: 46px; height: 46px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.menu-card h3 { position: relative; z-index: 1; font-size: 1.35rem; margin: 18px 0 7px; letter-spacing: -.035em; }
.menu-card p { position: relative; z-index: 1; margin: 0; color: var(--muted); font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.card-open { position: absolute; z-index: 2; left: 18px; top: 18px; width: 30px; height: 30px; display: grid; place-items: center; color: var(--red); opacity: 0; transform: translate(-5px,5px); transition: .2s ease; }
.menu-card:hover .card-open { opacity: 1; transform: none; }
.card-open svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 2; }

.menu-grid.is-list { grid-template-columns: 1fr; }
.menu-grid.is-list .menu-card { min-height: 140px; display: grid; grid-template-columns: 70px 1fr; gap: 20px; align-items: center; }
.menu-grid.is-list .card-top { grid-row: 1 / 3; align-self: stretch; flex-direction: column-reverse; justify-content: center; border-left: 1px dashed var(--line); padding-left: 18px; }
.menu-grid.is-list .menu-card h3 { margin: 0 0 4px; }
.menu-grid.is-list .menu-card p { -webkit-line-clamp: 2; }
.menu-grid.is-list .card-open { opacity: 1; transform: none; }

.empty-state { text-align: center; padding: 75px 20px; border: 1px dashed var(--line); border-radius: var(--radius-md); }
.empty-state span { font-size: 4rem; color: var(--red); line-height: 1; }
.empty-state h3 { margin: 10px 0 0; font-size: 1.5rem; }
.empty-state p { margin: 5px 0 0; color: var(--muted); }

.about-strip {
  position: relative;
  overflow: hidden;
  background: var(--red);
  color: #fff7e3;
  padding: 86px 0;
}
.about-strip::before {
  content: "LUMAR";
  position: absolute;
  left: -35px;
  bottom: -84px;
  color: rgba(255,255,255,.055);
  font-size: clamp(8rem, 20vw, 18rem);
  font-weight: 950;
  letter-spacing: -.08em;
  line-height: 1;
  direction: ltr;
  pointer-events: none;
}
.about-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 64px;
  align-items: start;
}
.eyebrow.light { color: #fff7e3; opacity: .82; }
.about-copy h2 {
  max-width: 580px;
  margin: 14px 0 18px;
  font-size: clamp(1.6rem, 3.25vw, 2.75rem);
  line-height: 1.42;
  letter-spacing: -.035em;
}
.about-copy p {
  margin: 0;
  color: rgba(255,247,227,.82);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  font-weight: 600;
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.contact-card {
  min-height: 112px;
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  color: #fff7e3;
  background: rgba(255,249,232,.095);
  border: 1px solid rgba(255,249,232,.22);
  border-radius: 20px;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}
a.contact-card:hover,
a.contact-card:focus-visible {
  transform: translateY(-3px);
  background: rgba(255,249,232,.16);
  border-color: rgba(255,249,232,.42);
  outline: none;
}
.contact-card-wide { grid-column: 1 / -1; }
.contact-icon {
  width: 46px;
  height: 46px;
  flex: 0 0 46px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: #fff7e3;
  border-radius: 15px;
}
.contact-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.contact-icon .social-dot { fill: currentColor; stroke: none; }
.contact-card > span:last-child { min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.contact-card small { color: rgba(255,247,227,.62); font-size: .76rem; font-weight: 600; }
.contact-card strong { color: #fff; font-size: .98rem; line-height: 1.65; }

footer { background: #3d211e; color: #f8f0d8; padding: 33px 0; }
.footer-row { display: flex; align-items: center; justify-content: space-between; gap: 25px; }
.footer-brand { display: flex; flex-direction: column; line-height: 1.25; }
.footer-brand strong { font-size: 1.35rem; color: #fff; }
.footer-brand span { margin-top: 5px; letter-spacing: .14em; direction: ltr; }
.footer-brand span, footer p { color: rgba(248,240,216,.62); font-size: .86rem; }
footer p { margin: 0; }
footer a { color: #fff; font-weight: 800; }
.footer-brand { color: inherit; text-decoration: none; }

.floating-socials {
  position: fixed;
  left: 22px;
  top: 50%;
  z-index: 25;
  display: flex;
  flex-direction: column;
  gap: 10px;
  transform: translateY(-50%);
}
.floating-social {
  position: relative;
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--red);
  background: rgba(255, 249, 232, .94);
  border: 1px solid rgba(200,29,37,.2);
  border-radius: 16px;
  box-shadow: 0 10px 28px rgba(68,35,32,.14);
  backdrop-filter: blur(12px);
  transition: transform .2s ease, color .2s ease, background .2s ease, box-shadow .2s ease;
}
.floating-social svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.floating-social .social-dot { fill: currentColor; stroke: none; }
.floating-social span {
  position: absolute;
  left: calc(100% + 9px);
  top: 50%;
  padding: 6px 10px;
  color: #fff9e8;
  background: var(--red-dark);
  border-radius: 9px;
  font-size: .74rem;
  font-weight: 700;
  line-height: 1.4;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transform: translate(-6px, -50%);
  transition: .2s ease;
  pointer-events: none;
}
.floating-social:hover, .floating-social:focus-visible {
  color: #fff9e8;
  background: var(--red);
  transform: translateX(3px);
  box-shadow: 0 14px 34px rgba(200,29,37,.24);
  outline: none;
}
.floating-social:hover span, .floating-social:focus-visible span {
  opacity: 1;
  visibility: visible;
  transform: translate(0, -50%);
}

.item-dialog {
  width: min(560px, calc(100% - 30px));
  border: 1px solid rgba(200,29,37,.22);
  border-radius: 28px;
  padding: 36px;
  color: var(--ink);
  background: var(--cream-2);
  box-shadow: 0 30px 80px rgba(55,25,21,.3);
  text-align: right;
}
.item-dialog::backdrop { background: rgba(50,27,24,.56); backdrop-filter: blur(4px); }
.dialog-close { position: absolute; left: 18px; top: 18px; border: 0; background: rgba(200,29,37,.08); color: var(--red); width: 38px; height: 38px; border-radius: 50%; font-size: 1.6rem; cursor: pointer; }
.dialog-icon { color: var(--red); width: 72px; height: 72px; margin-bottom: 10px; }
.dialog-icon svg { width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 1.45; stroke-linecap: round; stroke-linejoin: round; }
.dialog-category { color: var(--red); font-weight: 900; font-size: .82rem; }
.item-dialog h3 { font-size: 2rem; margin: 8px 0; }
.item-dialog p { color: var(--muted); margin: 0; }
.dialog-note { margin-top: 25px; padding: 14px 16px; border-right: 4px solid var(--red); background: rgba(200,29,37,.07); color: var(--red-dark); font-size: .88rem; }

@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@media (prefers-reduced-motion: reduce) { * { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr; padding-top: 55px; }
  .hero-copy { text-align: center; align-items: center; }
  .hero-copy .eyebrow { justify-content: center; }
  .hero-lead { margin-inline: auto; }
  .hero-tagline { border-right: 0; border-bottom: 3px solid var(--red); border-radius: 10px; }
  .hero-art { min-height: 480px; }
  .menu-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .about-grid { grid-template-columns: 1fr; gap: 38px; }
  .about-copy h2 { max-width: 720px; }
}

@media (max-width: 720px) {
  .container { width: min(100% - 24px, var(--container)); }
  .header-row { min-height: 68px; }
  .header-note { display: none; }
  .menu-toggle { display: block; }
  .brand-mark { width: 42px; height: 42px; }
  .brand-copy strong { font-size: 1.35rem; }
  .hero { min-height: auto; gap: 35px; padding: 45px 0 65px; }
  .hero h1 { font-size: clamp(2.8rem, 16vw, 4.4rem); }
  .hero-lead { font-size: .98rem; }
  .hero-tagline { font-size: .9rem; }
  .hero-art { min-height: 370px; }
  .stamp { width: 78px; height: 78px; font-size: .8rem; left: 18px; }
  .scribble { display: none; }
  .menu-section { padding: 65px 0 80px; }
  .section-heading { align-items: stretch; flex-direction: column; }
  .search-box { width: 100%; }
  .category-nav { top: 68px; margin-inline: -12px; padding-inline: 12px; }
  .menu-grid { grid-template-columns: 1fr; }
  .menu-card { min-height: 210px; }
  .view-toggle { display: none; }
  .about-strip { padding: 66px 0; }
  .about-copy h2 { font-size: clamp(1.55rem, 7.2vw, 2.35rem); line-height: 1.45; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-card-wide { grid-column: auto; }
  .footer-row { flex-direction: column; text-align: center; }
  .floating-socials { left: 10px; gap: 8px; }
  .floating-social { width: 44px; height: 44px; border-radius: 14px; }
  .floating-social svg { width: 20px; height: 20px; }
  .item-dialog { padding: 30px 24px; }
}

@media (max-width: 420px) {
  .hero-art { min-height: 310px; }
  .menu-card { padding: 20px; }
  .contact-card { padding: 17px; }
}
