:root {
  --green: #19301f;
  --green-dark: #102016;
  --green-soft: #243c2b;
  --gold: #c9a24f;
  --gold-soft: #e6d5aa;
  --ivory: #f5f0e6;
  --paper: #f6f2e9;
  --ink: #26231f;
  --muted: #6c6254;
  --white: #fffaf0;
  --shadow: 0 24px 70px rgba(16, 32, 22, .16);
  --serif: "Cormorant Garamond", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

[id] {
  scroll-margin-top: 88px;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 16px;
  line-height: 1.65;
  padding-bottom: 74px;
}

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

a {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 12px;
  z-index: 100;
  transform: translateY(-140%);
  background: var(--gold);
  color: var(--green-dark);
  padding: 10px 14px;
  border-radius: 999px;
  font-weight: 800;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  padding: 14px 0;
  transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
}

.site-header.is-scrolled,
.site-header.is-open {
  background: rgba(16, 32, 22, .94);
  box-shadow: 0 14px 40px rgba(0, 0, 0, .18);
  backdrop-filter: blur(14px);
}

.site-header.is-scrolled {
  padding: 8px 0;
}

.header-inner {
  width: min(1180px, calc(100% - 28px));
  min-height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: var(--white);
  font-family: var(--serif);
  font-size: clamp(1.35rem, 2vw, 1.8rem);
  font-weight: 700;
  text-decoration: none;
  line-height: 1;
}

.brand img {
  border-radius: 50%;
  border: 1px solid rgba(201, 162, 79, .5);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 5px;
}

.site-nav a {
  color: var(--white);
  text-decoration: none;
  font-size: .92rem;
  font-weight: 700;
  padding: 11px 13px;
  border-radius: 999px;
  transition: color .2s ease, background .2s ease;
}

.site-nav a:hover {
  background: rgba(255, 250, 240, .12);
}

.site-nav .nav-cta {
  background: var(--gold);
  color: var(--green-dark);
  margin-left: 6px;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 250, 240, .3);
  border-radius: 50%;
  background: rgba(16, 32, 22, .55);
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 20px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform .2s ease, opacity .2s ease;
}

.site-header.is-open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.site-header.is-open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.is-open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: 94svh;
  display: grid;
  align-items: end;
  overflow: hidden;
  color: var(--white);
  padding: 130px 0 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 55%;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(16, 32, 22, .88) 0%, rgba(16, 32, 22, .62) 42%, rgba(16, 32, 22, .24) 100%),
    linear-gradient(0deg, rgba(16, 32, 22, .72) 0%, rgba(16, 32, 22, .04) 54%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 780px;
  margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.hero h1,
.section h2,
.cta-band h2,
.site-footer h2 {
  font-family: var(--serif);
  font-weight: 700;
  line-height: .98;
  letter-spacing: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0;
  font-size: clamp(3.4rem, 11vw, 7.8rem);
}

.payoff {
  margin: 10px 0 0;
  color: var(--gold-soft);
  font-family: var(--serif);
  font-size: clamp(1.65rem, 4vw, 3rem);
  line-height: 1.05;
}

.hero-text {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: clamp(1rem, 2vw, 1.22rem);
}

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

.btn {
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 800;
  text-decoration: none;
  line-height: 1.2;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: var(--green-dark);
  box-shadow: 0 12px 28px rgba(201, 162, 79, .22);
}

.btn-light {
  background: var(--white);
  color: var(--green-dark);
}

.btn-ghost {
  border-color: rgba(255, 250, 240, .46);
  color: var(--white);
  background: rgba(255, 250, 240, .08);
}

.btn-outline {
  border-color: rgba(25, 48, 31, .22);
  color: var(--green-dark);
  background: rgba(255, 250, 240, .38);
}

.section {
  padding: clamp(70px, 9vw, 120px) 0;
}

.split,
.tradition-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, .82fr);
  gap: clamp(34px, 6vw, 84px);
  align-items: center;
}

.copy h2,
.section-heading h2,
.cta-band h2,
.hours-box h2 {
  margin: 0;
  color: var(--green-dark);
  font-size: clamp(2.4rem, 5vw, 4.6rem);
}

.copy p {
  max-width: 62ch;
  margin: 18px 0 0;
  color: var(--muted);
}

.image-panel,
.plate-stack {
  margin: 0;
}

.image-panel {
  position: relative;
  padding: 14px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.image-panel::before {
  content: "";
  position: absolute;
  inset: -16px 28px auto -18px;
  height: 44%;
  border: 1px solid var(--gold);
  z-index: -1;
}

.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
}

.strengths {
  background: var(--green-dark);
  color: var(--white);
}

.strengths .section-heading h2 {
  color: var(--white);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.section-heading.centered {
  margin-inline: auto;
  text-align: center;
}

.strength-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.strength-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid rgba(245, 240, 230, .16);
  background: rgba(245, 240, 230, .045);
}

.strength-card svg {
  width: 38px;
  height: 38px;
  color: var(--gold);
}

.strength-card h3,
.menu-category h3 {
  margin: 20px 0 10px;
  color: inherit;
  font-family: var(--serif);
  font-size: 1.7rem;
  line-height: 1.05;
}

.strength-card p {
  margin: 0;
  color: rgba(255, 250, 240, .78);
}

.menu-section {
  background:
    linear-gradient(135deg, rgba(201, 162, 79, .14), transparent 35%),
    var(--paper);
}

.menu-shell {
  padding: clamp(26px, 5vw, 58px);
  background: rgba(255, 250, 240, .72);
  border: 1px solid rgba(201, 162, 79, .28);
  box-shadow: var(--shadow);
}

.menu-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 32px 44px;
}

.menu-category h3 {
  color: var(--green);
  border-bottom: 1px solid rgba(201, 162, 79, .45);
  padding-bottom: 10px;
}

.menu-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.menu-list li {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(38, 35, 31, .08);
}

.menu-list span {
  min-width: 0;
}

.menu-list strong {
  color: var(--green-dark);
  white-space: nowrap;
  font-weight: 900;
}

.service {
  grid-column: 1 / -1;
  max-width: 500px;
}

.menu-note {
  margin: 34px 0 0;
  padding: 18px 20px;
  background: rgba(25, 48, 31, .06);
  color: var(--muted);
  border-left: 3px solid var(--gold);
}

.tradition {
  background: var(--ivory);
}

.plate-stack {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  align-items: end;
}

.plate-stack img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.plate-stack img:first-child {
  transform: translateY(-28px);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 245px;
  gap: 12px;
}

.gallery-item {
  border: 0;
  padding: 0;
  overflow: hidden;
  background: var(--green-dark);
  cursor: pointer;
}

.gallery-item.large {
  grid-row: span 2;
  grid-column: span 2;
}

.gallery-item.wide {
  grid-column: span 2;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .35s ease, opacity .35s ease;
}

.gallery-item:hover img,
.gallery-item:focus-visible img {
  transform: scale(1.045);
  opacity: .86;
}

.cta-band {
  padding: clamp(70px, 9vw, 110px) 0;
  color: var(--white);
  background:
    linear-gradient(rgba(16, 32, 22, .87), rgba(16, 32, 22, .87)),
    url("assets/images/galleria-tavoli.webp") center / cover;
}

.cta-content {
  max-width: 760px;
  margin-left: max(20px, calc((100vw - 1120px) / 2));
}

.cta-band h2 {
  color: var(--white);
}

.cta-band p {
  max-width: 62ch;
}

address {
  margin-top: 18px;
  font-style: normal;
  color: var(--muted);
}

.contact-section {
  background: var(--paper);
}

.map-card {
  min-height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 30px;
  color: var(--white);
  background:
    linear-gradient(145deg, rgba(16, 32, 22, .92), rgba(25, 48, 31, .72)),
    url("assets/images/galleria-strada.webp") center / cover;
  box-shadow: var(--shadow);
}

.map-card p {
  margin: 0;
  color: var(--gold-soft);
  font-weight: 800;
}

.map-card strong {
  font-family: var(--serif);
  font-size: 3rem;
  line-height: 1;
}

.map-card a {
  width: max-content;
  margin-top: 20px;
  color: var(--gold-soft);
  font-weight: 800;
}

.hours-section {
  padding-top: 0;
}

.hours-box {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 30px;
  align-items: center;
  padding: 34px;
  background: var(--white);
  border: 1px solid rgba(201, 162, 79, .24);
}

.hours-list p {
  margin: 0;
  color: var(--muted);
}

.site-footer {
  padding: 58px 0 26px;
  color: rgba(255, 250, 240, .78);
  background: var(--green-dark);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
}

.site-footer img {
  border-radius: 50%;
}

.site-footer h2 {
  margin: 16px 0 4px;
  color: var(--white);
  font-size: 2.4rem;
}

.site-footer p {
  margin: 8px 0;
}

.site-footer nav {
  display: grid;
  gap: 9px;
  align-content: start;
}

.site-footer a {
  color: var(--white);
  text-decoration-color: rgba(201, 162, 79, .7);
  text-underline-offset: 4px;
}

.footer-bottom {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 250, 240, .12);
  font-size: .9rem;
}

.mobile-action-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  gap: 10px;
  background: rgba(16, 32, 22, .96);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, .18);
}

.mobile-action-bar a {
  min-height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
}

.mobile-action-bar a:first-child {
  background: var(--white);
  color: var(--green-dark);
}

.mobile-action-bar a:last-child {
  background: var(--gold);
  color: var(--green-dark);
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(16, 32, 22, .92);
}

.lightbox[hidden] {
  display: none;
}

.lightbox img {
  max-height: min(84vh, 900px);
  width: auto;
  box-shadow: 0 28px 80px rgba(0, 0, 0, .38);
}

.lightbox-close {
  position: absolute;
  right: 18px;
  top: 18px;
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 250, 240, .3);
  border-radius: 50%;
  background: var(--white);
  color: var(--green-dark);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (min-width: 800px) {
  body {
    padding-bottom: 0;
  }

  .mobile-action-bar {
    display: none;
  }
}

@media (max-width: 980px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    left: 14px;
    right: 14px;
    top: calc(100% + 8px);
    display: grid;
    padding: 16px;
    background: rgba(16, 32, 22, .98);
    border: 1px solid rgba(255, 250, 240, .12);
    box-shadow: 0 22px 60px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity .2s ease, transform .2s ease, visibility .2s ease;
  }

  .site-header.is-open .site-nav {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    border-radius: 8px;
    padding: 13px 14px;
  }

  .site-nav .nav-cta {
    margin-left: 0;
    text-align: center;
    border-radius: 999px;
  }

  .split,
  .tradition-layout,
  .contact-grid,
  .hours-box {
    grid-template-columns: 1fr;
  }

  .strength-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 230px;
  }
}

@media (max-width: 700px) {
  .container {
    width: min(100% - 28px, 1120px);
  }

  .brand span {
    font-size: 1.34rem;
  }

  .hero {
    min-height: 86svh;
    padding: 112px 0 36px;
  }

  .hero-overlay {
    background:
      linear-gradient(0deg, rgba(16, 32, 22, .88) 0%, rgba(16, 32, 22, .48) 62%, rgba(16, 32, 22, .38) 100%);
  }

  .hero-content,
  .cta-content {
    margin: 0 auto;
    width: min(100% - 28px, 1120px);
  }

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

  .hero-actions,
  .section-actions,
  .contact-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .section {
    padding: 64px 0;
  }

  .copy h2,
  .section-heading h2,
  .cta-band h2,
  .hours-box h2 {
    font-size: clamp(2.25rem, 11vw, 3.25rem);
  }

  .strength-grid,
  .menu-grid {
    grid-template-columns: 1fr;
  }

  .strength-card {
    min-height: auto;
  }

  .menu-shell {
    padding: 22px 16px;
  }

  .menu-list li {
    gap: 12px;
  }

  .plate-stack {
    gap: 10px;
  }

  .plate-stack img:first-child {
    transform: translateY(-14px);
  }

  .gallery-grid {
    display: grid;
    grid-template-columns: 1fr;
    grid-auto-rows: 260px;
  }

  .gallery-item.large,
  .gallery-item.wide {
    grid-column: auto;
    grid-row: auto;
  }

  .map-card {
    min-height: 300px;
  }

  .hours-box {
    padding: 24px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 380px) {
  .header-inner {
    width: min(100% - 18px, 1180px);
  }

  .brand {
    gap: 8px;
  }

  .brand img {
    width: 36px;
    height: 36px;
  }

  .brand span {
    font-size: 1.16rem;
  }

  .hero h1 {
    font-size: 2.85rem;
  }

  .btn {
    padding-inline: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: .001ms !important;
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
