:root{
  --wine:#5e1224;
  --wine-dark:#420a18;
  --wine-light:#8a2b42;
  --gold:#c9a227;
  --gold-light:#e3c766;
  --cream:#faf6ef;
  --cream-dark:#f1e9da;
  --ink:#2b2018;
  --muted:#7a6a5c;
  --serif:'Cormorant Garamond',Georgia,serif;
  --sans:'Jost',system-ui,sans-serif;
  --logo-h:72px;
}
*{margin:0;padding:0;box-sizing:border-box}
html{scroll-behavior:smooth}
body{font-family:var(--sans);color:var(--ink);background:var(--cream);line-height:1.65;overflow-x:hidden}
h1,h2,h3,h4{font-family:var(--serif);font-weight:600;line-height:1.12}
img{max-width:100%;display:block}
a{color:inherit;text-decoration:none}

header{
  position:sticky;top:0;z-index:100;
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 5vw;
  background:rgba(29,5,12,.92);
  box-shadow:0 2px 24px rgba(20,5,10,.35);
  backdrop-filter:blur(10px);
}
.logo img{height:var(--logo-h);width:auto;filter:drop-shadow(0 2px 6px rgba(0,0,0,.4))}
header nav{display:flex;gap:28px;align-items:center}
header nav a{color:#fff;font-size:.78rem;letter-spacing:.14em;text-transform:uppercase;font-weight:500;transition:.25s}
header nav a:hover{color:var(--gold-light)}
.lang-switch{display:inline-flex;align-items:center;gap:2px;margin-left:8px;padding:3px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:rgba(255,255,255,.06)}
.lang-switch__btn,.lang-switch__btn:visited{font-size:.62rem;letter-spacing:.12em;padding:5px 9px;border-radius:999px;color:rgba(255,255,255,.72);transition:.2s}
.lang-switch__btn.is-active,.lang-switch__btn:hover{color:#fff;background:rgba(201,162,39,.28)}
html.mobile-lite .wine-hero__grain{opacity:.35}

/* ---------- mobile menu ---------- */
.burger{display:none;margin-left:auto;flex-direction:column;justify-content:center;gap:5px;width:46px;height:46px;background:transparent;border:none;cursor:pointer;padding:11px}
.burger span{display:block;height:2px;width:100%;background:#fff;border-radius:2px;transition:transform .3s ease,opacity .3s ease;box-shadow:0 1px 3px rgba(0,0,0,.45)}
.burger.open span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.burger.open span:nth-child(2){opacity:0}
.burger.open span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}
.mobile-nav{
  position:fixed;inset:0;z-index:120;
  background:rgba(45,8,18,.98);
  -webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:30px;margin:0;
  opacity:0;visibility:hidden;pointer-events:none;
  transition:opacity .4s ease,visibility .4s ease;
}
.mobile-nav.open{opacity:1;visibility:visible;pointer-events:auto}
.mobile-nav a{color:#fff;font-family:var(--serif);font-size:1.6rem;font-weight:600;letter-spacing:.06em;padding:6px 18px;text-transform:none}
.mobile-nav a:hover{color:var(--gold-light)}
.mobile-nav .lang-switch{margin:12px 0 0}
.mobile-nav .lang-switch__btn{font-size:.72rem;padding:7px 14px}
body.menu-open{overflow:hidden}
/* the overlay sits above the sticky header, so lift the close button with it */
body.menu-open header{z-index:130}

.back-link{
  display:inline-flex;align-items:center;gap:10px;
  width:fit-content;
  padding:9px 14px;
  color:#fff;
  font-size:.74rem;letter-spacing:.18em;text-transform:uppercase;font-weight:600;
  margin-bottom:clamp(28px,4vw,44px);
  border:1px solid rgba(227,199,102,.48);
  border-radius:999px;
  background:rgba(29,5,12,.52);
  box-shadow:0 8px 22px rgba(20,5,10,.24);
  text-shadow:0 1px 7px rgba(0,0,0,.55);
  backdrop-filter:blur(8px);
  transition:.25s;
}
.back-link:hover{color:var(--gold-light);background:rgba(29,5,12,.72);border-color:rgba(227,199,102,.76)}
.back-link::before{
  content:"";
  width:34px;height:1px;
  background:var(--gold-light);
  transition:width .25s;
}
.back-link:hover::before{width:48px}

/* ---------- hero ---------- */
.wine-hero{
  position:relative;
  min-height:auto;
  display:flex;align-items:stretch;
  padding:clamp(32px,5vw,56px) 6vw clamp(48px,6vw,72px);
  color:#fff;
  overflow:hidden;
}
.wine-hero__backdrop{
  position:absolute;inset:0;z-index:-2;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  filter:brightness(1.06) saturate(1.04);
}
.wine-hero__backdrop::after{
  content:"";
  position:absolute;inset:0;
  background:linear-gradient(108deg, rgba(255,252,248,.1) 0%, rgba(60,18,28,.34) 45%, rgba(40,10,20,.52) 100%);
}
.wine-hero--red .wine-hero__backdrop::after{
  background:linear-gradient(108deg, rgba(255,248,242,.04) 0%, rgba(100,32,48,.2) 30%, rgba(72,22,34,.36) 54%, rgba(48,12,22,.5) 100%);
}
.wine-hero--white .wine-hero__backdrop::after{
  background:linear-gradient(108deg, rgba(255,253,248,.12) 0%, rgba(42,52,36,.22) 38%, rgba(32,40,28,.4) 100%);
}
.wine-hero--rose .wine-hero__backdrop::after{
  background:linear-gradient(108deg, rgba(255,244,248,.06) 0%, rgba(90,35,52,.22) 34%, rgba(58,18,32,.38) 100%);
}
.wine-hero--red .wine-hero__backdrop{
  background-image:url("../assets/img/vendemmia/04-grappolo-rosso.webp?v=2");
}
.wine-hero--white .wine-hero__backdrop{
  background-image:url("../assets/img/vendemmia/03-uva-bianca-filari.webp?v=2");
}
.wine-hero--rose .wine-hero__backdrop{
  background-image:url("../assets/img/vendemmia/04-grappolo-rosso.webp?v=2");
}
.wine-hero__grain{
  position:absolute;inset:0;z-index:-1;opacity:.08;pointer-events:none;
  background-image:url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode:soft-light;
}
.wine-hero::after{
  content:"";
  position:absolute;left:0;right:0;bottom:0;height:120px;z-index:0;
  background:linear-gradient(transparent, var(--cream));
  pointer-events:none;
}

.wine-hero__inner{
  position:relative;z-index:1;
  width:100%;max-width:1320px;margin:0 auto;
}
.wine-hero__grid{
  display:grid;
  grid-template-columns:minmax(260px,56%) minmax(260px,44%);
  grid-template-rows:auto auto auto;
  column-gap:clamp(20px,2.5vw,40px);
  row-gap:clamp(14px,2vw,22px);
  align-items:start;
  min-height:clamp(560px,82vh,860px);
}

.bottle-stage{
  grid-column:1;
  grid-row:1 / -1;
  position:relative;
  z-index:1;
  width:100%;
  align-self:start;
  height:auto;
  min-height:0;
  display:flex;
  align-items:flex-start;
  justify-content:flex-start;
  overflow:visible;
  margin:0;
  padding:0;
  background:transparent;
  border:none;
}
.bottle360-wrap{
  grid-column:1;
  grid-row:1 / -1;
  position:relative;
  z-index:1;
  width:100%;
  align-self:start;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:clamp(10px,1.8vw,18px);
}
.bottle360-wrap .bottle-stage{
  grid-column:auto;
  grid-row:auto;
  width:100%;
  justify-content:center;
}
.bottle360-wrap .bottle-stage img{
  object-position:center top;
}
.bottle360__controls{
  position:relative;
  width:min(100%,300px);
  padding:0 4px;
  background:transparent;
  border:none;
  box-shadow:none;
}
.bottle360__controls::before,
.bottle360__controls::after{
  content:"";
  position:absolute;
  top:50%;
  width:5px;
  height:5px;
  margin-top:-1px;
  border-radius:50%;
  background:var(--gold-light);
  opacity:.55;
  pointer-events:none;
}
.bottle360__controls::before{left:0}
.bottle360__controls::after{right:0}
.bottle360__slider{
  width:100%;
  height:42px;
  margin:0;
  cursor:ew-resize;
  --slider-pct:0%;
  -webkit-appearance:none;
  appearance:none;
  background:transparent;
}
.bottle360__slider:focus-visible{
  outline:none;
}
.bottle360__slider:focus-visible::-webkit-slider-thumb{
  box-shadow:
    0 0 0 3px rgba(227,199,102,.35),
    0 4px 14px rgba(0,0,0,.35);
}
.bottle360__slider::-webkit-slider-runnable-track{
  height:2px;
  border-radius:999px;
  background:linear-gradient(
    90deg,
    var(--wine-light) 0%,
    var(--wine) var(--slider-pct),
    rgba(255,255,255,.22) var(--slider-pct),
    rgba(255,255,255,.14) 100%
  );
}
.bottle360__slider::-webkit-slider-thumb{
  -webkit-appearance:none;
  width:38px;
  height:38px;
  margin-top:-18px;
  border-radius:50%;
  background:
    url('../assets/img/home/logo-crest-full.png') center / 76% 76% no-repeat,
    radial-gradient(circle at 50% 35%, #fff 0%, var(--cream) 100%);
  border:1.5px solid var(--gold);
  box-shadow:0 4px 14px rgba(0,0,0,.32);
  transition:transform .15s ease, box-shadow .15s ease;
}
.bottle360__slider:active::-webkit-slider-thumb{
  cursor:grabbing;
  transform:scale(1.04);
}
.bottle360__slider::-moz-range-track{
  height:2px;
  border-radius:999px;
  background:rgba(255,255,255,.14);
}
.bottle360__slider::-moz-range-progress{
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg, var(--wine-light), var(--wine));
}
.bottle360__slider::-moz-range-thumb{
  width:38px;
  height:38px;
  border:1.5px solid var(--gold);
  border-radius:50%;
  background:
    url('../assets/img/home/logo-crest-full.png') center / 76% 76% no-repeat,
    radial-gradient(circle at 50% 35%, #fff 0%, var(--cream) 100%);
  box-shadow:0 4px 14px rgba(0,0,0,.32);
  cursor:grab;
}
.bottle360__slider:active::-moz-range-thumb{cursor:grabbing;transform:scale(1.04)}
.bottle-stage::before{display:none}
.bottle-stage img{
  height:min(820px, 92vh);
  width:auto;
  max-width:108%;
  object-fit:contain;
  object-position:left top;
  transform:translateY(clamp(-12px,-1.5vw,-24px));
  filter:drop-shadow(0 32px 48px rgba(0,0,0,.6));
}
.bottle-stage--shop-crop{
  justify-content:center;
}
.bottle-stage--shop-crop img{
  height:min(676px, 86vh);
  max-width:min(55vw, 364px);
  object-position:center top;
  transform:translateY(clamp(-6px,-0.8vw,-12px));
  filter:
    brightness(1.1)
    contrast(1.08)
    saturate(1.14)
    drop-shadow(0 12px 20px rgba(70,30,20,.16));
}

.hero-head{
  grid-column:2;
  grid-row:1;
  align-self:start;
  padding-bottom:0;
  padding-top:2px;
  padding-right:clamp(0px,1vw,12px);
  position:relative;
  z-index:2;
}
.hero-foot{
  grid-column:2;
  grid-row:2;
  align-self:start;
  padding-right:clamp(0px,1vw,12px);
  position:relative;
  z-index:2;
}
.hero-head .eyebrow{
  display:inline-flex;align-items:center;gap:12px;
  letter-spacing:.34em;text-transform:uppercase;
  font-size:.7rem;color:var(--gold-light);font-weight:600;
  margin-bottom:14px;
}
.hero-head .eyebrow::after{
  content:"";
  width:56px;height:1px;
  background:linear-gradient(90deg, var(--gold-light), transparent);
}
.hero-head h1{
  font-size:clamp(2.15rem,4.6vw,3.75rem);
  max-width:none;
  text-wrap:balance;
  line-height:1.06;
  text-shadow:0 2px 18px rgba(0,0,0,.42), 0 1px 3px rgba(0,0,0,.28);
}
.hero-foot .subtitle{
  color:rgba(255,255,255,.92);
  font-size:clamp(1.02rem,1.45vw,1.16rem);
  font-weight:300;
  max-width:38ch;
  line-height:1.72;
  text-shadow:0 1px 12px rgba(0,0,0,.35);
}
.hero-tags{
  grid-column:2;
  grid-row:3;
  list-style:none;
  display:flex;flex-wrap:wrap;gap:10px;
  margin-top:0;
  padding-top:clamp(14px,1.8vw,20px);
  border-top:1px solid rgba(255,255,255,.14);
  align-self:start;
  position:relative;
  z-index:2;
}
.hero-tags li{
  padding:9px 16px;
  border:1px solid rgba(255,255,255,.16);
  border-radius:999px;
  font-size:.72rem;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:rgba(255,255,255,.78);
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(4px);
}
.hero-actions{
  grid-column:2;
  grid-row:4;
  align-self:start;
  width:fit-content;
  margin-top:-8px;
  padding:10px 12px 10px 18px;
  position:relative;
  z-index:2;
  display:flex;
  flex-direction:row;
  align-items:center;
  flex-wrap:wrap;
  gap:12px 18px;
  border:1px solid rgba(227,199,102,.5);
  border-radius:999px;
  background:rgba(29,5,12,.56);
  box-shadow:0 12px 30px rgba(20,5,10,.28);
  backdrop-filter:blur(10px);
}
.hero-actions--with-360{
  transform:translateY(-72px);
}
.hero-actions__label{
  margin:0;
  font-size:.76rem;
  letter-spacing:.2em;
  text-transform:uppercase;
  font-weight:700;
  color:var(--gold-light);
  text-shadow:0 1px 8px rgba(0,0,0,.45);
  white-space:nowrap;
}
.sheet-switch{
  display:inline-flex;
  align-items:stretch;
  border:1px solid rgba(227,199,102,.72);
  border-radius:999px;
  overflow:hidden;
  background:rgba(250,246,239,.96);
  backdrop-filter:blur(6px);
  box-shadow:0 6px 18px rgba(0,0,0,.22);
}
.sheet-switch__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:52px;
  padding:12px 24px;
  font-size:.74rem;
  letter-spacing:.16em;
  text-transform:uppercase;
  font-weight:600;
  color:var(--wine-dark);
  transition:background .25s ease,color .25s ease;
}
.sheet-switch__btn + .sheet-switch__btn{
  border-left:1px solid rgba(94,18,36,.2);
}
.sheet-switch__btn:hover{
  background:var(--gold-light);
  color:var(--wine-dark);
}
.sheet-switch__btn:focus-visible{
  outline:2px solid var(--gold-light);
  outline-offset:-2px;
}
.btn-sheet{
  display:inline-flex;align-items:center;gap:8px;
  padding:13px 20px;border-radius:999px;
  font-size:.72rem;letter-spacing:.12em;text-transform:uppercase;
  font-weight:500;transition:.3s;
  border:1px solid rgba(201,162,39,.55);
  background:rgba(201,162,39,.12);
  color:var(--gold-light);
  backdrop-filter:blur(4px);
}
.btn-sheet--alt{
  border-color:rgba(255,255,255,.28);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.88);
}
.btn-sheet--alt:hover{
  background:#fff;
  color:var(--wine-dark);
  border-color:#fff;
}
.btn-sheet:hover{
  background:var(--gold);
  color:var(--wine-dark);
  border-color:var(--gold);
  transform:translateY(-2px);
  box-shadow:0 10px 28px rgba(0,0,0,.25);
}

/* ---------- body ---------- */
.wine-body{
  max-width:1120px;margin:0 auto;
  padding:clamp(56px,8vw,96px) 6vw 80px;
}
.wine-body__head{
  text-align:center;
  max-width:640px;margin:0 auto 56px;
}
.wine-body__head h2{
  font-size:clamp(1.85rem,3.5vw,2.6rem);
  color:var(--wine-dark);
}

.spec-grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-bottom:52px;
}
.spec{
  background:#fff;
  border:1px solid var(--cream-dark);
  border-radius:20px;
  padding:30px 28px 32px;
  position:relative;
  overflow:hidden;
  transition:transform .35s ease, box-shadow .35s ease, border-color .35s ease;
}
.spec::before{
  content:"";
  position:absolute;left:0;top:28px;bottom:28px;
  width:3px;
  border-radius:0 3px 3px 0;
  background:linear-gradient(180deg, var(--gold), var(--wine-light));
}
.spec:hover{
  transform:translateY(-5px);
  box-shadow:0 22px 44px rgba(94,18,36,.1);
  border-color:rgba(201,162,39,.35);
}
.spec h3{font-size:1.12rem;color:var(--wine);margin-bottom:10px;letter-spacing:.02em}
.spec p{color:var(--muted);font-size:.95rem}
.spec p+p{margin-top:8px}
.spec .label{
  font-size:.68rem;letter-spacing:.22em;text-transform:uppercase;
  color:var(--gold);font-weight:600;margin-bottom:10px;display:block;
}
.spec .tasting-block{margin-top:18px;padding-top:18px;border-top:1px solid var(--cream-dark)}
.spec .tasting-block:first-of-type{margin-top:0;padding-top:0;border-top:none}

.btn{
  display:inline-block;padding:14px 34px;border-radius:50px;
  font-size:.82rem;letter-spacing:.16em;text-transform:uppercase;
  font-weight:500;transition:.3s;border:none;font-family:var(--sans);cursor:pointer;
}
.btn-gold{background:var(--gold);color:var(--wine-dark)}
.btn-gold:hover{background:var(--gold-light);transform:translateY(-2px)}
.btn-wine{background:var(--wine);color:#fff}
.btn-wine:hover{background:var(--wine-light);transform:translateY(-2px)}
.cta-row{display:flex;gap:16px;flex-wrap:wrap;justify-content:center;margin-top:12px}

footer{
  background:#1d050c;color:#caa9b1;
  padding:50px 6vw 30px;text-align:center;font-size:.78rem;
}
footer a{color:var(--gold-light)}
.foot-credit{margin-top:10px;font-size:.72rem;color:#6f5560;letter-spacing:.02em}

@media(max-width:680px){
  :root{--logo-h:58px}
  header nav{display:none}
  /* logo al centro della barra come in home, con il menu appoggiato a destra */
  header{position:sticky;justify-content:center;padding:10px 5vw}
  .logo{margin:0 auto}
  .burger{display:flex;position:absolute;right:calc(5vw - 11px);top:50%;transform:translateY(-50%)}
  /* fondale decorativo in versione leggera: a piena risoluzione pesava
     243-464 KB e su rete lenta rubava banda alla foto della bottiglia */
  .wine-hero--red .wine-hero__backdrop,
  .wine-hero--rose .wine-hero__backdrop{
    background-image:url("../assets/img/vendemmia/04-grappolo-rosso-sm.webp?v=2");
  }
  .wine-hero--white .wine-hero__backdrop{
    background-image:url("../assets/img/vendemmia/03-uva-bianca-filari-sm.webp?v=2");
  }
  .back-link{margin-bottom:clamp(16px,3vw,24px)}
  .wine-hero{padding-top:clamp(20px,4vw,32px)}
  .wine-hero__grid{
    grid-template-columns:1fr;
    grid-template-rows:auto auto auto auto;
    text-align:left;
    min-height:auto;
    row-gap:clamp(12px,3vw,18px);
  }
  .bottle-stage{
    grid-column:1;
    grid-row:1;
    min-height:0;
    align-items:center;
    justify-content:center;
  }
  .bottle360-wrap{
    grid-column:1;
    grid-row:1;
    min-height:0;
    align-items:center;
  }
  .bottle360-wrap .bottle-stage{
    min-height:0;
  }
  .bottle360__controls{width:min(100%,260px);padding:0 2px}
  .bottle-stage img{
    height:min(44vh,340px);
    height:min(44svh,340px);
    width:auto;
    max-width:86vw;
    object-position:center center;
    transform:none;
    filter:drop-shadow(0 14px 22px rgba(0,0,0,.45));
  }
  .bottle-stage--shop-crop img{
    height:min(40vh,300px);
    height:min(40svh,300px);
    max-width:min(78vw,270px);
    transform:none;
  }
  .hero-head{
    grid-column:1;
    grid-row:2;
    padding-top:0;
  }
  .hero-foot{
    grid-column:1;
    grid-row:3;
  }
  .hero-foot .subtitle{max-width:none}
  .hero-tags{
    grid-column:1;
    grid-row:4;
  }
  .hero-actions{
    grid-column:1;
    grid-row:5;
    width:100%;
    margin-top:-4px;
    padding:14px 16px;
    border-radius:18px;
    flex-direction:column;
    align-items:flex-start;
    gap:10px;
  }
  .hero-actions--with-360{transform:none}
  .sheet-switch{width:100%;max-width:280px}
  .sheet-switch__btn{flex:1}
  .hero-head .eyebrow::after{display:none}
  .spec-grid{grid-template-columns:1fr}
}
