/* =========================================
   PMC FOOD — style.css
   Palette: Rosso #C8102E, Bianco #FFFFFF, Crema #FFF8F0
   ========================================= */

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

/* ---- RESET & ROOT ---- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --red:       #C8102E;
  --red-dark:  #8B0A1E;
  --red-light: #E8294A;
  --white:     #FFFFFF;
  --cream:     #FFF8F0;
  --cream-dark:#F5EDDF;
  --text-dark: #1A0A08;
  --text-mid:  #4A2820;
  --gold:      #C9923A;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-serif:   'Cormorant Garamond', Georgia, serif;
  --font-sans:    'Montserrat', Helvetica, sans-serif;
  --transition:   0.4s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-lg: 0 20px 60px rgba(200, 16, 46, 0.18);
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.12);
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background: var(--cream);
  color: var(--text-dark);
  overflow-x: hidden;
  line-height: 1.6;
}

img { max-width: 100%; display: block; }
a  { text-decoration: none; color: inherit; }

/* =========================================
   NAVIGATION
   ========================================= */

.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 5vw;
  height: 80px;
  background: rgba(255,255,255,0.97);
  box-shadow: 0 1px 20px rgba(0,0,0,0.07);
  transition: background var(--transition), box-shadow var(--transition);
}

.nav.scrolled {
  background: rgba(26, 10, 8, 0.96);
  box-shadow: 0 2px 30px rgba(0,0,0,0.3);
  backdrop-filter: blur(8px);
}

.nav-logo {
  display: flex;
  align-items: center;
}

.nav-logo a {
  display: flex;
  align-items: center;
}

.nav-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: opacity var(--transition);
}

.nav-logo-img:hover {
  opacity: 0.85;
}

.nav-logo-tagline {
  font-family: var(--font-serif);
  font-size: 0.68rem;
  font-weight: 400;
  letter-spacing: 0.12em;
  color: var(--text-mid);
  line-height: 1.45;
  text-transform: uppercase;
  padding-left: 14px;
  border-left: 1px solid rgba(0,0,0,0.15);
  margin-left: 14px;
  transition: color var(--transition), border-color var(--transition);
}

.nav.scrolled .nav-logo-tagline {
  color: rgba(255,255,255,0.6);
  border-left-color: rgba(255,255,255,0.2);
}

/* =========================================
   LOADER
   ========================================= */

.loader {
  position: fixed;
  inset: 0;
  background: var(--white);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.loader.hidden {
  opacity: 0;
  visibility: hidden;
}

.loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.8rem;
  animation: loaderFadeIn 0.6s ease both;
}

@keyframes loaderFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.loader-logo {
  height: 90px;
  width: auto;
  object-fit: contain;
  filter: none;
  animation: loaderPulse 2s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0.6; }
}

.loader-text {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 500;
  letter-spacing: 0.35em;
  text-transform: uppercase;
  color: var(--text-mid);
  opacity: 0.5;
}

.loader-bar {
  width: 160px;
  height: 1px;
  background: rgba(0,0,0,0.08);
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, var(--red-dark), var(--red-light));
  animation: loaderProgress 1.6s ease-in-out forwards;
}

@keyframes loaderProgress {
  0%   { width: 0%; }
  60%  { width: 75%; }
  100% { width: 100%; }
}

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark);
  position: relative;
  padding-bottom: 4px;
  transition: color var(--transition);
}

.nav.scrolled .nav-links a {
  color: rgba(255,255,255,0.85);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 1px;
  background: var(--red);
  transition: width var(--transition);
}

.nav-links a:hover {
  color: var(--red);
}

.nav.scrolled .nav-links a:hover {
  color: var(--white);
}

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

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
}

.nav-hamburger span {
  display: block;
  width: 26px; height: 2px;
  background: var(--text-dark);
  transition: var(--transition);
  border-radius: 2px;
}

.nav.scrolled .nav-hamburger span {
  background: var(--white);
}

.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); background: var(--text-dark); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); background: var(--text-dark); }

/* Mobile menu */
.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(255,255,255,0.98);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.8rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition);
}

.nav-mobile.open {
  opacity: 1;
  pointer-events: all;
}

.nav-mobile a {
  font-family: var(--font-display);
  font-size: 1.6rem;
  color: var(--text-dark);
  letter-spacing: 0.04em;
  transition: color var(--transition);
}

.nav-mobile a:hover { color: var(--red); }

/* =========================================
   HERO — SLIDESHOW
   ========================================= */

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

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.6s ease-in-out;
  transform: scale(1.04);
  animation: kenBurns 8s ease-in-out infinite;
}

.hero-slide.active {
  opacity: 1;
}

/* Slide backgrounds — placeholder gradients (sostituire con immagini reali) */
.hero-slide:nth-child(1) {
  background-image:
    linear-gradient(160deg, rgba(140,8,20,0.55) 0%, rgba(0,0,0,0.35) 100%),
    url('../images/hero-1.jpg');
  background-color: #7a0012;
}

.hero-slide:nth-child(2) {
  background-image:
    linear-gradient(160deg, rgba(0,0,0,0.4) 0%, rgba(140,8,20,0.45) 100%),
    url('../images/hero-2.jpg');
  background-color: #4a1a00;
  animation-delay: -2.6s;
}

.hero-slide:nth-child(3) {
  background-image:
    linear-gradient(160deg, rgba(80,20,5,0.5) 0%, rgba(0,0,0,0.5) 100%),
    url('../images/hero-3.jpg');
  background-color: #2a0a00;
  animation-delay: -5.2s;
}

@keyframes kenBurns {
  0%   { transform: scale(1.04) translate(0, 0); }
  50%  { transform: scale(1.08) translate(-1%, -0.5%); }
  100% { transform: scale(1.04) translate(0, 0); }
}

/* Dark vignette overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,0.45) 100%),
    linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.5) 100%);
  z-index: 1;
}

/* Wave bottom border */
.hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 90px;
  z-index: 3;
  line-height: 0;
}

.hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Hero content */
.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 0 5vw;
  max-width: 900px;
  animation: heroFadeIn 1.4s ease-out both;
}

@keyframes heroFadeIn {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-badge {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #009246;
  border: 1px solid rgba(0, 146, 70, 0.5);
  padding: 6px 18px;
  margin-bottom: 1.8rem;
  animation: heroFadeIn 1.4s 0.2s ease-out both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 1.4rem;
  animation: heroFadeIn 1.4s 0.35s ease-out both;
}

.hero-title em {
  font-style: italic;
  color: #FFD0C0;
}

.hero-subtitle {
  font-family: var(--font-serif);
  font-size: clamp(1rem, 2.2vw, 1.35rem);
  font-weight: 300;
  color: rgba(255,255,255,0.82);
  max-width: 600px;
  margin: 0 auto 2.8rem;
  line-height: 1.7;
  animation: heroFadeIn 1.4s 0.5s ease-out both;
}

.hero-cta {
  display: inline-flex;
  gap: 1.2rem;
  flex-wrap: wrap;
  justify-content: center;
  animation: heroFadeIn 1.4s 0.65s ease-out both;
}

.btn-primary {
  display: inline-block;
  padding: 14px 36px;
  background: var(--red);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid var(--red);
  border-radius: 50px;
  transition: background var(--transition), color var(--transition), transform var(--transition), box-shadow var(--transition);
}

.btn-primary:hover {
  background: transparent;
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(200, 16, 46, 0.4);
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid rgba(255,255,255,0.5);
  border-radius: 50px;
  transition: border-color var(--transition), transform var(--transition), background var(--transition);
}

.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,0.1);
  transform: translateY(-2px);
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 140px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 4;
  display: flex;
  gap: 10px;
}

.hero-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.4);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  border: none;
}

.hero-dot.active {
  background: var(--red-light);
  transform: scale(1.4);
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 135px;
  right: 5vw;
  z-index: 4;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.55);
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  animation: scrollBounce 2s ease-in-out infinite;
}

.hero-scroll::before {
  content: '';
  display: block;
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--red-light), transparent);
}

@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* =========================================
   FOOTER
   ========================================= */

.footer {


  background: var(--text-dark);
  color: rgba(255,255,255,0.75);
  position: relative;
  z-index: 1;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--red-dark), var(--red), var(--red-light), var(--gold), var(--red));
}

.footer-top {
  display: grid;
  grid-template-columns: 1.8fr 0.8fr 0.8fr 1.4fr;
  gap: 2.5rem;
  padding: 2.2rem 8vw 2rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  align-items: start;
}

.footer-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  margin-bottom: 0.7rem;
}

.footer-brand-tagline {
  font-family: var(--font-serif);
  font-size: 0.78rem;
  font-style: italic;
  color: rgba(255,255,255,0.38);
  line-height: 1.55;
  max-width: 260px;
}

.footer-brand-desc {
  display: none;
}

.footer-col-title {
  font-family: var(--font-sans);
  font-size: 0.55rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 0.8rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.38rem;
}

.footer-links a {
  font-size: 0.76rem;
  color: rgba(255,255,255,0.52);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.footer-links a::before {
  content: '—';
  color: var(--red);
  font-size: 0.62rem;
}

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

.footer-contact-item {
  margin-bottom: 0.6rem;
}

.footer-contact-label {
  font-family: var(--font-sans);
  font-size: 0.52rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.28);
  margin-bottom: 0.15rem;
}

.footer-contact-text {
  font-size: 0.74rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.52);
}

.footer-contact-text a {
  color: rgba(255,255,255,0.52);
  transition: color var(--transition);
}

.footer-contact-text a:hover { color: var(--white); }

/* Footer bottom */
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 8vw;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.footer-legal {
  font-size: 0.63rem;
  color: rgba(255,255,255,0.26);
  line-height: 1.5;
}

.footer-legal-extra {
  display: none;
}

.footer-dev {
  font-size: 0.63rem;
  color: rgba(255,255,255,0.24);
}

.footer-dev a {
  color: rgba(255,255,255,0.36);
  transition: color var(--transition);
}

.footer-dev a:hover { color: var(--red-light); }

/* =========================================
   PRODUCTS SECTION
   ========================================= */

.products-section {
  background: url('../images/hero-3.jpg') center center / cover no-repeat;
  padding: 3rem 8vw 2.5rem;
  overflow: hidden;
  position: relative;
}

.products-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 240, 0.90);
  z-index: 0;
}

.products-section > * {
  position: relative;
  z-index: 1;
}

.products-header {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 2rem;
}

.products-header-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(200,16,46,0.25), transparent);
}

.products-header-text {
  text-align: center;
  flex-shrink: 0;
}

.products-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 0.8rem;
}

.products-title {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2.2vw, 1.8rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.products-title em {
  font-style: italic;
  color: var(--red);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.2rem;
  margin-bottom: 2rem;
}

.product-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  color: var(--text-dark);
  transition: transform var(--transition);
}

.product-card:hover {
  transform: translateY(-6px);
}

.product-card-img-wrap {
  width: 100%;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  position: relative;
  cursor: pointer;
}

.product-card-zoom {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.92);
  color: var(--text-dark);
  font-size: 1.4rem;
  line-height: 44px;
  text-align: center;
  opacity: 0;
  transition: opacity var(--transition), transform var(--transition);
  pointer-events: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.product-card:hover .product-card-zoom {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

/* Touch devices: always show zoom icon */
@media (hover: none) {
  .product-card-zoom {
    opacity: 0.75;
    transform: translate(-50%, -50%) scale(0.85);
    top: 12px;
    left: auto;
    right: 12px;
    width: 34px;
    height: 34px;
    line-height: 34px;
    font-size: 1.1rem;
  }
}

/* =========================================
   LIGHTBOX
   ========================================= */

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.lightbox.open {
  opacity: 1;
  visibility: visible;
}

.lightbox-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(10, 5, 5, 0.92);
  cursor: pointer;
}

.lightbox-img-wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: min(420px, 80vw);
  max-height: 80vh;
  padding: 1rem;
}

.lightbox-img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.92);
  transition: transform 0.35s ease;
  -webkit-user-drag: none;
  user-select: none;
}

.lightbox.open .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 24px;
  z-index: 3;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 2.2rem;
  line-height: 1;
  cursor: pointer;
  padding: 8px;
  transition: color var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.lightbox-close:hover { color: var(--white); }

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: 50%;
  color: var(--white);
  font-size: 1.8rem;
  line-height: 1;
  width: 48px;
  height: 48px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
  -webkit-tap-highlight-color: transparent;
}

.lightbox-nav:hover { background: rgba(255,255,255,0.2); }
.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-caption {
  position: absolute;
  bottom: 52px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-display);
  font-size: 1rem;
  font-style: italic;
  color: rgba(255,255,255,0.75);
  text-align: center;
  white-space: nowrap;
}

.lightbox-counter {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.4);
}

/* =========================================
   COMPANY SECTION
   ========================================= */

.company-section {
  background: url('../images/sfondo5.jpg') center center / cover no-repeat;

  position: relative;
  overflow: hidden;
}

.company-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(10,4,4,0.82) 0%, rgba(10,4,4,0.65) 55%, rgba(10,4,4,0.50) 100%);
  z-index: 0;
}

.company-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  padding: 6rem 8vw;
  max-width: 1400px;
  margin: 0 auto;
}

.company-kicker {
  display: block;
  font-family: 'Dancing Script', cursive, var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--red-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.company-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.6rem;
  line-height: 1.1;
}

.company-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.8;
  margin-bottom: 1rem;
}

.company-body strong {
  color: rgba(255,255,255,0.95);
  font-weight: 600;
}

.btn-company {
  display: inline-block;
  margin-top: 1rem;
  padding: 12px 32px;
  border: 2px solid var(--red);
  border-radius: 50px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  transition: background var(--transition), transform var(--transition);
}

.btn-company:hover {
  background: var(--red);
  transform: translateY(-2px);
}

.company-video-wrap {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.5);
  aspect-ratio: 16 / 10;
}

.company-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.company-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.2) 60%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  transition: opacity 0.4s ease;
  cursor: pointer;
}

.company-play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: rgba(200,16,46,0.9);
  border: none;
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition);
  box-shadow: 0 8px 30px rgba(200,16,46,0.5);
}

.company-play-btn:hover {
  transform: scale(1.1);
  background: var(--red);
}

.company-video-label {
  font-family: var(--font-serif);
  font-size: 0.95rem;
  font-style: italic;
  color: rgba(255,255,255,0.85);
  text-align: center;
  line-height: 1.6;
  padding: 0 1.5rem;
}

@media (max-width: 860px) {
  .company-inner {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    padding: 4rem 6vw;
  }
}

/* =========================================
   BIO SECTION
   ========================================= */

.product-card-img {
  max-height: 100%;
  width: auto;
  max-width: 85%;
  object-fit: contain;
  drop-shadow: 0 20px 40px rgba(0,0,0,0.12);
  transition: transform var(--transition);
}

.product-card:hover .product-card-img {
  transform: scale(1.04);
}

.product-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.product-card-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
}

.product-card-link {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity var(--transition), transform var(--transition);
}

.product-card:hover .product-card-link {
  opacity: 1;
  transform: translateY(0);
}

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

.btn-primary-dark {
  display: inline-block;
  padding: 14px 40px;
  background: var(--text-dark);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  border: 2px solid var(--text-dark);
  border-radius: 50px;
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.btn-primary-dark:hover {
  background: transparent;
  color: var(--text-dark);
  transform: translateY(-2px);
}

/* =========================================
   BIO SECTION
   ========================================= */

.bio-section {
  background: url('../images/bio.jpg') center center / cover no-repeat;
  padding: 3rem 8vw 2.5rem;
  position: relative;
  overflow: hidden;
}

/* overlay semitrasparente sopra la foto */
.bio-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(240, 245, 241, 0.80);
  z-index: 0;
}

/* linea verde in cima */
.bio-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, #4AA87D, transparent);
  z-index: 2;
}

.bio-section > * {
  position: relative;
  z-index: 1;
}

.bio-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  justify-content: center;
  text-align: center;
  flex-direction: column;
}

.bio-logo {
  height: 56px;
  width: auto;
  object-fit: contain;
  opacity: 0.9;
}

.bio-label {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: #4AA87D;
  margin-bottom: 0.5rem;
}

.bio-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
  margin-bottom: 0.5rem;
}

.bio-subtitle {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-style: italic;
  color: rgba(0,0,0,0.45);
}

.bio-grid {
  grid-template-columns: repeat(4, 1fr);
}

.bio-card .product-card-name {
  color: #2d6b4a;
}

.bio-card .product-card-link {
  color: #4AA87D;
}

/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.8rem;
    padding: 2rem 6vw 1.6rem;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }

  .bio-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .products-header {
    gap: 1.2rem;
  }
}

@media (max-width: 640px) {
  .nav-links { display: none; }
  .nav-hamburger { display: flex; }
  .nav-mobile { display: flex; }

  .hero-title { font-size: clamp(2rem, 9vw, 3rem); }
  .hero-subtitle { font-size: 0.95rem; }

  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding: 1.8rem 6vw 1.4rem;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    padding: 0.8rem 6vw;
  }

  .hero-scroll { display: none; }

  .products-section {
    padding: 4rem 6vw 4rem;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }

  .products-header {
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
  }

  .products-header-line { display: none; }
}

/* =========================================
   FORME MORBIDE — global rounded helpers
   ========================================= */

/* Input, textarea, select */
input, textarea, select {
  border-radius: 50px;
}

textarea {
  border-radius: 18px; /* pill non va bene per multi-riga */
}

/* Card generiche */
.card, .product-card, .feature-card, .info-card {
  border-radius: 20px;
}

/* Tag / badge */
.badge, .tag, .hero-badge {
  border-radius: 50px;
}

/* Immagini nelle card */
.card img, .product-card img {
  border-radius: 14px;
}
/* =========================================
   CHI SIAMO PAGE
   ========================================= */

/* Page hero */
.page-hero {
  position: relative;
  width: 100%;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: center center / cover no-repeat;
}

.chi-siamo-hero {
  background-image: url('../images/sfondo2.jpg');
  background-position: center;
}

.page-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(10,4,4,0.62) 0%, rgba(10,4,4,0.38) 100%);
}

.page-hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  padding: 6rem 8vw 5rem;
  text-align: center;
}

.chi-siamo-quote {
  font-family: 'Dancing Script', cursive, var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
  border: none;
  margin: 0;
  padding: 0;
}

.page-hero-stripe {
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 80px;
  background: var(--cream);
  clip-path: polygon(0 60%, 100% 0, 100% 100%, 0% 100%);
  z-index: 3;
}

.page-hero-wave {
  position: absolute;
  bottom: -1px; left: 0; right: 0;
  height: 80px;
  z-index: 3;
  line-height: 0;
}

.page-hero-wave svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* Linea verticale rossa di separazione */
.chisiamo-tradition {
  background: var(--cream) !important;
}

/* Sezioni testo + immagine */
.chisiamo-section {
  padding: 5rem 8vw;
  background: var(--cream);
}

.chisiamo-section:nth-child(even) {
  background: var(--cream-dark);
}

.chisiamo-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  max-width: 1300px;
  margin: 0 auto;
}

.chisiamo-inner--reverse {
  direction: rtl;
}

.chisiamo-inner--reverse > * {
  direction: ltr;
}

.chisiamo-kicker {
  display: block;
  font-family: 'Dancing Script', cursive, var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--red);
  line-height: 1;
  margin-bottom: 0.6rem;
}

.chisiamo-title {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 1.5rem;
}

.chisiamo-body {
  font-family: var(--font-serif);
  font-size: 1.05rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 1rem;
}

.chisiamo-body strong {
  color: var(--text-dark);
  font-weight: 600;
}

.chisiamo-image img {
  width: 100%;
  height: auto;
  border-radius: 16px;
  box-shadow: var(--shadow-lg);
  display: block;
}

/* World banner */
.chisiamo-world {
  position: relative;
  min-height: 340px;
  background: url('../images/sfondo4.jpg') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.chisiamo-world-overlay {
  position: absolute;
  inset: 0;
  background: rgba(10,4,4,0.62);
}

.chisiamo-world-content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 4rem 8vw;
  text-align: center;
}

.chisiamo-world-claim {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.4;
}

.chisiamo-world-claim em {
  font-style: italic;
  color: #FFD0C0;
}

/* Responsive */
@media (max-width: 860px) {
  .chisiamo-inner,
  .chisiamo-inner--reverse {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    direction: ltr;
  }

  .page-hero-content {
    padding: 5rem 6vw 4rem;
  }

  .chisiamo-section {
    padding: 3.5rem 6vw;
  }
}

.footer-legal-extra {
  width: 100%;
  text-align: center;
  font-size: 0.68rem;
  color: rgba(255,255,255,0.28);
  line-height: 1.8;
  order: 3;
}

.footer-legal-extra a {
  color: rgba(255,255,255,0.35);
  transition: color var(--transition);
}

.footer-legal-extra a:hover {
  color: var(--red-light);
}

@media (max-width: 640px) {
  .footer-legal-extra {
    font-size: 0.62rem;
  }
}

/* =========================================
   LEGUMI SECTION
   ========================================= */

.legumes-section {
  background: url('../images/legumi.jpg') center center / cover no-repeat;
  padding: 2rem 8vw 1.8rem;
  position: relative;
  overflow: hidden;
}

.legumes-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(245, 237, 223, 0.68);
  z-index: 0;
}

.legumes-section > * {
  position: relative;
  z-index: 1;
}

.legumes-grid {
  grid-template-columns: repeat(6, 1fr);
  gap: 0.8rem;
}

.legumes-card .product-card-img-wrap {
  aspect-ratio: 1 / 1;
}

.legumes-card .product-card-name {
  color: #2d6b4a;
  font-size: 0.82rem;
}

.legumes-card .product-card-link {
  color: #4AA87D;
}

/* =========================================
   SAUCES SECTION
   ========================================= */

.sauces-section {
  background: url('../images/pasta.jpg') center center / cover no-repeat;
  padding: 2rem 8vw 1.8rem;
  position: relative;
  overflow: hidden;
}

.sauces-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255, 248, 240, 0.68);
  z-index: 0;
}

.sauces-section > * {
  position: relative;
  z-index: 1;
}

.sauces-grid {
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
}

.sauces-grid .product-card-img-wrap {
  aspect-ratio: 1 / 1;
}

.sauces-grid .product-card-name {
  font-size: 0.82rem;
}

@media (max-width: 900px) {
  .legumes-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .sauces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .legumes-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .sauces-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* =========================================
   NAV DROPDOWN
   ========================================= */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%) translateY(-6px);
  background: rgba(20, 8, 6, 0.97);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 12px;
  list-style: none;
  min-width: 180px;
  padding: 0.6rem 0;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  z-index: 1001;
}

/* Ponte invisibile tra il link e il menu per non perdere il focus */
.nav-dropdown-menu::after {
  content: '';
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
  content: '';
  position: absolute;
  top: -6px;
  left: 50%;
  transform: translateX(-50%);
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid rgba(255,255,255,0.08);
}

.nav-dropdown-menu li a {
  display: block;
  padding: 0.55rem 1.4rem;
  font-family: var(--font-sans);
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.7);
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}

.nav-dropdown-menu li a::after { display: none; }

.nav-dropdown-menu li a:hover {
  color: var(--white);
  background: rgba(200,16,46,0.15);
}

/* Mobile sub-links */
.nav-mobile-sub {
  display: none;
}

/* =========================================
   PROCESS SECTION — slider
   ========================================= */

.process-section {
  background: url('../images/hero-7.jpg') center center / cover no-repeat;
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.process-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 4, 4, 0.62);
  z-index: 0;
}

.process-section::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  z-index: 1;
}

.process-section > * {
  position: relative;
  z-index: 1;
}

.process-header {
  text-align: center;
  margin-bottom: 2rem;
  padding: 0 8vw;
}

.process-header .products-label {
  color: var(--red-light);
}

.process-header .products-title {
  color: var(--white);
}

.process-track-outer {
  padding: 0 8vw;
}

.process-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}

.process-card {
  background: rgba(255,255,255,0.88);
  border: none;
  border-radius: 16px;
  padding: 1.6rem 1.5rem 1.4rem;
  transition: background var(--transition), transform var(--transition);
}

.process-card:hover {
  background: rgba(255,255,255,0.96);
  transform: translateY(-3px);
}

.process-card.active {
  background: rgba(255,255,255,0.88);
}

.process-card-num {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  line-height: 1;
  color: var(--red);
  opacity: 0.18;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
}

.process-card-title {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.55rem;
  line-height: 1.25;
}

.process-card-body {
  font-family: var(--font-serif);
  font-size: 0.88rem;
  font-style: normal;
  color: var(--text-mid);
  line-height: 1.75;
}

/* frecce e puntini: sempre nascosti */
.process-nav {
  display: none !important;
}

@media (max-width: 860px) {
  .process-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  /* scroll orizzontale nativo con il dito */
  .process-track-outer {
    overflow-x: auto;
    overflow-y: visible;
    padding: 0 6vw 1.2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none; /* Firefox */
  }
  .process-track-outer::-webkit-scrollbar {
    display: none; /* Chrome/Safari */
  }
  .process-track {
    display: flex;
    flex-wrap: nowrap;
    grid-template-columns: unset;
    gap: 1rem;
  }
  .process-card {
    flex: 0 0 76vw;
    max-width: 320px;
  }
}

/* nav mobile carousel (dots + arrows) */
.process-dots {
  display: flex;
  gap: 8px;
}

.process-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
  padding: 0;
}

.process-dot.active {
  background: var(--red-light);
  transform: scale(1.5);
}

.process-arrows {
  display: flex;
  gap: 0.5rem;
}

.process-arrow {
  background: none;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  width: 36px;
  height: 36px;
  color: rgba(255,255,255,0.7);
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition), color var(--transition);
  line-height: 1;
}

.process-arrow:hover {
  border-color: rgba(232,41,74,0.6);
  color: var(--white);
}

/* =========================================
   PRODOTTI PAGE
   ========================================= */

/* Hero */
.prodotti-hero {
  background-image: url('../images/sfondo1.jpg');
  min-height: 360px;
}

.prodotti-hero-kicker {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red-light);
  margin-bottom: 1rem;
}

.prodotti-hero-title {
  font-family: 'Dancing Script', cursive, var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.35;
}

.prodotti-hero-title em {
  font-style: italic;
  color: #FFD0C0;
}

/* Nav categorie sticky — rimossa */

/* Layout sezione prodotti */
.prodotti-section {
  background: var(--cream);
  padding: 3rem 8vw 4rem;
  position: relative;
  border-bottom: 1px solid rgba(200,16,46,0.06);
}

.prodotti-page #pomodori  { background: var(--cream); }
.prodotti-page #legumi    { background: var(--cream-dark); }
.prodotti-page #salse     { background: var(--cream); }
.prodotti-page #biologico { background: #f0f7f3; }

.prodotti-section::before {
  display: none;
}

.prodotti-section > * {
  position: relative;
  z-index: 1;
}


.prodotti-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.prodotti-layout--reverse {
  direction: rtl;
}

.prodotti-layout--reverse > * {
  direction: ltr;
}

/* Colonna info */
.prodotti-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0;
  padding: 0;
}

/* Galleria: immagine + testo affiancati */
.prodotti-gallery {
  position: relative;
  height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-left: 1px solid rgba(200,16,46,0.1);
}

.prodotti-layout--reverse .prodotti-gallery {
  border-left: none;
  border-right: 1px solid rgba(200,16,46,0.1);
}

/* Item: riga con immagine sx + testo dx */
.prodotti-item {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 1.5rem;
  padding: 1rem 2rem 1rem;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  pointer-events: none;
  text-align: left;
}

.prodotti-item.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}

.prodotti-item-img-wrap {
  flex: 0 0 160px;
  width: 160px;
  aspect-ratio: 3 / 4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prodotti-item-info {
  flex: 1;
  text-align: left;
}


.prodotti-category-label {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--red);
  display: block;
  margin-bottom: 1rem;
}

.prodotti-section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.4rem);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.prodotti-section-title em {
  font-style: italic;
  color: var(--red);
}

.prodotti-section-body {
  font-family: var(--font-serif);
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.prodotti-gallery-hint {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.prodotti-hint-line {
  display: block;
  width: 40px;
  height: 1px;
  background: var(--red);
  flex-shrink: 0;
}

.prodotti-hint-text {
  font-family: var(--font-sans);
  font-size: 0.58rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-mid);
  opacity: 0.6;
}

.prodotti-bio-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #4AA87D;
  border: 1px solid #4AA87D;
  border-radius: 50px;
  padding: 0.4rem 1rem;
  margin-bottom: 1.5rem;
  width: fit-content;
}

/* ── immagine prodotto ── */

.prodotti-item-img-wrap img {
  max-height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
  transition: transform 0.4s ease;
}

.prodotti-item.active .prodotti-item-img-wrap img {
  transform: scale(1.02);
}

.prodotti-item-info {
  text-align: center;
  max-width: 380px;
}

.prodotti-item-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.6rem;
  line-height: 1.2;
}

.prodotti-item-desc {
  font-family: var(--font-serif);
  font-size: 0.92rem;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 0.8rem;
}

.prodotti-item-pack {
  font-family: var(--font-sans);
  font-size: 0.62rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-mid);
  opacity: 0.7;
}

.prodotti-item-pack strong {
  color: var(--text-dark);
  opacity: 1;
}

/* Nav galleria (frecce + dots) */
.prodotti-nav {
  position: absolute;
  right: -18px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  z-index: 4;
}

.prodotti-dots {
  display: none;
}

.prodotti-arrow {
  background: var(--white);
  border: 1px solid rgba(200,16,46,0.2);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 1.5rem;
  line-height: 1;
  color: var(--red);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.12);
  transition: background var(--transition), color var(--transition), transform var(--transition);
}

.prodotti-arrow:hover {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  transform: scale(1.1);
}

.prodotti-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(200,16,46,0.2);
  cursor: pointer;
  transition: background var(--transition), transform var(--transition);
}

.prodotti-dot.active {
  background: var(--red);
  transform: scale(1.5);
}

/* Bio specifico */
.bio-label { color: #4AA87D !important; }
.bio-em    { color: #4AA87D !important; }
.bio-line  { background: #4AA87D !important; }

.prodotti-section--bio .prodotti-dot.active {
  background: #4AA87D;
}

.prodotti-section--bio .prodotti-arrow {
  border-color: rgba(74,168,125,0.3);
  color: #4AA87D;
}

.prodotti-section--bio .prodotti-arrow:hover {
  background: #4AA87D;
  color: var(--white);
  border-color: #4AA87D;
}

/* Responsive */
@media (max-width: 860px) {
  .prodotti-layout,
  .prodotti-layout--reverse {
    grid-template-columns: 1fr;
    direction: ltr;
    gap: 1.5rem;
  }

  .prodotti-section {
    padding: 2.5rem 6vw 3rem;
  }

  .prodotti-gallery {
    height: auto;
    min-height: 280px;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(200,16,46,0.08);
  }

  .prodotti-layout--reverse .prodotti-gallery {
    border-right: none;
  }

  .prodotti-item {
    padding: 1.5rem 1rem 3.5rem;
    gap: 1.2rem;
  }

  .prodotti-item-img-wrap {
    flex: 0 0 120px;
    width: 120px;
  }

  .prodotti-nav {
    right: 0;
  }
}

@media (max-width: 480px) {
  .prodotti-item {
    flex-direction: column;
    text-align: center;
    padding: 1rem 1rem 3.5rem;
  }

  .prodotti-item-info {
    text-align: center;
  }

  .prodotti-item-img-wrap {
    flex: 0 0 auto;
    width: 140px;
  }
}
}

/* =========================================
   COOKIE BANNER
   ========================================= */

.cookie-banner {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(calc(100% + 3rem));
  width: min(680px, calc(100vw - 2rem));
  background: var(--white);
  border-radius: 16px;
  box-shadow: 0 8px 48px rgba(0,0,0,0.18);
  z-index: 9999;
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border: 1px solid rgba(200,16,46,0.1);
}

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

.cookie-inner {
  display: flex;
  align-items: center;
  gap: 2rem;
  padding: 1.2rem 1.5rem;
}

.cookie-text {
  flex: 1;
}

.cookie-title {
  display: block;
  font-family: var(--font-sans);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--text-dark);
  margin-bottom: 0.3rem;
}

.cookie-text p {
  font-family: var(--font-sans);
  font-size: 0.72rem;
  color: var(--text-mid);
  line-height: 1.6;
}

.cookie-text a {
  color: var(--red);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex-shrink: 0;
}

.cookie-btn {
  font-family: var(--font-sans);
  font-size: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-radius: 50px;
  padding: 0.55rem 1.2rem;
  cursor: pointer;
  transition: background var(--transition), color var(--transition), border-color var(--transition);
  white-space: nowrap;
}

.cookie-btn--accept {
  background: var(--red);
  color: var(--white);
  border: 1px solid var(--red);
}

.cookie-btn--accept:hover {
  background: var(--red-dark);
  border-color: var(--red-dark);
}

.cookie-btn--decline {
  background: transparent;
  color: var(--text-mid);
  border: 1px solid rgba(0,0,0,0.15);
}

.cookie-btn--decline:hover {
  border-color: var(--text-mid);
  color: var(--text-dark);
}

@media (max-width: 560px) {
  .cookie-inner {
    flex-direction: column;
    gap: 1rem;
    align-items: stretch;
  }
  .cookie-actions {
    flex-direction: row;
    justify-content: flex-end;
  }
}