/* ==========================================================================
   Tenuta Valdoliva — Main Stylesheet
   ========================================================================== */

:root {
  --olive-deepest: #1B2018;
  --olive-deep: #2C3522;
  --olive-medium: #4A5A35;
  --olive-soft: #7B8A5C;
  --cream: #F5EFE0;
  --cream-warm: #EDE3CC;
  --paper: #FAF6EB;
  --terracotta: #B5532A;
  --terracotta-deep: #8C3E1E;
  --gold: #B8924A;
  --gold-soft: #D4B26C;
  --ink: #1A1714;
  --muted: #6B6357;

  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Manrope", -apple-system, sans-serif;

  --max: 1400px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-weight: 400;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* WordPress default body class hooks */
body.admin-bar nav.top { top: 32px; }
@media (max-width: 782px) {
  body.admin-bar nav.top { top: 46px; }
}

/* Paper texture overlay */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  opacity: 0.4;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(184, 146, 74, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(74, 90, 53, 0.03) 0%, transparent 40%);
  mix-blend-mode: multiply;
}

/* Subtle grain */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  opacity: 0.06;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='1'/%3E%3C/svg%3E");
}

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

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 1rem;
  z-index: 999;
  background: var(--olive-deepest);
  color: var(--cream);
  padding: 0.7rem 1.4rem;
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 4px;
}
.skip-link:focus { left: 1rem; }

/* ====== TYPOGRAPHY ====== */
h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0;
}

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; }

.display {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 50, "opsz" 144;
  font-weight: 300;
  font-style: italic;
}

.eyebrow {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--terracotta);
  display: inline-block;
}

.ital {
  font-style: italic;
  font-weight: 300;
  font-variation-settings: "SOFT" 100;
  color: var(--terracotta);
}

/* ====== NAV ====== */
nav.top {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 1.4rem 2.5rem;
  background: rgba(250, 246, 235, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(26, 23, 20, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--olive-deepest);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  margin-right: auto; /* tiene il brand ancorato a sinistra dentro flex */
}

.brand-mark {
  width: 28px;
  height: 28px;
  color: var(--olive-medium);
  flex-shrink: 0;
}

.brand-mark .pip { fill: var(--paper); }

/* Logo personalizzato caricato via Customizer (PNG, JPG, SVG, WebP) */
.brand-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  display: block;
  flex-shrink: 0;
}

.brand-logo--footer {
  height: 56px;
  max-width: 240px;
}

@media (max-width: 880px) {
  .brand-logo { height: 36px; max-width: 160px; }
  .brand-logo--footer { height: 48px; }
}

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

.nav-links a {
  color: var(--ink);
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  position: relative;
  transition: color 0.3s;
}

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

.nav-links a:hover,
.nav-links .current-menu-item a { color: var(--terracotta); }
.nav-links a:hover::after,
.nav-links .current-menu-item a::after { width: 100%; }

.nav-cta {
  background: var(--olive-deepest);
  color: var(--cream);
  padding: 0.7rem 1.4rem;
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.3s;
  white-space: nowrap;
}

.nav-cta:hover { background: var(--terracotta-deep); color: var(--cream); }

.menu-toggle {
  display: none;
  background: transparent;
  border: 0;
  cursor: pointer;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  color: var(--olive-deepest);
}
.menu-toggle svg { width: 24px; height: 24px; }

@media (max-width: 880px) {
  nav.top { padding: 1rem 1.5rem; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    flex-direction: column;
    background: var(--paper);
    padding: 2rem;
    gap: 1.5rem;
    border-bottom: 1px solid rgba(26,23,20,0.08);
    display: none;
  }
  .nav-links.is-open { display: flex; }
  .menu-toggle { display: flex; }
  .nav-cta { display: none; }
}

/* ====== HERO ====== */
.hero {
  position: relative;
  min-height: 100vh;
  padding: 9rem 2.5rem 4rem;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 4rem;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
  z-index: 3;
}

.hero-eyebrow-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
}

.hero-eyebrow-row .line {
  width: 60px;
  height: 1px;
  background: var(--terracotta);
}

.hero-title {
  font-size: clamp(3.2rem, 7.5vw, 7rem);
  color: var(--olive-deepest);
  margin: 0 0 2rem;
}

.hero-sub {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
  font-weight: 400;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  align-items: center;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--olive-deepest);
  color: var(--cream);
  padding: 1.1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s;
  border: 0;
  cursor: pointer;
}

.btn-primary:hover {
  background: var(--terracotta-deep);
  transform: translateY(-2px);
  color: var(--cream);
}

.btn-primary svg { transition: transform 0.3s; }
.btn-primary:hover svg { transform: translateX(4px); }

.btn-ghost {
  color: var(--olive-deepest);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--olive-deepest);
  transition: all 0.3s;
}

.btn-ghost:hover { color: var(--terracotta); border-color: var(--terracotta); }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-bottle-bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--olive-deep) 0%, var(--olive-medium) 100%);
  border-radius: 8px;
  overflow: hidden;
}

.hero-bottle-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(212, 178, 108, 0.25), transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(27, 32, 24, 0.4), transparent 50%);
}

.hero-bottle-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.4'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.5;
}

.hero-bottle-svg {
  position: relative;
  z-index: 2;
  width: 60%;
  max-width: 280px;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

.hero-bottle-img {
  position: relative;
  z-index: 2;
  max-width: 70%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 30px 60px rgba(0,0,0,0.4));
}

.hero-stamp {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  z-index: 3;
  color: var(--cream);
  text-align: right;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.85;
  line-height: 1.4;
}

.hero-stamp-year {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-weight: 400;
  letter-spacing: 0.05em;
  text-transform: none;
  margin-top: 0.3rem;
}

.hero-floating {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  z-index: 3;
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  max-width: 200px;
  line-height: 1.4;
  opacity: 0.9;
}

@media (max-width: 880px) {
  .hero { grid-template-columns: 1fr; padding: 7rem 1.5rem 3rem; gap: 3rem; }
  .hero-visual { max-width: 380px; margin: 0 auto; width: 100%; }
}

/* ====== MARQUEE ====== */
.marquee {
  position: relative;
  z-index: 3;
  overflow: hidden;
  background: var(--olive-deepest);
  color: var(--cream-warm);
  padding: 1.4rem 0;
  border-top: 1px solid var(--olive-medium);
  border-bottom: 1px solid var(--olive-medium);
}

.marquee-track {
  display: flex;
  gap: 4rem;
  animation: scroll 40s linear infinite;
  white-space: nowrap;
  width: max-content;
}

.marquee-item {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-style: italic;
  font-weight: 300;
  display: flex;
  align-items: center;
  gap: 4rem;
}

.marquee-item::after {
  content: '✦';
  color: var(--gold);
  font-style: normal;
  font-size: 0.8em;
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ====== SECTION GENERIC ====== */
.section { position: relative; z-index: 3; padding: 8rem 2.5rem; }
.container { max-width: var(--max); margin: 0 auto; }

.section-title {
  font-size: clamp(2.5rem, 5vw, 4.5rem);
  color: var(--olive-deepest);
  margin: 1.5rem 0 2rem;
  letter-spacing: -0.025em;
}

@media (max-width: 880px) {
  .section { padding: 5rem 1.5rem; }
}

/* ====== STORY ====== */
.story {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 6rem;
  align-items: start;
}

.story-image {
  aspect-ratio: 3/4;
  background: linear-gradient(180deg, var(--olive-soft) 0%, var(--olive-medium) 60%, var(--olive-deep) 100%);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(44, 53, 34, 0.25);
}

.story-image.has-photo { background: var(--olive-deep); }
.story-image.has-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
  opacity: 0.4;
  pointer-events: none;
  z-index: 2;
}

.story-image-tag {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  color: var(--cream);
  font-size: 0.75rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 600;
  opacity: 0.9;
  z-index: 3;
}

.olive-branch {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 70%;
  color: var(--cream-warm);
  opacity: 0.9;
  z-index: 1;
}

.story-text { padding-top: 1rem; }

.story-text p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--ink);
  margin-bottom: 1.5rem;
  max-width: 540px;
}

.story-text p.lead {
  font-family: var(--serif);
  font-size: 1.4rem;
  font-weight: 400;
  line-height: 1.5;
  color: var(--olive-deep);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(26, 23, 20, 0.15);
}

.stat-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--olive-deepest);
  display: block;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

@media (max-width: 880px) {
  .story { grid-template-columns: 1fr; gap: 3rem; }
  .stats-row { grid-template-columns: 1fr; gap: 1.5rem; }
}

/* ====== PRODUCTS ====== */
.products-section {
  background: var(--olive-deepest);
  color: var(--cream);
  padding: 8rem 2.5rem;
  position: relative;
  z-index: 3;
  overflow: hidden;
}

.products-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at top right, rgba(184, 146, 74, 0.1), transparent 50%),
    radial-gradient(ellipse at bottom left, rgba(74, 90, 53, 0.2), transparent 50%);
  pointer-events: none;
}

.products-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 5rem;
  position: relative;
  z-index: 2;
}

.products-section .section-title { color: var(--cream); }
.products-section .section-title .ital { color: var(--gold-soft); }
.products-section .eyebrow { color: var(--gold-soft); }

.products-intro {
  color: var(--cream-warm);
  font-size: 1.05rem;
  line-height: 1.7;
  max-width: 460px;
  opacity: 0.85;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 2;
}

.product-card {
  background: linear-gradient(160deg, rgba(245, 239, 224, 0.04) 0%, rgba(245, 239, 224, 0.01) 100%);
  border: 1px solid rgba(245, 239, 224, 0.12);
  padding: 2rem;
  border-radius: 6px;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  display: block;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-soft);
  background: linear-gradient(160deg, rgba(245, 239, 224, 0.08) 0%, rgba(245, 239, 224, 0.02) 100%);
}

.product-visual {
  aspect-ratio: 4/5;
  background: linear-gradient(180deg, var(--olive-medium) 0%, var(--olive-deep) 100%);
  border-radius: 4px;
  position: relative;
  margin-bottom: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.product-visual.gold     { background: linear-gradient(180deg, #5e6b3f 0%, #3a4528 100%); }
.product-visual.terracotta { background: linear-gradient(180deg, #6b3a28 0%, #3d1f12 100%); }
.product-visual.olive    { background: linear-gradient(180deg, var(--olive-medium) 0%, var(--olive-deep) 100%); }

.product-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,0.08), transparent 50%);
}

.product-visual img {
  position: relative;
  z-index: 1;
  max-width: 65%;
  max-height: 80%;
  object-fit: contain;
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.product-bottle {
  width: 50%;
  max-width: 100px;
  color: var(--cream);
  filter: drop-shadow(0 15px 30px rgba(0,0,0,0.4));
  transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
  position: relative;
  z-index: 1;
}

.product-card:hover .product-bottle,
.product-card:hover .product-visual img { transform: scale(1.05) rotate(-2deg); }

.product-tag {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 0.7rem;
}

.product-name {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 400;
  color: var(--cream);
  margin: 0 0 0.6rem;
  letter-spacing: -0.01em;
}

.product-name .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
}

.product-desc {
  font-size: 0.92rem;
  color: var(--cream-warm);
  opacity: 0.7;
  line-height: 1.6;
  margin: 0 0 1.5rem;
}

.product-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(245, 239, 224, 0.1);
}

.product-price {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--cream);
}

.product-price small {
  font-size: 0.7rem;
  color: var(--gold-soft);
  margin-left: 0.4rem;
  letter-spacing: 0.1em;
}

.product-link {
  color: var(--gold-soft);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.3s;
}

.product-card:hover .product-link { gap: 0.7rem; }

@media (max-width: 880px) {
  .products-header { grid-template-columns: 1fr; }
  .products-grid { grid-template-columns: 1fr; }
}

/* ====== PROCESS ====== */
.process { padding: 8rem 2.5rem; position: relative; z-index: 3; }

.process-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 5rem;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
}

.process-grid::before {
  content: '';
  position: absolute;
  top: 32px;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--terracotta) 20%, var(--terracotta) 80%, transparent);
  opacity: 0.4;
}

.step {
  text-align: center;
  position: relative;
  padding: 0 1rem;
}

.step-num {
  width: 64px;
  height: 64px;
  margin: 0 auto 2rem;
  background: var(--paper);
  border: 1.5px solid var(--terracotta);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-size: 1.4rem;
  font-style: italic;
  color: var(--terracotta);
  position: relative;
  z-index: 2;
}

.step h3 {
  font-size: 1.4rem;
  color: var(--olive-deepest);
  margin: 0 0 0.8rem;
}

.step p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 880px) {
  /* Reset padding orizzontale del wrapper per permettere lo scroll edge-to-edge */
  .process { padding: 5rem 0; }
  .process-header { padding: 0 1.5rem; }

  /* Slider orizzontale con scroll-snap — ogni step ~62% di viewport
     così si vede uno step pieno + metà di quello successivo */
  .process-grid {
    grid-template-columns: none;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    scroll-padding-left: 1.5rem;
    -webkit-overflow-scrolling: touch;
    padding: 0 1.5rem;

    /* Nascondi scrollbar mantenendo lo scroll funzionante */
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .process-grid::-webkit-scrollbar { display: none; }
  .process-grid::before { display: none; }

  .step {
    flex: 0 0 62%;
    scroll-snap-align: start;
    padding: 0;
    text-align: left;
  }

  .step-num { margin: 0 0 1.5rem; }

  /* Spacer finale per permettere all'ultimo step di scrollare fino a sinistra */
  .process-grid::after {
    content: '';
    flex: 0 0 0.5rem;
  }
}

/* ====== PULL QUOTE ====== */
.pullquote {
  background: var(--cream-warm);
  padding: 7rem 2.5rem;
  position: relative;
  z-index: 3;
}

.pullquote-inner {
  max-width: 980px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}

.pullquote-mark {
  font-family: var(--serif);
  font-size: 8rem;
  font-style: italic;
  color: var(--terracotta);
  line-height: 0.5;
  margin-bottom: 1rem;
  opacity: 0.3;
}

.pullquote-text {
  font-family: var(--serif);
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  font-weight: 300;
  line-height: 1.35;
  color: var(--olive-deepest);
  letter-spacing: -0.015em;
  margin: 0 0 2.5rem;
}

.pullquote-text em {
  font-style: italic;
  color: var(--terracotta);
  font-variation-settings: "SOFT" 100;
}

.pullquote-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
}

.author-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive-medium), var(--olive-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--serif);
  font-style: italic;
  color: var(--cream);
  font-size: 1.3rem;
  overflow: hidden;
}

.author-avatar img { width: 100%; height: 100%; object-fit: cover; }

.author-info { text-align: left; }

.author-name {
  font-family: var(--serif);
  font-size: 1.1rem;
  color: var(--olive-deepest);
  line-height: 1.2;
}

.author-role {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.2rem;
}

@media (max-width: 880px) {
  .pullquote { padding: 5rem 1.5rem; }
}

/* ====== AWARDS ====== */
.awards {
  padding: 6rem 2.5rem;
  position: relative;
  z-index: 3;
  border-top: 1px solid rgba(26, 23, 20, 0.08);
  border-bottom: 1px solid rgba(26, 23, 20, 0.08);
}

.awards-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.awards-head {
  text-align: center;
  margin-bottom: 3.5rem;
}

.awards-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--olive-deepest);
  margin: 0;
  letter-spacing: -0.02em;
}

.awards-title .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}

.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2.5rem;
}

.award {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
}

.award.is-clickable { cursor: zoom-in; }

.award-media {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  margin-bottom: 1.2rem;
  border-radius: 8px;
  overflow: hidden;
  background: var(--cream-warm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s;
}

.award-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.award.is-clickable:hover .award-media {
  transform: translateY(-4px);
  box-shadow: 0 18px 45px rgba(44, 53, 34, 0.18);
}

.award.is-clickable:hover .award-media img { transform: scale(1.05); }

.award.is-clickable:focus-visible .award-media {
  outline: 2px solid var(--terracotta);
  outline-offset: 3px;
}

/* Medaglia SVG di ripiego quando non c'è immagine */
.award-medal {
  width: 70px;
  height: 70px;
  color: var(--gold);
  flex-shrink: 0;
}

/* Contatore foto disponibili */
.award-count {
  position: absolute;
  bottom: 0.7rem;
  right: 0.7rem;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: rgba(27, 32, 24, 0.82);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.6rem;
  border-radius: 100px;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.award-count svg { width: 13px; height: 13px; }

.award-year {
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 300;
  font-style: italic;
  color: var(--terracotta);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.award-name {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 400;
  font-style: normal;
  letter-spacing: -0.01em;
  text-transform: none;
  color: var(--olive-deepest);
  line-height: 1.3;
}

.award-ente {
  display: block;
  font-family: var(--sans);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.45rem;
  line-height: 1.4;
}

@media (max-width: 980px) {
  .awards-grid { grid-template-columns: repeat(2, 1fr); gap: 2.5rem 2rem; }
}

@media (max-width: 880px) {
  .awards { padding: 4rem 1.5rem; }
  .awards-head { margin-bottom: 2.5rem; }
}

@media (max-width: 480px) {
  .awards-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .award-media { max-width: 320px; margin-left: auto; margin-right: auto; }
}

/* ====== VISIT / CTA ====== */
.visit {
  padding: 8rem 2.5rem;
  position: relative;
  z-index: 3;
}

.visit-inner {
  max-width: var(--max);
  margin: 0 auto;
  background: var(--olive-deepest);
  border-radius: 8px;
  padding: 5rem 4rem;
  color: var(--cream);
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.visit-inner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(184, 146, 74, 0.15), transparent 50%),
    radial-gradient(circle at 20% 80%, rgba(74, 90, 53, 0.2), transparent 50%);
}

.visit-content { position: relative; z-index: 2; }

.visit-content .eyebrow { color: var(--gold-soft); }

.visit-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  margin: 1.5rem 0 1.5rem;
  color: var(--cream);
}

.visit-title .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
}

.visit-content p {
  color: var(--cream-warm);
  opacity: 0.85;
  line-height: 1.7;
  margin: 0 0 2.5rem;
  font-size: 1.05rem;
  max-width: 460px;
}

.visit-btn {
  background: var(--cream);
  color: var(--olive-deepest);
  padding: 1.1rem 2rem;
  border-radius: 100px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  transition: all 0.3s;
}

.visit-btn:hover { background: var(--gold-soft); transform: translateY(-2px); color: var(--olive-deepest); }

.visit-info {
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(245, 239, 224, 0.2);
  padding-left: 3rem;
}

.info-block { margin-bottom: 2rem; }
.info-block:last-child { margin-bottom: 0; }

.info-label {
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.info-text {
  font-family: var(--serif);
  font-size: 1.15rem;
  color: var(--cream);
  line-height: 1.5;
}

.info-text a { color: var(--cream); text-decoration: none; }
.info-text a:hover { color: var(--gold-soft); }

/* === Variante con immagine: layout 3 colonne === */
.visit-inner.has-image {
  grid-template-columns: 0.9fr 1fr 0.7fr;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  gap: 0;
}

.visit-image {
  position: relative;
  z-index: 2;
  align-self: stretch;
  min-height: 460px;
  overflow: hidden;
}

.visit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.visit-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(27, 32, 24, 0.1) 0%, transparent 50%, rgba(27, 32, 24, 0.25) 100%);
  pointer-events: none;
}

.visit-inner.has-image .visit-content {
  padding: 5rem 3rem;
}

.visit-inner.has-image .visit-info {
  padding: 5rem 4rem 5rem 3rem;
  border-left: 1px solid rgba(245, 239, 224, 0.15);
}

@media (max-width: 1100px) {
  .visit-inner.has-image {
    grid-template-columns: 1fr 1fr;
  }
  .visit-inner.has-image .visit-image {
    grid-column: span 2;
    min-height: auto;
    aspect-ratio: 21/9;
  }
  .visit-inner.has-image .visit-content {
    padding: 4rem 3rem;
  }
  .visit-inner.has-image .visit-info {
    padding: 4rem 3rem 4rem 2.5rem;
  }
}

@media (max-width: 880px) {
  .visit { padding: 5rem 1.5rem; }
  .visit-inner { grid-template-columns: 1fr; padding: 3rem 2rem; gap: 2.5rem; }
  .visit-info { border-left: none; border-top: 1px solid rgba(245, 239, 224, 0.2); padding-left: 0; padding-top: 2.5rem; }

  /* Reset variante con immagine su mobile */
  .visit-inner.has-image { grid-template-columns: 1fr; padding: 0; gap: 0; }
  .visit-inner.has-image .visit-image {
    grid-column: auto;
    aspect-ratio: 4/3;
  }
  .visit-inner.has-image .visit-content { padding: 2.5rem 2rem 1.5rem; }
  .visit-inner.has-image .visit-info {
    padding: 2.5rem 2rem 3rem;
    border-left: none;
    border-top: 1px solid rgba(245, 239, 224, 0.15);
  }
}

/* ====== FOOTER ====== */
footer.site-footer {
  background: var(--olive-deepest);
  color: var(--cream-warm);
  padding: 5rem 2.5rem 2rem;
  position: relative;
  z-index: 3;
}

.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr;
  gap: 4rem;
  padding-bottom: 4rem;
  border-bottom: 1px solid rgba(245, 239, 224, 0.1);
}

.footer-brand-block .brand { color: var(--cream); margin-bottom: 1.2rem; }
.footer-brand-block .brand-mark { color: var(--gold-soft); }
.footer-brand-block .brand-mark .pip { fill: var(--olive-deepest); }

.footer-tagline {
  font-family: var(--serif);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--cream-warm);
  line-height: 1.5;
  max-width: 320px;
  opacity: 0.8;
  margin: 0;
}

.footer-col h4 {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-soft);
  margin: 0 0 1.2rem;
}

.footer-col ul { list-style: none; padding: 0; margin: 0; }
.footer-col li { margin-bottom: 0.7rem; }

.footer-col a {
  color: var(--cream-warm);
  text-decoration: none;
  font-size: 0.9rem;
  opacity: 0.75;
  transition: opacity 0.3s, color 0.3s;
}

.footer-col a:hover { opacity: 1; color: var(--gold-soft); }

.footer-bottom {
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  color: var(--cream-warm);
  opacity: 0.6;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 880px) {
  footer.site-footer { padding: 3rem 1.5rem 1.5rem; }
  .footer-grid { grid-template-columns: 1fr; gap: 2.5rem; padding-bottom: 2.5rem; }
}

/* ====== GENERIC PAGE / SINGLE / ARCHIVE ====== */
.page-wrap {
  position: relative;
  z-index: 3;
  max-width: 820px;
  margin: 0 auto;
  padding: 9rem 2.5rem 5rem;
}

.page-wrap h1, .page-wrap h2, .page-wrap h3 { color: var(--olive-deepest); margin: 1.5em 0 0.6em; }
.page-wrap h1 { font-size: clamp(2.5rem, 5vw, 4rem); margin-top: 0; }
.page-wrap h2 { font-size: 2rem; }
.page-wrap p { font-size: 1.05rem; line-height: 1.75; margin-bottom: 1.5em; }
.page-wrap img { border-radius: 4px; margin: 2em 0; }
.page-wrap a { color: var(--terracotta); }

.archive-wrap {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 9rem 2.5rem 5rem;
}

.archive-header { text-align: center; margin-bottom: 4rem; }
.archive-header h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); }

/* Single Prodotto layout */
.prodotto-single {
  position: relative;
  z-index: 3;
  max-width: var(--max);
  margin: 0 auto;
  padding: 9rem 2.5rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
}

.prodotto-visual {
  aspect-ratio: 3/4;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(180deg, var(--olive-medium) 0%, var(--olive-deep) 100%);
  position: sticky;
  top: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.prodotto-visual.gold { background: linear-gradient(180deg, #5e6b3f 0%, #3a4528 100%); }
.prodotto-visual.terracotta { background: linear-gradient(180deg, #6b3a28 0%, #3d1f12 100%); }
.prodotto-visual img { max-width: 60%; max-height: 80%; object-fit: contain; }

.prodotto-content h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--olive-deepest);
  margin: 1rem 0 1.5rem;
}

.prodotto-meta-row {
  display: flex;
  gap: 2rem;
  padding: 1.5rem 0;
  border-top: 1px solid rgba(26,23,20,0.15);
  border-bottom: 1px solid rgba(26,23,20,0.15);
  margin: 2rem 0;
}

.prodotto-meta-row > div .info-label { color: var(--terracotta); }
.prodotto-meta-row > div .info-text { color: var(--olive-deepest); }

@media (max-width: 880px) {
  .prodotto-single { grid-template-columns: 1fr; gap: 3rem; padding: 7rem 1.5rem 3rem; }
  .prodotto-visual { position: static; }
}

/* ====== FORMATI DISPONIBILI (single prodotto) ====== */
.formati-section {
  position: relative;
  z-index: 3;
  background: var(--cream-warm);
  padding: 6rem 2.5rem;
  margin-top: 2rem;
}

.formati-inner {
  max-width: var(--max);
  margin: 0 auto;
}

.formati-header {
  text-align: center;
  margin-bottom: 4rem;
}

.formati-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--olive-deepest);
  margin-top: 1rem;
}

.formati-title .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--terracotta);
}

.formati-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.formato-card {
  background: var(--paper);
  border: 1px solid rgba(26, 23, 20, 0.08);
  border-radius: 8px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
}

.formato-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(44, 53, 34, 0.12);
}

.formato-img {
  aspect-ratio: 1/1;
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.3rem;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.formato-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.formato-img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 1.5rem;
}

.formato-img-placeholder .product-bottle {
  width: 55%;
  max-width: 80px;
  color: var(--olive-medium);
}

.formato-nome {
  font-family: var(--serif);
  font-size: 1.3rem;
  font-weight: 400;
  color: var(--olive-deepest);
  line-height: 1.2;
  margin: 0 0 0.6rem;
}

.formato-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--muted);
  margin: 0 0 1.2rem;
  flex-grow: 1;
}

.formato-prezzo {
  font-family: var(--serif);
  font-size: 1.5rem;
  font-weight: 400;
  color: var(--terracotta);
  padding-top: 1rem;
  border-top: 1px solid rgba(26, 23, 20, 0.1);
  margin-top: auto;
}

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

@media (max-width: 880px) {
  .formati-section { padding: 4rem 1.5rem; }
  .formati-header { margin-bottom: 2.5rem; }
}

@media (max-width: 520px) {
  .formati-grid { grid-template-columns: 1fr; }
}

/* ====== GALLERIA / CAROSELLO (homepage) ====== */
.gallery {
  position: relative;
  z-index: 3;
  background: var(--olive-deepest);
  padding: 7rem 0;
  overflow: hidden;
}

.gallery::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(184, 146, 74, 0.10), transparent 55%),
    radial-gradient(ellipse at 85% 100%, rgba(74, 90, 53, 0.22), transparent 55%);
  pointer-events: none;
}

.gallery-head {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 0 auto 3.5rem;
  padding: 0 2.5rem;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
}

.gallery-head .eyebrow { color: var(--gold-soft); }

.gallery-title {
  font-size: clamp(2.2rem, 4.5vw, 3.8rem);
  color: var(--cream);
  margin: 1rem 0 0;
  letter-spacing: -0.025em;
}

.gallery-title .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
}

/* --- Frecce --- */
.gallery-nav {
  display: flex;
  gap: 0.6rem;
  flex-shrink: 0;
}

.gallery-arrow {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid rgba(245, 239, 224, 0.25);
  background: transparent;
  color: var(--cream);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, opacity 0.3s, color 0.3s;
  padding: 0;
}

.gallery-arrow svg { width: 20px; height: 20px; }

.gallery-arrow:hover:not(:disabled) {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--olive-deepest);
}

.gallery-arrow:disabled {
  opacity: 0.25;
  cursor: default;
}

.gallery-arrow:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

/* --- Track scorrevole --- */
.gallery-track {
  position: relative;
  z-index: 2;
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;

  /* Allinea la prima foto al contenitore, lasciando bleed a destra */
  padding-left: max(2.5rem, calc((100vw - var(--max)) / 2));
  padding-right: 2.5rem;
  scroll-padding-left: max(2.5rem, calc((100vw - var(--max)) / 2));

  scrollbar-width: none;
  -ms-overflow-style: none;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-track:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: -2px;
}

.gallery-slide {
  flex: 0 0 34%;
  scroll-snap-align: start;
  margin: 0;
}

.gallery-shot {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  border: 0;
  padding: 0;
  border-radius: 6px;
  overflow: hidden;
  background: var(--olive-deep);
  cursor: zoom-in;
  position: relative;
}

.gallery-shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.5s;
}

.gallery-shot:hover img {
  transform: scale(1.04);
  filter: brightness(1.06);
}

.gallery-shot:focus-visible {
  outline: 2px solid var(--gold-soft);
  outline-offset: 3px;
}

.gallery-caption {
  margin-top: 0.9rem;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--cream-warm);
  opacity: 0.65;
  font-family: var(--serif);
  font-style: italic;
}

/* --- Barra di avanzamento --- */
.gallery-progress {
  position: relative;
  z-index: 2;
  max-width: var(--max);
  margin: 2.5rem auto 0;
  padding: 0 2.5rem;
}

.gallery-progress::before {
  content: '';
  display: block;
  height: 1px;
  background: rgba(245, 239, 224, 0.15);
}

.gallery-progress-bar {
  display: block;
  height: 1px;
  margin-top: -1px;
  background: var(--gold-soft);
  width: 30%;
  transform-origin: left center;
  transition: transform 0.25s ease, width 0.25s ease;
}

@media (max-width: 1100px) {
  .gallery-slide { flex-basis: 46%; }
}

@media (max-width: 880px) {
  .gallery { padding: 4.5rem 0; }
  .gallery-head {
    padding: 0 1.5rem;
    margin-bottom: 2.5rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 1.5rem;
  }
  .gallery-track {
    gap: 0.9rem;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
    scroll-padding-left: 1.5rem;
  }
  .gallery-slide { flex-basis: 78%; }
  .gallery-progress { padding: 0 1.5rem; margin-top: 1.8rem; }
  .gallery-arrow { width: 42px; height: 42px; }
}

/* ====== LIGHTBOX ====== */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(15, 18, 13, 0.94);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem 5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s;
}

.gallery-lightbox.is-open {
  opacity: 1;
  visibility: visible;
}

.gallery-lightbox img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 4px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream-warm);
  font-family: var(--serif);
  font-style: italic;
  font-size: 0.95rem;
  text-align: center;
  max-width: 80%;
  opacity: 0.8;
}

.lightbox-btn {
  position: absolute;
  background: transparent;
  border: 1px solid rgba(245, 239, 224, 0.25);
  color: var(--cream);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  padding: 0;
}

.lightbox-btn svg { width: 20px; height: 20px; }

.lightbox-btn:hover {
  background: var(--gold-soft);
  border-color: var(--gold-soft);
  color: var(--olive-deepest);
}

.lightbox-close { top: 1.5rem; right: 1.5rem; }
.lightbox-prev  { left: 1.5rem; top: 50%; transform: translateY(-50%); }
.lightbox-next  { right: 1.5rem; top: 50%; transform: translateY(-50%); }

@media (max-width: 880px) {
  .gallery-lightbox { padding: 4.5rem 1rem 5rem; }
  .lightbox-prev { left: 0.75rem; }
  .lightbox-next { right: 0.75rem; }
  .lightbox-btn { width: 42px; height: 42px; }
}

/* Rispetta le preferenze di movimento ridotto */
@media (prefers-reduced-motion: reduce) {
  .gallery-track { scroll-behavior: auto; }
  .gallery-shot img,
  .gallery-progress-bar,
  .gallery-lightbox { transition: none; }
}

/* ====== PAGINA: LA NOSTRA STORIA ====== */
.storia-hero {
  position: relative;
  z-index: 3;
  padding: 10rem 2.5rem 4rem;
}

.storia-hero-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.storia-hero-title {
  font-size: clamp(2.8rem, 6vw, 5.2rem);
  color: var(--olive-deepest);
  margin: 1.2rem 0 1.5rem;
  letter-spacing: -0.03em;
}

.storia-hero-sub {
  font-family: var(--serif);
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-style: italic;
  font-weight: 300;
  line-height: 1.5;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
}

.storia-hero-image {
  max-width: var(--max);
  margin: 4rem auto 0;
  aspect-ratio: 21/9;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(44, 53, 34, 0.2);
}

.storia-hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.storia-body {
  position: relative;
  z-index: 3;
  padding: 4rem 2.5rem;
}

.storia-body-inner {
  max-width: 720px;
  margin: 0 auto;
}

.storia-body-inner p {
  font-size: 1.08rem;
  line-height: 1.8;
  margin-bottom: 1.6rem;
  color: var(--ink);
}

.storia-body-inner p:first-of-type {
  font-family: var(--serif);
  font-size: 1.35rem;
  line-height: 1.55;
  color: var(--olive-deep);
}

.storia-body-inner h2 {
  font-size: 2.1rem;
  color: var(--olive-deepest);
  margin: 3rem 0 1.2rem;
}

.storia-body-inner h3 {
  font-size: 1.5rem;
  color: var(--olive-deepest);
  margin: 2.2rem 0 0.8rem;
}

.storia-body-inner strong { color: var(--olive-deep); }
.storia-body-inner img { border-radius: 6px; margin: 2.5rem 0; }

/* --- Timeline --- */
.timeline-section {
  position: relative;
  z-index: 3;
  background: var(--olive-deepest);
  color: var(--cream);
  padding: 7rem 2.5rem;
  overflow: hidden;
}

.timeline-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 10% 10%, rgba(184, 146, 74, 0.10), transparent 55%),
    radial-gradient(ellipse at 90% 90%, rgba(74, 90, 53, 0.22), transparent 55%);
  pointer-events: none;
}

.timeline-inner {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.timeline-head {
  text-align: center;
  margin-bottom: 4.5rem;
}

.timeline-head .eyebrow { color: var(--gold-soft); }

.timeline-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--cream);
  margin-top: 1rem;
}

.timeline-title .ital {
  font-style: italic;
  font-weight: 300;
  color: var(--gold-soft);
}

.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
  position: relative;
}

/* Linea verticale continua */
.timeline::before {
  content: '';
  position: absolute;
  left: 7px;
  top: 8px;
  bottom: 8px;
  width: 1px;
  background: linear-gradient(180deg, transparent, rgba(212, 178, 108, 0.5) 8%, rgba(212, 178, 108, 0.5) 92%, transparent);
}

.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 3.5rem;
}

.timeline-item:last-child { padding-bottom: 0; }

.timeline-marker {
  position: absolute;
  left: 0;
  top: 6px;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  border: 1.5px solid var(--gold-soft);
  background: var(--olive-deepest);
}

.timeline-marker::after {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 50%;
  background: var(--gold-soft);
  opacity: 0;
  transition: opacity 0.3s;
}

.timeline-item:hover .timeline-marker::after { opacity: 1; }

.timeline-anno {
  display: block;
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 300;
  font-style: italic;
  color: var(--gold-soft);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.timeline-nome {
  font-size: 1.55rem;
  color: var(--cream);
  margin: 0 0 1rem;
  letter-spacing: -0.015em;
}

.timeline-img {
  margin: 0 0 1.2rem;
  border-radius: 6px;
  overflow: hidden;
  aspect-ratio: 16/9;
  max-width: 460px;
}

.timeline-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.timeline-testo p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--cream-warm);
  opacity: 0.8;
  margin: 0 0 1rem;
}

.timeline-testo p:last-child { margin-bottom: 0; }
.timeline-testo strong { color: var(--gold-soft); font-weight: 500; }

/* --- CTA finale storia --- */
.storia-cta {
  position: relative;
  z-index: 3;
  padding: 7rem 2.5rem;
  text-align: center;
}

.storia-cta-inner { max-width: 640px; margin: 0 auto; }

.storia-cta-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--olive-deepest);
  margin-bottom: 1.2rem;
}

.storia-cta-inner p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 2rem;
}

@media (max-width: 880px) {
  .storia-hero { padding: 7rem 1.5rem 2.5rem; }
  .storia-hero-image { aspect-ratio: 4/3; margin-top: 2.5rem; }
  .storia-body { padding: 2.5rem 1.5rem; }
  .timeline-section { padding: 4rem 1.5rem; }
  .timeline-head { margin-bottom: 3rem; }
  .timeline-item { padding-left: 2.2rem; padding-bottom: 2.8rem; }
  .storia-cta { padding: 4rem 1.5rem; }
}

/* ====== BADGE EDIZIONE LIMITATA ====== */
.badge-limitata {
  position: absolute;
  top: 1rem;
  left: 1rem;
  z-index: 5;
  background: var(--terracotta);
  color: var(--cream);
  font-family: var(--sans);
  font-size: 0.62rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.45rem 0.8rem;
  border-radius: 100px;
  white-space: nowrap;
}

/* ====== PAGINA: EDIZIONI LIMITATE ====== */
.limitate-hero {
  position: relative;
  z-index: 3;
  padding: 10rem 2.5rem 3rem;
  text-align: center;
}

.limitate-hero-inner { max-width: 760px; margin: 0 auto; }

.limitate-title {
  font-size: clamp(2.6rem, 5.5vw, 4.6rem);
  color: var(--olive-deepest);
  margin: 1.2rem 0 1.5rem;
  letter-spacing: -0.03em;
}

.limitate-intro p {
  font-size: 1.08rem;
  line-height: 1.75;
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.limitate-section {
  position: relative;
  z-index: 3;
  padding: 3rem 2.5rem 7rem;
}

.limitate-grid-wrap { max-width: var(--max); margin: 0 auto; }

.limitate-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2.5rem;
}

.limitata-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  color: inherit;
  background: var(--paper);
  border: 1px solid rgba(26, 23, 20, 0.08);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.45s;
}

.limitata-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(44, 53, 34, 0.15);
}

.limitata-visual {
  position: relative;
  aspect-ratio: 4/5;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(180deg, var(--olive-medium) 0%, var(--olive-deep) 100%);
  overflow: hidden;
}

.limitata-visual.gold       { background: linear-gradient(180deg, #5e6b3f 0%, #3a4528 100%); }
.limitata-visual.terracotta { background: linear-gradient(180deg, #6b3a28 0%, #3d1f12 100%); }

.limitata-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.limitata-visual .product-bottle {
  width: 45%;
  max-width: 110px;
  color: var(--cream);
}

.limitata-body {
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.limitata-body .product-tag { color: var(--terracotta); }

.limitata-nome {
  font-family: var(--serif);
  font-size: 1.7rem;
  font-weight: 400;
  color: var(--olive-deepest);
  margin: 0 0 0.7rem;
  letter-spacing: -0.015em;
}

.limitata-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 0 0 1.5rem;
  flex-grow: 1;
}

.limitata-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(26, 23, 20, 0.1);
  margin-top: auto;
}

.limitata-pezzi {
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
}

.limitata-prezzo {
  font-family: var(--serif);
  font-size: 1.4rem;
  color: var(--olive-deepest);
}

.limitata-prezzo small {
  font-size: 0.65rem;
  color: var(--terracotta);
  margin-left: 0.35rem;
  letter-spacing: 0.1em;
}

.limitate-vuoto {
  text-align: center;
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.2rem;
  color: var(--muted);
  max-width: 520px;
  margin: 3rem auto 0;
  line-height: 1.6;
}

@media (max-width: 880px) {
  .limitate-hero { padding: 7rem 1.5rem 2rem; }
  .limitate-section { padding: 2rem 1.5rem 4rem; }
  .limitate-grid { gap: 1.8rem; }
}

/* ====== RECENSIONI ====== */
.reviews {
  position: relative;
  z-index: 3;
  padding: 7rem 2.5rem;
  background: var(--cream-warm);
}

.reviews-inner { max-width: var(--max); margin: 0 auto; }

.reviews-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 3.5rem;
  flex-wrap: wrap;
}

.reviews-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
  color: var(--olive-deepest);
  margin-top: 1rem;
  letter-spacing: -0.025em;
}

.reviews-score {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  flex-shrink: 0;
}

.reviews-score-num {
  font-family: var(--serif);
  font-size: 3rem;
  font-weight: 300;
  line-height: 1;
  color: var(--olive-deepest);
}

.reviews-score-stars {
  color: var(--gold);
  font-size: 1rem;
  letter-spacing: 0.15em;
  margin-top: 0.4rem;
}

.reviews-score-link {
  font-size: 0.8rem;
  color: var(--terracotta);
  text-decoration: none;
  border-bottom: 1px solid currentColor;
  margin-top: 0.6rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.reviews-score-link:hover { color: var(--terracotta-deep); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.8rem;
}

.review-card {
  background: var(--paper);
  border: 1px solid rgba(26, 23, 20, 0.07);
  border-radius: 8px;
  padding: 2rem;
  display: flex;
  flex-direction: column;
}

.review-stars {
  color: var(--gold);
  font-size: 1.05rem;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}

.review-text {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.review-text p {
  font-family: var(--serif);
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--olive-deep);
  margin: 0 0 0.8rem;
}

.review-text p:last-child { margin-bottom: 0; }

.review-foot {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  padding-top: 1.2rem;
  border-top: 1px solid rgba(26, 23, 20, 0.09);
}

.review-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--olive-medium), var(--olive-deep));
  color: var(--cream);
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.review-meta { display: flex; flex-direction: column; }

.review-nome {
  font-family: var(--serif);
  font-size: 1.05rem;
  color: var(--olive-deepest);
  line-height: 1.2;
}

.review-sub {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 500;
  margin-top: 0.25rem;
}

.reviews-cta { text-align: center; margin-top: 3rem; }

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

@media (max-width: 880px) {
  .reviews { padding: 4.5rem 1.5rem; }
  .reviews-head { flex-direction: column; align-items: flex-start; margin-bottom: 2.5rem; }
  .reviews-score { align-items: flex-start; }
  .reviews-grid { grid-template-columns: 1fr; gap: 1.2rem; }
}

/* Contenitore per widget recensioni di plugin esterni (Trustindex, ecc.) */
.reviews-embed {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Evita che il widget del plugin sfori o forzi lo scroll orizzontale */
.reviews-embed img,
.reviews-embed iframe,
.reviews-embed svg {
  max-width: 100%;
}

/* Toglie eventuali margini superiori del widget: la spaziatura la dà già la sezione */
.reviews-embed > *:first-child { margin-top: 0; }
.reviews-embed > *:last-child { margin-bottom: 0; }

/* Contatore immagini nel lightbox */
.lightbox-counter {
  position: absolute;
  top: 1.9rem;
  left: 50%;
  transform: translateX(-50%);
  color: var(--cream-warm);
  font-family: var(--sans);
  font-size: 0.78rem;
  letter-spacing: 0.15em;
  font-weight: 600;
  opacity: 0.7;
}

@media (max-width: 880px) {
  .lightbox-counter { top: 1.6rem; font-size: 0.72rem; }
}
