/* =========================================================
   Benvenuti — static site stylesheet
   ---------------------------------------------------------
   1. Design tokens (change colours / fonts here)
   2. Base & utilities
   3. Top bar + header + mobile nav
   4. Buttons & section titles
   5. Home: hero, about, features, counters, popular menu,
      booking, reviews
   6. Menu page
   7. Footer
   ========================================================= */

/* ---------- 1. Design tokens ---------- */
:root {
  --red: #eb0029;
  --red-dark: #c10022;
  --ink: #010f1c;          /* main dark */
  --ink-2: #0d1e2e;        /* dark panels */
  --text: #4a5560;
  --muted: #7a8590;
  --cream: #fff8ee;
  --cream-2: #f6ecdc;
  --line: #e7dccb;
  --white: #fff;

  --font-script: "Lobster Two", cursive;
  --font-head: "Rubik", system-ui, sans-serif;
  --font-body: "Roboto", system-ui, sans-serif;

  --container: 1200px;
  --radius: 14px;
  --shadow: 0 18px 40px -18px rgba(1, 15, 28, .35);
  --header-h: 120px;
}

/* ---------- 2. Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 90px); }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color .2s; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin: 0 0 .5em; }
p { margin: 0 0 1em; }
ul { margin: 0; padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; }

.container { width: min(100% - 40px, var(--container)); margin-inline: auto; }
.section { padding: 100px 0; position: relative; }
.section--cream { background: var(--cream); }
.section--dark { background: var(--ink); color: #c9d2da; }
.section--dark h2, .section--dark h3 { color: var(--white); }
.text-red { color: var(--red); }
.center { text-align: center; }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: -999px; top: 10px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 1000; }
.skip-link:focus { left: 10px; }

/* reveal on scroll (added by JS) */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------- 3. Top bar & header ---------- */
/* Red band with large rounded bottom corners; the white header card overlaps it */
.topbar {
  background: var(--red); color: var(--white); font-size: 16px;
  border-radius: 0 0 140px 140px;
  padding-bottom: 64px;            /* space the header card overlaps */
}
.topbar .container {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  min-height: 76px; width: min(92% - 80px, 1440px);
}
.topbar__info { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.topbar__info a, .topbar__info span { display: inline-flex; align-items: center; gap: 10px; color: var(--white); }
.topbar__info a:hover { opacity: .85; }
.topbar svg { width: 16px; height: 16px; fill: var(--white); flex: none; }
.topbar .social a { background: none; width: 30px; height: 30px; }
.topbar .social a:hover { background: none; opacity: .85; }
.topbar .social svg { width: 18px; height: 18px; }

.social { display: flex; gap: 10px; }
.social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,.08); transition: background .2s, opacity .2s;
}
.social a:hover { background: var(--red); }
.social svg { width: 15px; height: 15px; fill: var(--white); }

.header {
  position: sticky; top: 12px; z-index: 100;
  width: min(92%, 1530px); margin: -64px auto 0;
  background: var(--white); border-radius: 82px;
  box-shadow: 0 20px 40px -12px rgba(1, 15, 28, .14);
  transition: box-shadow .25s;
}
.header.is-scrolled { box-shadow: 0 14px 34px -8px rgba(1, 15, 28, .22); }
.header__inner {
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  gap: 24px; min-height: var(--header-h);
  width: 100%; padding: 0 34px 0 46px;
}
.nav { display: flex; align-items: center; }
.nav--left, .nav--right { justify-content: space-evenly; }
.nav a {
  font-family: var(--font-body); font-weight: 500; font-size: 18px;
  color: var(--ink); padding: 10px 12px; text-transform: uppercase; white-space: nowrap;
}
.nav a:hover, .nav a[aria-current="page"] { color: var(--red); }
.nav .btn {
  margin-left: 10px; white-space: nowrap; color: var(--white);
  border-radius: 4px; padding: 14px 32px; font-family: var(--font-body); font-size: 17px; letter-spacing: 0;
}
.nav .btn:hover { color: var(--white); }
.logo { padding: 0 20px; }
.logo img { width: 230px; }

.menu-toggle {
  display: none; width: 46px; height: 46px; border: 0; border-radius: 6px;
  background: var(--red); cursor: pointer; justify-self: end; position: relative;
}
.menu-toggle span, .menu-toggle span::before, .menu-toggle span::after {
  position: absolute; left: 12px; right: 12px; height: 2px; background: #fff; content: ""; transition: transform .25s, opacity .25s;
}
.menu-toggle span { top: 22px; }
.menu-toggle span::before { left: 0; right: 0; top: -7px; }
.menu-toggle span::after { left: 0; right: 0; top: 7px; }
.menu-open .menu-toggle span { background: transparent; }
.menu-open .menu-toggle span::before { transform: translateY(7px) rotate(45deg); }
.menu-open .menu-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

.mobile-nav {
  position: fixed; inset: 0 0 0 auto; width: min(340px, 86vw); z-index: 200;
  background: var(--ink); padding: 90px 28px 30px;
  transform: translateX(100%); transition: transform .3s ease; overflow-y: auto;
}
.mobile-nav a {
  display: block; color: var(--white); font-weight: 500;
  padding: 13px 0; border-bottom: 1px solid rgba(255,255,255,.08); text-transform: uppercase; letter-spacing: .03em;
}
.mobile-nav a:hover, .mobile-nav a[aria-current="page"] { color: var(--red); }
.mobile-nav .btn { margin-top: 24px; display: flex; color: #fff; border: 0; border-radius: 4px; }
.mobile-nav__close {
  position: absolute; top: 22px; right: 22px; width: 42px; height: 42px; border: 0; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff; font-size: 26px; line-height: 1; cursor: pointer;
}
.nav-backdrop { position: fixed; inset: 0; background: rgba(1,15,28,.55); z-index: 150; opacity: 0; visibility: hidden; transition: opacity .3s; }
.menu-open .mobile-nav { transform: none; }
.menu-open .nav-backdrop { opacity: 1; visibility: visible; }
.menu-open { overflow: hidden; }

@media (min-width: 1600px) { :root { --header-h: 140px; } }
/* medium desktops: tighten */
@media (max-width: 1440px) {
  .nav a { font-size: 16px; padding: 10px 8px; }
  .nav .btn { padding: 12px 22px; font-size: 15px; }
  .logo { padding: 0 10px; }
  .logo img { width: 190px; }
  .header__inner { padding: 0 26px 0 34px; gap: 14px; }
}
/* tablet & phone: logo + hamburger */
@media (max-width: 1180px) {
  :root { --header-h: 84px; }
  .topbar { border-radius: 0 0 50px 50px; padding-bottom: 44px; }
  .topbar .container { width: min(100% - 60px, 1440px); }
  .header { margin-top: -44px; border-radius: 50px; width: calc(100% - 30px); }
  .header__inner { grid-template-columns: auto 1fr; padding: 0 18px 0 26px; }
  .nav { display: none; }
  .logo { order: -1; padding: 0; }
  .logo img { width: 160px; }
  .menu-toggle { display: block; }
}
@media (max-width: 767px) {
  .topbar { font-size: 14px; border-radius: 0 0 30px 30px; }
  .topbar .container { min-height: 54px; padding: 8px 0; }
  .topbar__info span.addr { display: none; }
  .topbar .social { display: none; }
  .header { border-radius: 40px; }
  .logo img { width: 140px; }
}

/* ---------- 4. Buttons & titles ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font-head); font-weight: 500; font-size: 15px; letter-spacing: .06em; text-transform: uppercase;
  padding: 15px 30px; border-radius: 50px; border: 2px solid var(--red);
  background: var(--red); color: var(--white); cursor: pointer;
  transition: background .25s, color .25s, border-color .25s, transform .25s;
}
.btn:hover { background: var(--ink); border-color: var(--ink); color: var(--white); }
.btn--sm { padding: 11px 22px; font-size: 14px; }
.btn--outline { background: transparent; color: var(--red); }
.btn--outline:hover { background: var(--red); border-color: var(--red); color: var(--white); }
.btn--light:hover { background: var(--white); border-color: var(--white); color: var(--ink); }
.btn svg { width: 16px; height: 16px; fill: currentColor; }

.title-area { margin-bottom: 50px; max-width: 860px; }
.title-area.center { margin-inline: auto; }
.sub-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-script); font-size: 26px; font-style: italic; font-weight: 700; color: var(--red);
  margin-bottom: 10px;
}
.sub-title img { width: 26px; }
.sec-title { font-size: clamp(30px, 4vw, 46px); font-weight: 700; margin-bottom: 18px; }
.sec-title b { color: var(--red); font-weight: 700; }

/* ---------- 5a. Hero slider ---------- */
.hero {
  position: relative; overflow: hidden; background: var(--white);
}
.hero__track { display: grid; }
.hero__slide {
  grid-area: 1 / 1; opacity: 0; visibility: hidden; transition: opacity .8s ease, visibility .8s;
}
.hero__slide.is-active { opacity: 1; visibility: visible; }
.hero__grid {
  display: grid; grid-template-columns: 1.05fr 1fr; align-items: center; gap: 40px;
  min-height: clamp(520px, 78vh, 760px); padding: 60px 0 90px;
}
.hero__title {
  font-size: clamp(36px, 4.6vw, 68px); font-weight: 700; line-height: 1.12; margin-bottom: 22px;
}
.hero__title span { color: var(--red); }
.hero__text { font-size: 19px; color: var(--ink); max-width: 560px; margin-bottom: 34px; }
.hero__img img { width: 100%; max-width: 620px; margin-left: auto; filter: drop-shadow(0 30px 40px rgba(1,15,28,.25)); }
.hero__slide.is-active .hero__img img { animation: heroFloat 1.1s ease both; }
.hero__slide.is-active .hero__copy > * { animation: heroUp .9s ease both; }
.hero__slide.is-active .hero__copy > *:nth-child(2) { animation-delay: .12s; }
.hero__slide.is-active .hero__copy > *:nth-child(3) { animation-delay: .24s; }
@keyframes heroUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }
@keyframes heroFloat { from { opacity: 0; transform: translateX(40px) rotate(-8deg); } to { opacity: 1; transform: none; } }

.hero__controls {
  position: absolute; left: 0; right: 0; bottom: 30px;
  display: flex; justify-content: center; align-items: center; gap: 18px;
}
.hero__arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  display: grid; place-items: center; cursor: pointer; transition: background .2s, border-color .2s;
}
.hero__arrow:hover { background: var(--red); border-color: var(--red); }
.hero__arrow:hover svg { fill: #fff; }
.hero .btn { text-transform: none; letter-spacing: 0; font-size: 18px; padding: 16px 42px; }
.hero__arrow svg { width: 16px; height: 16px; fill: var(--ink); }
.hero__dots { display: flex; gap: 10px; }
.hero__dots button {
  width: 12px; height: 12px; border-radius: 20px; border: 0; padding: 0; background: #d9cdbb; cursor: pointer; transition: width .3s, background .3s;
}
.hero__dots button[aria-current="true"] { width: 34px; background: var(--red); }

@media (max-width: 860px) {
  .hero__grid { grid-template-columns: 1fr; text-align: center; padding: 50px 0 110px; gap: 20px; min-height: 0; }
  .hero__text { margin-inline: auto; }
  .hero__img img { margin-inline: auto; max-width: 400px; }
}

/* ---------- 5b. About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.about__img { position: relative; }
.about__img img { width: 100%; max-width: 560px; }
.about__badge {
  position: absolute; right: 6%; bottom: 8%;
  background: var(--red); color: #fff; border-radius: 50%; width: 140px; height: 140px;
  display: grid; place-content: center; text-align: center; box-shadow: var(--shadow);
  font-family: var(--font-head); line-height: 1.1;
}
.about__badge strong { font-size: 40px; display: block; }
.about__badge span { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; gap: 40px; }
  .about__img img { margin-inline: auto; }
}

/* ---------- 5c. Features ---------- */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.feature {
  background: var(--white); border-radius: var(--radius); padding: 44px 34px; text-align: center;
  border: 1px solid var(--line); transition: transform .3s, box-shadow .3s, border-color .3s;
}
.feature:hover { transform: translateY(-8px); box-shadow: var(--shadow); border-color: transparent; }
.feature__icon {
  width: 104px; height: 104px; margin: 0 auto 24px; border-radius: 50%;
  background: var(--cream-2); display: grid; place-items: center;
}
.feature__icon img { width: 58px; }
.feature h3 { font-size: 22px; margin-bottom: 12px; }
.feature p { margin: 0; }
@media (max-width: 900px) { .features { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; } }

/* ---------- 5d. Counters ---------- */
.counters { background: var(--red); color: #fff; padding: 70px 0; }
.counters__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.counter__num { font-family: var(--font-head); font-size: clamp(40px, 5vw, 58px); font-weight: 700; line-height: 1; }
.counter__label { margin-top: 10px; font-size: 16px; letter-spacing: .04em; opacity: .92; }
.counter + .counter { border-left: 1px solid rgba(255,255,255,.25); }
@media (max-width: 767px) {
  .counters__grid { grid-template-columns: 1fr 1fr; row-gap: 40px; }
  .counter:nth-child(3) { border-left: 0; }
}

/* ---------- 5e. Popular menu (tabs) ---------- */
.tabs__list { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-bottom: 46px; }
.tabs__btn {
  font-family: var(--font-head); font-weight: 500; font-size: 15px; text-transform: uppercase; letter-spacing: .06em;
  padding: 11px 26px; border-radius: 50px; border: 1px solid var(--line); background: var(--white);
  color: var(--ink); cursor: pointer; transition: all .2s;
}
.tabs__btn:hover { border-color: var(--red); color: var(--red); }
.tabs__btn[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }
.tabs__panel[hidden] { display: none; }
.tabs__panel { animation: heroUp .5s ease both; }
.dish-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dish {
  background: var(--white); border-radius: var(--radius); padding: 26px 22px; text-align: center;
  border: 1px solid var(--line); transition: transform .25s, box-shadow .25s;
}
.dish:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.dish h3 { font-size: 19px; margin-bottom: 10px; }
.dish__prices { display: flex; flex-wrap: wrap; justify-content: center; gap: 6px 14px; }
.dish__prices span { color: var(--red); font-family: var(--font-head); font-weight: 600; }
.dish__prices small { color: var(--muted); font-weight: 400; font-size: 13px; }
.view-all { text-align: center; margin-top: 50px; }
@media (max-width: 1000px) { .dish-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 520px) { .dish-grid { grid-template-columns: 1fr; } }

/* ---------- 5f. Booking ---------- */
.booking { overflow: hidden; }
.booking__deco { position: absolute; pointer-events: none; opacity: .9; }
.booking__deco--chili { width: 200px; left: -40px; top: 60px; }
.booking__deco--leaf { width: 130px; right: 3%; bottom: 40px; }
.booking .sub-title { color: var(--red); }
.booking .title-area p { color: #c9d2da; }
.form {
  position: relative; z-index: 1; max-width: 900px; margin-inline: auto;
  background: var(--ink-2); border: 1px solid rgba(255,255,255,.07); border-radius: 20px; padding: 44px;
}
.form__grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.form__grid--3 { grid-template-columns: repeat(3, 1fr); margin-top: 22px; }
.field label { display: block; color: var(--white); font-size: 14px; font-weight: 500; margin-bottom: 8px; }
.field label b { color: var(--red); }
.field input, .field textarea {
  width: 100%; height: 54px; padding: 0 18px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); color: var(--white);
  transition: border-color .2s, background .2s; color-scheme: dark;
}
.field textarea { height: 110px; padding: 14px 18px; resize: vertical; }
.field input:focus, .field textarea:focus { outline: 0; border-color: var(--red); background: rgba(255,255,255,.07); }
.field--full { grid-column: 1 / -1; margin-top: 22px; }
.form__actions { text-align: center; margin-top: 32px; }
.form__status { margin: 18px 0 0; text-align: center; font-weight: 500; min-height: 1.5em; }
.form__status.ok { color: #6fdc9a; }
.form__status.err { color: #ff8a9c; }
.hp { position: absolute; left: -9999px; }
@media (max-width: 767px) {
  .form { padding: 28px 20px; }
  .form__grid, .form__grid--3 { grid-template-columns: 1fr; }
  .booking__deco { display: none; }
}

/* ---------- 5g. Reviews ---------- */
.reviews__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
.reviews__card {
  background: var(--white); border-radius: 20px; padding: 40px; box-shadow: var(--shadow); text-align: center;
}
.stars { display: flex; justify-content: center; gap: 4px; margin-bottom: 14px; }
.stars svg { width: 24px; height: 24px; fill: #fbbc04; }
.reviews__card p { font-size: 17px; }
.reviews__widget:empty { display: none; }
.reviews__img img { width: 100%; max-width: 480px; margin-inline: auto; }
@media (max-width: 900px) { .reviews__grid { grid-template-columns: 1fr; } }

/* ---------- 6. Inner pages: header + page hero (shared) + Menu page ---------- */
/* ===== INNER PAGE HEADER (.ih) — dark bar, logo left, red contact strip, links below ===== */
.ih {
  display: grid; grid-template-columns: 350px 1fr; align-items: stretch;
  background: var(--ink); min-height: 180px;
}
.ih__logo { display: flex; align-items: center; justify-content: center; padding: 16px 18px; }
.ih__logo img { width: 100%; max-width: 320px; }
.ih__main { display: flex; flex-direction: column; padding-top: 20px; min-width: 0; }
.ih__top {
  background: var(--red); color: #fff; min-height: 53px; padding: 0 30px 0 16px;
  display: flex; align-items: center; justify-content: space-between; gap: 20px; font-size: 18px;
}
.ih__top .topbar__info { display: flex; flex-wrap: wrap; gap: 6px 22px; }
.ih__top .topbar__info a, .ih__top .topbar__info span { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.ih__top svg { width: 16px; height: 16px; fill: #fff; flex: none; }
.ih__top .social a { background: none; width: 30px; height: 30px; }
.ih__top .social a:hover { background: none; opacity: .85; }
.ih__top .social svg { width: 19px; height: 19px; }
.ih__bar { flex: 1; display: flex; align-items: center; gap: 20px; padding: 0 60px 0 4px; }
.ih__nav { display: flex; flex-wrap: wrap; gap: 4px 0; flex: 1; }
.ih__nav a {
  color: #fff; font-family: var(--font-body); font-weight: 500; font-size: 19px; text-transform: uppercase;
  padding: 10px 18px; white-space: nowrap;
}
.ih__nav a:hover, .ih__nav a[aria-current="page"] { color: var(--red); }
.ih__order {
  border-radius: 4px; padding: 14px 44px; font-family: var(--font-body); font-size: 18px; letter-spacing: 0; flex: none;
}
.ih__order:hover { background: #fff; border-color: #fff; color: var(--ink); }
.ih .menu-toggle { display: none; margin-left: auto; }

@media (max-width: 1600px) {
  .ih { grid-template-columns: 280px 1fr; min-height: 160px; }
  .ih__top { font-size: 16px; }
  .ih__nav a { font-size: 16px; padding: 10px 12px; }
  .ih__order { padding: 12px 26px; font-size: 16px; }
  .ih__bar { padding-right: 30px; }
}
@media (max-width: 1280px) {
  .ih { grid-template-columns: 230px 1fr; }
  .ih__top .addr { display: none; }
  .ih__nav a { font-size: 15px; padding: 10px 9px; }
}
/* tablet & phone: logo + hamburger on the dark bar (red strip hidden, like the live site) */
@media (max-width: 1100px) {
  .ih { grid-template-columns: 1fr auto; min-height: 0; }
  .ih__logo { justify-content: flex-start; padding: 12px 20px; }
  .ih__logo img { max-width: 190px; }
  .ih__main { padding: 0 20px 0 0; justify-content: center; }
  .ih__top, .ih__nav, .ih__order { display: none; }
  .ih__bar { padding: 0; }
  .ih .menu-toggle { display: block; }
}

/* ===== INNER PAGE HERO — photo + dark overlay, title & breadcrumb on the left =====
   Photo file: assets/img/page-hero.jpg (the same photo on every inner page) */
.page-hero {
  position: relative; display: flex; align-items: center; min-height: 435px; padding: 70px 0;
  background: var(--ink) url("../img/page-hero.jpg") center / cover no-repeat;
  color: #fff;
}
.page-hero::before { content: ""; position: absolute; inset: 0; background: rgba(1, 15, 28, .55); }
.page-hero .container { position: relative; }
.page-hero__title {
  color: #fff; font-family: var(--font-body); font-weight: 700; text-transform: uppercase;
  font-size: clamp(40px, 5vw, 64px); line-height: 1.1; margin: 0 0 22px;
}
.page-hero__crumb { margin: 0; font-size: 19px; font-weight: 500; text-transform: uppercase; display: flex; align-items: center; gap: 10px; }
.page-hero__crumb a { display: inline-flex; align-items: center; gap: 10px; color: #fff; }
.page-hero__crumb a:hover { color: var(--red); }
.page-hero__crumb svg { width: 20px; height: 20px; fill: #fff; }
@media (max-width: 767px) { .page-hero { min-height: 260px; } .page-hero__crumb { font-size: 16px; } }

.cat-nav {
  position: sticky; top: calc(var(--header-h) + 18px); z-index: 50;
}
.page-inner .cat-nav { top: 0;
  background: rgba(255,255,255,.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.cat-nav ul { display: flex; gap: 8px; overflow-x: auto; padding: 14px 0; scrollbar-width: none; }
.cat-nav ul::-webkit-scrollbar { display: none; }
.cat-nav a {
  white-space: nowrap; display: block; padding: 8px 18px; border-radius: 50px; border: 1px solid var(--line);
  font-family: var(--font-head); font-size: 14px; font-weight: 500; color: var(--ink); text-transform: uppercase; letter-spacing: .04em;
}
.cat-nav a:hover { border-color: var(--red); color: var(--red); }
.cat-nav a.is-active { background: var(--red); border-color: var(--red); color: #fff; }

.menu-cat { padding: 80px 0 30px; }
.menu-cat:nth-of-type(even) { background: var(--cream); }
.menu-cat:last-of-type { padding-bottom: 100px; }
.menu-cat__head { text-align: center; margin-bottom: 40px; }
.menu-cat__head h2 { font-size: clamp(30px, 4vw, 44px); text-transform: capitalize; margin-bottom: 6px; }
.menu-cat__note {
  display: inline-block; background: rgba(235,0,41,.08); color: var(--red-dark);
  padding: 6px 16px; border-radius: 50px; font-size: 14px; font-weight: 500; margin: 6px 0 0;
}
.menu-cat__lead { max-width: 640px; margin: 0 auto; }
.menu-group { margin-bottom: 50px; }
.menu-group__title {
  font-family: var(--font-script); font-style: italic; font-size: 30px; color: var(--red); text-align: center;
  display: flex; align-items: center; gap: 18px; margin-bottom: 26px;
}
.menu-group__title::before, .menu-group__title::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.menu-list { display: grid; grid-template-columns: 1fr 1fr; gap: 6px 60px; }
.menu-item { padding: 16px 0; border-bottom: 1px dashed var(--line); }
.menu-item__row { display: flex; align-items: baseline; gap: 12px; }
.menu-item__name { font-family: var(--font-head); font-size: 18px; font-weight: 600; color: var(--ink); margin: 0; }
.menu-item__dots { flex: 1; border-bottom: 2px dotted #d6c8b3; transform: translateY(-5px); min-width: 20px; }
.menu-item__price { font-family: var(--font-head); font-weight: 600; color: var(--red); white-space: nowrap; }
.menu-item__desc { font-size: 15px; color: var(--muted); margin: 4px 0 0; }
.menu-item__prices { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.price-chip {
  font-family: var(--font-head); font-size: 14px; font-weight: 600; color: var(--red);
  background: var(--white); border: 1px solid var(--line); border-radius: 50px; padding: 3px 12px;
}
.menu-cat:nth-of-type(odd) .price-chip { background: var(--cream); }
.price-chip small { color: var(--muted); font-weight: 400; margin-right: 4px; }
.menu-item--note .menu-item__name { font-size: 16px; color: var(--text); font-weight: 500; }
.kids-banner {
  max-width: 720px; margin: 0 auto 36px; text-align: center; background: var(--white); border-radius: var(--radius);
  padding: 26px; border: 1px solid var(--line);
}
.kids-banner strong { display: block; font-family: var(--font-head); font-size: 34px; color: var(--red); line-height: 1.1; }
@media (max-width: 860px) { .menu-list { grid-template-columns: 1fr; } }

/* ---------- 7. Footer ---------- */
.footer { background: var(--ink); color: #9aa6b2; padding-top: 90px; }
.footer__grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.2fr; gap: 50px; padding-bottom: 60px; }
.footer h5 { color: var(--white); font-size: 20px; margin-bottom: 12px; }
.footer h5::after { content: ""; display: block; width: 46px; height: 2px; background: var(--red); margin-top: 14px; }
.footer__logo { width: 110px; margin-bottom: 18px; }
.footer__links li + li { margin-top: 8px; }
.footer__links a:hover { color: var(--white); padding-left: 4px; }
.footer__links a { transition: color .2s, padding .2s; }
.footer__contact li { display: flex; gap: 12px; align-items: flex-start; }
.footer__contact li + li { margin-top: 14px; }
.footer__contact svg { width: 16px; height: 16px; fill: var(--red); flex: none; margin-top: 6px; }
.footer__contact a:hover { color: var(--white); }
.footer__bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 22px 0; font-size: 14px; text-align: center; }
@media (max-width: 1000px) { .footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 600px) { .footer__grid { grid-template-columns: 1fr; gap: 36px; } .footer { padding-top: 60px; } }

/* back to top */
.to-top {
  position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; border: 0;
  background: var(--red); display: grid; place-items: center; cursor: pointer; z-index: 90;
  opacity: 0; visibility: hidden; transform: translateY(10px); transition: all .3s; box-shadow: var(--shadow);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top svg { width: 18px; height: 18px; fill: #fff; }

/* small phones */
@media (max-width: 480px) {
  .topbar { font-size: 13px; }
  .topbar__info a[href^="mailto"] { display: none; }
  .hero__img img { max-width: 300px; }
  .section { padding: 70px 0; }
}

/* inner pages: header doesn't stick, so less scroll offset is needed */
html:has(body.page-inner) { scroll-padding-top: 90px; }
.page-inner .footer__logo { width: 200px; }
.footer__logo { width: 200px; }

/* Menu page: strip under the hero with the PDF download button */
.page-intro { border-bottom: 1px solid var(--line); }
.page-intro .container { display: flex; align-items: center; justify-content: space-between; gap: 16px 30px; flex-wrap: wrap; padding: 22px 0; }
.page-intro p { margin: 0; font-size: 17px; color: var(--ink); }
@media (max-width: 600px) { .page-intro .container { justify-content: center; text-align: center; } }

/* hero text lines up with the wider layout of the live inner pages */
.page-hero .container { width: min(90%, 1530px); }

/* =========================================================
   8. Inner page sections (About, Specials, Functions,
      Table Booking, Contact, Gallery, 404)
   ========================================================= */
.narrow { max-width: 860px; }
.lead { font-size: 20px; color: var(--ink); font-weight: 500; }
.text-link { color: var(--red); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; }
.text-link:hover { color: var(--red-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row.center { justify-content: center; }
.btn--ghost { background: transparent; border-color: #fff; color: #fff; }
.btn--ghost:hover { background: #fff; border-color: #fff; color: var(--ink); }
.section--dark .sec-title b, .section--dark p { color: inherit; }
.section--dark .sec-title b { color: var(--red); }
.section--dark .narrow p { font-size: 17px; }

/* two columns: image + text */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split__img img { width: 100%; max-width: 560px; margin-inline: auto; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; gap: 40px; } }

/* Specials */
.special {
  display: grid; grid-template-columns: 1fr 1.1fr; align-items: center; gap: 60px;
  background: var(--cream); border-radius: 24px; padding: 50px; overflow: hidden;
}
.special__img img { width: 100%; border-radius: 16px; }
.special__text { font-size: 22px; color: var(--ink); line-height: 1.5; }
.special__text strong { color: var(--red); }
.special__time { display: flex; align-items: center; gap: 10px; font-size: 18px; color: var(--ink); margin-bottom: 30px; }
.special__time svg { width: 20px; height: 20px; fill: var(--red); }
@media (max-width: 900px) { .special { grid-template-columns: 1fr; padding: 26px; gap: 30px; } }

/* Functions: set-menu cards */
.set-menus { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; }
.set-menu {
  background: #fff; border-radius: 20px; padding: 40px 36px; border: 1px solid var(--line);
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.set-menu:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.set-menu--featured { border: 2px solid var(--red); }
.set-menu__head { text-align: center; padding-bottom: 24px; margin-bottom: 24px; border-bottom: 1px dashed var(--line); }
.set-menu__head h3 { font-size: 26px; text-transform: uppercase; letter-spacing: .04em; margin-bottom: 8px; }
.set-menu__tag {
  display: inline-block; background: rgba(235,0,41,.08); color: var(--red-dark); font-weight: 500;
  font-size: 13px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 14px; border-radius: 50px; margin-bottom: 12px;
}
.set-menu__price { font-family: var(--font-head); font-size: 44px; font-weight: 700; color: var(--red); margin: 0; line-height: 1.1; }
.set-menu__price small { font-size: 16px; color: var(--muted); font-weight: 400; }
.set-menu__courses > li { padding: 10px 0; }
.set-menu__courses h4 { font-size: 17px; text-transform: uppercase; letter-spacing: .03em; margin: 0; }
.set-menu__courses ul { margin-top: 6px; }
.set-menu__courses ul li { position: relative; padding-left: 18px; font-size: 15px; }
.set-menu__courses ul li::before { content: ""; position: absolute; left: 2px; top: 11px; width: 6px; height: 6px; border-radius: 50%; background: var(--red); }
.set-menu__note { margin: auto 0 0; padding-top: 20px; font-size: 14px; color: var(--red-dark); font-weight: 500; text-align: center; text-transform: uppercase; }
@media (max-width: 860px) { .set-menus { grid-template-columns: 1fr; } }

/* call-to-action band */
.cta { background: var(--red); color: #fff; padding: 60px 0; }
.cta__inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; flex-wrap: wrap; }
.cta h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 6px; }
.cta p { margin: 0; font-size: 17px; }
.cta .btn--light { background: #fff; border-color: #fff; color: var(--red); }
.cta .btn--light:hover { background: var(--ink); border-color: var(--ink); color: #fff; }

/* Reviews */
.review-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.review-list { display: grid; gap: 18px; margin-bottom: 28px; }
.review { margin: 0; background: #fff; border-radius: 16px; padding: 28px; box-shadow: 0 10px 30px -18px rgba(1,15,28,.3); }
.review .stars { justify-content: flex-start; margin-bottom: 10px; }
.review .stars svg { width: 20px; height: 20px; }
.review blockquote { margin: 0 0 18px; font-size: 18px; color: var(--ink); line-height: 1.5; }
.review figcaption { display: flex; align-items: center; gap: 12px; }
.review figcaption strong { display: block; color: var(--ink); line-height: 1.2; }
.review figcaption small { color: var(--muted); }
.review__avatar {
  width: 44px; height: 44px; border-radius: 50%; background: var(--red); color: #fff;
  display: grid; place-items: center; font-family: var(--font-head); font-weight: 600; flex: none;
}
.review-list .review { padding: 22px 24px; }
.review-list .review blockquote { font-size: 17px; margin-bottom: 12px; }
@media (max-width: 900px) { .review-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; } }

/* Contact */
.info-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.info-card {
  text-align: center; padding: 38px 24px; border-radius: 18px; border: 1px solid var(--line); background: #fff;
  transition: transform .3s, box-shadow .3s;
}
.info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.info-card__icon { width: 74px; height: 74px; border-radius: 50%; background: var(--red); display: grid; place-items: center; margin: 0 auto 20px; }
.info-card__icon svg { width: 28px; height: 28px; fill: #fff; }
.info-card h3 { font-size: 20px; margin-bottom: 8px; }
.info-card p { margin: 0; }
.info-card a:hover { color: var(--red); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 50px; align-items: stretch; }
.contact__map { border-radius: 20px; overflow: hidden; min-height: 420px; background: #e5e3df; box-shadow: var(--shadow); }
.contact__map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }
.contact .form { padding: 34px; max-width: none; }
@media (max-width: 1000px) { .info-cards { grid-template-columns: repeat(2, 1fr); } .contact__grid { grid-template-columns: 1fr; } }
@media (max-width: 560px) { .info-cards { grid-template-columns: 1fr; } }

/* Gallery + lightbox */
.gallery { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.gallery a { display: block; border-radius: 14px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--cream-2); }
.gallery a[hidden] { display: none; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery__empty { text-align: center; font-size: 18px; }
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(1,15,28,.92); display: grid; place-items: center; padding: 60px 70px; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 10px; }
.lightbox__close, .lightbox__nav {
  position: absolute; border: 0; background: rgba(255,255,255,.12); color: #fff; cursor: pointer; border-radius: 50%;
  width: 50px; height: 50px; font-size: 34px; line-height: 1; display: grid; place-items: center;
}
.lightbox__close { top: 18px; right: 18px; font-size: 30px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__close:hover, .lightbox__nav:hover { background: var(--red); }

/* footer hours row */
.footer__contact span { color: inherit; }

/* =========================================================
   9. Home — Popular Menu (matches production)
   ========================================================= */
.popular { overflow: hidden; }
.popular__body { position: relative; }
.popular .tabs__list {
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; margin-bottom: 70px;
  position: relative; z-index: 2;
}
.popular .tabs__btn {
  flex: 0 1 auto; min-width: 170px; padding: 20px 56px; border-radius: 50px;
  border: 1px solid #3a3f45; background: #fff; color: #444;
  font-family: var(--font-head); font-weight: 500; font-size: 16px; letter-spacing: 0;
}
.popular .tabs__btn:hover { border-color: var(--red); color: var(--red); }
.popular .tabs__btn[aria-selected="true"] { background: var(--red); border-color: var(--red); color: #fff; }

.popular .dish-grid { gap: 56px 24px; position: relative; z-index: 1; }
.popular .dish {
  border: 0; border-radius: 90px; background: #fff; min-height: 174px; padding: 40px 28px;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  box-shadow: 0 12px 40px rgba(1, 15, 28, .08);
}
.popular .dish:hover { transform: translateY(-6px); box-shadow: 0 18px 46px rgba(1, 15, 28, .14); }
.popular .dish h3 { font-size: 26px; font-weight: 500; margin-bottom: 14px; }
.popular .dish__prices { flex-direction: column; gap: 0; }
.popular .dish__prices span { font-family: var(--font-body); font-weight: 400; font-size: 18px; line-height: 1.25; color: var(--red); }
.btn--square { border-radius: 4px; padding: 14px 40px; }

/* floating decorations — each moves on its own rhythm */
.float { position: absolute; pointer-events: none; z-index: 0; will-change: transform; }
.float--chili  { width: 150px; top: 40px; right: 10%; animation: floatA 6s ease-in-out infinite; }
.float--leaf-a { width: 250px; left: -10px; top: 40px;  animation: floatB 4.6s ease-in-out infinite; }
.float--leaf-b { width: 250px; right: -20px; bottom: -60px; animation: floatC 7.4s ease-in-out -2s infinite; }
@keyframes floatA { 0%, 100% { transform: translateY(0) rotate(0deg); }   50% { transform: translateY(-22px) rotate(-4deg); } }
@keyframes floatB { 0%, 100% { transform: translateY(0); }                50% { transform: translateY(18px); } }
@keyframes floatC { 0%, 100% { transform: translateY(-10px) rotate(2deg); } 50% { transform: translateY(14px) rotate(-3deg); } }
@media (prefers-reduced-motion: reduce) { .float { animation: none; } }

@media (max-width: 1200px) {
  .popular .tabs__btn { padding: 16px 30px; min-width: 0; }
  .popular .dish-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .popular .tabs__list { justify-content: center; gap: 10px; margin-bottom: 44px; }
  .popular .tabs__btn { padding: 12px 24px; font-size: 15px; }
  .popular .dish-grid { grid-template-columns: repeat(2, 1fr); gap: 28px 18px; }
  .float--chili { width: 100px; top: 20px; right: 4%; }
  .float--leaf-a, .float--leaf-b { width: 170px; }
}
@media (max-width: 560px) {
  /* tabs become one swipeable row on phones */
  .popular .tabs__list {
    flex-wrap: nowrap; justify-content: flex-start; overflow-x: auto; margin-inline: -20px; padding: 0 20px 6px;
    scrollbar-width: none;
  }
  .popular .tabs__list::-webkit-scrollbar { display: none; }
  .popular .tabs__btn { flex: none; }
  .popular .dish-grid { grid-template-columns: 1fr; gap: 18px; }
  .popular .dish { min-height: 0; padding: 28px 24px; border-radius: 60px; }
  .popular .dish h3 { font-size: 22px; }
  .float--chili { width: 80px; top: 10px; right: 2%; opacity: .9; }
  .float--leaf-a, .float--leaf-b { width: 130px; }
}

/* =========================================================
   10. Benvenuti Difference / Why Choose Us (matches production)
   ========================================================= */
.section--pattern {
  background: #f9f6f1 url("../img/decor/food-pattern.png") center / 900px repeat;
}
.features--divided { gap: 0; }
.features--divided .feature {
  background: none; border: 0; border-radius: 0; padding: 10px 44px 10px;
}
.features--divided .feature + .feature { border-left: 1px dashed #b9b2a6; }
.features--divided .feature:hover { transform: none; box-shadow: none; }
.features--divided .feature__icon { width: auto; height: 170px; background: none; border-radius: 0; margin-bottom: 40px; }
.features--divided .feature__icon img { width: auto; height: 160px; max-width: 200px; object-fit: contain; }
.features--divided .feature h3 { font-size: 30px; font-weight: 500; margin-bottom: 18px; }
.features--divided .feature p { font-size: 18px; line-height: 1.65; }
@media (max-width: 1100px) {
  .features--divided .feature { padding: 10px 26px; }
  .features--divided .feature h3 { font-size: 24px; }
  .features--divided .feature p { font-size: 16px; }
  .features--divided .feature__icon { height: 130px; margin-bottom: 26px; }
  .features--divided .feature__icon img { height: 120px; }
}
@media (max-width: 900px) {
  .features--divided { max-width: 560px; }
  .features--divided .feature { padding: 34px 10px; }
  .features--divided .feature + .feature { border-left: 0; border-top: 1px dashed #b9b2a6; }
}

/* =========================================================
   11. Functions page (matches production)
   ========================================================= */
.fn-page { padding: 60px 0 90px; background: #fff; }
.fn-menu { padding: 20px 0 30px; }
.fn-menu__inner { width: min(100% - 40px, 1030px); }
.fn-menu__head { text-align: center; margin-bottom: 30px; }
.fn-menu__head h2 {
  font-family: var(--font-body); font-weight: 700; font-size: clamp(26px, 3vw, 32px);
  color: var(--ink); text-transform: uppercase; margin: 0 0 6px;
}
.fn-menu__price { font-family: var(--font-body); font-weight: 700; font-size: clamp(22px, 2.6vw, 27px); color: var(--red); margin: 0 0 10px; }
.fn-menu__note { color: var(--red); font-weight: 700; font-size: 15px; text-transform: uppercase; margin: 0 0 10px; }
.fn-menu__tag { color: var(--red); font-weight: 700; font-size: 18px; text-transform: uppercase; margin: 0; }
.fn-menu__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 0 18px; align-items: start; }
.fn-item { padding: 26px 0 28px; border-bottom: 1px dotted #cfcfcf; }
.fn-item__name {
  display: flex; align-items: baseline; width: 83%; margin: 0;
  font-family: var(--font-body); font-weight: 400; font-size: 19px; color: var(--ink); line-height: 1.3;
}
.fn-item__name span { flex: none; max-width: 100%; }
.fn-item__name::after { content: ""; flex: 1; min-width: 12px; border-bottom: 2px dotted #444; margin-left: 2px; transform: translateY(-3px); }
.fn-item__subs { margin-top: 8px; }
.fn-item__subs li { font-weight: 700; font-size: 14px; color: #555; line-height: 1.7; }
.fn-item__subs--plain li { font-weight: 400; color: #777; }
@media (max-width: 767px) {
  .fn-page { padding: 30px 0 60px; }
  .fn-menu__cols { grid-template-columns: 1fr; }
  .fn-item { padding: 18px 0 20px; }
  .fn-item__name { width: 100%; font-size: 17px; }
  .fn-item__name span { flex: 0 1 auto; }
}
