/* ============================================================
   SANTONI — L'Aperitivo di Firenze · Landing
   CSS dedicato (indipendente dalla coming soon style.css)
   ============================================================ */

/* ---------- Fonts ---------- */
@font-face {
  font-family: "Mostra Nuova";
  src: url("../fonts/MostraNuova.ttf") format("truetype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Mostra Nuova";
  src: url("../fonts/MostraNuova-Bold.ttf") format("truetype");
  font-weight: 700 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/BRANDON%20GROTESQUE/HvDTrial_Brandon_Grotesque_light-BF64a625c93e709.otf") format("opentype");
  font-weight: 300; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/BRANDON%20GROTESQUE/HvDTrial_Brandon_Grotesque_regular-BF64a625c9311e1.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/BRANDON%20GROTESQUE/HvDTrial_Brandon_Grotesque_medium-BF64a625c84a521.otf") format("opentype");
  font-weight: 500 600; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Brandon Grotesque";
  src: url("../fonts/BRANDON%20GROTESQUE/HvDTrial_Brandon_Grotesque_bold-BF64a625c9151d5.otf") format("opentype");
  font-weight: 700 900; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Snell Roundhand";
  src: url("../fonts/snell-roundhand/SnellBT-Regular.otf") format("opentype");
  font-weight: 400; font-style: normal; font-display: swap;
}
@font-face {
  font-family: "Snell Roundhand";
  src: url("../fonts/snell-roundhand/SnellBT-Bold.otf") format("opentype");
  font-weight: 700; font-style: normal; font-display: swap;
}

/* ---------- Tokens ---------- */
:root {
  --green:      #07351f;
  --green-deep: #06301c;
  --pink:       #F9C8D0;
  --pink-soft:  #f9e9ec;
  --peach:      #fbe2d6;
  --peach-soft: #fcece3;
  --coral:      #ee8b68;
  --coral-deep: #e07a55;
  --rosetto :   #F1B8AB;    
  --brown:      #905D58;
  --cream:      #fff8f5;
    --cornice : #A2645D;
    --bianco : #ffffff;

  /* Adobe Fonts (kit iws7dwa) prima, font locali come fallback. */
  --ff-deco:   mostra-nuova, "Mostra Nuova", Georgia, serif;
  --ff-script: snell-roundhand-lt-std, "Snell Roundhand", "Mostra Nuova", cursive;
  --ff-body:   brandon-grotesque, "Brandon Grotesque", system-ui, -apple-system, "Segoe UI", sans-serif;

  --topbar-h:  clamp(3.6rem, 6vw, 4.6rem);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  color: var(--green);
  background: var(--pink);
  font-family: var(--ff-body);
  font-weight: 400;
  text-rendering: geometricPrecision;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

.kickvision { color:var(--pink);}
.rosetto {color:var(--rosetto);}

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

.container, .container-lg, .container-md, .container-sm, .container-xl, .container-xxl {max-width:80vw}

/* ---------- Helpers ---------- */
.ff-deco   { font-family: var(--ff-deco); }
.ff-script { font-family: var(--ff-script); font-style: normal; }

.kicker {
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: clamp(.74rem, 1vw, .95rem);
  letter-spacing: .26em;
  text-transform: uppercase;
  margin: 0 0 clamp(1rem, 2vw, 1.6rem);
}
.kicker.green { color: var(--green); }
.kicker.coral { color: var(--coral); }
.kicker.cream { color: var(--cream); }

/* Deco display headline */
.deco-title {
  font-family: var(--ff-deco);
  font-weight: 700;
  line-height: .98;
  letter-spacing: .01em;
  text-transform: uppercase;
  margin: 0;
}
.deco-title .script,
.script {
  font-family: var(--ff-script);
  font-weight: 400;
  text-transform: none;
  letter-spacing: .01em;
}

/* Diamond ornament */
.diamond {
  display: inline-block;
  width: 11px; height: 11px;
  border: 1px solid var(--coral);
  background: transparent;
  transform: rotate(45deg);
}
.rule-diamond {
  display: flex; align-items: center; gap: 0;
  color: var(--coral);
}

.diamond.verde {
  display: inline-block;
  width: 11px; height: 11px;
  border: 1px solid var(--green);
  background: transparent;
  transform: rotate(45deg);
}
.rule-diamond.verde {
  display: flex; align-items: center; gap: 0;
  color: var(--green);
}

.rule-diamond::before,
.rule-diamond::after {
  content: ""; flex: 1 1 auto;
  height: 1px; background: currentColor; opacity: .55;
}
.rule-diamond .diamond {
  flex: 0 0 auto; margin: 0 .9rem;
  background: currentColor; border-color: currentColor;
}

.rule-diamond.verde .diamond {
  flex: 0 0 auto; margin: 0 .9rem;
  background: transparent; border-color: currentColor;
}

/* ============================================================
   Header
   ============================================================ */
.site-topbar {
  background: var(--green);
  height: var(--topbar-h);
  display: flex;
  align-items: center;
}
.site-topbar .container { width: 100%; }
.site-topbar .brand {
  display: inline-block;
  font-family: var(--ff-deco);
  font-weight: 700;
  font-size: clamp(1.4rem, 2.6vw, 2rem);
  letter-spacing: .16em;
  color: var(--cream);
  text-decoration: none;
  line-height: 1;
}
.site-topbar .brand:hover { color: var(--pink); }

/* ============================================================
   Hero
   ============================================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  text-align: center;
  background-color: var(--pink);
  background-image: url("../img/sfondo_rosa.webp");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

/* Desktop / tablet: FIRST screen = only the bottle at 100vh; the
   "Feel Italy, Sip Florence" payoff sits BELOW, revealed on scroll. */
.hero-image {
  flex-direction: column;
  align-items: center;
  padding: 0;
}
/* first screen: the bottle composition, one viewport tall */
.hero-stage {
  position: relative;
  width: 100%;
  height: calc(100svh - var(--topbar-h));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: clamp(1rem, 2vh, 1.5rem) clamp(1rem, 3vw, 2rem);
  /* UNICO valore da regolare: larghezza della bottiglia (scala con lo schermo).
     Più alto = più grande. L'altezza segue il rapporto dell'immagine (≈2.05:1)
     e non supera mai i 100vh grazie al cap in calc(). */
  --bottle-w: 100vw;
}
.hero-bottle-stack {
  position: relative;
  /* larghezza guidata da --bottle-w, ma limitata così l'altezza non sfora lo
     schermo (image ratio ≈2.05:1 → height = width / 2.05). */
  width: min(var(--bottle-w), calc((100svh - var(--topbar-h)) * 1.84));
  max-width: 100%;
  aspect-ratio: 1920 / 938;
  margin: 0;
  /* NB: no transform / opacity / will-change / isolation here, or the
     reflection's mix-blend-mode:multiply would blend against this box
     (transparent) instead of the pink hero background. */
}
.hero-bottle-reflection,
.hero-bottle-base {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.hero-bottle-reflection { z-index: 1; mix-blend-mode: multiply; }
.hero-bottle-base { z-index: 2; }

/* scroll cue (first screen has no text) */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: clamp(1rem, 3.5vh, 2.4rem);
  transform: translateX(-50%);
  z-index: 4;
  color: var(--brown);
  font-size: 1.7rem;
  line-height: 1;
  text-decoration: none;
  animation: heroScrollBounce 1.8s ease-in-out infinite;
}
.hero-scroll:hover { color: var(--coral); }
@keyframes heroScrollBounce {
  0%, 100% { transform: translate(-50%, 0); }
  50%      { transform: translate(-50%, 8px); }
}
@media (prefers-reduced-motion: reduce) { .hero-scroll { animation: none; } }

/* second screen: the payoff, below the fold */
.hero-payoff {
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding: clamp(1rem, 15vh, 3rem) 1rem clamp(1rem, 10vh, 3rem);
}
.payoff {
  color: var(--brown);
  font-family: var(--ff-deco);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .05em;
  line-height: 1.05;
  font-size: clamp(3.3rem, 3.4vw, 4.5rem);
  margin: 0;
}
.payoff em {
  font-family: var(--ff-script);
  font-weight: 400;
  font-style: normal;
  text-transform: none;
  letter-spacing: .02em;
}

/* Mobile: portrait poster */
.hero-image-mobile {
  min-height: calc(100svh - var(--topbar-h));
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 2rem);
}
.hero-image-mobile img {
  width: auto;
  max-width: min(100%, 460px);
  max-height: calc(100svh - var(--topbar-h) - 2rem);
  height: auto;
  display: block;
  margin: 0 auto;
  will-change: transform;
}
.hero-payoff .script {
  font-family: var(--ff-script);
  text-transform: none;
  letter-spacing: .02em;
  font-weight: 400;
}

/* ============================================================
   Prelude
   ============================================================ */
.sec-prelude {
  /* gradiente coral semitrasparente sopra una base bianca */
  background:
    linear-gradient(
      180deg,
      rgba(252, 147, 111, 0.20) 0%,
      rgba(252, 147, 111, 0.46) 100%
    ),
    #ffffff;
  padding: clamp(3rem, 7vw, 6.5rem) 0;
}
.prelude-title {
  color: var(--coral);
  font-size: clamp(2.4rem, 6vw, 4.6rem);
}
.prelude-sub {
  color: var(--green);
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 1rem;
}
.body-copy {
  color: var(--brown);
  font-weight: 400;
  font-size: clamp(1.05rem, 1.35vw, 1.45rem);
  line-height: 1.55;
  margin: 0 0 .9rem;
}
.framed {
  padding: 0px;
  border: 5px solid var(--cornice);
  background: transparent;
}
.framed img { display: block; width: 100%; }

/* ============================================================
   Vision band
   ============================================================ */
.sec-vision {
  background: var(--green);
  padding: clamp(3rem, 6vw, 5rem) 0;
}
.vision-title {
  font-size: clamp(1.7rem, 4.2vw, 3.4rem);
  color: var(--pink);
  line-height: 1.08;
}
.vision-title .em-coral { color: var(--coral); }
.vision-title .script   { color: var(--pink); }

/* ============================================================
   Glass
   ============================================================ */
.sec-glass {
  background-color: var(--pink);
  background-image: url("../img/sfondo_rosa.webp");
  background-size: cover;
  background-position: center;
  padding: clamp(3rem, 7vw, 6.5rem) 0;
}
.glass-title {
  color: var(--green);
  font-size: clamp(3rem, 4.6vw, 4.6rem);
}
.glass-intro {
  color: var(--brown);
  max-width: 40ch;
  margin: 1.2rem auto 0;
  font-size: clamp(1.05rem, 1.3vw, 1.4rem);
  line-height: 1.5;
}
/* 3-column layout: features · bottle · features */
.glass-grid { margin-top: clamp(1.5rem, 4vw, 3.5rem); }

/* Desktop: columns keep their fixed 33.33% width (so they never wrap),
   and it's the feature CONTENT that overhangs toward the centre via a
   negative margin. The bottle column stays perfectly centered.
   --glass-overlap = quanto sporge il contenuto verso il centro, per lato. */
@media (min-width: 992px) {
  .glass-grid { --glass-overlap: clamp(1.5rem, 3.5vw, 4rem); }
  .glass-col { position: relative; }
  /* wider centre column, narrower side columns (must total 100% → no wrap) */
  .glass-col--bottle { z-index: 1; width: 40%; }
  .glass-col--left,
  .glass-col--right { z-index: 2; width: 30%; }
  .glass-col--left  .feature { margin-right: calc(-1 * var(--glass-overlap)); }
  .glass-col--right .feature { margin-left:  calc(-1 * var(--glass-overlap)); }
}
.glass-bottle {
  width: auto;
  max-width: 100%;
  max-height: clamp(460px, 90vh, 1200px);
  height: auto;
  margin: 0 auto;
  display: block;
  will-change: transform;
}

.feature { margin-bottom: clamp(2rem, 3.5vw, 3rem); }
.feature:last-child { margin-bottom: 0; }
.feature-rule {
  display: block;
  height: 1px;
  width: 100%;
  background: var(--coral);
  opacity: .75;
  margin-bottom: clamp(.9rem, 1.6vw, 1.3rem);
}
.feature {
  --d-size: 12px;
  --d-gap: .9rem;   /* distanza rombo ↔ bordo del testo */
}
.feature h3 {
  position: relative;
  display: block;
  line-height: 1.2;
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: clamp(1rem, 1.15vw, 1.28rem);
  margin: 0 0 .6rem;
}
/* rombo a sbalzo FUORI dal box, alla quota della prima riga del titolo */
.feature h3 .diamond {
  position: absolute;
  top: .6em;
  width: var(--d-size); height: var(--d-size);
  background: var(--coral);
  border-color: var(--coral);
  transform: translateY(-50%) rotate(45deg);
}
.feature--left  h3 .diamond { left:  calc(-1 * (var(--d-size) + var(--d-gap))); right: auto; }
.feature--right h3 .diamond { right: calc(-1 * (var(--d-size) + var(--d-gap))); left: auto; }
.feature p {
  color: var(--brown);
  font-size: clamp(1rem, 1.15vw, 1.28rem);
  line-height: 1.5;
    font-weight: 700;
  margin: 0;
    margin-top:10px;
}

/* Left column: text left, diamond hanging outside on the left */
.feature--left { text-align: left; }
/* Right column: text right, diamond hanging outside on the right */
.feature--right { text-align: right; }

/* ============================================================
   Signature
   ============================================================ */
.sec-signature {
   background:
    linear-gradient(
      180deg,
      rgba(252, 147, 111, 0.20) 0%,
      rgba(252, 147, 111, 0.46) 100%
    ),
    #ffffff;
  padding: clamp(3rem, 7vw, 6.5rem) 0;
}
.signature-title {
  color: var(--coral);
  font-size: clamp(3rem, 4.4vw, 4.5rem);
  line-height: 1.05;
}
/* The script word ("come") uses Snell Roundhand, whose ascent+descent metrics
   are taller than the display font's — so any line containing it grew ~3px and
   the vertical rhythm looked uneven (very visible once it wraps on mobile).
   Making it an inline-block with its own line-height stops it inflating the
   line box, so every line sits on the same baseline grid. */
.signature-title .script {
  display: inline-block;
  line-height: 1;
  vertical-align: baseline;
}
/* Each phrase is its own block so it reads as one group; words wrap tightly
   inside it, and a clear gap separates phrase 1 from phrase 2. */
.signature-title .sig-phrase { display: block; }
.signature-title .sig-phrase + .sig-phrase { margin-top: 0.55em; }
.cap-title {
  color: var(--green);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .16em;
  font-size: clamp(.92rem, 1.1vw, 1.15rem);
  margin: 1rem 0 .5rem;
}
.cap-copy {
  color: var(--brown);
  font-size: clamp(1rem, 1.15vw, 1.28rem);
  line-height: 1.5;
  margin: auto;
  max-width: 34ch;
}
.signature-close {
  color: var(--green);
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: clamp(.9rem, 1.1vw, 1.2rem);
  line-height: 1.6;
  margin: clamp(2.2rem, 4vw, 3.4rem) 0 0;
}

/* ============================================================
   Harmony
   ============================================================ */
.sec-harmony {
  background: var(--green);
  color: var(--cream);
  padding: clamp(3rem, 7vw, 6.5rem) 0 0;
}
.harmony-title {
  font-size: clamp(2.9rem, 6vw, 6rem);
  color: var(--pink);
  line-height: .96;
}
.harmony-title .script {  color: var(--coral);
  display: inline-block;
  line-height: .3;                              /* riduce l'altezza di riga di "over" */
  margin-top: clamp(-2rem, -1.8vw, -0.45rem);   /* la tira su, verso "Harmony" */
  margin-bottom: clamp(-0.6rem, -1.1vw, -0.25rem); /* e su "Intensity" */ }


.harmony-sub {
  color: var(--pink);
  font-style: italic;
  font-weight: 700;
  font-size: clamp(1.8rem, 1.6vw, 2.2rem);
  line-height: 1.35;
  margin: clamp(1.6rem, 3vw, 2.4rem) 0 clamp(1.6rem, 3vw, 2.4rem);
    max-width: 50%;
}
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border: 2px solid var(--pink);
  max-width: 520px;
}
.stats > div {
  padding: 1rem 1.1rem;
  border-right: 2px solid var(--pink);
}
.stats > div:last-child { border-right: 0; }
.stats .num {
  font-family: var(--ff-deco);
  font-weight: 300;
    color: var(--pink);
  font-size: clamp(2rem, 3vw, 2.8rem);
  letter-spacing: .04em;
  line-height: 1;
  margin-bottom: .5rem;
}
.stats .lbl {
  font-size: .75rem;
    font-weight: 500;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #fff;
  line-height: 1.3;
}
.harmony-bullets {
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 2rem;
  font-size: .9rem;
  color: rgba(255,248,245,.9);
}
.harmony-bullets li { display: flex; align-items: center; gap: .6rem; }
.sec-harmony .harmony-bullets .diamond { width: 8px; height: 8px; background: var(--bianco); border-color: var(--bianco); }
.harmony-bullets .diamond { width: 8px; height: 8px; background: var(--coral); border-color: var(--coral); }

/* tasting notes */
.tasting-item + .tasting-item { margin-top: clamp(1.4rem, 2.4vw, 2rem); }
.tasting-note {
  color: var(--cream);
  font-weight: 300;
  font-size: clamp(1.3rem, 2.2vw, 1.9rem);
  line-height: 1.12;
  margin: 0;
}
.tasting-sep { margin: clamp(1.4rem, 2.4vw, 2rem) 0 .5rem; }
.tasting-lbl {
  color: var(--coral);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: .66rem;
  margin: 0 0 .8rem;
}

/* dotted diamond divider */
.dot-diamond-row {
  height: 26px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  background-image: radial-gradient(var(--coral) 1.5px, transparent 2px);
}
.dot-diamond-strip {
  display: flex; justify-content: center; gap: 14px;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  color: var(--coral);
  overflow: hidden;
}
.dot-diamond-strip .diamond {
  width: 7px; height: 7px; background: currentColor; border-color: currentColor;
  flex: 0 0 auto;
}

/* ============================================================
   Footer
   ============================================================ */
.site-footer {  background:
    linear-gradient(
      180deg,
      rgba(249, 200, 208, 1.00) 0%,
      rgba(252, 147, 111, 0.46) 100%
    ),
    #ffffff;}
.footer-top {
   background:
    linear-gradient(
      180deg,
      rgba(249, 200, 208, 1.00) 0%,
      rgba(252, 147, 111, 0.46) 100%
    ),
    #ffffff;
  color: var(--green);
  text-align: center;
  padding: clamp(2.6rem, 5vw, 4rem) 0 clamp(2.2rem, 4vw, 3rem);
}
.footer-brand {
  font-family: var(--ff-deco);
  font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 3rem);
  letter-spacing: .14em;
  color: var(--green);
  text-decoration: none;
  display: inline-block;
}
.footer-follow {
  color: var(--coral);
  letter-spacing: .04em;
  font-size: clamp(1.95rem, 1.4vw, 2.15rem);
  margin: 2.4rem 0 3.4rem;
}
.footer-follow a { color: var(--coral); text-decoration: none; font-weight: 700; }
.footer-follow a:hover { text-decoration: underline; }
.footer-address {
  font-style: normal;
  line-height: 1.7;
  letter-spacing: .04em;
  font-size: clamp(1.0rem, 1.1vw, 1.15rem);
  color: var(--green);
  margin: 0 0 1.2rem;
}
.footer-address strong { text-transform: uppercase; letter-spacing: .1em; }
.footer-contacts a {
  color: var(--green);
  text-decoration: none;
  letter-spacing: .04em;
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
}
.footer-contacts a:hover { text-decoration: underline; }
.footer-legal {
  
}
.footer-legal a {
  color: var(--green);
  text-decoration: none;
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .72rem;
  display: block;
  margin: .35rem 0;
}
.footer-legal a:first-child { font-weight: 700; letter-spacing: .14em; }
.footer-legal a:hover { text-decoration: underline; }

.footer-funding {
  background: #fff;
  padding: clamp(1.2rem, 2.4vw, 1.8rem) 0;
}
.footer-funding .funding-note {
  color: #8a8a8a;
  font-size: .72rem;
  letter-spacing: .04em;
  margin: 0;
  text-align: center;
}

/* ============================================================
   Reveal animation base states (JS toggles them)
   ============================================================ */
[data-reveal] { opacity: 0; }
.reveal-ready [data-reveal] {
  transform: translateY(28px);
}
.is-visible[data-reveal],
.is-visible [data-reveal] { opacity: 1; transform: none; }

/* If JS/GSAP unavailable or reduced motion → show everything */
.no-anim [data-reveal] { opacity: 1 !important; transform: none !important; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 991.98px) {
  /* stack: bottle on top, all features left-aligned with diamond first */
  .feature--right { text-align: left; }
  .feature--right h3 .diamond { left: calc(-1 * (var(--d-size) + var(--d-gap))); right: auto; }
  .glass-bottle { margin: 1rem auto 2.5rem; max-height: 60vh; }
  .glass-grid { margin-top: clamp(1rem, 3vw, 2rem); }
  /* stacked: the right column joins the left one — give it the same gap
     features have between each other (its first feature has no top margin) */
  .glass-col--right { margin-top: clamp(2rem, 3.5vw, 3rem); }
}
@media (max-width: 575.98px) {
  .hero-bottle { width: 92%; }
  .harmony-bullets { gap: .5rem 1.2rem; }
  /* stats: da 3 colonne strette a colonna singola impilata (leggibili) */
  .stats {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
  .stats > div {
    border-right: 0;
    border-bottom: 2px solid var(--pink);
    display: flex;
    align-items: baseline;
    gap: .8rem;
    padding: .8rem 1.1rem;
  }
  .stats > div:last-child { border-bottom: 0; }
  .stats .num { margin-bottom: 0; flex: 0 0 auto; min-width: 3.4em; }
  .stats .lbl { line-height: 1.2; }
}

/* ============================================================
   Age gate
   ============================================================ */
.age-gate {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(1rem, 4vw, 3rem);
  background-color: var(--pink);
  background-image: url("../img/texture-intro.webp");
  background-repeat: repeat;         /* si ripete all'occorrenza */
  background-size: 1000px auto;       /* più fitta: abbassa il valore per infittire */
  background-position: center;
  transition: opacity .4s ease;
}
.age-gate.is-hidden { opacity: 0; pointer-events: none; }
html[data-age="ok"] .age-gate { display: none; }

.age-gate__card {
  width: min(680px, 100%);
  max-height: calc(100svh - 2rem);
  overflow-y: auto;
  background: #fdf2f1;
  padding: clamp(2rem, 5vw, 3.75rem) clamp(1.5rem, 5vw, 4rem);
  text-align: center;
  box-shadow: 0 30px 80px rgba(7, 53, 31, .16);
}

.age-gate__logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .12em;
  color: var(--green);
  margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}
.ag-brand {
  font-family: var(--ff-deco);
  font-weight: 700;
  font-size: clamp(2.4rem, 6vw, 3.6rem);
  letter-spacing: .08em;
  line-height: 1;
}
.ag-line {
  font-family: var(--ff-deco);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .28em;
  font-size: clamp(1rem, 2vw, 1.5rem);
  line-height: 1;
}
.ag-script {
  font-family: var(--ff-script);
  font-size: clamp(1.9rem, 4.5vw, 2.9rem);
  line-height: 1;
}

.age-gate__q {
  color: var(--green);
  font-family: var(--ff-deco);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  line-height: 1.25;
  margin: 0 0 clamp(1.4rem, 3vw, 2rem);
}

.age-gate__buttons {
  display: flex;
  gap: clamp(.75rem, 2vw, 1.25rem);
  justify-content: center;
  margin-bottom: clamp(1.2rem, 2.5vw, 1.6rem);
}
.ag-btn {
  font-family: var(--ff-body);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  padding: clamp(.7rem, 1.5vw, 1rem) clamp(2rem, 5vw, 3.5rem);
  min-width: clamp(9rem, 20vw, 13rem);
  border: 1px solid var(--green);
  background: transparent;
  color: var(--green);
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}
.ag-btn--yes { background: var(--green); color: var(--cream); }
.ag-btn--yes:hover,
.ag-btn--yes:focus-visible { background: var(--green-deep); }
.ag-btn--no:hover,
.ag-btn--no:focus-visible { background: var(--green); color: var(--cream); }

.age-gate__remember {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--green);
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  margin-bottom: clamp(1rem, 2.2vw, 1.4rem);
  cursor: pointer;
}
.age-gate__remember input { width: 1rem; height: 1rem; accent-color: var(--green); }

.age-gate__legal {
  color: var(--brown);
  font-size: clamp(.85rem, 1.1vw, 1rem);
  line-height: 1.5;
  max-width: 48ch;
  margin: 0 auto clamp(.8rem, 2vw, 1.2rem);
}
.age-gate__legal a { color: var(--coral); text-decoration: none; }
.age-gate__legal a:hover { text-decoration: underline; }

.age-gate__resp {
  color: var(--green);
  font-size: clamp(.9rem, 1.2vw, 1.05rem);
  margin: 0;
}
.age-gate__denied .age-gate__q { margin-bottom: clamp(1rem, 2.5vw, 1.5rem); }

@media (prefers-reduced-motion: reduce) {
  .age-gate { transition: none; }
}

/* ============================================================
   Legal pages (terms / privacy / cookie)
   ============================================================ */
.legal {
  background: var(--cream);
  padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 7vw, 6rem);
}
.legal__container {
  max-width: 860px;
  margin: 0 auto;
  padding: 0 clamp(1.25rem, 5vw, 2rem);
}
.legal__eyebrow {
  color: var(--coral);
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  font-size: clamp(.72rem, 1vw, .85rem);
  margin: 0 0 .8rem;
}
.legal__title {
  font-family: var(--ff-deco);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .02em;
  color: var(--green);
  font-size: clamp(1.9rem, 4vw, 3rem);
  line-height: 1.05;
  margin: 0 0 .6rem;
}
.legal__lead {
  color: var(--brown);
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  line-height: 1.5;
  margin: 0 0 1.2rem;
}
.legal__updated {
  color: var(--brown);
  font-size: .9rem;
  font-style: italic;
  margin: 0 0 clamp(2rem, 4vw, 3rem);
}
.legal h2 {
  font-family: var(--ff-body);
  font-weight: 700;
  color: var(--green);
  font-size: clamp(1.15rem, 1.8vw, 1.5rem);
  margin: clamp(1.8rem, 3.5vw, 2.6rem) 0 .6rem;
}
.legal h3 {
  font-family: var(--ff-body);
  font-weight: 700;
  color: var(--green);
  font-size: clamp(1rem, 1.4vw, 1.15rem);
  margin: 1.4rem 0 .4rem;
}
.legal p,
.legal li {
  color: #4a3b39;
  font-size: clamp(.98rem, 1.2vw, 1.08rem);
  line-height: 1.65;
}
.legal p { margin: 0 0 1rem; }
.legal ul { margin: 0 0 1rem; padding-left: 1.4rem; }
.legal li { margin-bottom: .5rem; }
.legal a { color: var(--coral); }
.legal a:hover { text-decoration: underline; }
.legal address {
  font-style: normal;
  line-height: 1.7;
  color: #4a3b39;
  margin: 0 0 1rem;
}
.legal__note {
  background: var(--peach-soft);
  border-left: 3px solid var(--coral);
  padding: 1rem 1.2rem;
  color: var(--brown);
  font-size: .95rem;
  line-height: 1.55;
  margin: 1.2rem 0;
}
/* placeholder da confermare prima della pubblicazione */
.legal__tbc {
  color: var(--coral-deep);
  font-weight: 700;
  background: rgba(238, 139, 104, .14);
  padding: 0 .3em;
  border-radius: 2px;
  white-space: nowrap;
}
.legal__back {
  display: inline-block;
  margin-top: clamp(2rem, 4vw, 3rem);
  color: var(--green);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: .04em;
}
.legal__back:hover { text-decoration: underline; }

/* ============================================================
   Cookie consent — banner + preference manager
   ============================================================ */
.cc-banner {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 1400;
  background: #fdf2f1;
  border-top: 1px solid rgba(7, 53, 31, .12);
  box-shadow: 0 -14px 40px rgba(7, 53, 31, .12);
  padding: clamp(1rem, 2.5vw, 1.5rem) clamp(1rem, 4vw, 2.5rem);
  transform: translateY(115%);
  transition: transform .35s ease;
}
.cc-banner.is-open { transform: none; }
.cc-banner__inner {
  max-width: 1200px; margin: 0 auto;
  display: flex; align-items: center; gap: clamp(1rem, 3vw, 2.5rem);
  flex-wrap: wrap;
}
.cc-banner__text {
  flex: 1 1 320px; margin: 0;
  color: var(--brown); font-size: clamp(.9rem, 1.1vw, 1rem); line-height: 1.5;
}
.cc-banner__text strong { color: var(--green); }
.cc-banner__text a { color: var(--coral); }
.cc-actions { display: flex; gap: .6rem; flex-wrap: wrap; align-items: center; }

.cc-btn {
  font-family: var(--ff-body); font-weight: 700; text-transform: uppercase;
  letter-spacing: .1em; font-size: clamp(.8rem, 1vw, .92rem);
  padding: .7rem 1.4rem; border: 1px solid var(--green);
  background: transparent; color: var(--green);
  cursor: pointer; white-space: nowrap;
  transition: background .2s ease, color .2s ease;
}
.cc-btn--solid { background: var(--green); color: var(--cream); }
.cc-btn--solid:hover, .cc-btn--solid:focus-visible { background: var(--green-deep); }
.cc-btn--ghost:hover, .cc-btn--ghost:focus-visible { background: var(--green); color: var(--cream); }
.cc-btn--link {
  border: 0; background: none; color: var(--green);
  text-decoration: underline; text-transform: none;
  letter-spacing: .03em; padding: .7rem .4rem;
}

/* modal */
.cc-modal {
  position: fixed; inset: 0; z-index: 2100;
  display: flex; align-items: center; justify-content: center;
  padding: clamp(1rem, 4vw, 2.5rem);
  background: rgba(7, 53, 31, .45);
  opacity: 0; visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.cc-modal.is-open { opacity: 1; visibility: visible; }
.cc-modal__card {
  width: min(620px, 100%);
  max-height: calc(100svh - 2rem); overflow-y: auto;
  background: #fdf2f1;
  padding: clamp(1.5rem, 4vw, 2.75rem);
  box-shadow: 0 30px 80px rgba(7, 53, 31, .25);
}
.cc-modal__title {
  font-family: var(--ff-deco); font-weight: 700; text-transform: uppercase;
  color: var(--green); letter-spacing: .04em;
  font-size: clamp(1.4rem, 3vw, 2rem); margin: 0 0 .5rem;
}
.cc-modal__intro {
  color: var(--brown); font-size: clamp(.9rem, 1.1vw, 1rem);
  line-height: 1.55; margin: 0 0 1.2rem;
}
.cc-modal__intro a { color: var(--coral); }

.cc-cat { border-top: 1px solid rgba(7, 53, 31, .14); padding: 1.1rem 0; }
.cc-cat__head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.cc-cat__name { font-weight: 700; color: var(--green); font-size: clamp(1rem, 1.3vw, 1.15rem); }
.cc-cat__desc { color: var(--brown); font-size: clamp(.85rem, 1.05vw, .98rem); line-height: 1.5; margin: .5rem 0 0; }

/* switch */
.cc-switch { position: relative; width: 46px; height: 26px; flex: 0 0 auto; }
.cc-switch input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.cc-slider { position: absolute; inset: 0; background: #d9c3bf; border-radius: 999px; transition: background .2s ease; }
.cc-slider::before { content: ""; position: absolute; top: 3px; left: 3px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transition: transform .2s ease; }
.cc-switch input:checked + .cc-slider { background: var(--green); }
.cc-switch input:checked + .cc-slider::before { transform: translateX(20px); }
.cc-switch input:disabled + .cc-slider { background: var(--green); opacity: .45; }
.cc-switch input:disabled { cursor: not-allowed; }

.cc-modal__actions { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: 1.6rem; }

@media (prefers-reduced-motion: reduce) {
  .cc-banner, .cc-modal { transition: none; }
}

/* riga bassa verde sotto il footer (sotto i loghi del bando) */
.footer-baseline {
  height: 100px;
  background: var(--green);
}

/* ============================================================
   Language switcher (EN / IT)
   ============================================================ */
.site-topbar { position: relative; }
.lang-switch {
  position: absolute;
  right: clamp(1rem, 4vw, 2.5rem);
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: .45rem;
  font-family: var(--ff-body);
  font-weight: 700;
  font-size: clamp(.72rem, 1vw, .85rem);
  letter-spacing: .14em;
  z-index: 5;
}
.lang-switch a {
  color: var(--pink);
  text-decoration: none;
  opacity: .55;
  transition: opacity .2s ease;
}
.lang-switch a:hover,
.lang-switch a:focus-visible { opacity: 1; }
.lang-switch a.is-active {
  color: var(--cream);
  opacity: 1;
}
.lang-switch span { color: var(--pink); opacity: .4; }
