:root {
  --verde: #1F3A2E;
  --verde-scuro: #142720;
  --crema: #FAF6EE;
  --oro: #E8A93B;
  --rosso: #C24124;
  --inchiostro: #2B2622;
  --carta: #F1ECDF;
  --display: "Anton", sans-serif;
  --mono: "IBM Plex Mono", monospace;
  --sans: "Work Sans", sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--crema);
  color: var(--inchiostro);
  font-family: var(--sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.anniversary-popup {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(20, 39, 32, 0.72);
  backdrop-filter: blur(6px);
}

.anniversary-popup.is-open {
  display: flex;
}

.anniversary-popup__card {
  position: relative;
  max-width: 560px;
  width: 100%;
  padding: 32px 28px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--verde) 0%, #234a37 100%);
  color: var(--crema);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  text-align: center;
}

.anniversary-popup__image {
  width: 100%;
  max-height: 260px;
  object-fit: cover;
  border-radius: 14px;
  margin-bottom: 16px;
  border: 1px solid rgba(250, 246, 238, .18);
}

.anniversary-popup__number {
  margin: 6px 0 8px;
  font-family: var(--display);
  font-size: clamp(4rem, 10vw, 6.5rem);
  line-height: .9;
  color: var(--oro);
  text-shadow: 0 0 22px rgba(232, 169, 59, 0.35);
}

.anniversary-popup__eyebrow {
  margin-bottom: 8px;
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--oro);
}

.anniversary-popup__card h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.anniversary-popup__card p {
  font-size: 1rem;
  line-height: 1.7;
  opacity: .95;
}

.anniversary-popup__close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(250, 246, 238, .16);
  color: var(--crema);
  font-size: 1.2rem;
  cursor: pointer;
}

h1,
h2,
h3 {
  font-family: var(--display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
}

:focus-visible {
  outline: 3px solid var(--oro);
  outline-offset: 3px;
}

/* ---------- Header ---------- */
.site-header {
  background: var(--verde);
  color: var(--crema);
  padding: 18px 6vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.brand img {
  height: 88px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .35));
}

.site-header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.site-header nav a {
  opacity: .85;
  border-bottom: 2px solid transparent;
  padding-bottom: 4px;
  transition: all .3s ease;
}

.site-header nav a:hover {
  opacity: 1;
  border-color: var(--oro);
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--verde);
  color: var(--crema);
  padding: 8vh 6vw 10vh;
}

.hero-glow {
  position: absolute;
  right: -8%;
  bottom: -30%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--oro) 0%, transparent 70%);
}

.hero-orbit {
  position: absolute;
  inset: 0;
  opacity: .4;
  pointer-events: none;
}

.hero-orbit .spark {
  position: absolute;
  top: 20%;
  left: 70%;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--oro);
  box-shadow: 0 0 20px 4px var(--oro);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 40px;
  align-items: center;
}

@media (min-width: 860px) {
  .hero-grid {
    grid-template-columns: 1.4fr 1fr;
  }
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(250, 246, 238, .1);
  border: 1px solid rgba(250, 246, 238, .35);
  padding: 6px 14px;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: .8rem;
  letter-spacing: .02em;
  margin-bottom: 28px;
}

.status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #d9694f;
  box-shadow: 0 0 8px #d9694f;
}

.status-dot.open {
  background: #6fbf73;
  box-shadow: 0 0 8px #6fbf73;
  animation: dot-pulse 2.2s ease-out infinite;
}

.hero h1 {
  font-size: clamp(3rem, 9vw, 6.5rem);
  line-height: .92;
  max-width: 11ch;
}

.lead {
  margin-top: 24px;
  max-width: 38ch;
  font-size: 1.125rem;
  opacity: .9;
}

.cta-row {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn-gold,
.btn-ghost,
.btn-red {
  display: inline-block;
  padding: 14px 24px;
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
  border-radius: 2px;
}

.btn-gold {
  background: var(--oro);
  color: var(--verde-scuro);
  font-weight: 600;
}

.btn-ghost {
  border: 1px solid rgba(250, 246, 238, .5);
  color: var(--crema);
}

.btn-red {
  background: var(--rosso);
  color: var(--crema);
  margin-top: 8px;
}

.hero-logo-img {
  width: min(400px, 70vw);
  height: auto;
  filter: drop-shadow(0 20px 45px rgba(0, 0, 0, .55));
}

#heroLogo {
  justify-self: center;
  transform: translateY(var(--parallax, 0));
}

@media (min-width: 860px) {
  #heroLogo {
    justify-self: end;
  }
}

/* ---------- Marquee ---------- */
.marquee {
  background: var(--oro);
  color: var(--verde-scuro);
  padding: 14px 0;
  overflow: hidden;
  font-family: var(--mono);
  font-size: .85rem;
}

.marquee-track {
  display: flex;
  width: max-content;
}

.marquee-group {
  display: flex;
  gap: 64px;
  padding-right: 64px;
  white-space: nowrap;
}

/* ---------- Sections ---------- */
.section {
  padding: 9vh 6vw;
}

.section-dark {
  background: var(--verde-scuro);
  color: var(--crema);
}

.eyebrow {
  font-family: var(--mono);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.eyebrow.rosso {
  color: var(--rosso);
}

.eyebrow.oro {
  color: var(--oro);
}

.section h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  margin-bottom: 28px;
  max-width: 16ch;
}

.two-col {
  display: grid;
  gap: 48px;
  align-items: start;
}

.two-col.align-center {
  align-items: center;
}

@media (min-width: 860px) {
  .two-col {
    grid-template-columns: 1.1fr .9fr;
  }

  .two-col.align-center {
    grid-template-columns: 1fr 1fr;
  }
}

.body {
  font-size: 1.05rem;
  max-width: 52ch;
  margin-bottom: 16px;
  color: #3a352e;
}

.services-block {
  margin-top: 20px;
  padding: 20px 22px;
  background: var(--carta);
  border-radius: 6px;
  border: 1px solid rgba(43, 38, 34, .12);
}

.services-block h3 {
  font-family: var(--mono);
  font-size: .85rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--rosso);
  margin-bottom: 12px;
}

.services-list {
  list-style: none;
  display: grid;
  gap: 8px;
  padding: 0;
  margin: 0;
  color: #3a352e;
  font-size: .98rem;
}

.services-list li {
  padding-left: 16px;
  position: relative;
}

.services-list li::before {
  content: "•";
  color: var(--oro);
  position: absolute;
  left: 0;
  top: 0;
}

.rating-card {
  background: var(--verde);
  color: var(--crema);
  padding: 32px;
  border-radius: 2px;
}

.rating-num {
  font-family: var(--display);
  font-size: 3.4rem;
  color: var(--oro);
  line-height: 1;
}

.stars {
  color: var(--oro);
  letter-spacing: .18em;
  margin: 8px 0;
  font-size: 1.1rem;
}

.rating-sub {
  font-family: var(--mono);
  font-size: .85rem;
  opacity: .75;
}

.rating-card hr {
  border: 0;
  border-top: 1px solid rgba(250, 246, 238, .2);
  margin: 20px 0;
}

.kv {
  font-family: var(--mono);
  font-size: .82rem;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.kv span:first-child {
  opacity: .65;
}

.hours-box {
  background: #173026;
  border: 2px solid rgba(232, 169, 59, .35);
  border-radius: 6px;
  padding: 6px;
}

.hours-row {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  padding: 16px 20px;
  font-family: var(--mono);
  font-size: .95rem;
  border-bottom: 1px dashed rgba(250, 246, 238, .15);
}

.hours-row:last-child {
  border-bottom: 0;
}

.hours-row.today {
  background: rgba(232, 169, 59, .1);
  border-radius: 2px;
}

.hours-row .day {
  text-transform: uppercase;
  letter-spacing: .04em;
}

.hours-row .today-tag {
  color: var(--oro);
  font-size: .7rem;
  margin-left: 10px;
  letter-spacing: .08em;
}

.hours-row .closed {
  color: #d9694f;
}

.photo-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 28px;
  max-width: 1100px;
  margin: 0 auto;
  padding-top: 8px;
}

.photo-row {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 28px;
  width: 100%;
}

.photo-row-top,
.photo-row-bottom {
  padding-left: 0;
  margin-left: 0;
  transform: none;
}

.photo {
  width: 300px;
  aspect-ratio: 1 / 1;
  height: auto;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid rgba(43, 38, 34, .15);
  background: var(--carta);
  box-shadow: 0 12px 26px rgba(43, 38, 34, .08);
  transition: transform .3s ease, box-shadow .3s ease;
}

.photo--wide {
  width: 360px;
  aspect-ratio: 1.16 / 1;
  height: auto;
}

.photo:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 30px rgba(43, 38, 34, .12);
}

.photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  cursor: pointer;
}

@media (max-width: 720px) {
  .photo-grid {
    gap: 14px;
    max-width: 100%;
  }

  .photo-row {
    gap: 12px;
  }

  .photo-row-bottom {
    transform: none;
  }

  .reveal,
  .reveal.in-view {
    opacity: 1;
    animation: none;
  }

  .photo {
    width: 150px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .photo--wide {
    width: 190px;
    height: auto;
    aspect-ratio: 1.16 / 1;
  }
}

.ferragosto {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .85fr);
  align-items: center;
  gap: clamp(28px, 5vw, 72px);
}

.ferragosto img {
  width: 100%;
  height: auto;
  border-radius: 24px;
}

.ferragosto p {
  margin-top: 8px;
  font-size: clamp(2rem, 1.45vw, 1.55rem);
  line-height: 2;
  max-width: 44ch;
  color: #ffffff;
}

.ferragosto-text {
  display: flex;
  flex-direction: column;
  gap: 8px;
  min-width: 0;
}

.ferragosto-text h2 {
  margin-bottom: 0;
}

@media (max-width: 1180px) {
  .ferragosto {
    grid-template-columns: 1fr;
  }


  .ferragosto-text {
    max-width: 720px;
  }
}

@media (max-width: 720px) {
  .ferragosto {
    text-align: center;
  }

  .ferragosto img {
    border-radius: 16px;
  }

  .ferragosto p {
    font-size: 1.2rem;
    line-height: 1.5;
    max-width: 100%;
  }
}

.reviews {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 36px;
}

.review {
  background: var(--carta);
  padding: 24px 20px 32px;
  font-family: var(--mono);
  color: #2c281f;
  box-shadow: 0 10px 24px rgba(43, 38, 34, .08);
}

.review-head {
  text-align: center;
  font-size: .72rem;
  letter-spacing: .14em;
  border-bottom: 1px dashed #b9b09a;
  padding-bottom: 10px;
  margin-bottom: 14px;
  opacity: .7;
}

.review p {
  font-size: .95rem;
  line-height: 1.6;
  margin-bottom: 16px;
}

.review-foot {
  display: flex;
  justify-content: space-between;
  font-size: .72rem;
  opacity: .65;
  border-top: 1px dashed #b9b09a;
  padding-top: 10px;
  gap: 10px;
}

.info {
  margin-bottom: 14px;
}

.info-label {
  display: block;
  font-family: var(--mono);
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--rosso);
  margin-bottom: 4px;
}

.info a {
  transition: color .3s ease;
}

.info a:hover {
  color: var(--rosso);
}

.map {
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #ddd3bc;
  height: 340px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--verde-scuro);
  color: var(--crema);
  padding: 48px 6vw 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.footer-logo {
  height: 160px;
  width: auto;
  object-fit: contain;
}

.footer-line {
  font-family: var(--mono);
  font-size: .875rem;
  opacity: .8;
}

.fb-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid rgba(250, 246, 238, .3);
  font-family: var(--mono);
  font-size: .75rem;
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: color .3s ease, border-color .3s ease;
}

.fb-link:hover {
  color: var(--oro);
  border-color: var(--oro);
}

.footer-note {
  font-family: var(--mono);
  font-size: .78rem;
  opacity: .6;
  margin-top: 12px;
}

/* ============ Animazioni ============ */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  animation: marquee 32s linear infinite;
}

@keyframes floaty {

  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }

  50% {
    transform: translateY(-14px) rotate(1.5deg);
  }
}

.animate-floaty {
  animation: floaty 7s ease-in-out infinite;
}

@keyframes shimmer {
  0% {
    background-position: -200% 0;
  }

  100% {
    background-position: 200% 0;
  }
}

.text-shimmer,
.text-shimmer .hero-word>span {
  background: linear-gradient(90deg, var(--oro) 0%, #fff2c9 30%, var(--oro) 55%, #fff2c9 80%, var(--oro) 100%);
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  animation: shimmer 5s linear infinite;
}

@keyframes glow-pulse {

  0%,
  100% {
    opacity: .18;
    transform: scale(1);
  }

  50% {
    opacity: .35;
    transform: scale(1.08);
  }
}

.animate-glow {
  animation: glow-pulse 6s ease-in-out infinite;
}

@keyframes orbit {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.animate-orbit {
  animation: orbit 40s linear infinite;
}

@keyframes dot-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(111, 191, 115, .6);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(111, 191, 115, 0);
  }
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(28px);
    filter: blur(6px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
  }
}

.reveal {
  opacity: 0;
}

.reveal.in-view {
  animation: rise .9s cubic-bezier(.22, 1, .36, 1) both;
}

.reveal.delay-1.in-view {
  animation-delay: .12s;
}

.reveal.delay-2.in-view {
  animation-delay: .24s;
}

.reveal.delay-3.in-view {
  animation-delay: .36s;
}

.reveal.delay-4.in-view {
  animation-delay: .48s;
}

@keyframes letter-in {
  from {
    opacity: 0;
    transform: translateY(60%) rotate(-6deg);
  }

  to {
    opacity: 1;
    transform: translateY(0) rotate(0);
  }
}

.hero-word {
  display: inline-block;
}

.hero-word>span {
  display: inline-block;
  opacity: 0;
  animation: letter-in .9s cubic-bezier(.22, 1, .36, 1) forwards;
}

@keyframes stripe-slide {
  0% {
    background-position: 0 0;
  }

  100% {
    background-position: 80px 0;
  }
}

.awning-stripes {
  height: 14px;
  background: repeating-linear-gradient(90deg, var(--rosso) 0 40px, var(--crema) 40px 80px);
  animation: stripe-slide 8s linear infinite;
}

.tilt {
  transition: transform .6s cubic-bezier(.22, 1, .36, 1), box-shadow .6s cubic-bezier(.22, 1, .36, 1);
  transform-style: preserve-3d;
  will-change: transform;
}

.tilt:hover {
  transform: perspective(900px) rotateX(4deg) rotateY(-6deg) translateY(-6px);
  box-shadow: 0 30px 60px -20px rgba(20, 39, 32, .35);
}

.magnetic-btn {
  position: relative;
  overflow: hidden;
  transition: transform .25s ease, box-shadow .35s ease;
}

.magnetic-btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255, 255, 255, .55) 50%, transparent 70%);
  transform: translateX(-120%);
  transition: transform .9s ease;
}

.magnetic-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 32px -12px rgba(232, 169, 59, .55);
}

.magnetic-btn:hover::after {
  transform: translateX(120%);
}

.cursor-glow {
  position: fixed;
  top: 0;
  left: 0;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 169, 59, .28) 0%, transparent 65%);
  pointer-events: none;
  transform: translate(-50%, -50%);
  z-index: 60;
  mix-blend-mode: screen;
  will-change: transform;
}

.logo-halo {
  position: relative;
  isolation: isolate;
}

.logo-halo::before {
  content: "";
  position: absolute;
  inset: -18%;
  background: radial-gradient(circle at 50% 50%, var(--oro) 0%, transparent 60%);
  filter: blur(30px);
  opacity: .55;
  z-index: -1;
  animation: glow-pulse 4.5s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .animate-marquee,
  .animate-floaty,
  .text-shimmer,
  .animate-glow,
  .animate-orbit,
  .status-dot.open,
  .awning-stripes,
  .logo-halo::before,
  .hero-word>span {
    animation: none !important;
    opacity: 1 !important;
  }

  .reveal {
    opacity: 1 !important;
  }

  .tilt:hover {
    transform: none;
  }

  .cursor-glow {
    display: none;
  }
}

.text-shimmer .hero-word>span {
  animation: shimmer 5s linear infinite, letter-in .9s cubic-bezier(.22, 1, .36, 1) forwards;
}

/* ---------- cookies ---------- */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(14, 16, 18, 0.88);
  padding: 0;
}

.lightbox.is-open {
  display: flex;
}

.lightbox__frame {
  position: relative;
  width: min(82vw, 1180px);
  max-height: 82vh;
  overflow: visible;
  background: transparent;
  box-shadow: none;
}

.lightbox__frame img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 82vh;
  object-fit: contain;
  background: transparent;
  border-radius: 0;
}

.lightbox__close,
.lightbox__nav {
  position: absolute;
  z-index: 2;
  width: 54px;
  height: 54px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: background .2s ease, transform .2s ease;
}

.lightbox__close {
  top: 18px;
  right: 18px;
  font-size: 2rem;
}

.lightbox__nav {
  top: 50%;
  transform: translateY(-50%);
}

.lightbox__nav i {
  font-size: 1.3rem;
  line-height: 1;
  display: block;
}

.lightbox__nav--prev {
  left: 20px;
}

.lightbox__nav--next {
  right: 20px;
}

.lightbox__close:hover,
.lightbox__nav:hover {
  background: rgba(255, 255, 255, 0.3);
}

.cookie-banner {
  display: none; 
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #222;
  color: #fff;
  padding: 15px 20px;
  box-sizing: border-box;
  z-index: 9999;
  justify-content: space-between;
  align-items: center;
  font-family: sans-serif;
}

.cookie-banner a {
  color: #4CAF50;
  text-decoration: none;
}

.cookie-buttons button {
  padding: 10px 15px;
  margin-left: 10px;
  border: none;
  cursor: pointer;
  border-radius: 4px;
}

.btn-accept {
  background-color: #4CAF50;
  color: white;
}

.btn-reject {
  background-color: #777;
  color: white;
}

@media (max-width: 720px) {
  .lightbox {
    padding: 28px 32px;
  }

  .lightbox__nav {
    width: 44px;
    height: 44px;
    font-size: 2rem;
  }

  .lightbox__close {
    width: 42px;
    height: 42px;
    font-size: 1.8rem;
  }
}
