/* صفحه‌ی معرفی گارسونو. قلم‌ها روی سرور خودمان (Google Fonts در ایران کند یا بسته است).
   تیتر: Lalezar (OFL)، متن: Vazirmatn. */
@font-face {
  font-family: 'Lalezar'; font-display: swap; font-weight: 400;
  src: url('/fonts/lalezar-arabic.woff2') format('woff2');
  unicode-range: U+0600-06FF, U+0750-077F, U+200C-200E, U+FB50-FDFF, U+FE70-FEFC;
}
@font-face {
  font-family: 'Lalezar'; font-display: swap; font-weight: 400;
  src: url('/fonts/lalezar-latin.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+2000-206F;
}
@font-face {
  font-family: 'Vazirmatn'; font-display: swap; font-weight: 100 900;
  src: url('/fonts/vazirmatn-var.woff2') format('woff2');
}

:root {
  --bottle: #0f3a2e;        /* سبز شیشه‌ای */
  --bottle-deep: #0a2a21;
  --bottle-soft: #1c5443;
  --saffron: #f2a81d;       /* زعفران */
  --anar: #c5303b;          /* مهر انار */
  --paper: #ffffff;         /* کاغذ فیش */
  --cloth: #f1f4ee;         /* رومیزی */
  --ink: #13211b;
  --ink-2: #4c5d55;
  --line: #d9e1da;
  --display: 'Lalezar', 'Vazirmatn', Tahoma, sans-serif;
  --body: 'Vazirmatn', Tahoma, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--cloth); color: var(--ink); font: 400 1.0625rem/1.9 var(--body); }
h1, h2, h3, p, ul, ol { margin: 0; padding: 0; }
ul, ol { list-style: none; }
a { color: inherit; }
:focus-visible { outline: 3px solid var(--saffron); outline-offset: 3px; border-radius: 6px; }
.wrap { width: min(100% - 2.5rem, 70rem); margin-inline: auto; }
.skip { position: absolute; inset-inline-start: 1rem; top: -4rem; background: var(--saffron); color: var(--ink); padding: .5rem 1rem; border-radius: 8px; z-index: 20; }
.skip:focus { top: 1rem; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

h2 { font: 400 clamp(1.9rem, 3.6vw, 2.9rem)/1.35 var(--display); text-wrap: balance; }
h3 { font: 700 1.2rem/1.6 var(--body); }

/* ── سربرگ ─────────────────────────────── */
.top { background: var(--bottle); color: #fff; }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding-block: 1.1rem; }
.brand { display: inline-flex; align-items: center; gap: .55rem; text-decoration: none; font: 400 1.75rem/1 var(--display); color: #fff; }
.brand svg { color: var(--saffron); }
.top nav { display: flex; gap: .25rem; }
.top nav a { text-decoration: none; padding: .55rem .85rem; border-radius: 999px; font-size: .95rem; color: #d5e4dc; transition: background .2s, color .2s; }
.top nav a:hover { background: var(--bottle-soft); color: #fff; }

/* ── هیرو ──────────────────────────────── */
.hero { background: radial-gradient(60rem 30rem at 15% 110%, var(--bottle-soft), transparent 70%), var(--bottle); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.15fr .85fr; gap: 3rem; align-items: start; padding-block: 4.5rem 0; }
.hero-text { padding-bottom: 5rem; }
h1 { font: 400 clamp(2.5rem, 6.2vw, 4.75rem)/1.3 var(--display); text-wrap: balance; }
h1 em { font-style: normal; color: var(--saffron); }
.lead { margin-top: 1.5rem; max-width: 33rem; font-size: 1.15rem; color: #cfe0d7; }
.btn { display: inline-block; margin-top: 2.25rem; padding: .85rem 1.6rem; min-height: 48px; border-radius: 999px; background: var(--saffron); color: var(--ink); font-weight: 700; text-decoration: none; transition: transform .2s var(--ease), background .2s; }
.btn:hover { background: #ffbb3d; transform: translateY(-2px); }
.hero-cta { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2.25rem; }
.hero-cta .btn { margin-top: 0; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px rgb(255 255 255 / .35); }
.btn-ghost:hover { background: var(--bottle-soft); }
.dl-note { margin-top: .9rem; font-size: .9rem; color: #a9c2b6; }
.top nav a.nav-dl { background: var(--saffron); color: var(--ink); font-weight: 700; }
.top nav a.nav-dl:hover { background: #ffbb3d; color: var(--ink); }

/* چاپگر و فیش: امضای صفحه */
.printer { justify-self: center; width: min(100%, 20.5rem); }
.slot { height: 18px; border-radius: 10px; background: var(--bottle-deep); box-shadow: inset 0 3px 6px rgb(0 0 0 / .55); position: relative; z-index: 2; }
.feed { overflow: hidden; margin: -9px 14px 0; padding-bottom: 2rem; }
.ticket {
  position: relative; background: var(--paper); color: var(--ink); padding: 1.6rem 1.25rem 5.2rem;
  font-size: .9rem; line-height: 1.8; font-feature-settings: 'tnum';
  box-shadow: 0 18px 30px -12px rgb(0 0 0 / .45);
  /* لبه‌ی دندانه‌ی پاره‌شده‌ی پایین فیش */
  --tooth: 9px;
  -webkit-mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
    conic-gradient(from -45deg at 50% 100%, #0000 0 90deg, #000 0) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
  mask: linear-gradient(#000 0 0) top / 100% calc(100% - var(--tooth)) no-repeat,
    conic-gradient(from -45deg at 50% 100%, #0000 0 90deg, #000 0) bottom / calc(var(--tooth) * 2) var(--tooth) repeat-x;
}
.t-head { text-align: center; padding-bottom: .8rem; border-bottom: 1.5px dashed #b9c4bd; }
.t-head b { display: block; font: 400 1.5rem/1.4 var(--display); }
.t-head span { color: var(--ink-2); font-size: .82rem; display: inline-flex; gap: .6rem; }
.t-head span i { font-style: normal; }
.t-head span i + i { padding-inline-start: .6rem; border-inline-start: 1px solid #b9c4bd; }
.t-items { padding-block: .8rem; }
.t-items li, .t-sum { display: flex; justify-content: space-between; gap: 1rem; }
.t-sum { padding-block: .7rem; border-block: 1.5px dashed #b9c4bd; font-weight: 800; }
.t-steps { padding-top: .9rem; }
.t-steps li { display: flex; gap: .7rem; align-items: baseline; }
.t-steps time { color: var(--ink-2); font-size: .8rem; min-width: 2.6rem; }
.t-steps li span::before { content: ''; display: inline-block; width: .5rem; height: .5rem; border-radius: 50%; background: var(--bottle); margin-inline-end: .5rem; }
.stamp {
  position: absolute; inset-inline-end: 1.25rem; bottom: 1.5rem; padding: .1rem .8rem; border: 3px solid var(--anar); border-radius: 8px;
  color: var(--anar); font: 400 1.35rem/1.5 var(--display); transform: rotate(-9deg); opacity: .92; mix-blend-mode: multiply;
}

/* حرکت: فیش یک بار چاپ می‌شود، مرحله‌ها به ترتیب می‌آیند، آخر مهر می‌خورد */
@media (prefers-reduced-motion: no-preference) {
  .js .ticket { transform: translateY(-101%); }
  .js .ticket.go { transform: none; transition: transform 1.9s steps(24, end) .25s; }
  .js .t-steps li { opacity: 0; transform: translateX(8px); }
  .js .ticket.go .t-steps li { opacity: 1; transform: none; transition: opacity .35s, transform .35s var(--ease); }
  .js .ticket.go .t-steps li:nth-child(1) { transition-delay: 2.3s; }
  .js .ticket.go .t-steps li:nth-child(2) { transition-delay: 2.9s; }
  .js .ticket.go .t-steps li:nth-child(3) { transition-delay: 3.5s; }
  .js .ticket.go .t-steps li:nth-child(4) { transition-delay: 4.1s; }
  .js .stamp { opacity: 0; transform: rotate(-9deg) scale(1.7); }
  .js .ticket.go .stamp { opacity: .92; transform: rotate(-9deg) scale(1); transition: opacity .12s 4.9s, transform .22s cubic-bezier(.5, 1.8, .6, 1) 4.9s; }
}

/* ── آشپزخانه‌ها: فست‌فود اول ───────────── */
.kitchens { background: var(--paper); border-bottom: 1px solid var(--line); padding-block: 2.25rem; }
.kitchen-list { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1fr; gap: 1rem; }
.kitchen-list li { display: grid; grid-template-columns: auto 1fr; column-gap: .9rem; align-items: center; padding: .9rem 1rem; border-radius: 16px; }
.kitchen-list svg { grid-row: span 2; width: 44px; height: 44px; fill: none; stroke: var(--bottle); stroke-width: 2.3; stroke-linecap: round; stroke-linejoin: round; }
.kitchen-list b { font: 400 1.45rem/1.3 var(--display); }
.kitchen-list span { color: var(--ink-2); font-size: .92rem; line-height: 1.6; }
.kitchen-list .lead-k { background: var(--bottle); color: #fff; }
.kitchen-list .lead-k svg { stroke: var(--saffron); }
.kitchen-list .lead-k span { color: #cfe0d7; }
.langs { margin-top: 1.25rem; display: flex; flex-wrap: wrap; justify-content: center; gap: .4rem 0; color: var(--ink-2); font-size: .95rem; }
.langs span { padding-inline: 1rem; }
.langs span + span { border-inline-start: 1px solid var(--line); }

/* ── مسیر یک سفارش: بشقاب با اسکرول کامل می‌شود (ترتیب واقعی است، پس شماره دارد) ── */
.path { padding-block: 5.5rem 3rem; }
.path-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 4rem; align-items: start; margin-top: 1.5rem; }
.plate-col { position: sticky; top: max(1.5rem, calc(50vh - 13rem)); }
.plate { text-align: center; }
.plate svg { width: min(100%, 24rem); height: auto; overflow: visible; }
.plate .shadow { fill: rgb(19 33 27 / .12); }
.plate .steam path { fill: none; stroke: #b9c7be; stroke-width: 5; stroke-linecap: round; }
.plate .base, .plate .top, .plate .steam, .plate .bag, .plate .paper, .plate .dish { transition: opacity .45s, transform .55s var(--ease); transform-box: fill-box; transform-origin: 50% 100%; }
.plate .base, .plate .top { opacity: 0; transform: translateY(-60px); }
.plate .steam { opacity: 0; }
.plate .bag { opacity: 0; transform: translateY(40px) scale(.9); }
.plate[data-stage='2'] .base, .plate[data-stage='3'] .base, .plate[data-stage='3'] .top { opacity: 1; transform: none; }
.plate[data-stage='3'] .top { transition-delay: .08s; }
.plate[data-stage='3'] .steam { opacity: 1; }
.plate[data-stage='4'] .dish { opacity: 0; transform: scale(.8); }
.plate[data-stage='4'] .bag { opacity: 1; transform: none; }
@media (prefers-reduced-motion: no-preference) {
  .plate[data-stage='3'] .steam path { animation: steam 2.4s ease-in-out infinite; }
  .plate[data-stage='3'] .steam path:nth-child(2) { animation-delay: .5s; }
  .plate[data-stage='3'] .steam path:nth-child(3) { animation-delay: 1s; }
}
@keyframes steam { 0%, 100% { opacity: .25; transform: translateY(6px); } 50% { opacity: 1; transform: translateY(-6px); } }
.plate-cap { margin-top: .5rem; font: 400 1.35rem/1.5 var(--display); color: var(--bottle); min-height: 2.1rem; }

.path-list { counter-reset: step; margin-top: 1rem; }
.path-list li { counter-increment: step; position: relative; padding: 2.2rem 4.2rem 2.2rem 0; border-bottom: 2px dashed var(--line); transition: opacity .35s; }
.path-list li:last-child { border-bottom: 0; }
.scrolly .path-list li { min-height: min(46vh, 24rem); display: flex; flex-direction: column; justify-content: center; opacity: .38; }
.scrolly .path-list li.on { opacity: 1; }
.path-list li::before {
  content: counter(step, persian); position: absolute; inset-inline-start: 0; top: 50%; margin-top: -1.4rem; width: 2.8rem; height: 2.8rem; border-radius: 50%;
  display: grid; place-items: center; background: var(--bottle); color: var(--saffron); font: 400 1.55rem/1 var(--display); padding-top: .2rem;
}
.path-list b { display: block; font-size: 1.25rem; margin-bottom: .3rem; }
.path-list span { color: var(--ink-2); font-size: 1rem; }

/* ── محصول‌ها ──────────────────────────── */
.products { padding-block: 3rem 6rem; }
.grid { margin-top: 2.5rem; display: grid; grid-template-columns: 1.25fr 1fr 1fr; gap: 1rem; }
.card { background: var(--paper); border: 1px solid var(--line); border-radius: 20px; padding: 1.75rem; transition: transform .25s var(--ease), box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: 0 16px 30px -18px rgb(15 58 46 / .45); }
.card svg { width: 44px; height: 44px; fill: none; stroke: var(--bottle); stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; margin-bottom: 1rem; }
.card p { color: var(--ink-2); margin-top: .35rem; font-size: 1rem; }
.card-big { grid-row: span 2; background: var(--bottle); border-color: var(--bottle); color: #fff; display: flex; flex-direction: column; padding: 2.25rem; }
.card-big svg { stroke: var(--saffron); width: 60px; height: 60px; }
.card-big h3 { font: 400 2.1rem/1.4 var(--display); }
.card-big p { color: #cfe0d7; font-size: 1.08rem; }
.tags { margin-top: auto; padding-top: 2rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.tags li { border: 1px solid #3d7462; border-radius: 999px; padding: .15rem .85rem; font-size: .88rem; color: #dbe9e2; }

/* ── سایت رستوران ───────────────────────── */
.site { background: var(--paper); padding-block: 6rem; border-block: 1px solid var(--line); }
.site-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 3rem; align-items: center; }
.site-text > p { margin-top: 1rem; color: var(--ink-2); max-width: 31rem; }
.site-text .pick-label { margin-top: 1.75rem; color: var(--ink); font-weight: 700; }
.langs-pick button { padding-inline: 1.15rem; }
.picks { margin-top: .75rem; display: flex; flex-wrap: wrap; gap: .6rem; }
.picks button {
  font: 600 1rem/1 var(--body); color: var(--ink); background: var(--cloth); border: 2px solid transparent; border-radius: 999px;
  min-height: 48px; padding: 0 1.1rem 0 1.25rem; display: inline-flex; align-items: center; gap: .6rem; cursor: pointer; transition: border-color .2s, background .2s;
}
.picks button i { width: 1.15rem; height: 1.15rem; border-radius: 50%; background: var(--c); }
.picks button:hover { background: #e6ebe3; }
.picks button[aria-checked='true'] { border-color: var(--ink); background: var(--paper); }

.phone {
  --p-bg: #fbfaf5; --p-card: #fff; --p-ink: #1c2119; --p-ink2: #5a6353; --p-line: #e4e2d6; --p-accent: #4a7c3f; --p-on: #fff; --p-r: 14px;
  justify-self: center; width: min(100%, 18.5rem); aspect-ratio: 9 / 19.5; display: flex; flex-direction: column; position: relative;
  background: var(--p-bg); color: var(--p-ink); border: 10px solid var(--ink); border-radius: 46px; overflow: hidden;
  outline: 2px solid #3a4a42; outline-offset: -1px;
  box-shadow: 0 30px 50px -25px rgb(19 33 27 / .5); transition: background .35s, color .35s;
}
.phone[data-t='anar'] { --p-bg: #fbf7f3; --p-ink: #2a1715; --p-ink2: #6b4d48; --p-line: #eadbd3; --p-accent: #9b2c2c; --p-r: 20px; }
.phone[data-t='zafaran'] { --p-bg: #0f0e0b; --p-card: #1a1812; --p-ink: #f3eedf; --p-ink2: #bdb39a; --p-line: #322d21; --p-accent: #e3a63b; --p-on: #1a1203; }
.phone[data-t='firouzeh'] { --p-bg: #f6fafa; --p-ink: #102221; --p-ink2: #48625f; --p-line: #d5e4e2; --p-accent: #0f766e; --p-r: 5px; }
.phone * { transition: background .35s, color .35s, border-color .35s, border-radius .35s; }
.p-status { display: flex; align-items: center; justify-content: space-between; padding: .55rem 1.25rem .2rem; font: 700 .72rem/1 var(--body); color: var(--p-ink); position: relative; }
.p-island { position: absolute; left: 50%; top: .4rem; translate: -50% 0; width: 5.2rem; height: 1.35rem; border-radius: 999px; background: #0b0f0d; }
.p-icons { display: inline-flex; align-items: flex-end; gap: 2px; }
.p-icons b { width: 3px; background: currentColor; border-radius: 1px; } .p-icons b:nth-child(1) { height: 4px; } .p-icons b:nth-child(2) { height: 6px; } .p-icons b:nth-child(3) { height: 8px; }
.p-icons em { width: 1.15rem; height: .55rem; margin-inline-start: 4px; border: 1.5px solid currentColor; border-radius: 3px; background: linear-gradient(90deg, currentColor 70%, transparent 0) content-box; padding: 1px; }
.p-bar { padding: .55rem 1rem .3rem; text-align: center; }
.p-bar span { display: inline-block; direction: ltr; font-size: .72rem; color: var(--p-ink2); background: var(--p-card); border: 1px solid var(--p-line); border-radius: 999px; padding: .05rem .9rem; }
.p-body { flex: 1; min-height: 0; overflow: hidden; padding: .5rem .9rem 0; font-size: .86rem; line-height: 1.65;
  -webkit-mask: linear-gradient(#000 85%, transparent); mask: linear-gradient(#000 85%, transparent); }
.p-foot { padding: .5rem .9rem .45rem; background: var(--p-bg); }
.p-home { display: block; width: 38%; height: 4px; margin: .55rem auto 0; border-radius: 999px; background: var(--p-ink); opacity: .85; }
.p-name { font: 400 1.6rem/1.4 var(--display); }
.p-sub { color: var(--p-accent); font-size: .8rem; font-weight: 600; }
.p-chips { display: flex; gap: .4rem; margin-block: .8rem; }
.p-chips span { border: 1px solid var(--p-line); border-radius: var(--p-r); padding: 0 .7rem; font-size: .8rem; color: var(--p-ink2); }
.p-chips .on { background: var(--p-accent); border-color: var(--p-accent); color: var(--p-on); }
.p-item { display: flex; align-items: center; gap: .7rem; background: var(--p-card); border: 1px solid var(--p-line); border-radius: var(--p-r); padding: .55rem; margin-bottom: .5rem; }
.p-item > div:nth-child(2) { flex: 1; }
.p-item b { display: block; }
.p-item small { color: var(--p-ink2); font-feature-settings: 'tnum'; }
.p-img { width: 3rem; height: 3rem; flex: none; border-radius: calc(var(--p-r) * .7); background: color-mix(in srgb, var(--p-accent) 14%, var(--p-card)); display: grid; place-items: center; }
.p-img svg { width: 2.3rem; height: 2.3rem; }
.p-img .f1 { fill: #e8a857; } .p-img .f2 { stroke: #5fa543; stroke-width: 3.5; stroke-linecap: round; fill: none; }
.p-img .f3 { fill: #6b3b1f; } .p-img .f1s { stroke: #d99449; stroke-width: 4; stroke-linecap: round; }
.p-img .f3s { fill: none; stroke: #c98a3d; stroke-width: 3.5; stroke-linecap: round; } .p-img .f2c { fill: #c5303b; }
.p-img .fr { stroke: #f2c14e; stroke-width: 4; stroke-linecap: round; } .p-img .f4 { fill: #c5303b; } .p-img .f5 { fill: none; stroke: #fff; stroke-width: 2.5; stroke-linecap: round; }
.p-img .f6 { stroke: #5a6353; stroke-width: 2.5; stroke-linecap: round; } .p-img .f7 { fill: #3b2a24; } .p-img .f8 { stroke: #fff; stroke-width: 2.5; opacity: .8; } .p-img .f9 { fill: #fff; opacity: .55; }
.p-add { width: 1.9rem; height: 1.9rem; border-radius: 50%; display: grid; place-items: center; background: var(--p-accent); color: var(--p-on); font-weight: 700; }
.p-cta { text-align: center; background: var(--p-accent); color: var(--p-on); border-radius: var(--p-r); padding: .55rem; font-weight: 700; }

/* ── هوش مصنوعی ─────────────────────────── */
.ai { background: var(--bottle); color: #fff; padding-block: 5.5rem; }
.ai-in { display: grid; grid-template-columns: .9fr 1.1fr; gap: 3rem; align-items: start; }
.soon { display: inline-block; margin-bottom: 1rem; border: 1.5px solid var(--saffron); color: var(--saffron); border-radius: 999px; padding: 0 .9rem; font-size: .88rem; font-weight: 700; }
.ai li { padding-block: 1.1rem; border-bottom: 1px solid #2d6652; }
.ai li:first-child { padding-top: 0; }
.ai li b { display: block; font-size: 1.1rem; }
.ai li span { color: #cfe0d7; font-size: .98rem; }

/* ── اولین مشتری و پانویس ────────────────── */
.first { padding-block: 3.5rem; text-align: center; font-size: 1.15rem; color: var(--ink-2); }
.first b { color: var(--ink); font: 400 1.5rem/1 var(--display); margin-inline: .2rem; }
.foot { background: var(--bottle-deep); color: #a9c2b6; }
.foot-in { display: flex; justify-content: space-between; align-items: center; padding-block: 1.5rem; font-size: .9rem; }
.foot .brand { font-size: 1.4rem; }

/* ── کوچک‌تر ───────────────────────────── */
@media (max-width: 60rem) {
  .kitchen-list { grid-template-columns: 1fr 1fr; }
  .hero-in, .site-in, .ai-in { grid-template-columns: 1fr; }
  .hero-in { padding-top: 3rem; gap: 2.5rem; }
  .hero-text { padding-bottom: 0; }
  .grid { grid-template-columns: 1fr 1fr; }
  .card-big { grid-column: span 2; grid-row: auto; }
  .path-in { grid-template-columns: 1fr; gap: 0; }
  .plate-col { top: 0; z-index: 5; background: var(--cloth); padding-block: .75rem .5rem; border-bottom: 1px solid var(--line); }
  .plate svg { width: 11.5rem; }
  .plate-cap { font-size: 1.1rem; margin-top: 0; }
  .scrolly .path-list li { min-height: min(38vh, 18rem); }
}
@media (max-width: 36rem) {
  .kitchen-list { grid-template-columns: 1fr; gap: .4rem; }
  .top nav a:not(:first-child) { display: none; }
  .grid { grid-template-columns: 1fr; }
  .card-big { grid-column: auto; }
  .site, .ai { padding-block: 4rem; }
  .path { padding-block: 3.5rem 2rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { transition: none !important; }
}

/* نام رستوران به انگلیسی و ترکی: Lalezar حرف‌های ترکی (ı، ş، ğ) را ندارد */
.phone[dir='ltr'] .p-name { font: 800 1.45rem/1.4 var(--body); letter-spacing: -.01em; }
