
:root {
  --cream: #fff8e5;
  --cream-2: #f7edcf;
  --yellow: #f1ce62;
  --red: #df3d32;
  --red-dark: #b92d28;
  --green: #234f43;
  --green-2: #173a32;
  --ink: #292621;
  --muted: #6f685d;
  --white: #ffffff;
  --line: rgba(35, 79, 67, .16);
  --shadow: 0 18px 55px rgba(32, 42, 34, .12);
  --radius: 26px;
  --max: 1160px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
  margin: 0;
  color: var(--ink);
  background: var(--cream);
  font-family: "Trebuchet MS", Arial, sans-serif;
  line-height: 1.6;
}

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

a { color: inherit; }

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: fixed;
  top: -100px;
  left: 16px;
  z-index: 999;
  padding: 10px 14px;
  background: var(--green);
  color: white;
  border-radius: 8px;
}
.skip-link:focus { top: 16px; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 248, 229, .93);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
}

.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  min-height: 82px;
  padding: 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand img {
  width: 210px;
  height: 64px;
  object-fit: contain;
  object-position: left center;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: .95rem;
  font-weight: 700;
}

.main-nav a {
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}
.main-nav a:hover { color: var(--red); }

.main-nav .nav-cta {
  background: var(--red);
  color: white;
  padding: 11px 18px;
  border-radius: 999px;
}
.main-nav .nav-cta:hover {
  color: white;
  background: var(--red-dark);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 42px;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.menu-toggle span:not(.sr-only) {
  display: block;
  width: 27px;
  height: 3px;
  margin: 5px auto;
  background: var(--green);
  border-radius: 9px;
}

.hero {
  position: relative;
  min-height: 690px;
  overflow: hidden;
  background:
    radial-gradient(circle at 80% 22%, rgba(241, 206, 98, .8), transparent 25%),
    linear-gradient(125deg, #fff9e9 0%, #f7e9bb 100%);
}

.hero-pattern {
  position: absolute;
  inset: 0;
  opacity: .24;
  background-image:
    radial-gradient(circle at 25px 25px, var(--green) 2px, transparent 2.5px);
  background-size: 50px 50px;
  mask-image: linear-gradient(to right, black, transparent 72%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: var(--max);
  min-height: 690px;
  margin: 0 auto;
  padding: 90px 22px 80px;
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  margin: 0 0 13px;
  color: var(--red);
  font-size: .82rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.eyebrow.light { color: #f6d870; }

.hero h1,
.section-heading h2,
.about h2,
.final-cta h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  line-height: .98;
  letter-spacing: -.035em;
}

.hero h1 {
  font-size: clamp(3.6rem, 7vw, 6.8rem);
  color: var(--green);
}
.hero h1 span { color: var(--red); }

.hero-text {
  max-width: 650px;
  margin: 28px 0 0;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: #4c473f;
}

.hero-actions,
.menu-buttons,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 31px;
}

.btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  min-height: 50px;
  padding: 13px 21px;
  border: 2px solid transparent;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn-primary {
  background: var(--red);
  color: white;
  box-shadow: 0 10px 25px rgba(223, 61, 50, .22);
}
.btn-primary:hover { background: var(--red-dark); }

.btn-secondary {
  background: var(--green);
  color: white;
  box-shadow: 0 10px 25px rgba(35, 79, 67, .2);
}
.btn-secondary:hover { background: var(--green-2); }

.btn-outline {
  border-color: var(--green);
  color: var(--green);
}
.btn-outline:hover {
  background: var(--green);
  color: white;
}

.btn-cream {
  background: var(--cream);
  color: var(--green);
}
.btn-line-light {
  border-color: rgba(255,255,255,.8);
  color: white;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
  margin-top: 24px;
}
.quick-links a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}
.quick-links a:hover { color: var(--red); }

.hero-mark {
  display: flex;
  justify-content: center;
}

.logo-card {
  position: relative;
  width: min(100%, 490px);
  min-height: 420px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 42px;
  background: rgba(255,255,255,.72);
  border: 1px solid rgba(35, 79, 67, .16);
  border-radius: 52% 48% 42% 58% / 55% 38% 62% 45%;
  box-shadow: var(--shadow);
  transform: rotate(1.5deg);
}
.logo-card::before,



.logo-card img {
  width: 100%;
  filter: drop-shadow(0 12px 18px rgba(40,33,25,.14));
}
.logo-card p {
  margin: 25px 0 0;
  color: var(--green);
  text-align: center;
  font-family: Georgia, serif;
  font-size: 1.18rem;
  font-style: italic;
  font-weight: 700;
}

.section {
  max-width: var(--max);
  margin: 0 auto;
  padding: 100px 22px;
}

.section-heading h2 {
  color: var(--green);
  font-size: clamp(2.4rem, 5vw, 4.3rem);
}
.section-heading.centered { text-align: center; }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 44px;
}

.value-card {
  padding: 31px;
  background: rgba(255,255,255,.64);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(35,79,67,.06);
}
.value-card .icon {
  display: grid;
  width: 56px;
  height: 56px;
  place-items: center;
  margin-bottom: 18px;
  background: var(--yellow);
  border-radius: 18px;
  color: var(--green);
  font-size: 1.55rem;
}
.value-card h3 {
  margin: 0 0 8px;
  color: var(--green);
  font-size: 1.35rem;
}
.value-card p { margin: 0; color: var(--muted); }

.menu-section {
  max-width: none;
  padding-left: 22px;
  padding-right: 22px;
  background: var(--green);
}

.menu-panel {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 310px;
  align-items: center;
  gap: 70px;
  color: white;
}

.menu-copy h2 {
  margin: 0;
  color: white;
  font-family: Georgia, serif;
  font-size: clamp(2.7rem, 5vw, 4.8rem);
  line-height: 1;
  letter-spacing: -.035em;
}
.menu-copy > p:not(.eyebrow) {
  max-width: 680px;
  font-size: 1.1rem;
  color: rgba(255,255,255,.8);
}
.menu-section .btn-outline {
  color: white;
  border-color: rgba(255,255,255,.75);
}
.menu-section .btn-outline:hover {
  background: white;
  color: var(--green);
}

.qr-card {
  padding: 24px;
  background: white;
  border-radius: 28px;
  color: var(--ink);
  text-align: center;
  box-shadow: 0 20px 45px rgba(0,0,0,.22);
}
.qr-card img {
  width: 220px;
  margin: 0 auto 14px;
  image-rendering: crisp-edges;
}
.qr-card strong { display: block; color: var(--green); }
.qr-card span { font-size: .8rem; color: var(--muted); }

.split {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 90px;
}
.rich-text { font-size: 1.1rem; color: var(--muted); }
.rich-text p { margin-top: 0; margin-bottom: 20px; }
.rich-text strong { color: var(--green); }
.text-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--red);
  font-weight: 900;
  text-decoration: none;
}

.about {
  max-width: none;
  padding-left: 22px;
  padding-right: 22px;
  background: linear-gradient(120deg, var(--red-dark), var(--red));
}

.about-box {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  color: white;
}
.about h2 {
  color: white;
  font-size: clamp(2.5rem, 5vw, 4.5rem);
}
.about-box > p {
  margin: 0;
  align-self: end;
  font-size: 1.12rem;
  color: rgba(255,255,255,.86);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.18fr .92fr;
  gap: 20px;
  margin-top: 44px;
}

.contact-card {
  padding: 30px;
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 35px rgba(35,79,67,.07);
}
.contact-card h3 {
  margin: 0 0 19px;
  color: var(--green);
  font-size: 1.45rem;
}
.contact-card address {
  margin-bottom: 24px;
  font-style: normal;
  font-size: 1.06rem;
}
.full { width: 100%; }
.phone-link {
  display: block;
  margin-top: 20px;
  color: var(--red);
  font-size: 1.35rem;
  font-weight: 900;
  text-decoration: none;
}
.small-note {
  color: var(--muted);
  font-size: .83rem;
}

.status-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}
.status-badge {
  display: inline-flex;
  padding: 7px 10px;
  border-radius: 999px;
  background: #eee;
  color: var(--ink);
  font-size: .75rem;
  font-weight: 900;
  white-space: nowrap;
}
.status-badge.open { background: #dff5e3; color: #17652a; }
.status-badge.closed { background: #f9deda; color: #9f2824; }

.hours-block + .hours-block {
  margin-top: 22px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.hours-block h4 { margin: 0 0 8px; color: var(--red); }
.hours-block h4 span {
  color: var(--muted);
  font-size: .78rem;
  font-weight: 600;
}
.hours-block p { margin: 5px 0; }

.social-card > p { color: var(--muted); }
.social-link {
  display: flex;
  align-items: center;
  gap: 13px;
  margin-top: 14px;
  padding: 14px;
  background: var(--cream);
  border-radius: 17px;
  text-decoration: none;
}
.social-link > span {
  display: grid;
  width: 42px; height: 42px;
  place-items: center;
  background: var(--green);
  color: white;
  border-radius: 50%;
  font-size: 1.25rem;
}
.social-link div { display: flex; flex-direction: column; }
.social-link strong { color: var(--green); }
.social-link small { color: var(--muted); }

.final-cta {
  max-width: var(--max);
  margin: 0 auto 90px;
  padding: 50px;
  border-radius: 34px;
  background: var(--green);
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.final-cta h2 {
  color: white;
  font-size: clamp(2.2rem, 4.5vw, 4rem);
}

footer {
  background: #142e28;
  color: rgba(255,255,255,.75);
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 50px 22px 110px;
  text-align: center;
}
.footer-inner img {
  width: 230px;
  margin: 0 auto 20px;
}
.footer-inner a { color: white; }
.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  margin: 18px 0;
}
.copyright { font-size: .8rem; opacity: .7; }

.mobile-bar {
  display: none;
  position: fixed;
  z-index: 110;
  left: 10px;
  right: 10px;
  bottom: 10px;
  min-height: 58px;
  background: rgba(20,46,40,.96);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 18px;
  box-shadow: 0 14px 34px rgba(0,0,0,.25);
  overflow: hidden;
}
.mobile-bar a {
  flex: 1;
  display: grid;
  place-items: center;
  color: white;
  text-decoration: none;
  font-size: .88rem;
  font-weight: 900;
}
.mobile-bar .highlight { background: var(--red); }

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

  .main-nav {
    position: absolute;
    top: 82px;
    left: 14px;
    right: 14px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: var(--cream);
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 13px; }
  .main-nav .nav-cta { text-align: center; }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 45px;
    padding-top: 70px;
  }
  .hero-mark { order: 2; }
  .logo-card {
    min-height: 300px;
    max-width: 500px;
    padding: 34px;
  }

  .card-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .menu-panel,
  .split,
  .about-box {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .menu-panel { text-align: center; }
  .menu-buttons { justify-content: center; }
  .qr-card { width: min(100%, 330px); margin: 0 auto; }

  .final-cta {
    margin-left: 22px;
    margin-right: 22px;
    flex-direction: column;
    text-align: center;
  }
  .final-actions { justify-content: center; }
}

@media (max-width: 620px) {
  .nav-wrap { min-height: 72px; padding: 8px 15px; }
  .brand img { width: 155px; height: 48px; }
  .main-nav { top: 72px; }

  .hero { min-height: auto; }
  .hero-inner { min-height: auto; padding: 36px 17px 56px; gap: 24px; }
  .hero h1 { font-size: clamp(2.9rem, 16vw, 4.4rem); }
  .hero-text { font-size: 1rem; margin-top: 18px; }
  .hero-actions { margin-top: 22px; }
  .hero-actions .btn { width: 100%; }
  .quick-links { gap: 15px; font-size: .9rem; margin-top: 18px; }

  .hero-copy { order: 1; }
  .hero-mark { order: 2; }
  .logo-card {
    min-height: 170px;
    padding: 18px;
    border-radius: 26px;
    transform: none;
  }
  
  
  .logo-card img { max-height: 120px; object-fit: contain; }
  .logo-card p { font-size: .95rem; margin-top: 12px; }

  .section { padding: 68px 17px; }
  .section-heading h2 { font-size: 2.35rem; }

  .value-card,
  .contact-card { padding: 25px; }

  .menu-section { padding-left: 17px; padding-right: 17px; }
  .menu-copy h2 { font-size: 2.45rem; }
  .menu-buttons .btn { width: 100%; }

  .about { padding-left: 17px; padding-right: 17px; }
  .about h2 { font-size: 2.45rem; }

  .final-cta {
    margin: 0 17px 78px;
    padding: 37px 24px;
  }
  .final-actions .btn { width: 100%; }

  .footer-inner { padding-bottom: 100px; }
  .mobile-bar { display: flex; }
}

/* Versione 4: logo senza sottotitolo */
.logo-card {
  justify-content: center;
}
.logo-card > img {
  margin: auto 0;
}

/* Evidenza Molino Pransani */
.mill-name {
  color: var(--green);
  font-weight: 900;
}

/* Versione 6: collegamento a Molino Pransani */
a.mill-name {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(35, 79, 67, .38);
}

a.mill-name:hover,
a.mill-name:focus {
  color: var(--red);
  text-decoration-color: currentColor;
}

/* Versione 7: collegamenti compatibili con anteprima desktop */
.desktop-safe-link {
  position: relative;
  z-index: 20;
  pointer-events: auto !important;
  cursor: pointer;
  touch-action: manipulation;
}

.desktop-safe-link::after {
  content: "";
  position: absolute;
  inset: -5px -3px;
  z-index: -1;
}

@media (hover: hover) and (pointer: fine) {
  .desktop-safe-link:hover {
    filter: brightness(.88);
  }
}

/* Versione 8: link a proposte vegetariane e vegane, desktop e smartphone */
a.category-link {
  color: var(--green);
  font-weight: 900;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  text-decoration-color: rgba(35, 79, 67, .38);
  cursor: pointer;
  pointer-events: auto !important;
  touch-action: manipulation;
}

a.category-link:hover,
a.category-link:focus {
  color: var(--red);
  text-decoration-color: currentColor;
}

@media (max-width: 620px) {
  a.category-link {
    display: inline;
    position: relative;
    z-index: 25;
    padding: 2px 0;
  }
}

/* Versione 10: indicazione di riferimento vicino alla piscina comunale */
.location-note {
  margin: -8px 0 22px;
  color: var(--green);
  font-weight: 800;
  line-height: 1.45;
}

@media (max-width: 620px) {
  .location-note {
    margin-top: -6px;
    font-size: .95rem;
  }
}

/* Versione 11: SEO, contatti, privacy e rifiniture responsive */
.menu-highlight {
  margin: 18px 0 0;
  color: rgba(255,255,255,.92);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.08rem;
  font-style: italic;
}

.email-link {
  display: inline-block;
  margin-top: 10px;
  color: var(--green);
  font-weight: 800;
  overflow-wrap: anywhere;
}

.review-button {
  margin-top: 16px;
}

.company-data {
  margin-top: 4px;
  font-size: .82rem;
}

.footer-legal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 18px;
  margin: 18px 0 4px;
}

.footer-legal a {
  color: white;
  font-size: .84rem;
}

.legal-page {
  max-width: 880px;
  margin: 0 auto;
  padding: 70px 22px 110px;
}

.legal-page h1,
.legal-page h2 {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
}

.legal-page h1 {
  margin: 0 0 12px;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
}

.legal-page h2 {
  margin-top: 38px;
  font-size: 1.6rem;
}

.legal-page p,
.legal-page li {
  color: #565047;
}

.legal-page a {
  color: var(--red);
  font-weight: 800;
}

.legal-meta {
  margin-bottom: 38px;
  color: var(--muted);
  font-size: .9rem;
}

.legal-back {
  display: inline-block;
  margin-bottom: 30px;
  color: var(--green) !important;
}

@media (max-width: 620px) {
  .menu-highlight {
    font-size: 1rem;
  }

  .review-button {
    width: 100%;
  }

  .footer-legal {
    gap: 12px;
  }

  .legal-page {
    padding: 48px 17px 100px;
  }
}

/* Versione 12: Privacy e Cookie integrate nel singolo file di anteprima */
.legal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  padding: 34px 18px;
  overflow-y: auto;
  background: rgba(13, 29, 25, .86);
  backdrop-filter: blur(8px);
}

.legal-overlay:target {
  display: block;
}

.legal-overlay-panel {
  position: relative;
  width: min(900px, 100%);
  margin: 0 auto;
  padding: 56px 58px 64px;
  background: var(--cream);
  border-radius: 28px;
  box-shadow: 0 28px 80px rgba(0,0,0,.35);
}

.legal-overlay-panel h1,
.legal-overlay-panel h2 {
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
}

.legal-overlay-panel h1 {
  margin: 0 0 12px;
  font-size: clamp(2.6rem, 6vw, 4.5rem);
  line-height: 1;
}

.legal-overlay-panel h2 {
  margin-top: 36px;
  font-size: 1.55rem;
}

.legal-overlay-panel p,
.legal-overlay-panel li {
  color: #565047;
}

.legal-overlay-panel a:not(.button):not(.legal-close) {
  color: var(--red);
  font-weight: 800;
}

.legal-overlay-top {
  position: sticky;
  top: 0;
  z-index: 2;
  height: 0;
}

.legal-close {
  position: absolute;
  top: -38px;
  right: -35px;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--green);
  color: white;
  text-decoration: none;
  font-size: 1.8rem;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(0,0,0,.2);
}

.legal-bottom-close {
  margin-top: 30px;
}

@media (max-width: 620px) {
  .legal-overlay {
    padding: 10px;
  }

  .legal-overlay-panel {
    padding: 46px 22px 58px;
    border-radius: 20px;
  }

  .legal-close {
    top: -35px;
    right: -10px;
  }

  .legal-overlay-panel h1 {
    font-size: 2.65rem;
  }
}

/* Versione 13: avviso allergeni e informazioni alimentari */
.allergen-section {
  padding-top: 72px;
  padding-bottom: 72px;
}

.allergen-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 24px;
  padding: 34px;
  background: rgba(255,255,255,.68);
  border: 1px solid var(--line);
  border-radius: 24px;
  box-shadow: 0 12px 35px rgba(35,79,67,.06);
}

.allergen-icon {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--yellow);
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.6rem;
  font-weight: 900;
}

.allergen-card h2 {
  margin: 0 0 14px;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1.05;
}

.allergen-card p:not(.eyebrow) {
  max-width: 850px;
  margin: 0 0 16px;
  color: var(--muted);
}

@media (max-width: 620px) {
  .allergen-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .allergen-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 26px;
  }

  .allergen-card h2 {
    font-size: 2.25rem;
  }

  .allergen-icon {
    width: 50px;
    height: 50px;
  }
}

/* Versione 14: logo ritagliato e più leggibile su desktop e smartphone */
.brand {
  flex-shrink: 0;
}

.brand img {
  width: 270px;
  height: 70px;
  object-fit: contain;
  object-position: left center;
}

.logo-card img {
  width: 100%;
  max-height: 245px;
  object-fit: contain;
}

.footer-inner img {
  width: 290px;
}

@media (max-width: 900px) {
  .brand img {
    width: 225px;
    height: 62px;
  }
}

@media (max-width: 620px) {
  .nav-wrap {
    min-height: 78px;
  }

  .brand img {
    width: 205px;
    height: 58px;
  }

  .main-nav {
    top: 78px;
  }

  .logo-card img {
    max-height: 150px;
  }

  .footer-inner img {
    width: 245px;
  }
}

/* Versione 15: logo più protagonista, soprattutto su desktop */
.brand img {
  width: 245px;
  height: 72px;
}

.hero-inner {
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}

.logo-card {
  width: min(100%, 560px);
  min-height: 440px;
  padding: 24px 22px;
  margin-left: auto;
  margin-right: auto;
}

.logo-card img {
  width: 118%;
  max-width: none;
  margin-left: -9%;
  filter: drop-shadow(0 14px 20px rgba(40,33,25,.14));
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: 1.02fr .98fr;
    gap: 44px;
  }

  .logo-card {
    width: min(100%, 520px);
    min-height: 400px;
    padding: 22px 20px;
  }

  .logo-card img {
    width: 112%;
    margin-left: -6%;
  }
}

@media (max-width: 900px) {
  .brand img {
    width: 220px;
    height: 64px;
  }

  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .logo-card {
    width: min(100%, 500px);
    min-height: 300px;
    padding: 20px 18px;
  }

  .logo-card img {
    width: 108%;
    margin-left: -4%;
  }
}

@media (max-width: 620px) {
  .brand img {
    width: 190px;
    height: 56px;
  }

  .logo-card {
    width: min(100%, 430px);
    min-height: 230px;
    padding: 18px 16px;
  }

  .logo-card img {
    width: 104%;
    margin-left: -2%;
    max-height: 172px;
    object-fit: contain;
  }
}

/* Versione 16: hero ripensata, senza bolla bianca */
.hero-inner {
  grid-template-columns: minmax(0, 1.02fr) minmax(380px, .98fr);
  gap: 52px;
}

.hero-mark {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-stage {
  position: relative;
  width: min(100%, 560px);
  min-height: 470px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 34px;
  border-radius: 34px;
  background:
    radial-gradient(circle at 80% 18%, rgba(241, 206, 98, .48), transparent 27%),
    linear-gradient(145deg, rgba(255,255,255,.82) 0%, rgba(255,249,233,.88) 100%);
  border: 1px solid rgba(35,79,67,.12);
  box-shadow:
    0 24px 60px rgba(35,79,67,.09),
    inset 0 1px 0 rgba(255,255,255,.65);
  overflow: hidden;
}

.brand-stage::before {
  content: "";
  position: absolute;
  inset: 18px;
  border-radius: 26px;
  border: 1px solid rgba(35,79,67,.08);
  pointer-events: none;
}

.brand-stage::after {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -38px;
  top: -44px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(241,206,98,.45) 0%, rgba(241,206,98,0) 72%);
  pointer-events: none;
}

.brand-stage-card {
  position: relative;
  z-index: 1;
  width: min(100%, 470px);
  text-align: center;
}

.brand-stage-card img {
  width: 100%;
  max-width: 430px;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 12px 20px rgba(40,33,25,.14));
}

.brand-stage-copy {
  max-width: 380px;
  margin: 24px auto 0;
  color: #5b554d;
  font-size: 1.06rem;
  line-height: 1.55;
}

.brand-stage-tags {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.brand-stage-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  background: rgba(35,79,67,.08);
  border: 1px solid rgba(35,79,67,.1);
  color: var(--green);
  font-size: .9rem;
  font-weight: 800;
  letter-spacing: .01em;
}

/* Neutralize old hero logo-card look if any leftover remains */
.logo-card {
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  border-radius: 0 !important;
  min-height: auto !important;
  padding: 0 !important;
  transform: none !important;
}

@media (max-width: 1100px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr) minmax(340px, .92fr);
    gap: 40px;
  }

  .brand-stage {
    width: min(100%, 500px);
    min-height: 430px;
    padding: 28px;
  }

  .brand-stage-card img {
    max-width: 390px;
  }
}

@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .hero-mark {
    order: -1;
  }

  .brand-stage {
    width: min(100%, 560px);
    min-height: 290px;
    padding: 24px 18px;
    border-radius: 28px;
  }

  .brand-stage::before {
    inset: 12px;
    border-radius: 20px;
  }

  .brand-stage-card img {
    max-width: 360px;
  }

  .brand-stage-copy {
    max-width: 420px;
    margin-top: 16px;
    font-size: 1rem;
  }

  .brand-stage-tags {
    margin-top: 16px;
  }
}

@media (max-width: 620px) {
  .brand-stage {
    min-height: 250px;
    padding: 18px 14px;
    border-radius: 24px;
  }

  .brand-stage::before {
    inset: 10px;
    border-radius: 16px;
  }

  .brand-stage-card {
    width: 100%;
  }

  .brand-stage-card img {
    max-width: 300px;
  }

  .brand-stage-copy {
    max-width: 100%;
    font-size: .98rem;
    line-height: 1.48;
  }

  .brand-stage-tags {
    gap: 8px;
  }

  .brand-stage-tags span {
    min-height: 32px;
    padding: 7px 12px;
    font-size: .82rem;
  }
}

/* Versione 17: hero completamente ripensata, logo protagonista senza riquadri */
.hero {
  position: relative;
  padding: 48px 0 58px;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(35,79,67,.12) 1.2px, transparent 1.2px);
  background-size: 48px 48px;
  opacity: .55;
  pointer-events: none;
}

.hero-clean {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(360px, .92fr) minmax(0, 1.08fr);
  align-items: center;
  gap: 56px;
}

.hero-logo-block {
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.hero-main-logo {
  width: min(100%, 520px);
  display: block;
  filter: drop-shadow(0 18px 26px rgba(40,33,25,.12));
}

.hero-copy-block {
  max-width: 680px;
}

.hero-copy-block .eyebrow {
  margin-bottom: 18px;
  color: var(--red);
  letter-spacing: .14em;
}

.hero-copy-block h1 {
  margin: 0;
  color: var(--green);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(4.1rem, 7vw, 6.8rem);
  line-height: .92;
  letter-spacing: -.03em;
}

.hero-copy-block h1 span {
  color: var(--red);
}

.hero-intro {
  max-width: 620px;
  margin: 28px 0 0;
  color: #514a42;
  font-size: clamp(1.28rem, 2vw, 1.72rem);
  line-height: 1.5;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.hero-links {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 26px;
}

.hero-links a {
  color: var(--green);
  font-weight: 800;
  text-decoration: none;
}

.hero-links a:hover,
.hero-links a:focus {
  color: var(--red);
}

.hero-mark,
.brand-stage,
.logo-card {
  display: none !important;
}

@media (max-width: 1100px) {
  .hero-clean {
    grid-template-columns: minmax(320px, .88fr) minmax(0, 1.12fr);
    gap: 42px;
  }

  .hero-main-logo {
    width: min(100%, 470px);
  }

  .hero-copy-block h1 {
    font-size: clamp(3.7rem, 7vw, 5.9rem);
  }

  .hero-intro {
    font-size: 1.22rem;
  }
}

@media (max-width: 900px) {
  .hero {
    padding: 34px 0 46px;
  }

  .hero-clean {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .hero-logo-block {
    justify-content: center;
  }

  .hero-main-logo {
    width: min(100%, 380px);
  }

  .hero-copy-block {
    max-width: 100%;
    text-align: left;
  }

  .hero-copy-block .eyebrow {
    margin-bottom: 14px;
  }

  .hero-copy-block h1 {
    font-size: clamp(3.35rem, 12vw, 5rem);
  }

  .hero-intro {
    margin-top: 18px;
    font-size: 1.12rem;
  }

  .hero-actions {
    margin-top: 24px;
  }

  .hero-links {
    gap: 18px;
    margin-top: 22px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding: 24px 0 34px;
  }

  .hero::before {
    background-size: 34px 34px;
    opacity: .42;
  }

  .hero-clean {
    gap: 18px;
  }

  .hero-main-logo {
    width: min(100%, 310px);
  }

  .hero-copy-block .eyebrow {
    font-size: .84rem;
    letter-spacing: .12em;
  }

  .hero-copy-block h1 {
    font-size: clamp(2.95rem, 15vw, 4.3rem);
    line-height: .94;
  }

  .hero-intro {
    font-size: 1.02rem;
    line-height: 1.48;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    text-align: center;
  }

  .hero-links {
    gap: 14px 18px;
    font-size: .98rem;
  }
}

/* Versione 18: logo nettamente dominante rispetto allo slogan */
.hero {
  padding-top: 34px;
  padding-bottom: 48px;
}

.hero-clean {
  grid-template-columns: minmax(520px, 1.35fr) minmax(330px, .65fr);
  gap: 42px;
  align-items: center;
}

.hero-logo-block {
  justify-content: center;
}

.hero-main-logo {
  width: min(100%, 680px);
  max-width: 680px;
  filter: drop-shadow(0 20px 28px rgba(40,33,25,.13));
}

.hero-copy-block {
  max-width: 470px;
}

.hero-copy-block h1 {
  font-size: clamp(3.15rem, 4.8vw, 4.9rem);
  line-height: .94;
}

.hero-intro {
  max-width: 460px;
  margin-top: 22px;
  font-size: clamp(1.05rem, 1.45vw, 1.32rem);
}

.hero-actions {
  margin-top: 24px;
}

.hero-links {
  margin-top: 20px;
  gap: 18px;
}

@media (max-width: 1100px) {
  .hero-clean {
    grid-template-columns: minmax(430px, 1.2fr) minmax(320px, .8fr);
    gap: 34px;
  }

  .hero-main-logo {
    width: min(100%, 590px);
  }

  .hero-copy-block h1 {
    font-size: clamp(3rem, 5vw, 4.35rem);
  }
}

@media (max-width: 900px) {
  .hero-clean {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .hero-logo-block {
    justify-content: center;
  }

  .hero-main-logo {
    width: min(100%, 520px);
  }

  .hero-copy-block {
    max-width: 620px;
    margin: 0 auto;
    text-align: center;
  }

  .hero-copy-block h1 {
    font-size: clamp(2.9rem, 9vw, 4.2rem);
  }

  .hero-intro {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-actions,
  .hero-links {
    justify-content: center;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 18px;
    padding-bottom: 30px;
  }

  .hero-clean {
    gap: 12px;
  }

  .hero-main-logo {
    width: min(100%, 390px);
  }

  .hero-copy-block .eyebrow {
    margin-top: 4px;
    margin-bottom: 10px;
    font-size: .76rem;
  }

  .hero-copy-block h1 {
    font-size: clamp(2.35rem, 11vw, 3.25rem);
    line-height: .96;
  }

  .hero-intro {
    margin-top: 14px;
    font-size: .98rem;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-links {
    margin-top: 17px;
  }
}

/* Versione 19: sezione foto del chiosco */
.section-intro {
  max-width: 820px;
  margin: 14px auto 0;
  color: #5a544c;
  font-size: 1.05rem;
  line-height: 1.65;
}

.space-gallery {
  padding-top: 68px;
  padding-bottom: 28px;
}

.space-grid {
  display: grid;
  grid-template-columns: 1.18fr .82fr;
  gap: 28px;
  align-items: start;
  margin-top: 34px;
}

.space-photo {
  margin: 0;
}

.space-photo img {
  width: 100%;
  display: block;
  border-radius: 26px;
  border: 1px solid rgba(35,79,67,.12);
  box-shadow: 0 18px 45px rgba(35,79,67,.09);
}

.space-photo figcaption {
  margin-top: 12px;
  color: #5e584f;
  font-size: .98rem;
  line-height: 1.55;
}

.space-photo-large img {
  min-height: 470px;
  object-fit: cover;
}

@media (max-width: 1100px) {
  .space-grid {
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .space-photo-large img {
    min-height: 400px;
  }
}

@media (max-width: 900px) {
  .space-gallery {
    padding-top: 58px;
  }

  .space-grid {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .space-photo-large img {
    min-height: 0;
    object-fit: contain;
  }
}

@media (max-width: 620px) {
  .section-intro {
    font-size: .99rem;
    line-height: 1.55;
  }

  .space-grid {
    gap: 22px;
    margin-top: 26px;
  }

  .space-photo img {
    border-radius: 20px;
  }

  .space-photo figcaption {
    font-size: .93rem;
    line-height: 1.5;
  }
}

/* Versione 21: nota discreta sugli orari aggiornati su Google Maps */
.hours-map-note {
  margin-top: 14px;
  color: #736c62;
  font-size: .84rem;
  line-height: 1.45;
}

.hours-map-note a {
  color: var(--green);
  font-weight: 800;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.hours-map-note a:hover,
.hours-map-note a:focus {
  color: var(--red);
}

@media (max-width: 620px) {
  .hours-map-note {
    font-size: .8rem;
  }
}

/* Versione 22: chiarimento consegna a domicilio per Just Eat */
.delivery-action {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
}

.delivery-note {
  color: var(--green);
  font-size: .78rem;
  font-weight: 800;
  line-height: 1.2;
  text-align: center;
}

.delivery-action-menu .delivery-note {
  color: rgba(255,255,255,.86);
}

@media (max-width: 620px) {
  .delivery-action {
    width: 100%;
    align-items: stretch;
    gap: 6px;
  }

  .delivery-note {
    font-size: .76rem;
  }

  .delivery-action .btn {
    width: 100%;
  }
}
