/* =========================================================
   Pizzeria Marco Polo · Galați
   ========================================================= */

:root {
  --cream: #F5EAD9;
  --cream-light: #FBF4EA;
  --sand: #EBDCC5;
  --sand-line: #D8C5A8;
  --ink: #232F36;
  --ink-raised: #2E3A41;
  --ink-line: #3A464D;
  --muted: #5F666A;
  --muted-light: #8B8C8A;
  --red: #C8141C;
  --red-hover: #AC1017;
  --red-deep: #9A0F15;
  --coral: #F2776F;
  --pink: #FDEFEC;
  --pink-soft: #FAD9D5;
  --pink-line: #F1B8B1;
  --mint: #E5F4E9;
  --mint-soft: #D3EEDB;
  --green: #1F8049;
  --green-deep: #175F37;
  --maroon: #54292E;
  --on-dark: #F8F1E7;
  --on-dark-muted: #CBC3B7;
  --on-dark-faint: #98A0A4;

  --font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --container: 1524px;
  --gutter: 40px;
  --edge: clamp(20px, 3.65vw, 70px);
  --header-h: 110px;
  --ease: cubic-bezier(.22, .7, .2, 1);
  --shadow-red: 0 14px 28px -12px rgba(200, 20, 28, .6);
  --shadow-card: 0 34px 60px -30px rgba(35, 47, 54, .55);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img, svg, iframe { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, p, ul, ol, figure, blockquote, address { margin: 0; }
address { font-style: normal; }
:where(ul[class], ol[class]) { list-style: none; padding: 0; }
button, input { font: inherit; color: inherit; }
button { background: none; border: 0; padding: 0; cursor: pointer; }
:focus-visible { outline: 3px solid var(--red); outline-offset: 3px; }

.sr-only {
  position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute; left: 16px; top: -80px; z-index: 100;
  padding: 12px 18px; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700;
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.container { width: min(var(--container), 100% - 2 * var(--gutter)); margin-inline: auto; }
.text-red { color: var(--red); }

.eyebrow {
  display: block;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--red);
}

/* Decorative background shapes */
.shape { position: absolute; z-index: 0; pointer-events: none; }
.shape--pink { top: 0; right: 0; background: var(--pink); }
.shape--mint { border-radius: 50%; background: var(--mint); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  padding: 16px 27px;
  border: 2px solid transparent; border-radius: 999px;
  font-size: 19.2px; font-weight: 700; line-height: 1.2; white-space: nowrap;
  cursor: pointer;
  transition: transform .25s var(--ease), background-color .25s, border-color .25s, color .25s, box-shadow .25s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: translateY(1px); }
.btn-red { background: var(--red); color: #fff; box-shadow: var(--shadow-red); }
.btn-red:hover { background: var(--red-hover); transform: translateY(-2px); box-shadow: 0 18px 32px -12px rgba(200, 20, 28, .65); }
.btn-outline { border-color: var(--sand-line); color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-outline-light { border-color: rgba(248, 241, 231, .3); color: var(--on-dark); }
.btn-outline-light:hover { border-color: var(--on-dark); transform: translateY(-2px); }
.btn-cream { background: var(--cream); color: var(--ink); }
.btn-cream:hover { background: #fff; transform: translateY(-2px); }
.btn-lg { gap: 14px; padding: 21px 33px; font-size: 24px; }
.btn-lg svg { width: 22px; height: 22px; }
.btn-md { gap: 14px; padding: 21px 31px; font-size: 21.3px; }
.btn-call { gap: 14px; padding: 22px 34px; font-size: 22.8px; }
.btn-call svg { width: 22px; height: 22px; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 60; background: var(--cream); transition: box-shadow .3s ease; }
.site-header.is-scrolled { box-shadow: 0 12px 30px -22px rgba(35, 47, 54, .45); }
.header-bar {
  position: relative;
  height: var(--header-h);
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  padding-inline: var(--edge);
}
.brand { flex: none; display: block; border-radius: 12px; }
.brand img { width: 82px; height: auto; }
.nav { display: flex; align-items: center; gap: 32px; }
.nav-links { display: flex; align-items: center; gap: 33px; }
.nav-links a {
  display: block;
  padding: 10px 2px;
  border-bottom: 2px solid transparent;
  font-size: 19.2px; font-weight: 500; line-height: 1.2;
  transition: color .2s, border-color .2s;
}
.nav-links a:hover { color: var(--red); }
.nav-links a[aria-current="page"] { color: var(--red); border-bottom-color: var(--red); }
.header-call { gap: 10px; padding: 16px 25px 16px 26px; }
.nav-toggle {
  display: none; order: 3;
  width: 48px; height: 48px; border-radius: 50%;
  place-content: center; gap: 5px;
  border: 2px solid var(--sand-line);
}
.nav-toggle span { display: block; width: 20px; height: 2px; border-radius: 2px; background: var(--ink); transition: transform .3s var(--ease), opacity .2s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero { position: relative; overflow: hidden; padding: 90px 0 112px; }
.page-hero > .container { position: relative; z-index: 1; }
.page-title {
  margin-top: 15px;
  max-width: 18em;
  font-size: clamp(38px, 3.75vw, 72px);
  font-weight: 700; line-height: 1.08;
}
.lead { margin-top: 15px; max-width: 683px; font-size: clamp(18px, 1.11vw, 21.3px); line-height: 1.6; color: var(--muted); }
.lead strong { color: var(--red-deep); font-weight: 700; white-space: nowrap; }

.page-hero--menu { padding-bottom: 135px; }
.page-hero--about, .page-hero--gallery { padding-bottom: 114px; }
.page-hero--contact { padding-bottom: 111px; }
.page-hero--menu .shape--pink { width: 375px; height: 325px; }
.page-hero--gallery .shape--pink { width: 337px; height: 288px; }
.page-hero .shape--mint { width: 456px; height: 456px; left: -140px; top: -182px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  padding: 47px 48px;
  border-radius: 32px;
  background: var(--ink); color: var(--on-dark);
}
.cta-banner__title { max-width: var(--cta-w, 26em); font-size: clamp(24px, 1.834vw, 35.2px); font-weight: 700; line-height: 1.2; }
.cta-banner__actions { display: flex; flex-wrap: wrap; gap: 17px; }

/* ---------- Home: hero ---------- */
.hero { position: relative; overflow: hidden; padding: 115px 0 136px; }
.hero > .container { position: relative; z-index: 1; }
.hero .shape--pink { width: 475px; height: 498px; }
.hero .shape--mint { width: 350px; height: 350px; left: -87px; bottom: -120px; }
.hero__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: center; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 14px;
  height: 43px; padding: 0 18px;
  border-radius: 999px;
  background: var(--mint-soft); color: var(--green-deep);
  font-size: 14.5px; font-weight: 700; letter-spacing: .15em; text-transform: uppercase; line-height: 1;
}
.badge-pill::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: var(--green); }

.hero__title { margin-top: 24px; font-size: clamp(44px, 4.6vw, 88px); font-weight: 700; line-height: 1.04; }
.hero__text { margin-top: 17px; max-width: 30em; font-size: clamp(17px, 1.3vw, 25px); line-height: 1.6; color: var(--muted); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 34px; }
.hero__stats { display: flex; flex-wrap: wrap; gap: 34px; margin-top: 67px; }
.hero__stats strong { display: block; font-size: clamp(36px, 2.667vw, 51.2px); font-weight: 700; line-height: 1; color: var(--red); }
.hero__stats span { display: block; font-size: 14.5px; font-weight: 500; letter-spacing: .14em; line-height: 1.5; text-transform: uppercase; color: var(--muted-light); }

.hero__visual { position: relative; justify-self: end; width: min(670px, 100%); aspect-ratio: 670 / 643; }
.hero__ring {
  position: absolute; left: 0; top: 0; width: 95.97%; height: 100%;
  border: 2px dashed rgba(200, 20, 28, .32); border-radius: 50%;
  animation: spin 80s linear infinite;
}
.hero__pizza {
  position: absolute; left: 4.93%; top: 5.13%; width: 86.12%; height: auto; aspect-ratio: 1;
  border-radius: 50%; object-fit: cover;
  box-shadow: 0 50px 70px -34px rgba(35, 47, 54, .6);
}
.hero__chip {
  position: absolute; top: 2.18%; right: 0;
  display: inline-flex; align-items: center; gap: 13px;
  height: 51px; padding: 0 22px 0 24px;
  border-radius: 999px; background: var(--ink); color: var(--on-dark);
  font-size: 16.5px; font-weight: 700; line-height: 1; white-space: nowrap;
  box-shadow: 0 16px 30px -16px rgba(35, 47, 54, .7);
  animation: float 6s ease-in-out infinite;
}
.hero__chip svg { width: 16px; height: 16px; }
.hero__price {
  position: absolute; left: -6.27%; top: 74.03%;
  padding: 20px 20px 23px 24px;
  border-radius: 20px; background: var(--cream-light);
  box-shadow: 0 26px 44px -22px rgba(35, 47, 54, .45);
  animation: float 7s ease-in-out infinite;
}
.hero__price span { display: block; font-size: 14px; font-weight: 600; letter-spacing: .13em; line-height: 1.4; text-transform: uppercase; color: var(--muted-light); white-space: nowrap; }
.hero__price strong { display: block; margin-top: 8px; font-size: 32.9px; font-weight: 700; line-height: 1.2; color: var(--red); }

/* ---------- Home: marquee ---------- */
.marquee { display: flex; align-items: center; height: 96px; overflow: hidden; background: var(--red); color: #fff; }
.marquee__track { display: flex; width: max-content; animation: marquee 34s linear infinite; }
.marquee__group { display: flex; align-items: center; flex: none; }
.marquee__group li { display: flex; align-items: center; font-size: clamp(22px, 1.71vw, 32.8px); font-weight: 700; line-height: 1.2; white-space: nowrap; }
.marquee__group li::after { content: ""; width: 11px; height: 11px; margin: 0 74px; border-radius: 50%; background: rgba(255, 255, 255, .5); }

/* ---------- Home: specialities ---------- */
.section { padding: 135px 0; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.section-title { margin-top: 13px; max-width: 6.7em; font-size: clamp(34px, 3.125vw, 60px); font-weight: 700; line-height: 1.1; }
.link-arrow { display: inline-flex; align-items: center; gap: 10px; font-size: 20.8px; font-weight: 700; color: var(--red); }
.link-arrow svg { width: 20px; height: 20px; transition: transform .25s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.dish-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; margin-top: 62px; }
.dish {
  display: block; overflow: hidden;
  border-radius: 24px; background: var(--sand);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.dish:hover { transform: translateY(-6px); box-shadow: var(--shadow-card); }
.dish__media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.dish__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.dish:hover .dish__media img { transform: scale(1.05); }
.dish__tag {
  position: absolute; top: 20px; left: 19px; z-index: 1;
  height: 37px; padding: 0 14px; line-height: 37px;
  border-radius: 999px; background: var(--red); color: #fff;
  font-size: 14px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.dish__body { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 109px; padding: 16px 32px; }
.dish__name { font-size: clamp(22px, 1.6vw, 30.7px); font-weight: 700; line-height: 1.2; }
.dish__price { font-size: clamp(20px, 1.44vw, 27.7px); font-weight: 700; line-height: 1.2; color: var(--red); white-space: nowrap; }
.dish--featured { background: var(--ink); color: var(--on-dark); box-shadow: var(--shadow-card); }
.dish--featured .dish__price { color: var(--coral); }

/* ---------- Home: reviews ---------- */
.reviews { position: relative; overflow: hidden; padding: 135px 0; background: var(--ink); color: var(--on-dark); text-align: center; }
.reviews > *:not(.shape) { position: relative; z-index: 1; }
.reviews .eyebrow { color: var(--coral); }
.reviews .shape { width: 350px; height: 350px; left: -87px; bottom: -90px; border-radius: 50%; background: var(--maroon); }
.stars { display: flex; justify-content: center; gap: 11px; margin-top: 24px; color: var(--coral); }
.stars svg { width: 26px; height: 26px; }
.reviews__viewport { margin-top: 61px; padding-left: var(--edge); overflow: hidden; }
.reviews__track { display: flex; width: max-content; animation: marquee-3 66s linear infinite; }
.reviews__viewport:focus-within .reviews__track { animation-play-state: paused; }
.reviews__group { display: flex; flex: none; gap: 22px; padding-right: 22px; }
.review {
  display: flex; flex-direction: column; flex: none;
  width: 443px; padding: 22px 16px 22px 22px;
  border: 1px solid rgba(255, 255, 255, .08); border-radius: 18px;
  background: var(--ink-raised); text-align: left;
}
.review__text { font-size: 17.6px; line-height: 1.52; color: var(--on-dark); }
.review__by { margin-top: auto; padding-top: 19px; font-size: 13px; font-weight: 700; letter-spacing: .13em; line-height: 1.2; text-transform: uppercase; color: var(--coral); }
.reviews__cta { margin-top: 60px; }
.btn-review { gap: 14px; padding: 20px 34px; font-size: 22.4px; }
.btn-review svg { width: 22px; height: 22px; }

/* ---------- Menu ---------- */
.menu-tabs { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 55px; }
html:not(.js) .menu-tabs { display: none; }
.menu-tab {
  padding: 15px 26px;
  border: 2px solid var(--sand-line); border-radius: 999px;
  font-size: 19.2px; font-weight: 700; line-height: 1.2; color: var(--ink); white-space: nowrap;
  transition: background-color .25s, border-color .25s, color .25s;
}
.menu-tab:hover { border-color: var(--ink); }
.menu-tab[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.menu-panel { margin-top: 50px; }
.js .menu-panel:not(.is-active) { display: none; }
.js .menu-panel.is-active { animation: fade-up .45s var(--ease); }
.menu-panel__title { margin-bottom: 20px; font-size: 28px; }
.js .menu-panel__title { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.menu-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr)); gap: 18px; }
.menu-item {
  display: flex; flex-direction: column;
  padding: 25px 22px 20px 33px;
  border-left: 4px solid var(--pink-line); border-radius: 18px;
  background: var(--sand);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.menu-item:hover { transform: translateY(-3px); box-shadow: 0 20px 34px -26px rgba(35, 47, 54, .6); }
.menu-item__head { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin-bottom: 15px; }
.menu-item__name { font-size: 23.2px; font-weight: 700; line-height: 1.2; }
.menu-item__price { font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--red); white-space: nowrap; }
.menu-item__meta { display: flex; font-size: 16px; font-weight: 700; line-height: 24px; color: #86827B; }
.tag {
  display: inline-block; height: 31px; padding: 0 12px; line-height: 31px;
  border-radius: 999px; background: var(--pink-soft); color: var(--red-deep);
  font-size: 13px; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}
.menu-cta { margin-top: 60px; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 710fr) minmax(0, 736fr); gap: 78px; align-items: center; margin-top: 48px; }
.about-media { position: relative; }
.about-media img { width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 24px; box-shadow: 0 40px 60px -36px rgba(35, 47, 54, .55); }
.about-badge {
  position: absolute; right: -18px; bottom: -30px;
  display: grid; place-content: center; gap: 6px;
  width: 190px; height: 190px; border-radius: 50%;
  background: var(--red); color: #fff; text-align: center;
  box-shadow: 0 26px 40px -18px rgba(200, 20, 28, .6);
}
.about-badge strong { font-size: 40px; font-weight: 800; line-height: 1; }
.about-badge span { font-size: 13px; font-weight: 700; letter-spacing: .14em; line-height: 1.35; text-transform: uppercase; }
.about-copy > p { font-size: clamp(17px, 1.11vw, 21.3px); line-height: 1.66; color: var(--muted); }
.steps { display: grid; gap: 23px; margin-top: 32px; }
.step { display: grid; grid-template-columns: 60px minmax(0, 1fr); column-gap: 22px; align-items: center; }
.step__num { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--mint-soft); color: var(--green-deep); font-size: 20px; font-weight: 700; }
.step:nth-child(2) .step__num { background: var(--pink-soft); color: var(--red-deep); }
.step__title { font-size: 24px; font-weight: 700; line-height: 1.3; }
.step__text { margin-top: 2px; font-size: 18.8px; line-height: 1.5; color: var(--muted); }

.stats-band { padding: 108px 0 112px; background: var(--sand); }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 38px; }
.stat strong { display: block; font-size: clamp(38px, 2.9vw, 56px); font-weight: 700; line-height: 1.1; color: var(--red); }
.stat p { max-width: 336px; margin-top: 4px; font-size: 18.8px; line-height: 1.5; color: var(--muted); }
.section-cta { padding: 114px 0; }

/* ---------- Gallery ---------- */
.gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 471px; gap: 18px; margin-top: 49px; }
.gallery__item { position: relative; overflow: hidden; border-radius: 24px; background: var(--sand); }
.gallery__item--wide { grid-column: span 2; }
.gallery__item button { display: block; width: 100%; height: 100%; cursor: zoom-in; }
.gallery__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .7s var(--ease); }
.gallery__item:hover img { transform: scale(1.05); }
.gallery-cta { margin-top: 113px; }

.lightbox {
  width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 24px;
  border: 0; background: rgba(20, 27, 31, .92); color: #fff;
}
.lightbox[open] { display: grid; place-items: center; animation: fade-in .25s ease; }
.lightbox::backdrop { background: transparent; }
.lightbox figure { display: grid; justify-items: center; gap: 14px; max-width: min(1200px, 100%); }
.lightbox img { max-height: calc(100vh - 140px); width: auto; border-radius: 18px; }
.lightbox figcaption { font-weight: 500; color: var(--on-dark-muted); text-align: center; }
.lightbox__btn {
  position: absolute; display: grid; place-items: center;
  width: 52px; height: 52px; border-radius: 50%;
  background: rgba(255, 255, 255, .12); color: #fff; transition: background-color .2s;
}
.lightbox__btn:hover { background: rgba(255, 255, 255, .24); }
.lightbox__btn svg { width: 24px; height: 24px; }
.lightbox__close { top: 20px; right: 20px; }
.lightbox__prev { left: 20px; top: 50%; translate: 0 -50%; }
.lightbox__next { right: 20px; top: 50%; translate: 0 -50%; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 32px; margin-top: 49px; }
.info-card { display: flex; flex-direction: column; padding: 32px; border-radius: 28px; background: var(--sand); }
.info-card--dark { background: var(--ink); color: var(--on-dark); box-shadow: 0 34px 50px -30px rgba(35, 47, 54, .7); }
.info-card__icon { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 50%; background: var(--pink-soft); color: var(--red-deep); }
.info-card__icon svg { width: 26px; height: 26px; }
.info-card__icon--red { background: var(--red); color: #fff; }
.info-card__icon--mint { background: var(--mint-soft); color: var(--green-deep); }
.info-card h2 { margin-top: 12px; font-size: 24px; font-weight: 700; line-height: 1.3; }
.info-card address { margin-top: 14px; font-size: 20px; line-height: 1.5; color: var(--muted); }
.info-card__phone { display: inline-block; margin-top: 12px; font-size: clamp(30px, 1.96vw, 37.6px); font-weight: 700; line-height: 1.2; color: var(--coral); }
.info-card__phone:hover { color: #fff; }
.info-card__foot { margin-top: auto; padding-top: 16px; font-size: 18.8px; line-height: 1.6; color: var(--on-dark-muted); }
.hours { margin: 6px 0 7px; }
.hours li { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid var(--sand-line); font-size: 20px; line-height: 1.5; }
.hours li:last-child { border-bottom: 0; }
.hours b { font-weight: 600; }
.hours span { color: var(--muted); white-space: nowrap; }
.open-status { display: flex; align-items: center; gap: 12px; margin-top: auto; font-size: 17.6px; font-weight: 700; line-height: 1.7; color: var(--green); }
.open-status::before { content: ""; width: 8px; height: 8px; flex: none; border-radius: 50%; background: currentColor; }

.map-card {
  position: relative; isolation: isolate; overflow: hidden;
  height: 547px; margin-top: 32px;
  border-radius: 28px; background: var(--sand);
  box-shadow: 0 34px 60px -44px rgba(35, 47, 54, .6);
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.map-card iframe { width: 100%; height: 100%; border: 0; }
.map-link {
  position: absolute; left: 31px; bottom: 30px;
  display: inline-flex; align-items: center; gap: 12px;
  padding: 19px 26px 19px 28px;
  border-radius: 999px; background: var(--cream); color: var(--ink);
  font-size: 18.8px; font-weight: 700; line-height: 1.2;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, .35);
  transition: transform .25s var(--ease), background-color .25s;
}
.map-link:hover { transform: translateY(-2px); background: #fff; }
.map-link svg { width: 20px; height: 20px; }

/* ---------- Footer ---------- */
.site-footer { padding-top: 90px; background: var(--ink); color: var(--on-dark); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1.25fr .78fr; column-gap: 64px; row-gap: 48px; }
.footer-logo { display: grid; place-items: center; width: 156px; height: 130px; border-radius: 24px; background: var(--cream); }
.footer-logo img { width: 120px; height: auto; }
.footer-about p { max-width: 350px; margin-top: 29px; font-size: 18.9px; line-height: 1.6; color: var(--on-dark-muted); }
.socials { display: flex; gap: 13px; margin-top: 22px; }
.socials a, .socials span { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--ink-line); color: var(--on-dark); transition: background-color .25s, color .25s, transform .25s var(--ease); }
.socials a:hover { background: var(--red); color: #fff; transform: translateY(-2px); }
.socials svg { width: 22px; height: 22px; }
.footer-title { font-size: 14px; font-weight: 700; letter-spacing: .15em; line-height: 1.2; text-transform: uppercase; color: var(--coral); }
.footer-list { display: grid; gap: 13px; margin-top: 18px; font-size: 19px; line-height: 1.5; }
.footer-list a { transition: color .2s; }
.footer-list a:hover { color: var(--coral); }
.footer-muted { color: var(--on-dark-faint); }
.footer-bottom {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px;
  margin-top: 70px; padding: 22px 0 50px;
  border-top: 1px solid var(--ink-line);
  font-size: 16.3px; line-height: 1.6; color: var(--on-dark-faint);
}

/* ---------- Chat widget ---------- */
.chat { position: fixed; right: 36px; bottom: 6px; z-index: 80; display: none; align-items: center; gap: 15px; }
.js .chat { display: flex; }
.chat__teaser {
  display: inline-flex; align-items: center;
  height: 57px; padding: 0 24px;
  border-radius: 999px; background: var(--cream); color: var(--ink);
  font-size: 17.6px; font-weight: 500; white-space: nowrap;
  box-shadow: 0 14px 34px -14px rgba(20, 28, 33, .45);
  opacity: 0; transform: translateX(14px) scale(.96); pointer-events: none;
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.chat.show-teaser .chat__teaser { opacity: 1; transform: none; pointer-events: auto; }
.chat__toggle {
  display: grid; place-items: center; flex: none;
  width: 90px; height: 90px; border-radius: 50%;
  border: 4px solid var(--red); background: #fff;
  box-shadow: 0 16px 30px -12px rgba(20, 28, 33, .5);
  transition: transform .25s var(--ease);
}
.chat__toggle:hover { transform: scale(1.05); }
.chat__toggle img { width: 64px; height: auto; }
.chat__panel {
  position: absolute; right: 0; bottom: calc(100% + 14px);
  display: flex; flex-direction: column;
  width: min(380px, calc(100vw - 32px)); max-height: min(560px, calc(100vh - 140px));
  overflow: hidden;
  border-radius: 24px; background: var(--cream-light); color: var(--ink);
  box-shadow: 0 30px 70px -24px rgba(20, 28, 33, .55);
  transform-origin: bottom right;
  opacity: 0; visibility: hidden; transform: translateY(12px) scale(.97);
  transition: opacity .3s var(--ease), transform .3s var(--ease), visibility 0s linear .3s;
}
.chat.is-open .chat__panel { opacity: 1; visibility: visible; transform: none; transition: opacity .3s var(--ease), transform .3s var(--ease); }
.chat__head { display: flex; align-items: center; gap: 12px; padding: 16px 16px 16px 18px; background: var(--ink); color: var(--on-dark); }
.chat__avatar { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: #fff; border: 2px solid var(--red); }
.chat__avatar img { width: 32px; height: auto; }
.chat__name { font-weight: 700; line-height: 1.3; }
.chat__status { display: flex; align-items: center; gap: 6px; font-size: 13px; color: var(--on-dark-muted); }
.chat__status::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: #3CCB7F; }
.chat__close { display: grid; place-items: center; width: 38px; height: 38px; margin-left: auto; border-radius: 50%; color: var(--on-dark); transition: background-color .2s; }
.chat__close:hover { background: rgba(255, 255, 255, .12); }
.chat__close svg { width: 20px; height: 20px; }
.chat__log { display: flex; flex-direction: column; gap: 10px; padding: 18px; overflow-y: auto; overscroll-behavior: contain; }
.chat__msg { max-width: 88%; padding: 11px 14px; border-radius: 16px 16px 16px 4px; background: var(--sand); font-size: 15px; line-height: 1.5; }
.chat__msg a { color: var(--red); font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }
.chat__msg--me { align-self: flex-end; border-radius: 16px 16px 4px 16px; background: var(--red); color: #fff; }
.chat__quick { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 14px; }
.chat__quick button { padding: 8px 12px; border: 1.5px solid var(--sand-line); border-radius: 999px; font-size: 13.5px; font-weight: 600; line-height: 1.2; transition: border-color .2s, background-color .2s; }
.chat__quick button:hover { border-color: var(--red); background: #fff; }
.chat__form { display: flex; gap: 8px; padding: 12px 14px 14px; border-top: 1px solid var(--sand); }
.chat__form input { flex: 1; min-width: 0; height: 46px; padding: 0 16px; border: 1.5px solid var(--sand-line); border-radius: 999px; background: #fff; font-size: 15px; }
.chat__form input:focus { outline: none; border-color: var(--red); }
.chat__form button { display: grid; place-items: center; width: 46px; height: 46px; flex: none; border-radius: 50%; background: var(--red); color: #fff; transition: background-color .2s; }
.chat__form button:hover { background: var(--red-hover); }
.chat__form svg { width: 20px; height: 20px; }

/* ---------- Reveal ---------- */
.js .reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Keyframes ---------- */
@keyframes marquee { to { transform: translateX(-25%); } }
@keyframes marquee-3 { to { transform: translateX(-33.3333%); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes float { 50% { transform: translateY(-10px); } }
@keyframes fade-up { from { opacity: 0; transform: translateY(12px); } }
@keyframes fade-in { from { opacity: 0; } }

/* ---------- Responsive ---------- */
@media (max-width: 1400px) {
  .hero__grid { gap: 32px; }
  .footer-grid { column-gap: 40px; }
  .about-grid { gap: 56px; }
}

@media (max-width: 1100px) {
  :root { --header-h: 84px; }
  .brand img { width: 64px; }
  .nav { gap: 12px; }
  .nav-toggle { display: grid; }
  .nav-links {
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 6px var(--edge) 22px;
    background: var(--cream);
    box-shadow: 0 30px 40px -30px rgba(35, 47, 54, .5);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s ease, visibility 0s linear .25s;
  }
  .nav-open .nav-links { opacity: 1; visibility: visible; transform: none; transition: opacity .25s ease, transform .25s ease; }
  .nav-links a { padding: 15px 0; border-bottom: 1px solid var(--sand-line); font-size: 18px; }
  .nav-links a[aria-current="page"] { border-bottom-color: var(--sand-line); }
  .nav-links li:last-child a { border-bottom: 0; }

  .page-hero { padding-top: 64px; }
  .hero { padding: 64px 0 96px; }
  .hero__grid { grid-template-columns: 1fr; gap: 64px; }
  .hero__title { max-width: 13em; }
  .hero__visual { justify-self: center; width: min(560px, 100% - 40px); }
  .hero .shape--pink { width: 40vw; height: 36%; }
  .section { padding: 96px 0; }
  .reviews { padding: 96px 0; }
  .dish-grid { gap: 20px; }
  .dish__body { min-height: 88px; padding: 14px 22px; }
  .about-grid { grid-template-columns: 1fr; gap: 64px; }
  .about-media { max-width: 720px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 48px; }
  .stats-band { padding: 80px 0; }
  .section-cta { padding: 90px 0; }
  .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 360px; gap: 14px; }
  .gallery-cta { margin-top: 90px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cta-banner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 900px) {
  .dish-grid { grid-template-columns: 1fr; max-width: 560px; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .link-arrow { padding-bottom: 0; }
  .contact-grid { gap: 20px; }
  .map-card { height: 460px; }
}

@media (max-width: 640px) {
  :root { --gutter: 20px; --header-h: 74px; }
  .brand img { width: 56px; }
  .header-call { width: 48px; height: 48px; padding: 0; }
  .header-call span { display: none; }
  .page-hero { padding: 48px 0 80px; }
  .page-hero--menu { padding-bottom: 96px; }
  .page-hero--menu .shape--pink, .page-hero--gallery .shape--pink { width: 38vw; height: 190px; }
  .page-hero .shape--mint { width: 280px; height: 280px; left: -110px; top: -120px; }
  .hero { padding-top: 44px; }
  .hero .shape--mint { width: 220px; height: 220px; left: -90px; bottom: auto; top: 58%; }
  .badge-pill { height: 36px; padding: 0 14px; font-size: 12px; gap: 10px; }
  .hero__actions { gap: 12px; }
  .btn-lg, .btn-call, .btn-review, .btn-md { padding: 17px 26px; font-size: 18px; }
  .hero__actions .btn { flex: 1 1 auto; }
  .hero__stats { display: grid; grid-template-columns: repeat(3, auto); justify-content: start; gap: 18px; margin-top: 44px; }
  .hero__stats span { font-size: 11px; letter-spacing: .08em; }
  .hero .shape--pink { height: 300px; }
  .hero__visual { width: calc(100% - 24px); }
  .hero__chip { height: 42px; padding: 0 16px; font-size: 14px; gap: 8px; }
  .hero__price { left: 0; padding: 14px 18px 16px; }
  .hero__price span { font-size: 11px; }
  .hero__price strong { margin-top: 4px; font-size: 24px; }
  .marquee { height: 70px; }
  .marquee__group li::after { width: 8px; height: 8px; margin: 0 36px; }
  .section { padding: 80px 0; }
  .dish-grid { margin-top: 40px; }
  .reviews { padding: 80px 0; }
  .reviews__viewport { margin-top: 44px; }
  .review { width: 300px; }
  .review__text { font-size: 16px; }
  .menu-tabs { margin-top: 40px; gap: 8px; }
  .menu-tab { padding: 11px 18px; font-size: 16px; }
  .menu-panel { margin-top: 32px; }
  .menu-grid { gap: 12px; }
  .menu-item { padding: 20px 18px 18px 22px; }
  .menu-item__head { margin-bottom: 10px; }
  .menu-item__name { font-size: 19px; }
  .menu-item__price { font-size: 19px; }
  .menu-cta { margin-top: 44px; }
  .cta-banner { padding: 32px 24px; border-radius: 24px; }
  .cta-banner__actions .btn { flex: 1 1 auto; }
  .about-badge { right: 12px; bottom: -28px; width: 136px; height: 136px; }
  .about-badge strong { font-size: 30px; }
  .about-badge span { font-size: 11px; }
  .step { grid-template-columns: 48px minmax(0, 1fr); column-gap: 16px; }
  .step__num { width: 48px; height: 48px; font-size: 17px; }
  .step__title { font-size: 19px; }
  .step__text { font-size: 16px; }
  .stats { gap: 32px 20px; }
  .stat p { font-size: 15px; }
  .section-cta { padding: 72px 0; }
  .gallery { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .gallery__item, .gallery__item--wide { grid-column: auto; aspect-ratio: 4 / 3; }
  .gallery-cta { margin-top: 72px; }
  .info-card { padding: 26px; border-radius: 24px; }
  .info-card address, .hours li { font-size: 17px; }
  .map-card { height: 420px; border-radius: 22px; }
  .map-link { left: 16px; right: 16px; bottom: 16px; justify-content: center; padding: 15px 18px; font-size: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { margin-top: 48px; padding-bottom: 110px; }
  .chat { right: 16px; bottom: 16px; }
  .chat__teaser { display: none; }
  .chat__toggle { width: 70px; height: 70px; border-width: 3px; }
  .chat__toggle img { width: 50px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
  .reviews__viewport { overflow-x: auto; }
}
