/* Immagine hero del Ranch. */
.hero-media {
  background-image: url("images/fotoheader.jpg");
}

.celebrate {
  background:
    linear-gradient(rgba(63, 37, 28, 0.68), rgba(63, 37, 28, 0.68)),
    url("images/tavola-festa.webp") center / cover;
}

/* Movimento lieve: accompagna la lettura senza sovrastare le immagini. */
@keyframes hero-arrival {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes quiet-float {
  0%,
  100% {
    transform: rotate(-9deg) translateY(0);
  }
  50% {
    transform: rotate(-7deg) translateY(-9px);
  }
}

@keyframes soft-glow {
  0%,
  100% {
    box-shadow: 0 0 0 rgba(255, 255, 255, 0);
  }
  50% {
    box-shadow: 0 8px 24px rgba(255, 255, 255, 0.16);
  }
}

.hero-content .eyebrow,
.hero-content h1,
.hero-content .hero-lead,
.hero-content .hero-actions {
  animation: hero-arrival 0.9s cubic-bezier(0.22, 1, 0.36, 1) both;
}

.hero-content h1 {
  animation-delay: 0.12s;
}

.hero-content .hero-lead {
  animation-delay: 0.24s;
}

.hero-content .hero-actions {
  animation-delay: 0.36s;
}

.hero-scroll {
  animation: hero-arrival 0.8s 0.65s ease both;
}

.celebrate-stamp {
  animation: quiet-float 5s ease-in-out infinite;
}

.hero .button-primary {
  animation: soft-glow 4.5s 1.1s ease-in-out infinite;
}

.gallery-item img {
  transform: translateY(var(--drift, 0));
  will-change: transform;
}

.gallery-item:hover img {
  transform: translateY(var(--drift, 0)) scale(1.045);
}

.button span,
.text-link span,
.map-link span {
  display: inline-block;
  transition: transform 0.25s ease;
}

.button:hover span,
.button:focus-visible span,
.text-link:hover span,
.text-link:focus-visible span,
.map-link:hover span,
.map-link:focus-visible span {
  transform: translateX(4px);
}

@media (prefers-reduced-motion: reduce) {
  .hero-content .eyebrow,
  .hero-content h1,
  .hero-content .hero-lead,
  .hero-content .hero-actions,
  .hero-scroll,
  .celebrate-stamp,
  .hero .button-primary {
    animation: none;
  }

  .gallery-item img {
    transform: none !important;
  }
}

.privacy a {
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.privacy a:hover {
  opacity: 0.7;
}

.privacy-page {
  max-width: 900px;
  margin: 0 auto;
  padding: 120px 24px 80px;
}

.privacy-page h1 {
  margin-bottom: 24px;
}

.privacy-page h2 {
  margin-top: 48px;
  margin-bottom: 16px;
}

.privacy-page p,
.privacy-page li {
  line-height: 1.7;
}

.privacy-page ul {
  padding-left: 24px;
}

.privacy-page a {
  text-decoration: underline;
  transition: opacity 0.2s ease;
}

.privacy-page a:hover {
  opacity: 0.7;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
  margin-bottom: 24px;
  padding: 12px 20px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.whatsapp-button:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.site-footer .brand-footer {
  display: block !important;
  grid-column: 1 !important;
  grid-row: 1 !important;
  justify-self: start !important;
  align-self: start !important;
  width: 120px !important;
  height: auto !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-footer .brand-footer img {
  display: block !important;
  width: 120px !important;
  height: auto !important;
  max-width: 120px !important;
  object-fit: contain !important;
  margin: 0 !important;
}

.site-footer .brand-footer::before,
.site-footer .brand-footer::after {
  content: none !important;
  display: none !important;
}

.site-footer .brand-footer {
  font-size: 0 !important;
}

.site-footer .brand-footer img {
  font-size: initial !important;
}