@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&family=Montserrat:wght@300;400;500;600;700&display=swap');

:root {
  --oro: #C8973E;
  --oro-chiaro: #D4A843;
  --marrone: #3E2723;
  --marrone-medio: #5D4037;
  --borgogna: #6B1D2A;
  --borgogna-chiaro: #8B2252;
  --crema: #FFF8F0;
  --crema-scuro: #FAF0E6;
  --verde-oliva: #3E5641;
  --bianco: #ffffff;
  --nero: #1a1a1a;
  
  --font-titoli: 'Playfair Display', serif;
  --font-corpo: 'Montserrat', sans-serif;
  
  --transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --shadow-soft: 0 10px 40px rgba(62, 39, 35, 0.1);
  --shadow-medium: 0 15px 50px rgba(62, 39, 35, 0.15);
  --glass-bg: rgba(62, 39, 35, 0.82);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-corpo);
  color: var(--marrone);
  background-color: var(--crema);
  line-height: 1.7;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-titoli);
  font-weight: 600;
  line-height: 1.3;
  color: var(--marrone);
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  transition: var(--transition);
  padding: 20px 0;
  background: transparent;
}

.site-header.scrolled {
  background: var(--glass-bg);
  backdrop-filter: blur(16px) saturate(1.2);
  -webkit-backdrop-filter: blur(16px) saturate(1.2);
  padding: 12px 0;
  box-shadow: var(--shadow-soft);
  border-bottom: 1px solid rgba(200, 151, 62, 0.12);
}

.site-header .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 25px;
  position: relative;
}

.site-header .logo {
  display: none;
}

.logo {
  font-family: var(--font-titoli);
  font-size: 1.5rem;
  color: var(--bianco);
  font-weight: 700;
  letter-spacing: 1px;
}

.logo span {
  color: var(--oro);
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

.main-nav a {
  color: var(--bianco);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  text-shadow: 0 1px 4px rgba(0,0,0,0.5);
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--oro);
  transition: var(--transition);
}

.main-nav a:hover::after {
  width: 100%;
}

.lang-switch {
  background-color: var(--borgogna);
  color: var(--bianco);
  font-size: 0.85rem;
  font-weight: 700;
  border: 2px solid var(--oro);
  padding: 8px 20px;
  border-radius: 30px;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: absolute;
  right: 5%;
  top: 50%;
  transform: translateY(-50%);
}

.lang-switch:hover {
  background-color: var(--oro);
  color: var(--marrone);
  margin-top: -2px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.4);
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  z-index: 1001;
}

.mobile-menu-toggle span {
  width: 28px;
  height: 2px;
  background-color: var(--bianco);
  transition: var(--transition);
}

/* Hero */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 15%;
  z-index: -2;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(62, 39, 35, 0.2), rgba(62, 39, 35, 0.5));
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--bianco);
  max-width: 800px;
  padding: 0 20px;
  padding-top: 80px;
}

.hero-content h1 {
  font-size: 4.8rem;
  color: var(--bianco);
  margin-bottom: 20px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 3px;
  text-shadow:
    -1.5px -1.5px 0 var(--oro),
    1.5px -1.5px 0 var(--oro),
    -1.5px 1.5px 0 var(--oro),
    1.5px 1.5px 0 var(--oro),
    0 6px 30px rgba(0,0,0,0.5);
}

.hero-content p {
  font-size: 1.3rem;
  font-weight: 300;
  margin-bottom: 40px;
  color: var(--crema);
}

.btn {
  display: inline-block;
  padding: 15px 35px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background-color: var(--borgogna);
  color: var(--bianco);
}

.btn-primary:hover {
  background-color: var(--borgogna-chiaro);
  transform: translateY(-3px);
  box-shadow: var(--shadow-medium);
}

.btn-gold {
  background-color: var(--oro);
  color: var(--marrone);
}

.btn-gold:hover {
  background-color: var(--oro-chiaro);
  transform: translateY(-3px);
}

.btn-outline {
  background-color: transparent;
  color: var(--bianco);
  border: 2px solid var(--oro);
}

.btn-outline:hover {
  background-color: var(--oro);
  color: var(--marrone);
}

/* Carosello sub-hero */
.carousel-section {
  padding: 80px 0;
  background: linear-gradient(to bottom, var(--crema), var(--crema-scuro));
}

.swiper-carousel {
  width: 100%;
  padding-bottom: 50px;
}

.swiper-carousel {
  max-width: 1100px;
  margin: 0 auto;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(62, 39, 35, 0.25);
  padding-left: 70px;
  padding-right: 70px;
}

.swiper-carousel .swiper-slide {
  aspect-ratio: 16 / 9;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
}

.swiper-carousel .swiper-slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(62, 39, 35, 0.05) 0%, rgba(62, 39, 35, 0.25) 100%);
  z-index: 1;
  pointer-events: none;
}

.swiper-carousel .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 6s ease;
}

.swiper-carousel .swiper-slide-active img {
  transform: scale(1.08);
}

.swiper-pagination-bullet-active {
  background-color: var(--borgogna) !important;
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--borgogna) !important;
  width: 42px;
  height: 42px;
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  box-shadow: 0 2px 12px rgba(0,0,0,0.25);
  transition: var(--transition);
  cursor: pointer;
  z-index: 20;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background-color: var(--bianco);
  transform: scale(1.12);
  box-shadow: 0 4px 16px rgba(0,0,0,0.35);
}

.swiper-button-prev {
  left: 15px !important;
}

.swiper-button-next {
  right: 15px !important;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 16px !important;
  font-weight: 700;
}

/* Sezione Chi Siamo Preview */
.about-preview {
  background-color: var(--crema);
}

.about-preview .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-preview img {
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
}

.section-label {
  color: var(--borgogna);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 15px;
  display: block;
}

.section-title {
  font-size: 2.8rem;
  margin-bottom: 25px;
  color: var(--marrone);
}

.section-text {
  font-size: 1.05rem;
  margin-bottom: 30px;
  color: var(--marrone-medio);
}

/* Eccellenze */
.eccellenze {
  background-color: var(--crema-scuro);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.product-card {
  background-color: var(--bianco);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
  border: 1px solid rgba(200, 151, 62, 0.12);
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-medium);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.product-card-content {
  padding: 25px;
}

.product-card h3 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: var(--marrone);
}

.product-card p {
  font-size: 0.9rem;
  color: var(--marrone-medio);
}

/* Banner consegna */
.delivery-banner {
  background-color: var(--borgogna);
  color: var(--crema);
  padding: 80px 0;
  text-align: center;
}

.delivery-banner h2 {
  color: var(--crema);
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.delivery-banner p {
  font-size: 1.1rem;
  margin-bottom: 30px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* Info rapide */
.quick-info {
  background-color: var(--marrone);
  color: var(--crema);
  padding: 60px 0;
}

.quick-info-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.quick-info-item i {
  font-size: 2rem;
  color: var(--oro);
  margin-bottom: 15px;
}

.quick-info-item h4 {
  color: var(--oro);
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.quick-info-item p, .quick-info-item a {
  color: var(--crema);
  font-size: 0.95rem;
}

.quick-info-item a:hover {
  color: var(--oro);
}

/* Footer */
.site-footer {
  background-color: #2a1a16;
  color: var(--crema);
  padding: 80px 0 30px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.footer-brand .logo {
  margin-bottom: 20px;
  display: inline-block;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.8;
  color: rgba(255,248,240,0.7);
}

.footer-links h4 {
  color: var(--oro);
  font-size: 1rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.footer-links ul {
  list-style: none;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,248,240,0.7);
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--oro);
}

.footer-social {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: rgba(255,248,240,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--oro);
  transition: var(--transition);
}

.footer-social a:hover {
  background-color: var(--oro);
  color: var(--marrone);
}

.footer-bottom {
  border-top: 1px solid rgba(255,248,240,0.1);
  padding-top: 30px;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(255,248,240,0.5);
}

/* Scroll to top */
.scroll-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  background-color: var(--oro);
  color: var(--marrone);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  z-index: 999;
  border: none;
  font-size: 1.2rem;
}

.scroll-top.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-top:hover {
  background-color: var(--borgogna);
  color: var(--bianco);
  transform: translateY(-3px);
}

/* Pagina interna hero */
.page-hero {
  height: 50vh;
  min-height: 350px;
}

.page-hero .hero-content h1 {
  font-size: 3rem;
}

/* Prodotti - Filtri */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-bottom: 50px;
}

.filter-btn {
  padding: 10px 25px;
  border-radius: 30px;
  border: 1px solid var(--marrone-medio);
  background-color: transparent;
  color: var(--marrone);
  font-family: var(--font-corpo);
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active, .filter-btn:hover {
  background-color: var(--borgogna);
  color: var(--bianco);
  border-color: var(--borgogna);
}

/* Badge */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 10px;
}

.badge-dop {
  background-color: var(--verde-oliva);
  color: var(--bianco);
}

.badge-artigianale {
  background-color: var(--oro);
  color: var(--marrone);
}

.badge-selezione {
  background-color: var(--borgogna);
  color: var(--bianco);
}

/* Piatti pronti */
.meal-card .badge-fresco {
  background-color: #4a7c59;
  color: var(--bianco);
}

.meal-card .badge-fatto-casa {
  background-color: var(--borgogna-chiaro);
  color: var(--bianco);
}

/* Consegna steps */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-top: 50px;
}

.step-item {
  text-align: center;
  padding: 40px 30px;
  background-color: var(--bianco);
  border-radius: 16px;
  box-shadow: var(--shadow-soft);
  transition: var(--transition);
}

.step-item:hover {
  transform: translateY(-5px);
}

.step-icon {
  width: 80px;
  height: 80px;
  background-color: var(--crema-scuro);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--borgogna);
}

.step-item h3 {
  font-size: 1.3rem;
  margin-bottom: 15px;
}

/* Contatti */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.contact-info h3 {
  color: var(--borgogna);
  margin-bottom: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  margin-bottom: 25px;
}

.contact-item i {
  color: var(--oro);
  font-size: 1.3rem;
  margin-top: 3px;
}

.contact-item h4 {
  font-size: 1rem;
  margin-bottom: 5px;
}

.contact-item p, .contact-item a {
  font-size: 0.95rem;
  color: var(--marrone-medio);
}

.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  height: 100%;
  min-height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: 0;
}

/* Gallery */
.gallery-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.gallery-masonry {
  column-count: 3;
  column-gap: 20px;
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: 20px;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(62,39,35,0.8), transparent);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 20px;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay span {
  color: var(--bianco);
  font-size: 0.9rem;
  font-weight: 500;
}

/* Chi Siamo - Timeline */
.timeline {
  position: relative;
  margin-top: 60px;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--oro);
  transform: translateX(-50%);
}

.timeline-item {
  display: flex;
  justify-content: flex-end;
  padding-right: 40px;
  position: relative;
  width: 50%;
  margin-bottom: 50px;
}

.timeline-item:nth-child(even) {
  justify-content: flex-start;
  padding-left: 40px;
  padding-right: 0;
  margin-left: 50%;
}

.timeline-dot {
  position: absolute;
  right: -8px;
  width: 16px;
  height: 16px;
  background-color: var(--borgogna);
  border-radius: 50%;
  border: 3px solid var(--crema);
}

.timeline-item:nth-child(even) .timeline-dot {
  right: auto;
  left: -8px;
}

.timeline-content {
  background-color: var(--bianco);
  padding: 25px;
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  max-width: 350px;
}

.timeline-content h4 {
  color: var(--borgogna);
  margin-bottom: 10px;
}

/* Parallax — JS-driven per prestazioni moderne */
.parallax {
  /* background-attachment gestito via JavaScript con transform */
}

.parallax .hero-bg {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

@media (max-width: 768px) {
  .parallax .hero-bg {
    transform: none !important;
  }
}

/* AOS custom */
[data-aos] {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Responsive */
@media (max-width: 992px) {
  .about-preview .container,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
  }
  
  .gallery-masonry {
    column-count: 2;
  }
  
  .timeline::before {
    left: 20px;
  }
  
  .timeline-item,
  .timeline-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding-left: 60px;
    padding-right: 0;
    justify-content: flex-start;
  }
  
  .timeline-dot,
  .timeline-item:nth-child(even) .timeline-dot {
    left: 12px;
    right: auto;
  }
}

@media (max-width: 768px) {
  .site-header .container {
    justify-content: space-between;
    padding: 0 20px;
  }
  
  .hero-content h1 {
    font-size: 2.2rem;
    letter-spacing: 1px;
  }
  
  .hero-content p {
    font-size: 1rem;
  }
  
  .section-title {
    font-size: 1.8rem;
  }
  
  .section-padding {
    padding: 60px 0;
  }
  
  .lang-switch {
    position: static;
    transform: none;
    margin-left: 15px;
  }
  
  .product-card-content {
    padding: 20px;
  }
  
  .product-card h3 {
    font-size: 1.15rem;
  }
  
  .footer-links a {
    padding: 6px 0;
    display: inline-block;
  }
  
  .about-preview .container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .steps-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  
  .delivery-banner h2 {
    font-size: 1.6rem;
  }
  
  .delivery-banner p {
    font-size: 1rem;
  }
  
  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 350px;
    height: 100vh;
    background-color: rgba(62, 39, 35, 0.98);
    backdrop-filter: blur(10px);
    padding: 100px 40px;
    transition: var(--transition);
    z-index: 999;
    box-shadow: -10px 0 40px rgba(0,0,0,0.3);
  }
  
  .main-nav.open {
    right: 0;
  }
  
  .main-nav ul {
    flex-direction: column;
    gap: 8px;
  }
  
  .main-nav a {
    font-size: 1.1rem;
    padding: 14px 0;
    display: block;
    border-bottom: 1px solid rgba(255,248,240,0.1);
  }
  
  .main-nav a::after {
    display: none;
  }
  
  .nav-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(0,0,0,0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }
  
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
  }
  
  .mobile-menu-toggle {
    display: flex;
  }
  
  .mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  
  .mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
  }
  
  .mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
  
  .quick-info-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .footer-social {
    justify-content: center;
  }
  
  .gallery-masonry {
    column-count: 1;
  }
  
  .products-grid {
    grid-template-columns: 1fr;
  }
  
  .filter-bar {
    gap: 10px;
  }
  
  .filter-btn {
    padding: 8px 16px;
    font-size: 0.8rem;
  }
  
  .lang-switch {
    margin-left: auto;
    margin-right: 15px;
  }
}

/* ===== Elegant Hover Enhancements ===== */
.product-card {
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(200, 151, 62, 0.08), transparent);
  transition: left 0.6s ease;
  z-index: 1;
  pointer-events: none;
}

.product-card:hover::before {
  left: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 60px rgba(62, 39, 35, 0.18);
  border-color: rgba(200, 151, 62, 0.35);
}

.btn-primary:hover {
  box-shadow: 0 8px 25px rgba(107, 29, 42, 0.4);
}

.btn-gold:hover {
  box-shadow: 0 8px 25px rgba(200, 151, 62, 0.4);
}

.footer-links a {
  position: relative;
  padding-left: 0;
  transition: padding-left 0.3s ease, color 0.3s ease;
}

.footer-links a:hover {
  padding-left: 12px;
  color: var(--oro);
}

.footer-links a::before {
  content: '\203A';
  position: absolute;
  left: -5px;
  opacity: 0;
  transition: all 0.3s ease;
  color: var(--oro);
}

.footer-links a:hover::before {
  left: 0;
  opacity: 1;
}

.step-item:hover {
  box-shadow: 0 20px 50px rgba(62, 39, 35, 0.12);
  border: 1px solid rgba(200, 151, 62, 0.25);
}

.step-icon {
  transition: var(--transition);
}

.step-item:hover .step-icon {
  background-color: var(--oro);
  color: var(--marrone);
  transform: scale(1.1);
}

.about-preview img {
  transition: var(--transition);
}

.about-preview img:hover {
  transform: scale(1.02);
  box-shadow: 0 20px 60px rgba(62, 39, 35, 0.15);
}

/* Gallery item elegant hover */
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
}

.gallery-item img {
  transition: transform 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(62, 39, 35, 0.6) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.gallery-item:hover::after {
  opacity: 1;
}

/* Main nav link underline enhancement */
.main-nav a::after {
  height: 2px;
  bottom: -6px;
  background: linear-gradient(90deg, var(--oro), var(--oro-chiaro));
  border-radius: 1px;
}

.main-nav a:hover {
  color: var(--oro-chiaro);
}

/* Scroll top enhancement */
.scroll-top {
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.scroll-top:hover {
  box-shadow: 0 8px 25px rgba(0,0,0,0.3);
  transform: translateY(-3px) scale(1.05);
}

/* Delivery banner button */
.delivery-banner .btn-gold:hover {
  background-color: var(--bianco);
  color: var(--borgogna);
}

/* Quick info hover */
.quick-info-item {
  transition: var(--transition);
}

.quick-info-item:hover i {
  transform: scale(1.15);
  transition: transform 0.3s ease;
}

/* Filter buttons */
.filter-btn {
  position: relative;
  overflow: hidden;
}

.filter-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(200, 151, 62, 0.15);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.4s ease, height 0.4s ease;
}

.filter-btn:hover::before {
  width: 120px;
  height: 120px;
}

@media (max-width: 768px) {
  .swiper-carousel {
    padding-left: 55px;
    padding-right: 55px;
  }

  .swiper-carousel .swiper-slide {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 480px) {
  .hero-content h1 {
    font-size: 2rem;
  }
  
  .btn {
    padding: 12px 25px;
    font-size: 0.8rem;
  }
  
  .swiper-carousel .swiper-slide {
    aspect-ratio: 1 / 1;
    border-radius: 12px;
  }
  
  .swiper-carousel {
    border-radius: 12px;
    margin: 0 15px;
    padding-left: 45px;
    padding-right: 45px;
  }
}

/* ===== Reduced Motion ===== */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .parallax .hero-bg {
    transform: none !important;
  }
  .swiper-carousel .swiper-slide-active img {
    transform: none !important;
  }
}

/* ===== Homepage hero — mostra insegna ===== */
.hero-home .hero-bg {
  background-position: center top;
}

/* ===== Parallax break sections ===== */
.parallax-break {
  position: relative;
  height: 55vh;
  min-height: 420px;
  background-attachment: fixed;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.parallax-break-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(62, 39, 35, 0.45), rgba(62, 39, 35, 0.65));
}

.parallax-break-content {
  position: relative;
  z-index: 1;
  color: var(--bianco);
  max-width: 750px;
  padding: 0 20px;
}

.parallax-break-content h2 {
  font-size: 2.6rem;
  color: var(--bianco);
  margin-bottom: 18px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4);
  font-style: italic;
  letter-spacing: 1px;
}

.parallax-break-content p {
  font-size: 1.15rem;
  font-weight: 300;
  color: var(--crema);
}

@media (max-width: 768px) {
  .parallax-break {
    height: 40vh;
    min-height: 300px;
    background-attachment: scroll;
  }
  .parallax-break-content h2 {
    font-size: 1.7rem;
  }
  .parallax-break-content p {
    font-size: 1rem;
  }
}

/* ===== Text Reveal Animation ===== */
.text-reveal .word {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  margin-right: 0.28em;
}

.text-reveal .word:last-child {
  margin-right: 0;
}

.text-reveal .word-inner {
  display: inline-block;
  transform: translateY(115%);
  transition: transform 0.75s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.text-reveal .word-inner.revealed {
  transform: translateY(0);
}

/* ===== Sticky Images (editorial effect) ===== */
.sticky-image-wrap {
  position: sticky;
  top: 110px;
  align-self: start;
}

.sticky-image-wrap img {
  border-radius: 12px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.6s ease, box-shadow 0.6s ease;
}

.sticky-image-wrap img:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-medium);
}

/* ===== Animated Counters ===== */
.counters-section {
  background: linear-gradient(135deg, var(--marrone) 0%, #2a1a16 100%);
  color: var(--crema);
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}

.counters-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at center, rgba(200, 151, 62, 0.06) 0%, transparent 60%);
  pointer-events: none;
}

.counters-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 50px;
  text-align: center;
  position: relative;
  z-index: 1;
}

.counter-item {
  padding: 20px;
}

.counter-number {
  font-family: var(--font-titoli);
  font-size: 4rem;
  color: var(--oro);
  display: block;
  line-height: 1;
  margin-bottom: 18px;
  font-weight: 600;
  letter-spacing: 1px;
}

.counter-label {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 2.5px;
  color: rgba(255, 248, 240, 0.75);
  font-weight: 500;
}

@media (max-width: 768px) {
  .counters-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }
  .counter-number {
    font-size: 3rem;
  }
  .sticky-image-wrap {
    position: relative;
    top: auto;
  }
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(120%);
  width: 92%;
  max-width: 900px;
  background: var(--glass-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(200, 151, 62, 0.25);
  border-radius: 16px;
  padding: 24px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  z-index: 9999;
  box-shadow: var(--shadow-medium);
  opacity: 0;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.6s ease;
}

.cookie-banner.active {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.cookie-banner p {
  color: var(--crema);
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  flex: 1;
}

.cookie-banner p a {
  color: var(--oro);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.cookie-banner p a:hover {
  color: var(--oro-chiaro);
}

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-corpo);
  font-size: 0.85rem;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  letter-spacing: 0.5px;
}

.cookie-btn-accept {
  background: var(--oro);
  color: var(--marrone);
}

.cookie-btn-accept:hover {
  background: var(--oro-chiaro);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(200, 151, 62, 0.35);
}

.cookie-btn-decline {
  background: transparent;
  color: var(--crema);
  border: 1.5px solid rgba(255, 248, 240, 0.35);
}

.cookie-btn-decline:hover {
  border-color: var(--crema);
  background: rgba(255, 248, 240, 0.08);
}

@media (max-width: 640px) {
  .cookie-banner {
    flex-direction: column;
    text-align: center;
    padding: 20px;
    gap: 16px;
    bottom: 12px;
  }

  .cookie-actions {
    width: 100%;
    justify-content: center;
  }

  .cookie-btn {
    flex: 1;
    max-width: 140px;
  }
}
