/* ==============================================================================
   SPAGNOLLI SPUMANTI — LE CREAZIONI (Scroll-Driven Reveal & 3D Carousel)
   - Sequenza scenografica:
     1. Stato iniziale (cima pagina): Una coltre di nuvole/nebbia opaca calda copre la scena.
        Una vignettatura/apertura radiale soffusa lascia intravedere unicamente l'etichetta
        della bottiglia centrale "DISÌO" (posizionata al 73% dell'altezza della bottiglia).
        Le bottiglie laterali, le montagne e i selettori sono velati.
     2. Durante lo scroll (Reveal progressivo): Le nuvole si diradano con dispersione radiale
        organica dall'etichetta verso l'esterno (mask-image ellittico espanso via GPU).
        Emergono le vette dolomitiche e la bottiglia Disìo (+10% più grande, scale 1.20).
     3. Flaconi equispaziati: Compaiono e scivolano dolcemente le due bottiglie laterali
        (Velour e Fr|Al), sempre perfettamente equispaziate sia in movimento che stabilizzate.
     4. Design architettonico a spigolo vivo: Box testuali, pannelli e controlli con angoli
        a 90° non stondati (border-radius: 0), essenziali e rigorosi.
     5. Rotazione del carosello 3D: Pienamente interattivo con click, frecce, tastiera e swipe touch.
   ============================================================================== */

@font-face {
  font-family: 'Spagnolli';
  font-style: normal;
  font-weight: bold;
  font-display: swap;
  src: url('../media/2020/09/Gabriela-Stencil-W00-Bold-1.ttf') format('truetype');
}

:root {
  --cr-bg: #fbfaf7;
  --cr-bg-warm: #f5f3ee;
  --cr-title: #1a1a1a;
  --cr-text: #3c3a37;
  --cr-sub: #7a7671;
  --cr-gold: #c5a059;
  --cr-gold-light: #e2a047;
  --cr-border: rgba(26, 26, 26, 0.14);
  --cr-font-title: 'Spagnolli', 'Playfair Display', Georgia, serif;
  --cr-font-serif: 'Playfair Display', Georgia, serif;
  --cr-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --cr-ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --cr-ease-cloud: cubic-bezier(0.25, 0.9, 0.35, 1);

  /* Variabili reattive per lo scroll-driven reveal (apertura centrata sull'etichetta) */
  --cr-reveal-p: 0;
  --cr-mask-rx: 105px;
  --cr-mask-ry: 75px;
  --cr-mask-cx: 50%;
  --cr-mask-cy: 61.3%; /* Centro esatto dell'etichetta DISÌO */
  --cr-blanket-opacity: 1;
  --cr-mountain-opacity: 0.25;
  --cr-side-opacity: 0;
  --cr-side-dist: 218px;
  --cr-side-scale: 0.72;
  --cr-ui-opacity: 0;
  --cr-ui-y: 20px;
}

body.page-creazioni {
  background-color: var(--cr-bg) !important;
  color: var(--cr-text);
  overflow-x: hidden;
}

/* ==============================================================================
   SEZIONE PRINCIPALE: SCENA IMMERSIVA CREAZIONI (PISTA DI SCROLL 220vh)
   ============================================================================== */
.cr-stage-section {
  position: relative;
  width: 100%;
  height: 220vh; /* Pista di scroll per l'apertura progressiva */
  box-sizing: border-box;
  background-color: var(--cr-bg);
  margin: 0;
  padding: 0;
  overflow: visible;
}

/* Contenitore Sticky 100vh ancorato in cima durante lo scroll */
.cr-stage-sticky {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  box-sizing: border-box;
  padding: 10px 24px 12px;
  background-color: var(--cr-bg);
  z-index: 2;
}

/* ------------------------------------------------------------------------------
   1. SFONDO FOTOGRAFICO DELLA MONTAGNA (Inquadratura panoramica dolomitica)
   Sfumatura continua e organica: nessun rettangolo o taglio visibile
   ------------------------------------------------------------------------------ */
.cr-mountain-backdrop {
  position: absolute;
  inset: 0;
  z-index: 1;
  overflow: hidden;
  pointer-events: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cr-mountain-backdrop picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  margin: 0;
  padding: 0;
}

.cr-mountain-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 42%;
  opacity: var(--cr-mountain-opacity, 0.25);
  transform: scale(1.0);
  transform-origin: center center;
  will-change: opacity, transform;
  transition: opacity 0.1s linear, transform 0.15s ease-out;
  /* Sfumatura organica radiale abbassata e allargata per abbracciare l'intera scena fino alla base */
  -webkit-mask-image: radial-gradient(ellipse 86% 85% at 50% 54%, black 50%, rgba(0, 0, 0, 0.90) 70%, rgba(0, 0, 0, 0.35) 88%, transparent 99%);
  mask-image: radial-gradient(ellipse 86% 85% at 50% 54%, black 50%, rgba(0, 0, 0, 0.90) 70%, rgba(0, 0, 0, 0.35) 88%, transparent 99%);
}

.cr-stage-section.is-revealed .cr-mountain-img {
  opacity: 1 !important;
}

/* Velatura atmosferica delicata */
.cr-mountain-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(251, 250, 247, 0.30) 0%, rgba(251, 250, 247, 0.02) 20%, rgba(251, 250, 247, 0.02) 75%, rgba(251, 250, 247, 0.35) 100%),
    rgba(251, 250, 247, 0.05);
  pointer-events: none;
}

/* ------------------------------------------------------------------------------
   2. MANTELLO DI NUVOLE ORGANICHE (SCROLL-DRIVEN REVEAL RADIALE DALL'ETICHETTA)
   ------------------------------------------------------------------------------ */
.cr-cloud-blanket {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
  overflow: hidden;
  opacity: var(--cr-blanket-opacity, 1);
  will-change: opacity, -webkit-mask-image, mask-image;
  transition: opacity 0.15s linear;
  -webkit-mask-image: radial-gradient(
    ellipse var(--cr-mask-rx, 105px) var(--cr-mask-ry, 75px) at var(--cr-mask-cx, 50%) var(--cr-mask-cy, 61.3%),
    transparent 0%,
    transparent 36%,
    rgba(0, 0, 0, 0.45) 66%,
    black 100%
  );
  mask-image: radial-gradient(
    ellipse var(--cr-mask-rx, 105px) var(--cr-mask-ry, 75px) at var(--cr-mask-cx, 50%) var(--cr-mask-cy, 61.3%),
    transparent 0%,
    transparent 36%,
    rgba(0, 0, 0, 0.45) 66%,
    black 100%
  );
}

.cr-blanket-backdrop {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse 85% 75% at 50% 48%,
    rgba(251, 250, 247, 0.98) 0%,
    rgba(248, 246, 240, 0.96) 55%,
    rgba(242, 239, 232, 0.94) 100%
  );
}

.cr-blanket-mist {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 45% at 20% 30%, rgba(255, 255, 255, 0.6) 0%, transparent 70%),
    radial-gradient(ellipse 55% 40% at 80% 65%, rgba(255, 255, 255, 0.5) 0%, transparent 70%);
  filter: blur(14px);
  -webkit-filter: blur(14px);
}

.cr-stage-section.is-revealed .cr-cloud-blanket {
  opacity: 0 !important;
  visibility: hidden !important;
  display: none !important;
  pointer-events: none !important;
}

/* ------------------------------------------------------------------------------
   3. INTESTAZIONE DELLA COLLEZIONE
   ------------------------------------------------------------------------------ */
.cr-header-block {
  position: relative;
  z-index: 25;
  text-align: center;
  max-width: 800px;
  margin: 0 auto 2px;
  padding: 2px 20px 2px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  opacity: 1;
  transform: translateY(0);
}

.cr-header-kicker {
  display: inline-block;
  font-family: var(--cr-font-serif);
  font-size: 10.5px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cr-gold);
  margin-bottom: 2px;
  font-weight: 600;
}

.cr-header-title {
  font-family: var(--cr-font-title);
  font-size: clamp(24px, 3.0vw, 34px);
  color: var(--cr-title);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0 0 3px;
  font-weight: 700;
}

.cr-header-intro {
  font-family: var(--cr-font-serif);
  font-size: clamp(13px, 1.35vw, 14.5px);
  color: #111111; /* Opzione 1: Ebano profondo nitido ad alto contrasto */
  font-weight: 500;
  line-height: 1.40;
  margin: 0 auto;
  max-width: 620px;
  font-style: italic;
  /* Glow etereo color nuvola: isola e illumina le lettere senza cornici */
  text-shadow: 0 1px 3px #ffffff, 0 0 16px rgba(255, 255, 255, 0.95);
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0;
  display: block;
  position: relative;
  z-index: 25;
}

/* ------------------------------------------------------------------------------
   4. ARENA DEL CAROSELLO: LE TRE BOTTIGLIE DAVANTI ALLA MONTAGNA
   ------------------------------------------------------------------------------ */
.cr-carousel-arena {
  position: relative;
  z-index: 8;
  width: 100%;
  max-width: 1140px;
  margin: 2px auto 2px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
  justify-content: center;
  opacity: 1;
  transform: translateY(0);
  background: transparent !important;
  background-color: transparent !important;
}

/* Palcoscenico delle bottiglie ampio e maestoso: respiro generoso e grande scala per foto e bottiglie */
.cr-bottles-stage {
  position: relative;
  width: 100%;
  max-width: 740px;
  height: clamp(380px, 46vh, 485px);
  display: flex;
  justify-content: center;
  align-items: flex-end;
  margin: 0 auto 2px;
}

.cr-stage-plinth {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  width: 480px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(197, 160, 89, 0.45) 50%, transparent);
  pointer-events: none;
}

/* RESET RIGOROSO ANTI-SFONDO VIOLA / COLORATO */
.cr-bottle-card,
.cr-bottle-card:hover,
.cr-bottle-card:focus,
.cr-bottle-card:focus-visible,
.cr-bottle-card:active,
.cr-bottle-card::before,
.cr-bottle-card::after,
.cr-bottle-card:hover::before,
.cr-bottle-card:hover::after,
.cr-bottle-wrapper,
.cr-bottle-wrapper:hover,
.cr-bottle-wrapper::before,
.cr-bottle-wrapper::after,
.cr-bottle-img,
.cr-bottle-img:hover {
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  outline: none !important;
  -webkit-tap-highlight-color: transparent !important;
}

/* Struttura della card bottiglia */
.cr-bottle-card {
  position: absolute;
  bottom: 12px;
  width: clamp(140px, 16vw, 185px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: center;
  cursor: pointer;
  padding: 0;
  margin: 0;
  transition: transform 0.65s var(--cr-ease), opacity 0.65s var(--cr-ease), filter 0.65s var(--cr-ease);
  will-change: transform, opacity;
}

.cr-bottle-wrapper {
  position: relative;
  height: 100%;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.cr-bottle-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  pointer-events: none;
  transition: filter 0.6s ease;
  user-select: none;
}

/* Ombra morbida sul pavimento */
.cr-bottle-shadow {
  position: absolute;
  bottom: -4px;
  width: 48%;
  height: 14px;
  background: radial-gradient(ellipse at center, rgba(30, 25, 20, 0.35) 0%, rgba(30, 25, 20, 0) 70%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.65s ease;
  will-change: transform, opacity;
}

/* Indicatore laterale discreto (spigoli vivi 90°) */
.cr-side-indicator {
  position: absolute;
  top: 25%;
  padding: 5px 12px;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(4px);
  border: 1px solid var(--cr-border);
  border-radius: 0 !important; /* Spigolo 90° non stondato */
  font-family: var(--cr-font-serif);
  font-size: 11px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cr-title);
  pointer-events: none;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}

/* Sospensione e fluttuazione della bottiglia */
.cr-bottle-card:hover .cr-bottle-wrapper,
.cr-bottle-card:focus-visible .cr-bottle-wrapper {
  transform: translateY(-16px);
}

.cr-bottle-card:hover .cr-bottle-shadow,
.cr-bottle-card:focus-visible .cr-bottle-shadow {
  transform: scale(0.76);
  opacity: 0.22;
}

.cr-bottle-card:hover .cr-bottle-img {
  filter: drop-shadow(0 22px 34px rgba(25, 20, 15, 0.28));
}

@keyframes cr-bottle-levitation {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* BOTTIGLIA CENTRALE ATTIVA (DISÌO): +10% PIÙ GRANDE (scale 1.20) */
.cr-bottle-card.is-active {
  transform: translate3d(0, 0, 0) scale(1.20);
  opacity: 1;
  z-index: 10;
  cursor: default;
}
.cr-bottle-card.is-active .cr-bottle-img {
  filter: drop-shadow(0 20px 34px rgba(25, 20, 15, 0.26));
  animation: cr-bottle-levitation 6s ease-in-out infinite;
}
.cr-bottle-card.is-active:hover .cr-bottle-img {
  animation-play-state: paused;
}
.cr-bottle-card.is-active .cr-bottle-shadow {
  opacity: 1;
  transform: scale(1.18);
}

/* BOTTIGLIE LATERALI: STATO INIZIALE / SCROLL PROGRESS (PERFETTAMENTE EQUISPAZIATE A ±218px) */
.cr-bottle-card.is-prev {
  transform: translate3d(calc(-1 * var(--cr-side-dist, 218px)), 0, 0) scale(var(--cr-side-scale, 0.72));
  opacity: var(--cr-side-opacity, 0);
  z-index: 5;
  pointer-events: none;
  will-change: transform, opacity;
}
.cr-bottle-card.is-prev .cr-bottle-img {
  filter: drop-shadow(0 10px 18px rgba(25, 20, 15, 0.16));
}
.cr-bottle-card.is-prev .cr-bottle-shadow {
  opacity: 0.65;
  transform: scale(0.82);
}

.cr-bottle-card.is-next {
  transform: translate3d(var(--cr-side-dist, 218px), 0, 0) scale(var(--cr-side-scale, 0.72));
  opacity: var(--cr-side-opacity, 0);
  z-index: 5;
  pointer-events: none;
  will-change: transform, opacity;
}
.cr-bottle-card.is-next .cr-bottle-img {
  filter: drop-shadow(0 10px 18px rgba(25, 20, 15, 0.16));
}
.cr-bottle-card.is-next .cr-bottle-shadow {
  opacity: 0.65;
  transform: scale(0.82);
}

/* QUANDO RIVELATO: BOTTIGLIE RIGOROSAMENTE EQUISPAZIATE (±218px dal centro esatto) */
.cr-stage-section.is-revealed .cr-bottle-card.is-prev {
  transform: translate3d(calc(-1 * var(--cr-side-dist, 218px)), 0, 0) scale(0.82);
  opacity: 0.88;
  pointer-events: auto;
}
.cr-stage-section.is-revealed .cr-bottle-card.is-prev:hover,
.cr-stage-section.is-revealed .cr-bottle-card.is-prev:focus-visible {
  opacity: 1;
  transform: translate3d(calc(-1 * var(--cr-side-dist, 218px)), -10px, 0) scale(0.86);
}
.cr-stage-section.is-revealed .cr-bottle-card.is-prev:hover .cr-side-indicator,
.cr-stage-section.is-revealed .cr-bottle-card.is-prev:focus-visible .cr-side-indicator {
  opacity: 1;
  transform: translateY(0);
}

.cr-stage-section.is-revealed .cr-bottle-card.is-next {
  transform: translate3d(var(--cr-side-dist, 218px), 0, 0) scale(0.82);
  opacity: 0.88;
  pointer-events: auto;
}
.cr-stage-section.is-revealed .cr-bottle-card.is-next:hover,
.cr-stage-section.is-revealed .cr-bottle-card.is-next:focus-visible {
  opacity: 1;
  transform: translate3d(var(--cr-side-dist, 218px), -10px, 0) scale(0.86);
}
.cr-stage-section.is-revealed .cr-bottle-card.is-next:hover .cr-side-indicator,
.cr-stage-section.is-revealed .cr-bottle-card.is-next:focus-visible .cr-side-indicator {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------------------------------------
   5. CONTROLLI DI NAVIGAZIONE E SELETTORI A SCHEDA (SPIGOLI VIVI 90°)
   ------------------------------------------------------------------------------ */
.cr-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 0 !important; /* Angoli a spigolo 90° non stondato */
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--cr-border);
  color: var(--cr-title);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 12;
  transition: all 0.3s ease;
  backdrop-filter: blur(5px);
  outline: none;
  opacity: var(--cr-ui-opacity, 0);
  pointer-events: none;
}

.cr-nav-btn:hover {
  background: #ffffff;
  border-color: var(--cr-gold);
  color: var(--cr-gold);
  transform: translateY(-50%) scale(1.06);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.cr-nav-btn:focus-visible {
  outline: 2px solid var(--cr-gold);
  outline-offset: 3px;
}

.cr-nav-btn.cr-nav-prev {
  left: max(12px, calc(50% - 270px));
}

.cr-nav-btn.cr-nav-next {
  right: max(12px, calc(50% - 270px));
}

.cr-nav-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  pointer-events: none;
}

.cr-stage-section.is-revealed .cr-nav-btn {
  opacity: 1 !important;
  pointer-events: auto !important;
}

/* Selettori a Tab (Casella con spigoli vivi 90°) */
.cr-tabs-group {
  display: flex;
  gap: 16px;
  margin: 2px 0 6px;
  padding: 5px 18px;
  background: rgba(251, 250, 247, 0.94);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(220, 215, 205, 0.7);
  box-shadow: 0 4px 18px rgba(25, 20, 15, 0.08);
  border-radius: 0 !important; /* Spigolo 90° non stondato */
  z-index: 10;
  position: relative;
  opacity: var(--cr-ui-opacity, 0);
  transform: translateY(var(--cr-ui-y, 20px));
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cr-stage-section.is-revealed .cr-tabs-group {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.cr-tab-trigger {
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important; /* Spigolo 90° non stondato */
  padding: 6px 12px;
  font-family: var(--cr-font-serif);
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--cr-sub);
  cursor: pointer;
  position: relative;
  transition: color 0.3s ease;
  outline: none;
  box-shadow: none !important;
}

.cr-tab-trigger::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--cr-gold);
  transform: translateX(-50%);
  transition: width 0.35s var(--cr-ease);
}

.cr-tab-trigger .cr-tab-num {
  font-family: var(--cr-font-title);
  font-size: 11px;
  color: var(--cr-gold);
  margin-right: 4px;
}

.cr-tab-trigger.is-active {
  color: var(--cr-title);
  font-weight: 600;
}

.cr-tab-trigger.is-active::after {
  width: 80%;
}

.cr-tab-trigger:focus-visible {
  outline: 2px solid var(--cr-gold);
  outline-offset: 2px;
}

/* ------------------------------------------------------------------------------
   6. SCHEDA EDITORIALE DELLA CREAZIONE ATTIVA (CASELLA CON SPIGOLI VIVI 90°)
   Abbassata verso il fondo per dare ampio respiro alla montagna e alle bottiglie.
   Layout orizzontale executive di prestigio, elegante e compatto in altezza.
   ------------------------------------------------------------------------------ */
.cr-editorial-panel {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 980px;
  margin: 4px auto 6px;
  min-height: unset;
  height: auto;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px 36px 14px;
  background: rgba(251, 250, 247, 0.94) !important;
  border: 1px solid rgba(220, 215, 205, 0.70);
  box-shadow: 0 10px 30px rgba(25, 20, 15, 0.08);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 0 !important; /* Spigolo 90° non stondato */
  opacity: var(--cr-ui-opacity, 0);
  transform: translateY(var(--cr-ui-y, 20px));
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.cr-stage-section.is-revealed .cr-editorial-panel {
  opacity: 1 !important;
  transform: translateY(0) !important;
  pointer-events: auto !important;
}

.cr-editorial-content {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  text-align: left;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.32s ease, transform 0.32s var(--cr-ease);
}

.cr-editorial-content.is-fading {
  opacity: 0;
  transform: translateY(8px);
}

.cr-editorial-info {
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.cr-editorial-header-row {
  display: flex;
  align-items: baseline;
  gap: 16px;
  margin-bottom: 4px;
}

.cr-wine-title {
  font-family: var(--cr-font-title);
  font-size: clamp(24px, 2.6vw, 30px);
  color: var(--cr-title);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0;
  line-height: 1;
  font-weight: 700;
}

.cr-wine-badge {
  display: inline-block;
  font-family: var(--cr-font-serif);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cr-gold);
  margin: 0;
  font-weight: 600;
}

.cr-wine-phrase {
  font-family: var(--cr-font-serif);
  font-size: 14px;
  color: var(--cr-text);
  line-height: 1.48;
  margin: 0;
  max-width: 660px;
  font-weight: 400;
  text-align: left;
}

.cr-wine-cta {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  background: transparent;
  border: 1px solid var(--cr-title);
  color: var(--cr-title);
  font-family: var(--cr-font-serif);
  font-size: 11.5px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  white-space: nowrap;
  border-radius: 0 !important; /* Spigolo 90° non stondato */
  transition: all 0.35s ease;
  position: relative;
  overflow: hidden;
  outline: none;
}

.cr-wine-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--cr-title);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--cr-ease);
  z-index: 1;
}

.cr-wine-cta span,
.cr-wine-cta svg {
  position: relative;
  z-index: 2;
  transition: color 0.3s ease, transform 0.3s ease;
}

.cr-wine-cta svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.cr-wine-cta:hover {
  color: #ffffff;
  border-color: var(--cr-title);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.cr-wine-cta:hover::before {
  transform: scaleX(1);
  transform-origin: left center;
}

.cr-wine-cta:hover svg {
  transform: translateX(4px);
}

.cr-wine-cta:focus-visible {
  outline: 2px solid var(--cr-gold);
  outline-offset: 3px;
}

/* Indicatore di scroll discreto */
.cr-scroll-cue {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  z-index: 25;
  cursor: pointer;
  opacity: calc(1 - var(--cr-reveal-p, 0) * 3.5);
  transition: opacity 0.2s ease;
  pointer-events: auto;
}

.cr-cue-text {
  font-family: var(--cr-font-serif);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cr-sub);
}

.cr-cue-line {
  width: 1px;
  height: 20px;
  background: linear-gradient(180deg, var(--cr-gold) 0%, transparent 100%);
  animation: cr-cue-pulse 1.8s ease-in-out infinite;
}

@keyframes cr-cue-pulse {
  0%, 100% { transform: scaleY(0.6); opacity: 0.4; }
  50% { transform: scaleY(1.0); opacity: 1; }
}

.cr-stage-section.is-revealed .cr-scroll-cue {
  display: none !important;
  pointer-events: none !important;
}

/* ------------------------------------------------------------------------------
   7. SEZIONE CONTESTUALE: INVITO IN CANTINA (SPIGOLI VIVI 90°)
   ------------------------------------------------------------------------------ */
.cr-cantina-banner {
  position: relative;
  width: 100%;
  background: var(--cr-bg-warm);
  border-top: 1px solid rgba(26, 26, 26, 0.06);
  padding: 50px 24px;
  text-align: center;
  z-index: 5;
}

.cr-cantina-inner {
  max-width: 680px;
  margin: 0 auto;
}

.cr-cantina-kicker {
  font-family: var(--cr-font-serif);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--cr-gold);
  margin-bottom: 8px;
  display: block;
}

.cr-cantina-title {
  font-family: var(--cr-font-title);
  font-size: clamp(22px, 3.2vw, 32px);
  color: var(--cr-title);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 10px;
}

.cr-cantina-text {
  font-family: var(--cr-font-serif);
  font-size: 15px;
  color: var(--cr-sub);
  line-height: 1.6;
  margin: 0 auto 20px;
}

.cr-cantina-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--cr-font-serif);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--cr-title);
  text-decoration: none;
  border-bottom: 1px solid var(--cr-gold);
  padding-bottom: 4px;
  transition: color 0.3s ease, border-color 0.3s ease;
}

.cr-cantina-link:hover {
  color: var(--cr-gold);
}

/* ------------------------------------------------------------------------------
   8. COMPORTAMENTO RESPONSIVE (Smartphone & Tablet)
   ------------------------------------------------------------------------------ */
@media (max-width: 860px) {
  .cr-stage-section {
    height: 180vh;
  }

  .cr-stage-sticky {
    padding: 12px 14px 14px;
    justify-content: space-between;
  }

  .cr-header-block {
    padding: 4px 14px 2px;
    margin-bottom: 2px;
  }

  .cr-bottles-stage {
    max-width: 540px;
    height: clamp(340px, 44vh, 420px);
  }

  .cr-stage-section.is-revealed .cr-bottle-card.is-active {
    transform: translate3d(0, 0, 0) scale(1.14);
  }

  .cr-stage-section.is-revealed .cr-bottle-card.is-prev {
    transform: translate3d(calc(-1 * var(--cr-side-dist, 160px)), 0, 0) scale(0.78);
  }

  .cr-stage-section.is-revealed .cr-bottle-card.is-next {
    transform: translate3d(var(--cr-side-dist, 160px), 0, 0) scale(0.78);
  }

  .cr-editorial-panel {
    max-width: 95%;
    padding: 14px 20px 14px;
    margin: 4px auto 6px;
  }

  .cr-editorial-content {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }

  .cr-editorial-info {
    align-items: center;
  }

  .cr-editorial-header-row {
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin-bottom: 4px;
  }

  .cr-wine-phrase {
    text-align: center;
    font-size: 13.5px;
  }

  .cr-nav-btn {
    width: 40px;
    height: 40px;
  }

  .cr-nav-btn.cr-nav-prev {
    left: max(8px, calc(50% - 225px));
  }

  .cr-nav-btn.cr-nav-next {
    right: max(8px, calc(50% - 225px));
  }
}

@media (max-width: 600px) {
  .cr-stage-section {
    height: 170vh;
  }

  .cr-stage-sticky {
    padding: 10px 10px 14px;
    justify-content: space-between;
  }

  .cr-header-block {
    padding: 2px 10px;
    margin-bottom: 2px;
  }

  .cr-header-kicker {
    font-size: 9.5px;
    letter-spacing: 0.18em;
    margin-bottom: 1px;
  }

  .cr-header-title {
    font-size: 24px;
    margin: 0 0 2px;
  }

  .cr-header-intro {
    font-size: 12.5px;
    line-height: 1.38;
    max-width: 340px;
  }

  .cr-bottles-stage {
    max-width: 360px;
    height: 330px;
    margin: 0 auto 2px;
  }

  .cr-bottle-card {
    width: 120px;
  }

  .cr-stage-section.is-revealed .cr-bottle-card.is-active {
    transform: translate3d(0, 0, 0) scale(1.10);
  }

  .cr-stage-section.is-revealed .cr-bottle-card.is-prev {
    transform: translate3d(calc(-1 * var(--cr-side-dist, 110px)), 0, 0) scale(0.70);
    opacity: 0.78;
  }

  .cr-stage-section.is-revealed .cr-bottle-card.is-next {
    transform: translate3d(var(--cr-side-dist, 110px), 0, 0) scale(0.70);
    opacity: 0.78;
  }

  .cr-side-indicator {
    display: none;
  }

  .cr-tabs-group {
    gap: 6px;
    padding: 4px 12px;
    margin: 2px 0 4px;
  }

  .cr-tab-trigger {
    padding: 4px 8px;
    font-size: 11px;
    letter-spacing: 0.10em;
  }

  .cr-editorial-panel {
    max-width: 96%;
    padding: 12px 14px 14px;
    min-height: unset;
    height: auto;
    margin: 2px auto 4px;
  }

  .cr-editorial-content {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }

  .cr-editorial-info {
    align-items: center;
  }

  .cr-editorial-header-row {
    flex-direction: column;
    align-items: center;
    gap: 2px;
    margin-bottom: 3px;
  }

  .cr-wine-title {
    font-size: 22px;
    margin: 0;
  }

  .cr-wine-badge {
    font-size: 10px;
    letter-spacing: 0.14em;
    margin: 0;
  }

  .cr-wine-phrase {
    font-size: 12.5px;
    line-height: 1.42;
    margin: 0;
    text-align: center;
  }

  .cr-wine-cta {
    padding: 10px 22px;
    font-size: 11px;
    letter-spacing: 0.15em;
  }
  }

  .cr-mountain-img {
    object-position: center 46%;
    -webkit-mask-image: radial-gradient(ellipse 92% 88% at 50% 52%, black 50%, rgba(0, 0, 0, 0.90) 72%, rgba(0, 0, 0, 0.35) 90%, transparent 99%);
    mask-image: radial-gradient(ellipse 92% 88% at 50% 52%, black 50%, rgba(0, 0, 0, 0.90) 72%, rgba(0, 0, 0, 0.35) 90%, transparent 99%);
  }

  .cr-wine-cta {
    padding: 11px 22px;
    font-size: 11px;
    letter-spacing: 0.16em;
  }

  .cr-nav-btn {
    width: 36px;
    height: 36px;
  }

  .cr-nav-btn.cr-nav-prev {
    left: 4px;
  }

  .cr-nav-btn.cr-nav-next {
    right: 4px;
  }
}

/* ------------------------------------------------------------------------------
   9. ACCESSIBILITÀ: PREFERS-REDUCED-MOTION
   ------------------------------------------------------------------------------ */
@media (prefers-reduced-motion: reduce) {
  .cr-stage-section {
    height: auto !important;
  }

  .cr-stage-sticky {
    position: relative !important;
    height: auto !important;
  }

  .cr-cloud-blanket {
    display: none !important;
  }

  .cr-mountain-img {
    opacity: 1 !important;
  }

  .cr-bottle-card.is-active {
    transform: translate3d(0, 0, 0) scale(1.20) !important;
  }

  .cr-bottle-card.is-prev {
    transform: translate3d(-85%, 0, 0) scale(0.82) !important;
    opacity: 0.88 !important;
    pointer-events: auto !important;
  }

  .cr-bottle-card.is-next {
    transform: translate3d(85%, 0, 0) scale(0.82) !important;
    opacity: 0.88 !important;
    pointer-events: auto !important;
  }

  .cr-nav-btn,
  .cr-tabs-group,
  .cr-editorial-panel {
    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
  }

  .cr-scroll-cue {
    display: none !important;
  }

  .cr-bottle-card.is-active .cr-bottle-img {
    animation: none !important;
  }
}

/* ------------------------------------------------------------------------------
   10. FALLBACK STATICO SENZA JAVASCRIPT (.no-js)
   ------------------------------------------------------------------------------ */
.no-js .cr-stage-section {
  height: auto !important;
}

.no-js .cr-stage-sticky {
  position: relative !important;
  height: auto !important;
}

.no-js .cr-cloud-blanket,
.no-js .cr-scroll-cue,
.no-js .cr-bottles-stage,
.no-js .cr-tabs-group,
.no-js .cr-nav-btn,
.no-js .cr-editorial-panel {
  display: none !important;
}

.no-js .cr-mountain-img {
  opacity: 1 !important;
}

.cr-nojs-fallback {
  display: none;
}

.no-js .cr-nojs-fallback {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 30px;
  width: 100%;
  max-width: 1100px;
  margin: 30px auto;
  z-index: 5;
  position: relative;
}

.cr-nojs-card {
  background: rgba(255, 255, 255, 0.94);
  padding: 30px 20px;
  border-radius: 0 !important; /* Spigolo 90° non stondato */
  text-align: center;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}

.cr-nojs-card img {
  height: 280px;
  object-fit: contain;
  margin-bottom: 15px;
}

.cr-nojs-card .cr-wine-badge {
  margin-bottom: 6px;
}

.cr-nojs-card .cr-wine-title {
  font-size: 26px;
  margin-bottom: 12px;
}

.cr-nojs-card .cr-wine-phrase {
  font-size: 14px;
  margin-bottom: 20px;
  color: var(--cr-text);
}
