html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #ffffff;
  font-family: 'Inter', sans-serif;
  color: #3f2a20;
}

body.no-scroll {
  overflow: hidden;
}

.fade-in {
  animation: fadeIn 1.2s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

.page {
  width: min(1000px, calc(100% - 32px));
  margin: auto;
  padding: 40px 0 60px;
}

.hero {
  padding-bottom: 30px;
}

.hero-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 120px;
}

.logo {
  width: 340px;
  max-width: min(80%, 340px);
  display: block;
  margin: 0 auto;
}

.menu-toggle {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 56px;
  height: 56px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  box-shadow: none;
  cursor: pointer;
  padding: 0 16px;
}

.menu-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  background: #3f2a20;
  border-radius: 999px;
}

.site-menu {
  position: fixed;
  inset: 0;
  background: rgba(17, 12, 9, 0.45);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  padding: 24px;
}

.site-menu.open {
  display: flex;
}

.site-menu-panel {
  width: min(400px, calc(100% - 40px));
  background: #fff;
  border-radius: 24px;
  padding: 24px 20px 20px;
  box-shadow: 0 24px 60px rgba(17, 12, 9, 0.18);
}

.site-menu-head {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  margin-bottom: 14px;
}

.site-menu-title {
  margin: 0;
  width: 100%;
  text-align: center;
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #3f2a20;
}

.site-menu-close {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: #3f2a20;
  font-size: 32px;
  cursor: pointer;
}

.site-menu-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-menu-link {
  display: block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 12px 14px;
  border-radius: 16px;
  border: 1px solid #eaded2;
  background: #fff;
  color: #3f2a20;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

.site-menu-link:hover {
  background: #f8f3ee;
  border-color: #d8c2af;
  transform: translateY(-1px);
}

.vetrina img {
  width: 100%;
  border-radius: 20px;
  display: block;
}

.descrizione {
  max-width: 760px;
  margin: 40px auto 0;
  text-align: center;
}

.eyebrow {
  text-transform: uppercase;
  font-size: 12px;
  color: #777;
  letter-spacing: 0.2em;
  margin-bottom: 12px;
}

h1,
.section-heading h2,
.lightbox-meta h3 {
  font-family: 'Playfair Display', serif;
}

h1 {
  font-size: clamp(42px, 6vw, 58px);
  font-weight: 600;
  margin: 0 0 24px;
}

.descrizione p,
.section-copy,
.lightbox-meta p {
  color: #555;
  line-height: 1.9;
  font-size: 17px;
  margin: 0 0 18px;
}

.descrizione strong {
  color: #3f2a20;
}

.categorie {
  margin: 70px auto 0;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading h2 {
  font-size: clamp(30px, 4vw, 42px);
  margin: 0 0 14px;
}

.status-message {
  max-width: 760px;
  margin: 0 auto 22px;
  padding: 14px 18px;
  border-radius: 14px;
  background: #f8f3ee;
  color: #6a4b3a;
  text-align: center;
  font-size: 15px;
  line-height: 1.6;
}

.status-message[hidden] {
  display: none;
}

.categorie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.categoria-card {
  position: relative;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, #fff7f1 0%, #ffffff 100%);
  border-radius: 26px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 42px rgba(63, 42, 32, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.categoria-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(194, 62, 48, 0.28), rgba(255, 186, 73, 0.34));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.categoria-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(63, 42, 32, 0.16);
}

.categoria-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

.categoria-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: saturate(1.08) contrast(1.03) brightness(1.01);
}

.categoria-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.14) contrast(1.06) brightness(1.03);
}

.categoria-card-body {
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, #fff 18%);
}

.categoria-label {
  display: block;
  margin: 0 0 10px;
  color: #7d1f18;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.categoria-description {
  margin: 0;
  color: #6b564a;
  font-size: 15px;
  line-height: 1.7;
}

.lightbox {
  position: fixed;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(17, 12, 9, 0.92);
  z-index: 1000;
  padding: 28px;
}

.lightbox.open {
  display: flex;
}

.lightbox-content {
  width: min(1100px, 100%);
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(280px, 360px);
  gap: 28px;
  align-items: center;
}

.lightbox-image-wrap {
  background: #fff;
  border-radius: 24px;
  overflow: hidden;
}

.lightbox-image-wrap img {
  width: 100%;
  max-height: 78vh;
  object-fit: cover;
  display: block;
}

.lightbox-meta {
  color: #fff;
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.72);
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.lightbox-meta h3 {
  color: #fff;
  font-size: clamp(28px, 4vw, 42px);
  line-height: 1.1;
  margin: 0 0 16px;
}

.lightbox-meta p {
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
}

.lightbox-close,
.lightbox-nav {
  position: absolute;
  border: 0;
  border-radius: 999px;
  width: 54px;
  height: 54px;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  backdrop-filter: blur(6px);
  transition: background 0.25s ease, transform 0.25s ease;
}

.lightbox-close:hover,
.lightbox-nav:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.04);
}

.lightbox-close {
  top: 24px;
  right: 24px;
  font-size: 32px;
  line-height: 1;
}

.lightbox-nav {
  top: 50%;
  transform: translateY(-50%);
  font-size: 34px;
}

.lightbox-nav:hover {
  transform: translateY(-50%) scale(1.04);
}

.lightbox-nav.prev {
  left: 24px;
}

.lightbox-nav.next {
  right: 24px;
}

.footer {
  margin-top: 60px;
  padding: 30px 0;
  border-top: 1px solid #eee;
  text-align: center;
}

.footer a {
  color: #777;
  text-decoration: none;
  transition: opacity 0.3s ease;
}

.footer a:hover {
  opacity: 0.6;
}

.footer-inner p {
  margin: 5px 0;
  font-size: 14px;
}



.info-location {
  margin: 70px auto 0;
}

.info-location-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 28px;
  align-items: stretch;
}

.info-location-photo-wrap,
.map-card,
.hours-card {
  background: #fff;
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(63, 42, 32, 0.12);
}

.info-location-photo {
  width: 100%;
  height: 100%;
  min-height: 100%;
  display: block;
  object-fit: cover;
}

.info-location-content {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.section-heading-left {
  max-width: none;
  margin: 0;
  text-align: center;
}

.map-card {
  min-height: 320px;
}

.map-card iframe {
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
  display: block;
}

.hours-card {
  padding: 26px 28px;
}

.hours-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  margin: 0 0 16px;
}

.hours-card ul {
  margin: 0;
  padding-left: 20px;
}

.hours-card li {
  color: #555;
  line-height: 1.8;
  font-size: 16px;
  margin-bottom: 10px;
}

.hours-card li:last-child {
  margin-bottom: 0;
}

@media (max-width: 900px) {
  .lightbox-content {
    grid-template-columns: 1fr;
  }

  .info-location-grid {
    grid-template-columns: 1fr;
  }

  .info-location-photo {
    min-height: 340px;
  }

  .lightbox-image-wrap img {
    max-height: 58vh;
  }

  .lightbox-meta {
    text-align: center;
  }
}

@media (max-width: 700px) {
  .hero-inner {
    min-height: 92px;
    padding-right: 56px;
  }

  .logo {
    max-width: min(78%, 300px);
  }

  .menu-toggle {
    width: 50px;
    height: 50px;
    padding: 0 14px;
  }

  .site-menu {
    padding: 16px;
  }

  .site-menu-panel {
    width: 100%;
    padding: 22px 18px 18px;
  }

  .contact-form-wrap {
    padding: 28px 18px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr;
  }

  .privacy-check {
    font-size: 14px;
  }

  .form-submit {
    width: 100%;
  }


  .page {
    width: min(100%, calc(100% - 24px));
    padding: 24px 0 44px;
  }

  .descrizione p,
  .section-copy,
  .lightbox-meta p {
    font-size: 16px;
    line-height: 1.75;
  }

  .categorie-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.categoria-card {
  position: relative;
  padding: 0;
  border: 0;
  background: linear-gradient(180deg, #fff7f1 0%, #ffffff 100%);
  border-radius: 26px;
  overflow: hidden;
  cursor: pointer;
  text-align: left;
  box-shadow: 0 18px 42px rgba(63, 42, 32, 0.12);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.categoria-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(194, 62, 48, 0.28), rgba(255, 186, 73, 0.34));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.categoria-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 52px rgba(63, 42, 32, 0.16);
}

.categoria-image-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 22px 22px 0 0;
}

.categoria-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  display: block;
  transform: scale(1.01);
  transition: transform 0.5s ease, filter 0.4s ease;
  filter: saturate(1.08) contrast(1.03) brightness(1.01);
}

.categoria-card:hover img {
  transform: scale(1.07);
  filter: saturate(1.14) contrast(1.06) brightness(1.03);
}

.categoria-card-body {
  padding: 18px 18px 20px;
  background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, #fff 18%);
}

.categoria-label {
  display: block;
  margin: 0 0 10px;
  color: #7d1f18;
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.1;
}

.categoria-description {
  margin: 0;
  color: #6b564a;
  font-size: 15px;
  line-height: 1.7;
}

.lightbox {
    padding: 18px;
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
  }

  .lightbox-nav {
    width: 46px;
    height: 46px;
    bottom: 18px;
    top: auto;
    transform: none;
  }

  .lightbox-nav:hover {
    transform: scale(1.04);
  }

  .lightbox-nav.prev {
    left: 18px;
  }

  .lightbox-nav.next {
    right: 18px;
  }
}


.contact-form-section {
  margin: 70px auto 0;
}

.contact-form-wrap {
  background: #f8f3ee;
  border-radius: 26px;
  padding: 42px;
}

.contact-form {
  max-width: 860px;
  margin: 0 auto;
}

.contact-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 14px;
}

.form-field-full {
  margin-bottom: 20px;
}

.form-field label {
  font-size: 14px;
  font-weight: 600;
  color: #3f2a20;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #e2d4c7;
  border-radius: 14px;
  padding: 12px 14px;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  color: #3f2a20;
  background: #fff;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-field textarea {
  resize: vertical;
  min-height: 160px;
}

.form-field select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, #7a4b39 50%), linear-gradient(135deg, #7a4b39 50%, transparent 50%);
  background-position: calc(100% - 22px) calc(50% - 3px), calc(100% - 16px) calc(50% - 3px);
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
  padding-right: 44px;
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: #b76745;
  box-shadow: 0 0 0 4px rgba(183, 103, 69, 0.12);
}

.privacy-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #555;
  font-size: 15px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.privacy-check input {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.form-actions {
  text-align: center;
}

.form-submit {
  border: 0;
  border-radius: 999px;
  background: #b80f20;
  color: #fff;
  font-family: 'Inter', sans-serif;
  font-size: 15px;
  font-weight: 600;
  padding: 14px 26px;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
  box-shadow: 0 14px 30px rgba(184, 15, 32, 0.18);
}

.form-submit:hover {
  transform: translateY(-2px);
  opacity: 0.95;
}


.contact-feedback {
  max-width: 860px;
  margin: 0 auto 24px;
  padding: 14px 18px;
  border-radius: 14px;
  font-size: 15px;
  line-height: 1.6;
}

.contact-feedback.success {
  background: #edf8ef;
  color: #1f6b35;
  border: 1px solid #cfe7d6;
}

.contact-feedback.error {
  background: #fff3f3;
  color: #9f2430;
  border: 1px solid #f0c8cd;
}

.privacy-inline-link {
  border: 0;
  padding: 0;
  background: transparent;
  color: #b80f20;
  font: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
}

.privacy-inline-link:hover {
  opacity: 0.8;
}


.privacy-inline-wrap {
  max-width: 860px;
  margin: 0 auto 24px;
}

.privacy-card {
  margin-top: 10px;
  background: #fff;
  border-radius: 20px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 16px 36px rgba(63, 42, 32, 0.08);
}

.privacy-card h3 {
  font-family: 'Inter', sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-align: center;
  margin: 0 0 18px;
}

.privacy-card p {
  margin: 0 0 14px;
  color: #555;
  line-height: 1.8;
}

.privacy-card p:last-child {
  margin-bottom: 0;
}

.privacy-card a {
  color: #6a4b3a;
}


.reveal-up {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.75s ease, transform 0.75s ease;
  will-change: opacity, transform;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.vetrina img,
.info-location-photo,
.map-card,
.hours-card,
.contact-form-wrap {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.vetrina img:hover,
.info-location-photo:hover {
  transform: translateY(-4px) scale(1.01);
}

.map-card:hover,
.hours-card:hover,
.contact-form-wrap:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(63, 42, 32, 0.14);
}

.footer {
  transition: opacity 0.35s ease;
}

@media (max-width: 700px) {
  .categorie-grid {
    grid-template-columns: 1fr !important;
    gap: 18px;
  }

  .categoria-card img {
    height: 240px;
  }

  .contact-form-grid {
    grid-template-columns: 1fr !important;
    gap: 14px;
  }

  .form-field,
  .form-field-full {
    grid-column: 1 / -1;
    margin-bottom: 12px;
  }

  .contact-form-wrap {
    padding: 24px 16px;
  }

  .form-field input,
  .form-field select,
  .form-field textarea {
    display: block;
  }
}

@media (max-width: 768px) {

  form label {
    display: block;
    text-align: center;
    width: 100%;
    margin-bottom: 5px;
  }

}

@media (max-width: 768px) {

  input[type="checkbox"] {
    margin-right: 6px;
  }

  input[type="checkbox"] + label {
    display: inline;
  }

}

.deliveroo-logo {
  width: 70px;
  height: auto;
}


@media (max-width: 768px) {

  .privacy-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: left;
  }

  .privacy-check input[type="checkbox"] {
    margin: 0;
    flex-shrink: 0;
  }

  .privacy-check span {
    display: inline;
  }

}