:root {
  --cream: #F7F1E6;
  --cream-2: #FBF7F0;
  --sand: #E8D9BF;
  --sand-2: #F0E5D2;
  --flame: #C62832;
  --flame-dark: #A01E27;
  --indigo: #1F3A6E;
  --indigo-2: #2F6DB5;
  --copper: #B8743F;
  --coal: #221E1B;
  --muted: #6B5E50;
  --white: #FFFFFF;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(34, 30, 27, .08);
  --head: "Montserrat", system-ui, sans-serif;
  --narrow: "Oswald", "Arial Narrow", sans-serif;
  --header-h: 72px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 64px); }
body {
  margin: 0;
  font-family: var(--head);
  font-size: 16px;
  line-height: 1.6;
  color: var(--coal);
  background: var(--cream) url("img/brand/pattern.svg") repeat;
  background-size: 160px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.container { width: min(1180px, 100% - 32px); margin-inline: auto; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 24px; border-radius: 999px;
  font: 600 15px/1 var(--head); text-decoration: none; letter-spacing: .2px;
  border: 1.5px solid transparent; cursor: pointer; transition: transform .15s, background .2s, color .2s, border-color .2s;
}
.btn:active { transform: scale(.98); }
.btn--flame { background: var(--flame); color: var(--white); }
.btn--flame:hover { background: var(--flame-dark); }
.btn--ghost { border-color: var(--coal); color: var(--coal); background: transparent; }
.btn--ghost:hover { background: var(--coal); color: var(--cream); }

.eyebrow {
  font: 600 13px/1.2 var(--head); letter-spacing: 2px; text-transform: uppercase;
  color: var(--flame); margin: 0 0 12px;
  display: inline-flex; align-items: center; gap: 10px;
}
.eyebrow::before { content: ""; width: 22px; height: 22px; background: url("img/brand/flame.svg") center/contain no-repeat; }
.eyebrow--light { color: var(--sand); }

/* Header */
.header {
  position: sticky; top: 0; z-index: 50;
  background: var(--cream);
  border-bottom: 1px solid var(--sand);
}
.header__row { height: var(--header-h); display: flex; align-items: center; gap: 28px; }
.header__logo img { height: 44px; width: auto; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 500; font-size: 15px; position: relative; padding: 6px 0; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--flame); transform: scaleX(0); transition: transform .2s; }
.nav a:hover::after { transform: scaleX(1); }
.header__cta { min-height: 42px; padding: 0 20px; font-size: 14px; }
.burger { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; padding: 10px; cursor: pointer; }
.burger span { display: block; height: 2px; background: var(--coal); margin: 5px 0; border-radius: 2px; transition: transform .2s, opacity .2s; }

/* Hero */
.hero { padding: 56px 0 72px; overflow: hidden; }
.hero__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.hero__title {
  font: 800 clamp(40px, 6vw, 76px)/1.02 var(--head); letter-spacing: -1px; margin: 0 0 20px;
}
.accent { color: var(--flame); }
.hero__lead { font-size: 18px; color: var(--muted); max-width: 540px; margin: 0 0 28px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 28px; }
.hero__chips { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.hero__chips li {
  font: 500 13px/1 var(--head); padding: 9px 14px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--sand);
}
.hero__visual { position: relative; justify-self: center; width: min(420px, 100%); }
.arch {
  position: relative; aspect-ratio: 3 / 4; border-radius: 999px 999px 28px 28px; overflow: hidden;
  border: 10px solid var(--white); box-shadow: var(--shadow); background: var(--coal);
}
.arch img { width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.arch::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: radial-gradient(ellipse at 50% 100%, rgba(255, 120, 40, .35), transparent 60%);
  animation: glow 3.5s ease-in-out infinite alternate; pointer-events: none;
}
@keyframes glow { from { opacity: .5; } to { opacity: 1; } }
.hero__visual::before {
  content: ""; position: absolute; inset: -18px -18px 30px; border: 1.5px solid var(--copper);
  border-radius: 999px 999px 34px 34px; z-index: -1;
}
.hero__rosette { position: absolute; width: 128px; left: -52px; bottom: 56px; animation: spin 60s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.hero__badge {
  position: absolute; right: -20px; top: 56px; text-decoration: none;
  background: var(--white); border-radius: 16px; padding: 12px 16px; box-shadow: var(--shadow);
  display: grid; grid-template-columns: auto auto; column-gap: 8px; align-items: center;
}
.hero__badge strong { font: 500 30px/1 var(--narrow); grid-row: span 2; }
.hero__badge span { color: #E9A23B; font-size: 13px; letter-spacing: 1px; }
.hero__badge small { color: var(--muted); font-size: 12px; }

.ornament-strip { height: 16px; background: url("img/brand/border.svg") repeat-x center / auto 16px; opacity: .9; }

/* Sections */
.section { padding: 88px 0; }
.section__head { max-width: 720px; margin-bottom: 36px; }
.section__title { font: 800 clamp(30px, 4vw, 46px)/1.1 var(--head); margin: 0 0 12px; letter-spacing: -.5px; }
.section__lead { color: var(--muted); margin: 0; font-size: 17px; }

/* Menu */
.menu { padding-bottom: 40px; }
.menu__tools { margin-bottom: 8px; }
.search {
  display: flex; align-items: center; gap: 10px; max-width: 460px;
  background: var(--white); border: 1px solid var(--sand); border-radius: 999px; padding: 0 18px; height: 52px;
}
.search:focus-within { border-color: var(--coal); }
.search svg { width: 20px; height: 20px; fill: none; stroke: var(--muted); stroke-width: 2; stroke-linecap: round; flex: none; }
.search input { border: 0; outline: 0; background: transparent; font: 400 16px var(--head); width: 100%; color: var(--coal); }

.cats {
  position: sticky; top: var(--header-h); z-index: 40;
  background: var(--cream);
  border-bottom: 1px solid var(--sand); margin: 16px 0 8px;
}
.cats__row { display: flex; gap: 8px; overflow-x: auto; padding: 12px 0; scrollbar-width: none; }
.cats__row::-webkit-scrollbar { display: none; }
.cat {
  flex: none; font: 500 15px/1 var(--narrow); letter-spacing: .3px; padding: 10px 16px; border-radius: 999px;
  border: 1px solid var(--sand); background: var(--white); color: var(--coal); cursor: pointer; text-decoration: none;
  transition: background .2s, color .2s, border-color .2s;
}
.cat:hover { border-color: var(--coal); }
.cat.is-active { background: var(--coal); color: var(--cream); border-color: var(--coal); }

.cat-block { padding-top: 40px; }
.cat-block__head { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.cat-block__title { font: 800 26px/1.1 var(--head); text-transform: uppercase; letter-spacing: .5px; color: var(--flame); margin: 0; }
.cat-block__line { flex: 1; height: 8px; background: url("img/brand/border.svg") repeat-x left center / auto 8px; opacity: .55; }
.cat-block__note { font: 400 14px var(--narrow); color: var(--muted); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--sand-2);
  overflow: hidden; display: flex; flex-direction: column; cursor: pointer; text-align: left;
  font: inherit; color: inherit; padding: 0; transition: transform .2s, box-shadow .2s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card:focus-visible { outline: 2px solid var(--flame); outline-offset: 2px; }
.card__img { aspect-ratio: 1; background: var(--cream-2); position: relative; }
.card__img img { width: 100%; height: 100%; object-fit: contain; mix-blend-mode: multiply; padding: 6px; }
.card__tags { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.tag { font: 600 11px/1 var(--head); letter-spacing: .6px; text-transform: uppercase; padding: 6px 9px; border-radius: 999px; }
.tag--hit { background: var(--flame); color: var(--white); }
.tag--josper { background: var(--coal); color: var(--sand); }
.card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 4px; flex: 1; }
.card__name { font: 500 19px/1.2 var(--narrow); margin: 0; }
.card__desc { font-size: 13px; color: var(--muted); margin: 0; line-height: 1.45; }
.card__foot { margin-top: auto; padding-top: 10px; display: flex; align-items: baseline; justify-content: space-between; gap: 8px; }
.price { font: 500 22px/1 var(--narrow); color: var(--flame); white-space: nowrap; }
.price small { font-size: 13px; margin-left: 3px; }
.price--ask { font: 400 13px var(--head); color: var(--muted); }
.weight { font-size: 12px; color: var(--muted); white-space: nowrap; }

.pricelist {
  margin-top: 18px; background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius);
  padding: 8px 22px; columns: 2; column-gap: 40px;
}
.pricelist__row { display: flex; align-items: baseline; gap: 8px; padding: 10px 0; break-inside: avoid; border-bottom: 1px dashed var(--sand); }
.pricelist__name { font: 400 17px/1.2 var(--narrow); }
.pricelist__desc { display: block; font: 400 12px/1.4 var(--head); color: var(--muted); margin-top: 2px; }
.pricelist__dots { flex: 1; }
.pricelist__w { font-size: 12px; color: var(--muted); white-space: nowrap; }
.pricelist .price { font-size: 19px; }

.tea { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.tea__col { background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius); padding: 18px 22px; }
.tea__head { display: flex; align-items: center; gap: 12px; margin-bottom: 4px; }
.tea__head img { width: 64px; height: 64px; object-fit: contain; mix-blend-mode: multiply; }
.tea__head h4 { font: 800 16px var(--head); text-transform: uppercase; letter-spacing: 1px; margin: 0; }
.tea .pricelist__row:last-child { border-bottom: 0; }

.menu__empty { text-align: center; color: var(--muted); padding: 40px 0; }
.menu__note { color: var(--muted); font-size: 14px; margin: 40px 0 0; text-align: center; }

/* Lunch */
.lunch {
  background: var(--indigo) url("img/brand/pattern.svg") repeat; background-blend-mode: soft-light;
  color: var(--cream); position: relative;
}
.lunch::before, .lunch::after { content: ""; position: absolute; left: 0; right: 0; height: 16px; background: url("img/brand/border.svg") repeat-x center / auto 16px; }
.lunch::before { top: 0; } .lunch::after { bottom: 0; }
.lunch .section__lead { color: var(--sand); }
.lunch__head { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-bottom: 36px; }
.price-flame {
  flex: none; width: 136px; height: 136px; border-radius: 50%; background: var(--flame); position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center; color: var(--white);
  box-shadow: 0 0 0 6px rgba(198, 40, 50, .25);
}
.price-flame::before {
  content: ""; position: absolute; top: -30px; left: 50%; width: 44px; height: 44px; transform: translateX(-50%);
  background: url("img/brand/flame.svg") center/contain no-repeat;
}
.price-flame span { font: 500 52px/1 var(--narrow); }
.price-flame small { font: 600 13px var(--head); text-transform: uppercase; letter-spacing: 1.5px; }
.lunch__grid { display: grid; grid-template-columns: 1fr 1fr 2fr; gap: 18px; }
.lunch-card { background: rgba(247, 241, 230, .06); border: 1px solid rgba(232, 217, 191, .25); border-radius: var(--radius); padding: 22px; }
.lunch-card img { width: 120px; height: 120px; object-fit: contain; margin-bottom: 8px; background: var(--cream); border-radius: 50%; padding: 6px; }
.lunch-card h3 { font: 800 20px var(--head); text-transform: uppercase; letter-spacing: 1px; margin: 0 0 10px; color: var(--white); }
.lunch-card ul { margin: 0; padding: 0; list-style: none; }
.lunch-card li { padding: 6px 0; border-bottom: 1px dashed rgba(232, 217, 191, .25); font-size: 15px; }
.lunch-card li:last-child { border-bottom: 0; }
.formula { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 16px; }
.formula span { font: 500 14px var(--narrow); background: var(--cream); color: var(--indigo); padding: 6px 12px; border-radius: 999px; }
.lunch-groups { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.lunch-groups h4 { font: 600 13px var(--head); text-transform: uppercase; letter-spacing: 1.5px; color: #F2A9AD; margin: 0 0 6px; }

/* Kids */
.kids__grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 48px; align-items: center; }
.ticks { list-style: none; padding: 0; margin: 20px 0 28px; }
.ticks li { padding: 6px 0 6px 30px; position: relative; }
.ticks li::before { content: ""; position: absolute; left: 0; top: 9px; width: 18px; height: 18px; background: url("img/brand/flame.svg") center/contain no-repeat; }
.kids__poster { margin: 0; background: var(--white); border-radius: 24px; padding: 12px; box-shadow: var(--shadow); transform: rotate(1.5deg); }
.kids__poster img { border-radius: 16px; }

/* About */
.about { background: var(--cream-2); }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: repeat(2, 230px); gap: 14px; margin-bottom: 36px; }
.gallery figure { margin: 0; border-radius: var(--radius); overflow: hidden; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gallery figure:hover img { transform: scale(1.04); }
.gallery__big { grid-row: span 2; }
.features { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.features li { background: var(--white); border: 1px solid var(--sand-2); border-radius: var(--radius); padding: 18px 20px; display: flex; flex-direction: column; gap: 2px; }
.features b { font: 500 20px var(--narrow); color: var(--flame); }
.features span { color: var(--muted); font-size: 14px; }

/* Reviews */
.reviews__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.review { margin: 0; background: var(--white); border-radius: var(--radius); padding: 22px; border: 1px solid var(--sand-2); display: flex; flex-direction: column; gap: 14px; }
.review p { margin: 0; font-size: 15px; line-height: 1.55; }
.review cite { margin-top: auto; font: 500 15px var(--narrow); font-style: normal; color: var(--flame); }
.review cite::before { content: "★★★★★  "; color: #E9A23B; font-size: 12px; letter-spacing: 1px; }
.link-more { display: inline-block; margin-top: 22px; font-weight: 600; color: var(--flame); text-decoration: none; }
.link-more:hover { text-decoration: underline; }

/* Contacts */
.contacts__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: stretch; }
.facts { margin: 0 0 24px; display: grid; gap: 14px; }
.facts div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--sand); }
.facts dt { font: 600 12px var(--head); text-transform: uppercase; letter-spacing: 1.5px; color: var(--muted); padding-top: 4px; }
.facts dd { margin: 0; font-size: 17px; }
.facts small { color: var(--muted); font-size: 13px; }
.facts a { color: var(--flame); text-decoration: none; font-weight: 600; }
.contacts__buttons { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 18px; }
.route { color: var(--muted); font-size: 15px; }
.route a { color: var(--coal); font-weight: 600; }
.map { border-radius: 24px; overflow: hidden; min-height: 420px; border: 10px solid var(--white); box-shadow: var(--shadow); background: var(--sand-2); }
.map iframe { width: 100%; height: 100%; min-height: 400px; border: 0; display: block; }

/* Footer */
.footer { background: var(--coal); color: var(--sand); padding: 44px 0 110px; text-align: center; position: relative; }
.footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 16px; background: url("img/brand/border.svg") repeat-x center / auto 16px; }
.footer__row { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer__row img { height: 40px; width: auto; }
.footer p { margin: 0; }
.footer__small { font-size: 13px; opacity: .8; }
.footer a { color: var(--sand); }

/* Mobile dock */
.dock { display: none; }

/* Lightbox */
.lightbox { border: 0; border-radius: 24px; padding: 0; width: min(560px, 100% - 32px); background: var(--white); color: var(--coal); }
.lightbox::backdrop { background: rgba(34, 30, 27, .6); backdrop-filter: blur(4px); }
.lightbox img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--cream-2); mix-blend-mode: multiply; }
.lightbox__body { padding: 18px 24px 24px; }
.lightbox__body h3 { font: 500 26px/1.2 var(--narrow); margin: 0 0 6px; }
.lightbox__body p { margin: 0 0 6px; color: var(--muted); }
.lightbox__price { font: 500 26px var(--narrow); color: var(--flame) !important; }
.lightbox__close { position: absolute; top: 12px; right: 12px; z-index: 2; width: 40px; height: 40px; border-radius: 50%; border: 0; background: var(--white); font-size: 26px; line-height: 1; cursor: pointer; box-shadow: var(--shadow); }

/* Reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero__rosette, .arch::after { animation: none; }
}

/* Responsive */
@media (max-width: 1024px) {
  .lunch__grid { grid-template-columns: 1fr 1fr; }
  .lunch-card--wide { grid-column: span 2; }
  .reviews__grid { grid-template-columns: repeat(2, 1fr); }
  .tea { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav {
    position: fixed; inset: var(--header-h) 0 auto 0; flex-direction: column; gap: 0;
    background: var(--cream); border-bottom: 1px solid var(--sand); padding: 8px 16px 16px;
    transform: translateY(-120%); visibility: hidden; transition: transform .25s, visibility .25s; z-index: -1;
  }
  .nav.is-open { transform: none; visibility: visible; }
  .nav a { padding: 14px 0; font-size: 18px; border-bottom: 1px solid var(--sand-2); }
  .header__cta { display: none; }
  .burger { display: block; }
  .burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
  .burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .header__logo img { height: 38px; }
  .hero { padding: 32px 0 56px; }
  .hero__grid, .kids__grid, .contacts__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__visual { width: min(330px, 86%); }
  .hero__rosette { width: 92px; left: -36px; }
  .hero__badge { right: -14px; top: 30px; }
  .section { padding: 64px 0; }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 220px 140px 140px; }
  .gallery__big { grid-column: span 2; grid-row: auto; }
  .features { grid-template-columns: 1fr 1fr; }
  .pricelist { columns: 1; }
  .lunch__head { align-items: flex-start; }
  .price-flame { width: 100px; height: 100px; margin-top: 26px; }
  .price-flame span { font-size: 38px; }
  .lunch-groups { grid-template-columns: 1fr; }
  .kids__poster { transform: none; }
  .dock {
    display: grid; grid-template-columns: 1fr 1.2fr 1fr; gap: 8px;
    position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 60;
    background: var(--coal); border-radius: 999px; padding: 6px; box-shadow: 0 10px 30px rgba(0, 0, 0, .25);
  }
  .dock a { color: var(--cream); text-decoration: none; text-align: center; font: 600 14px/44px var(--head); border-radius: 999px; }
  .dock__main { background: var(--flame); }
}
@media (max-width: 600px) {
  .grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .card__body { padding: 10px 12px 12px; }
  .card__name { font-size: 16px; }
  .card__desc { font-size: 12px; }
  .price { font-size: 19px; }
  .card__tags { top: 8px; left: 8px; }
  .tag { font-size: 10px; padding: 5px 7px; }
  .lunch__grid { grid-template-columns: 1fr; }
  .lunch-card--wide { grid-column: auto; }
  .reviews__grid, .tea { grid-template-columns: 1fr; }
  .features { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 2px; }
  .cat-block__title { font-size: 21px; }
  .pricelist { padding: 4px 16px; }
}
