:root {
  --cream: #f6f1e8;
  --cream-dark: #efe6d8;
  --paper: #fffdf8;
  --green: #1c3a2f;
  --green-soft: #2a5344;
  --burgundy: #7c2d2d;
  --red: #a43a3a;
  --ink: #1f1c19;
  --muted: #5c564f;
  --line: rgba(28, 58, 47, 0.14);
  --gold: #b0894f;
  --shadow: 0 18px 50px rgba(31, 28, 25, 0.12);
  --radius: 18px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Source Sans 3", "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.topbar {
  background: var(--green);
  color: #f4eadc;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  flex-wrap: wrap;
}

.topbar a {
  text-decoration: none;
  font-weight: 600;
}

header.nav {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(246, 241, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}

.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  display: grid;
  place-items: center;
  font-family: "Cormorant Garamond", serif;
  font-weight: 700;
  color: var(--burgundy);
  background: var(--paper);
}

.brand strong {
  display: block;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.1;
}

.brand span {
  display: block;
  font-size: 0.78rem;
  color: var(--muted);
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

nav ul {
  display: flex;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

nav a {
  text-decoration: none;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
}

nav a:hover,
nav a:focus-visible {
  background: var(--cream-dark);
}

.nav-cta {
  background: var(--burgundy) !important;
  color: #fff !important;
}

.menu-toggle {
  display: none;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 10px;
  padding: 8px 12px;
  font: inherit;
  font-weight: 600;
}

.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: grid;
  align-items: end;
  color: #fff;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 22, 20, 0.18) 0%, rgba(18, 22, 20, 0.78) 100%);
}

.hero-copy {
  position: relative;
  z-index: 1;
  padding: 0 0 72px;
}

.eyebrow {
  display: inline-block;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  font-size: 0.78rem;
  color: var(--gold);
  margin-bottom: 12px;
}

.hero h1,
section h2 {
  font-family: "Cormorant Garamond", serif;
  font-weight: 600;
  line-height: 1.05;
  margin: 0 0 16px;
}

.hero h1 {
  font-size: clamp(3rem, 7vw, 6rem);
}

.hero p {
  max-width: 38rem;
  font-size: 1.15rem;
  color: #f3ebe0;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 28px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  border: 1px solid transparent;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn-primary {
  background: var(--burgundy);
  color: #fff;
}

.btn-secondary {
  background: var(--paper);
  border-color: var(--line);
  color: var(--ink);
}

.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}

.section {
  padding: 88px 0;
}

.section-head {
  max-width: 640px;
  margin-bottom: 40px;
}

.kicker {
  color: var(--burgundy);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 0.78rem;
  font-weight: 700;
}

section h2 {
  font-size: clamp(2.1rem, 4vw, 3.2rem);
  color: var(--green);
}

.lead {
  color: var(--muted);
  font-size: 1.08rem;
}

.cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
  justify-content: center;
}

.cards > .card:only-child {
  grid-column: 1 / -1;
}

.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.7rem;
  margin: 0 0 10px;
  color: var(--green);
}

.highlight {
  background:
    linear-gradient(180deg, rgba(28, 58, 47, 0.92), rgba(28, 58, 47, 0.92)),
    url("../images/event.jpg") center / cover no-repeat;
  color: #f6f1e8;
}

.highlight h2,
.highlight .lead {
  color: #f6f1e8;
}

.split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 36px;
  align-items: center;
}

.split img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 24px;
  box-shadow: var(--shadow);
}

.hours {
  list-style: none;
  padding: 0;
  margin: 18px 0 0;
}

.hours li {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.gallery {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  grid-template-rows: 240px 240px;
  gap: 14px;
}

.gallery a:first-child {
  grid-row: 1 / span 2;
}

.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
}

.menu-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}

.menu-tabs button {
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 999px;
  padding: 9px 16px;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.menu-tabs button.active {
  background: var(--green);
  color: #fff;
  border-color: var(--green);
}

.menu-panel {
  display: none;
}

.menu-panel.active {
  display: block;
}

.menu-note {
  margin: 0 0 18px;
  color: var(--muted);
  font-style: italic;
}

.menu-list {
  display: grid;
  gap: 0;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  overflow: hidden;
}

.dish {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}

.dish:last-child {
  border-bottom: 0;
}

.dish .nr {
  color: var(--gold);
  font-weight: 700;
}

.dish h3 {
  margin: 0;
  font-size: 1.05rem;
  color: var(--burgundy);
}

.dish p {
  margin: 4px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.price {
  font-weight: 700;
  white-space: nowrap;
  color: var(--green);
}

.price small {
  display: block;
  font-weight: 600;
  color: var(--muted);
  font-size: 0.8rem;
}

.extras {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.extras article {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 22px;
}

.legal {
  font-size: 0.9rem;
  color: var(--muted);
}

.legal details {
  margin-top: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.phone-xl {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  text-decoration: none;
  color: var(--burgundy);
  font-weight: 600;
}

.map-frame {
  border: 0;
  width: 100%;
  min-height: 360px;
  border-radius: 22px;
}

.map-consent {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
  padding: clamp(20px, 4vw, 36px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}

.map-consent p {
  margin: 0;
}

.consent-banner {
  position: fixed;
  z-index: 100;
  inset: auto 0 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 20px max(20px, calc((100vw - 1120px) / 2));
  border-top: 1px solid var(--line);
  background: var(--paper);
  box-shadow: 0 -14px 40px rgba(31, 28, 25, 0.18);
}

.consent-banner[hidden] {
  display: none;
}

.consent-copy {
  max-width: 720px;
}

.consent-banner h2 {
  margin: 0 0 6px;
  font-family: inherit;
  font-size: 1.2rem;
  line-height: 1.3;
}

.consent-banner p {
  margin: 0;
}

.consent-actions {
  display: flex;
  flex-shrink: 0;
  gap: 10px;
}

.footer-button {
  padding: 0;
  border: 0;
  background: none;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

.privacy-content {
  max-width: 820px;
}

.privacy-content h3 {
  margin-top: 32px;
}

.privacy-content .placeholder {
  color: var(--burgundy);
  font-weight: 700;
}

footer {
  background: var(--green);
  color: #e9e0d2;
  padding: 36px 0;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.italy-line {
  height: 6px;
  background: linear-gradient(90deg, #2e6b4f 0 33%, #f4f0e8 33% 66%, #b33a3a 66% 100%);
}

@media (max-width: 860px) {
  .menu-toggle {
    display: inline-flex;
  }

  nav {
    display: none;
    position: absolute;
    left: 20px;
    right: 20px;
    top: 76px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 12px;
    box-shadow: var(--shadow);
  }

  nav.open {
    display: block;
  }

  nav ul {
    flex-direction: column;
  }

  .cards,
  .split,
  .gallery,
  .extras,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .gallery {
    grid-template-rows: none;
  }

  .gallery a:first-child,
  .split img,
  .gallery img {
    height: 260px;
  }

  .dish {
    grid-template-columns: 36px 1fr;
  }

  .price {
    grid-column: 2;
  }
}

@media (max-width: 700px) {
  .consent-banner {
    max-height: 60vh;
    overflow: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 14px;
  }

  .consent-actions {
    flex-direction: column;
  }
}

.split img.flyer {
  height: auto;
  max-width: 460px;
  justify-self: center;
  object-fit: contain;
}
