/* Lagonid — design system in CSS (layout system inherited from the approved restaurant template, Figma "15 · Lagonid").
   Breakpoints: mobile < 768 (design 390) · tablet 768–1199 (design 768) · desktop ≥ 1200 (design 1440). */

:root {
  --masa: #F6EEDF;  --masa-2: #EFE1C6;  --white: #FFFFFF;
  --gold: #E5A823;  --gold-deep: #C98F12;  --sand: #EFC07A;  --cream: #F6EEDF;
  --navy: #27324A;  --blue: #1E4FA0;  --espresso: #2A211C;  --cocoa: #4A2E24;
  --clay-1: #7A4E3B;  --clay-2: #623D2F;  --clay-3: #4A2C22;
  --ink: #2A211C;  --ink-2: #6B5A52;  --on-dark: #F6EEDF;  --num: #6A3F2E;  --num-label: #7A6A5C;
  --logo-ink: #2F3B52;  --logo-sub: #8A6A3E;
  --line-ink: rgba(42, 33, 28, .12);  --line-cream: rgba(244, 231, 204, .28);

  --shadow-card: 0 16px 30px rgba(59, 20, 18, .12);
  --shadow-float: 0 30px 60px rgba(59, 20, 18, .30);
  --shadow-photo: 0 24px 50px rgba(59, 20, 18, .45);
  --r-card: 24px; --r-hero: 28px; --r-photo: 20px;

  --display: "Lalezar", Impact, sans-serif;
  --sans: "Readex Pro", system-ui, sans-serif;
  --logo: "Lexend", "Readex Pro", sans-serif;

  /* grid — mobile first */
  --margin: 24px; --cols: 4; --gutter: 16px;
  --section-pad: 64px; --head-gap: 28px;

  /* display scale — mobile */
  --h1: 42px; --h2: 32px; --price: 22px; --stat: 36px;
}
@media (min-width: 768px) {
  :root { --margin: 48px; --cols: 8; --gutter: 16px; --section-pad: 88px; --head-gap: 40px;
    --h1: 52px; --h2: 38px; --price: 24px; --stat: 42px; }
}
@media (min-width: 1200px) {
  :root { --margin: max(48px, calc((100vw - 1080px) / 2)); --cols: 12; --gutter: 24px; --section-pad: 120px; --head-gap: 48px;
    --h1: 59px; --h2: 43px; --price: 25px; --stat: 46px; }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--masa); color: var(--ink); font: 400 15px/22px var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4, p, ul, ol, figure { margin: 0; padding: 0; }
ul { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 3px; }
.bg-navy :focus-visible, .bg-espresso :focus-visible, .bg-blue :focus-visible, .site-footer :focus-visible, .overlay :focus-visible, .hero__panel :focus-visible { outline-color: var(--gold); }

/* ---------- text styles (Figma: Lalezar display, Readex Pro text) ---------- */
.t-h1 { font: 400 var(--h1)/1.04 var(--display); text-transform: uppercase; }
.t-h2 { font: 400 var(--h2)/1.04 var(--display); text-transform: uppercase; }
.t-price { font: 400 var(--price)/1.04 var(--display); text-transform: uppercase; white-space: nowrap; }
.t-stat { font: 400 var(--stat)/1.04 var(--display); }
.t-item { font: 700 20px/24px var(--sans); letter-spacing: .03em; text-transform: uppercase; }
.t-card { font: 700 20px/24px var(--sans); }
.t-row { font: 700 17px/22px var(--sans); }
.t-body-l { font: 400 17px/28px var(--sans); }
.t-body { font: 400 15px/22px var(--sans); }
.t-caption { font: 500 14px/20px var(--sans); }
.t-label { font: 600 12px/16px var(--sans); letter-spacing: .3em; text-transform: uppercase; }
.t-nav { font: 600 13px/16px var(--sans); letter-spacing: .04em; text-transform: uppercase; }
.t-small { font: 500 12px/16px var(--sans); }
@media (max-width: 767px) { .t-item { font-size: 17px; line-height: 22px; } .t-body-l { font-size: 16px; line-height: 26px; } }
.c-ink2 { color: var(--ink-2); } .c-sand { color: var(--sand); } .c-cream { color: var(--cream); }
.center { text-align: center; }

/* ---------- layout ---------- */
.container { padding-inline: var(--margin); width: 100%; }
.grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); column-gap: var(--gutter); }
.section { position: relative; padding-block: var(--section-pad); }
.bg-masa { background: var(--masa); } .bg-masa2 { background: var(--masa-2); }
.bg-navy { background: var(--navy); color: var(--on-dark); } .bg-espresso { background: var(--espresso); color: var(--on-dark); }
.bg-blue { background: var(--blue); color: var(--cream); }
.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- heading ---------- */
.heading { display: flex; flex-direction: column; gap: 10px; }
.heading .t-label { color: var(--blue); }
.heading--center { align-items: center; text-align: center; }
.bg-navy .heading .t-label, .bg-espresso .heading .t-label { color: var(--sand); }
@media (max-width: 767px) { .heading { gap: 6px; } }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 14px 26px; border-radius: 999px; border: 0; cursor: pointer;
  font: 700 13px/16px var(--sans); letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; transition: transform .15s ease, background .2s, color .2s, box-shadow .2s; }
.btn:hover { transform: translateY(-2px); }
.btn--gold { background: var(--gold); color: #fff; } .btn--gold:hover { background: var(--gold-deep); }
.btn--gold-ink { background: var(--gold); color: var(--espresso); } .btn--gold-ink:hover { background: #F0B83A; }
.btn--outline-light { background: transparent; color: var(--cream); box-shadow: inset 0 0 0 1.5px var(--cream); }
.btn--outline-light:hover { background: rgba(246, 238, 223, .12); }
.btn--block { width: 100%; }
@media (max-width: 767px) { .btn--block-m { width: 100%; } }
.plus { flex: none; width: 44px; height: 44px; border-radius: 50%; background: var(--gold); color: var(--espresso); border: 0; display: grid; place-items: center; font: 700 24px/1 var(--sans); }

/* ---------- chips ---------- */
.chips { display: flex; gap: 10px; overflow-x: auto; scrollbar-width: none; }
.chips::-webkit-scrollbar { display: none; }
.chip { flex: none; min-height: 44px; padding: 10px 18px; border-radius: 999px; border: 0; background: transparent; box-shadow: inset 0 0 0 1.5px var(--line-ink); cursor: pointer;
  font: 600 13px/16px var(--sans); letter-spacing: .04em; text-transform: uppercase; color: var(--ink); transition: background .2s, color .2s, box-shadow .2s; }
.chip:hover { box-shadow: inset 0 0 0 1.5px var(--ink); }
.chip.is-active, .chip[aria-selected="true"] { background: var(--espresso); color: var(--cream); box-shadow: none; }
@media (max-width: 767px) { .chips--bleed { margin-inline: calc(var(--margin) * -1); padding-inline: var(--margin); } }

/* ---------- ticker band (filled by layout.js) + brand line ---------- */
.ticker { position: relative; height: 56px; overflow: hidden; pointer-events: none; color: var(--cream); display: flex; align-items: center; }
.ticker::before, .ticker::after { content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor; opacity: .55; }
.ticker::before { top: 0; } .ticker::after { bottom: 0; }
.ticker__track { display: flex; flex: none; width: max-content; animation: ticker 48s linear infinite; }
.ticker__item { display: inline-flex; align-items: center; gap: 22px; padding-right: 22px; white-space: nowrap;
  font: 400 25px/1.04 var(--display); text-transform: uppercase; padding-top: 4px; }
.ticker__item svg { flex: none; width: 14px; height: 14px; margin-top: -4px; fill: currentColor; }
@keyframes ticker { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker__track { animation: none; transform: translateX(24px); } }
@media (max-width: 767px) { .ticker { height: 46px; } .ticker__item { font-size: 21px; gap: 18px; padding-right: 18px; } .ticker__item svg { width: 12px; height: 12px; } }
.brandline { height: 4px; background: var(--gold); }

/* ---------- logo (mark + wordmark, Figma "Logo") ---------- */
.logo { display: inline-flex; flex-direction: column; align-items: center; gap: 5px; color: var(--logo-ink); }
.logo__mark { display: block; width: 53.5px; height: 26.75px; overflow: visible; }
.logo__word { font: 800 26px/1 var(--logo); letter-spacing: .02em; }
.logo__sub { font: 600 8px/10px var(--logo); letter-spacing: .06em; color: var(--logo-sub); white-space: nowrap; }
.logo--s { gap: 3px; } .logo--s .logo__mark { width: 36px; height: 18px; } .logo--s .logo__word { font-size: 19px; } .logo--s .logo__sub { font-size: 6px; line-height: 8px; }
.logo-plate { display: inline-flex; align-items: center; justify-content: center; background: var(--masa); border-radius: 20px; }

/* ---------- header ---------- */
.site-header { position: relative; z-index: 20; background: var(--masa); height: 76px; display: flex; align-items: center; justify-content: space-between; padding: 0 24px; }
.site-header__left, .site-header__right { display: none; }
.site-header__compact { display: flex; align-items: center; gap: 8px; margin-right: -10px; }
.site-header__compact .btn { min-height: 38px; padding: 11px 18px; }
.burger { width: 44px; height: 44px; background: none; border: 0; cursor: pointer; display: grid; place-content: center; gap: 5px; }
.burger span { display: block; width: 24px; height: 2.5px; border-radius: 2px; background: var(--ink); }
.site-header a[aria-current="page"] { color: var(--blue); }
@media (max-width: 1199px) {
  .site-header__logo .logo { gap: 4px; } .site-header__logo .logo__mark { width: 42px; height: 21px; }
  .site-header__logo .logo__word { font-size: 21px; } .site-header__logo .logo__sub { font-size: 6.5px; line-height: 8px; }
}
@media (min-width: 768px) { .site-header { padding: 0 48px; } }
@media (min-width: 1200px) {
  .site-header { height: 96px; padding: 0 44px 0 48px; display: grid; grid-template-columns: 1fr auto 1fr; }
  .site-header__left, .site-header__right { display: flex; align-items: center; }
  .site-header__left { gap: 38px; }
  .site-header__right { justify-content: flex-end; }
  .site-header__right > a:not(.btn) { margin-right: 36px; }
  .site-header__right > span { margin-right: 39px; }
  .site-header__logo { justify-self: center; }
  .site-header__compact { display: none; }
  .site-header__left a:hover, .site-header__right a:not(.btn):hover { color: var(--blue); }
}

/* ---------- overlay ---------- */
.overlay { position: fixed; inset: 0; z-index: 50; background: var(--navy); color: var(--cream); display: flex; flex-direction: column; padding: 0 24px 40px; overflow-y: auto;
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s; }
.overlay.is-open { opacity: 1; visibility: visible; }
.overlay__top { height: 76px; flex: none; display: flex; align-items: center; justify-content: space-between; }
.overlay__top .logo-plate { padding: 6px 10px; border-radius: 12px; }
.overlay__close { width: 44px; height: 44px; margin-right: -10px; background: none; border: 0; cursor: pointer; display: grid; place-items: center; }
.overlay .ticker { flex: none; margin-inline: -24px; }
.overlay .ticker__track { padding-left: 24px; }
.overlay__links { margin-top: 48px; display: flex; flex-direction: column; gap: 10px; }
.overlay__links a { font: 400 54px/1.04 var(--display); text-transform: uppercase; }
.overlay__links a:hover { color: var(--sand); }
.overlay__bottom { margin-top: auto; padding-top: 40px; display: flex; flex-direction: column; gap: 24px; }
@media (max-width: 359px) { .overlay__links a { font-size: 44px; } }
@media (min-width: 768px) { .overlay { padding: 0 48px 64px; } .overlay .ticker { margin-inline: -48px; } .overlay .ticker__track { padding-left: 48px; } .overlay__links a { font-size: 80px; } }
body.no-scroll { overflow: hidden; }

/* ---------- numbered tile plate (blue-and-white plate with a numbered well, Figma "Dish image") ---------- */
.plate-no { position: relative; display: block; width: 100%; aspect-ratio: 1; container-type: inline-size; }
.plate-no__tile { position: absolute; left: 6%; top: 6%; width: 88%; height: 88%; }
.plate-no__tile img { position: absolute; left: -10.91%; top: -5.45%; width: 121.82%; max-width: none; height: auto; }
.plate-no__well { position: absolute; left: 22.8%; top: 22.8%; width: 54.4%; height: 54.4%; border-radius: 50%; background: var(--masa); box-shadow: inset 0 0 0 2px var(--blue);
  display: flex; flex-direction: column; align-items: center; justify-content: center; padding-bottom: 3%; }
.plate-no__well small { font: 600 4.4cqw/1.2 var(--sans); letter-spacing: .14em; color: var(--num-label); }
.plate-no__well b { font: 400 24cqw/1.04 var(--display); font-weight: 400; color: var(--num); margin-top: .4cqw; }

/* ---------- dish card ---------- */
.card { position: relative; display: flex; flex-direction: column; background: var(--masa); border-radius: var(--r-card); box-shadow: var(--shadow-card); padding: 22px 24px 20px; transition: transform .25s, box-shadow .25s; }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-float); }
.card__media { position: relative; width: 176px; max-width: 100%; margin: 0 auto; aspect-ratio: 1; container-type: inline-size; }
.card__media > img { width: 100%; height: 100%; }
.card__media .plate-no__well { left: 19.3%; top: 19.3%; width: 61.4%; height: 61.4%; }
.card__media .plate-no__well small { font-size: 5.7cqw; }
.card__media .plate-no__well b { font-size: 27.3cqw; }
.card__name { margin-top: 16px; }
.card__meta { color: var(--ink-2); margin-top: 6px; }
.card__foot { margin-top: auto; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }

/* ---------- menu row ---------- */
.row { display: flex; align-items: flex-start; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--line-ink); }
.row__text { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.row__text .t-body, .row__text .t-small { color: var(--ink-2); }

/* ---------- info rows (on navy) ---------- */
.info-row { padding: 16px 0 12px; border-top: 1px solid var(--line-cream); display: flex; flex-direction: column; gap: 6px; }
.info-row .t-label { color: var(--sand); }
.info-row .t-card { color: var(--cream); }

/* ---------- form ---------- */
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font: 600 12px/16px var(--sans); letter-spacing: .3em; text-transform: uppercase; color: var(--ink-2); }
.field input, .field select, .field textarea { min-height: 52px; padding: 14px 18px; border-radius: 14px; border: 1px solid var(--line-ink); background: #fff; font: 400 15px/22px var(--sans); color: var(--ink); outline: none; transition: border-color .2s, box-shadow .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(30, 79, 160, .15); }
.field textarea { resize: vertical; min-height: 52px; }

/* ---------- map pin ---------- */
.pin { position: absolute; display: flex; align-items: center; gap: 0; transform: translate(-45px, -45px); }
.pin__dot { position: relative; flex: none; width: 90px; height: 90px; border-radius: 50%; background: rgba(229, 168, 35, .18); display: grid; place-items: center; }
.pin__dot::after { content: ""; width: 20px; height: 20px; border-radius: 50%; background: var(--gold); box-shadow: 0 0 0 4px #fff; }
.pin__dot::before { content: ""; position: absolute; inset: 0; border-radius: 50%; background: rgba(229, 168, 35, .25); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { from { transform: scale(.4); opacity: 1; } to { transform: scale(1.4); opacity: 0; } }
.pin__tag { margin-left: -14px; background: #fff; border-radius: 14px; padding: 10px 16px; box-shadow: var(--shadow-card); white-space: nowrap; color: var(--ink); display: flex; flex-direction: column; gap: 2px; }
.pin__tag .t-small { color: var(--ink-2); }

/* ---------- photo ---------- */
.photo { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r-photo); box-shadow: var(--shadow-photo); }

/* ---------- footer ---------- */
.site-footer { background: var(--cocoa); color: var(--on-dark); }
.site-footer__in { padding-block: 56px 40px; display: grid; gap: 32px; }
.site-footer__logo { justify-self: start; width: 222px; height: 154px; }
.site-footer__logo .logo { gap: 7px; } .site-footer__logo .logo__mark { width: 70px; height: 35px; }
.site-footer__logo .logo__word { font-size: 34px; } .site-footer__logo .logo__sub { font-size: 11px; line-height: 14px; }
.site-footer__links { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 24px; align-content: start; }
.site-footer__col { display: contents; }
.site-footer__links a:hover, .site-footer__info a:hover { color: var(--sand); }
.site-footer__info { line-height: 26px; }
.site-footer__bottom { border-top: 1px solid var(--line-cream); padding-top: 21px; display: flex; flex-direction: column; gap: 6px; }
.site-footer__bottom > span { opacity: .7; }
@media (max-width: 767px) { .site-footer__logo { width: 196px; height: 136px; } .site-footer__info { order: 2; } .site-footer__links { order: 3; } .site-footer__bottom { order: 4; } }
@media (min-width: 768px) {
  .site-footer__in { grid-template-columns: 260px 1fr; }
  .site-footer__links { grid-template-columns: 170px 170px; }
  .site-footer__info { grid-column: 1 / -1; }
  .site-footer__bottom { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; }
}
@media (min-width: 1200px) {
  .site-footer__in { grid-template-columns: 460px 200px 200px auto; gap: 0; padding-block: 68px 36px; }
  .site-footer__links { display: contents; }
  .site-footer__col { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; padding-top: 8px; }
  .site-footer__info { grid-column: auto; padding-top: 4px; white-space: nowrap; }
  .site-footer__bottom { margin-top: 94px; }
}

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } html { scroll-behavior: auto; } .pin__dot::before { animation: none; } }
