/* ==========================================================================
   Barattieri · Villa e Azienda Vitivinicola
   ========================================================================== */

/* ---------- Font ---------- */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/eb-garamond-v33-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/eb-garamond-v33-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'EB Garamond';
  font-style: italic; font-weight: 400; font-display: swap;
  src: url('../fonts/eb-garamond-v33-latin-italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal; font-weight: 400; font-display: swap;
  src: url('../fonts/montserrat-v31-latin-regular.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal; font-weight: 500; font-display: swap;
  src: url('../fonts/montserrat-v31-latin-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal; font-weight: 600; font-display: swap;
  src: url('../fonts/montserrat-v31-latin-600.woff2') format('woff2');
}

/* ---------- Variabili ---------- */
:root {
  --paper:      #f7f3ea;
  --paper-2:    #efe8d8;
  --ink:        #1a1c20;
  --ink-soft:   #33363c;
  --stone:      #6f6a5d;
  --blue:       #1e4c8f;
  --blue-deep:  #17365f;
  --navy:       #101f35;
  --gold:       #b28f45;
  --gold-2:     #d3b878;
  --gold-ink:   #7f6128;
  --terra:      #a4562f;
  --line:       #ddd3bd;
  --line-dark:  rgba(211, 184, 120, .28);

  --f-display: 'Cormorant Garamond', 'Times New Roman', serif;
  --f-body:    'EB Garamond', Georgia, serif;
  --f-ui:      'Montserrat', 'Helvetica Neue', sans-serif;

  --w-max: 1240px;
  --w-text: 720px;
  --sp-section: clamp(4.5rem, 10vw, 8rem);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--f-body);
  font-size: 1.155rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--blue); color: var(--paper); }

/* ---------- Tipografia ---------- */
h1, h2, h3, .h-display {
  font-family: var(--f-display);
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: .01em;
}
.h-hero    { font-size: clamp(2.6rem, 6vw, 4.6rem); }
.h-section { font-size: clamp(2rem, 4.2vw, 3.2rem); }
.h-card    { font-size: clamp(1.35rem, 2vw, 1.7rem); }
em, .corsivo { font-family: var(--f-display); font-style: italic; }

.label {
  font-family: var(--f-ui);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .24em;
  text-transform: uppercase;
  color: var(--gold-ink);
}
.label--stone { color: var(--stone); }

.lead {
  font-size: clamp(1.25rem, 1.8vw, 1.45rem);
  line-height: 1.55;
  color: var(--ink-soft);
}

/* Ornamento */
.ornament {
  display: flex; align-items: center; justify-content: center;
  gap: .9rem; margin: 1.4rem auto;
}
.ornament::before, .ornament::after {
  content: ''; width: min(72px, 18vw); height: 1px; background: var(--gold);
  opacity: .65;
}
.ornament span {
  width: 7px; height: 7px; background: var(--gold);
  transform: rotate(45deg);
}
.ornament--left { justify-content: flex-start; margin-left: 0; }
.ornament--left::after { display: none; }

/* ---------- Layout ---------- */
.container { width: min(var(--w-max), 92vw); margin-inline: auto; }
.container--text { width: min(var(--w-text), 92vw); margin-inline: auto; }
.section { padding-block: var(--sp-section); }
.section--tinted { background: var(--paper-2); }
.section--dark { background: var(--navy); color: var(--paper); }
.section--dark .lead { color: #cfd6e2; }
.center { text-align: center; }

.grid-2 {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 5rem); align-items: center;
}
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.6vw, 2.4rem); }

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

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  transition: background .45s var(--ease), box-shadow .45s var(--ease), transform .4s var(--ease);
  padding-block: .9rem;
}
.header__inner {
  width: min(var(--w-max), 94vw); margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 2rem;
}
.header__brand { display: flex; align-items: center; gap: .8rem; }
.header__brand img { width: 46px; height: auto; }
.header__wordmark {
  font-family: var(--f-display); font-weight: 600;
  font-size: 1.5rem; letter-spacing: .14em; text-transform: uppercase;
}
.nav { display: flex; gap: clamp(1.2rem, 2.6vw, 2.6rem); align-items: center; }
.nav a {
  font-family: var(--f-ui); font-size: .74rem; font-weight: 500;
  letter-spacing: .18em; text-transform: uppercase;
  padding-block: .35rem; position: relative;
}
.nav a::after {
  content: ''; position: absolute; left: 0; bottom: 0;
  width: 100%; height: 1px; background: var(--gold);
  transform: scaleX(0); transform-origin: right;
  transition: transform .35s var(--ease);
}
.nav a:hover::after, .nav a[aria-current="page"]::after { transform: scaleX(1); transform-origin: left; }
.nav a[aria-current="page"] { color: var(--gold-ink); }
.header--overlay:not(.header--solid) .nav a[aria-current="page"] { color: var(--gold-2); }
body.nav-open .nav a[aria-current="page"] { color: var(--gold-2); }

/* Header su hero scuro */
.header--overlay { color: var(--paper); }
.header--overlay::before {
  content: ''; position: absolute; z-index: -1;
  inset: 0 0 -90% 0;
  background: linear-gradient(to bottom, rgba(10, 14, 22, .62), rgba(10, 14, 22, .3) 55%, rgba(10, 14, 22, 0));
  pointer-events: none;
  opacity: 1; transition: opacity .45s var(--ease);
}
.header--overlay.header--solid::before { opacity: 0; }
.header--overlay:not(.header--solid) .header__wordmark,
.header--overlay:not(.header--solid) .nav a {
  text-shadow: 0 1px 4px rgba(10, 14, 22, .75), 0 2px 12px rgba(10, 14, 22, .5);
}
.header--overlay .header__brand img {
  filter: brightness(0) invert(1) drop-shadow(0 1px 3px rgba(10, 14, 22, .65));
}
.header--overlay:not(.header--solid) .cart-glass svg,
.header--overlay:not(.header--solid) .lang-menu__caret {
  filter: drop-shadow(0 1px 3px rgba(10, 14, 22, .65));
}
/* Header compatto su scroll */
.header--solid {
  background: rgba(247, 243, 234, .94);
  backdrop-filter: blur(10px);
  box-shadow: 0 1px 0 var(--line);
  color: var(--ink);
}
.header--solid .header__brand img { filter: none; }
.header--hidden { transform: translateY(-110%); }

/* Header: lingua e calice */
.header__tools { display: flex; align-items: center; gap: 1.3rem; }
.flag { width: 24px; height: 16px; border-radius: 2px; display: block; box-shadow: 0 0 0 1px rgba(0, 0, 0, .15); }
.lang-menu { position: relative; }
.lang-menu summary {
  list-style: none; cursor: pointer;
  display: flex; align-items: center; gap: .45rem;
  padding: .3rem 0;
}
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu__caret {
  width: 0; height: 0;
  border-left: 4px solid transparent; border-right: 4px solid transparent;
  border-top: 5px solid currentColor; opacity: .6;
  transition: transform .3s var(--ease);
}
.lang-menu[open] .lang-menu__caret { transform: rotate(180deg); }
.lang-menu__list {
  position: absolute; right: 0; top: calc(100% + .7rem); z-index: 160;
  min-width: 170px; padding: .4rem;
  background: var(--paper); border: 1px solid var(--line);
  box-shadow: 0 18px 44px rgba(16, 31, 53, .18);
}
.lang-menu__list a {
  display: flex; align-items: center; gap: .7rem;
  padding: .6rem .8rem; color: var(--ink);
  font-family: var(--f-ui); font-size: .68rem; font-weight: 500;
  letter-spacing: .14em; text-transform: uppercase;
  transition: background .25s;
}
.lang-menu__list a:hover { background: var(--paper-2); }
.lang-menu__list a[aria-current] { color: var(--gold-ink); }
.lang-menu__list a[aria-current]::after { content: '✓'; margin-left: auto; color: var(--gold); }

.cart-glass {
  position: relative; display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px;
  transition: color .3s;
}
.cart-glass:hover { color: var(--gold-ink); }
.header--overlay:not(.header--solid) .cart-glass:hover { color: var(--gold-2); }
.cart-glass__badge {
  position: absolute; top: 1px; right: 0;
  min-width: 15px; height: 15px; padding-inline: 3px;
  background: var(--gold); color: var(--navy);
  font-family: var(--f-ui); font-size: .56rem; font-weight: 600; line-height: 15px;
  text-align: center; border-radius: 99px;
}

/* Hamburger */
.nav-toggle {
  display: none; background: none; border: 0; cursor: pointer;
  width: 42px; height: 42px; position: relative; z-index: 130;
}
.nav-toggle span {
  display: block; width: 24px; height: 1.6px; background: currentColor;
  margin: 6px auto; transition: transform .35s var(--ease), opacity .3s;
}
@media (max-width: 900px) {
  .nav-toggle { display: block; order: 9; }
  .header__tools { margin-left: auto; }
  .nav {
    position: fixed; inset: 0; z-index: 120;
    flex-direction: column; justify-content: center; gap: 2.2rem;
    background: var(--navy); color: var(--paper);
    opacity: 0; pointer-events: none; transition: opacity .4s var(--ease);
    overflow-y: auto;
    padding: calc(2rem + env(safe-area-inset-top)) 1.5rem calc(2rem + env(safe-area-inset-bottom));
  }
  .nav a { font-size: 1rem; letter-spacing: .26em; }
  body.nav-open .nav { opacity: 1; pointer-events: auto; }
  body.nav-open { overflow: hidden; }
  body.nav-open .nav-toggle { color: var(--paper); }
  body.nav-open .nav-toggle span:nth-child(1) { transform: translateY(7.6px) rotate(45deg); }
  body.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
  body.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-7.6px) rotate(-45deg); }
}

/* ---------- Home: split hero ---------- */
.split {
  display: flex; min-height: 100vh; min-height: 100svh;
}
.split__panel {
  position: relative; flex: 1; overflow: hidden;
  display: flex; align-items: flex-end;
  color: var(--paper);
  transition: flex 1.4s var(--ease);
}
@media (hover: hover) and (min-width: 901px) {
  .split:has(.split__panel:hover) .split__panel:hover { flex: 1.12; }
}
.split__bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  transition: transform 2s var(--ease);
  transform: scale(1.02);
}
.split__panel:hover .split__bg { transform: scale(1.035); }
.split__panel::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(10, 14, 22, .86) 0%,
    rgba(10, 14, 22, .6) 30%,
    rgba(10, 14, 22, .24) 62%,
    rgba(10, 14, 22, .38) 100%);
  transition: background .6s;
}
.split__panel:first-child { border-right: 1px solid var(--line-dark); }
.split__content {
  position: relative; z-index: 2; width: 100%;
  padding: clamp(2rem, 5vw, 4.5rem);
  padding-bottom: clamp(3.5rem, 8vh, 6rem);
  text-align: center;
}
.split__content .label {
  color: var(--gold-2);
  text-shadow: 0 1px 4px rgba(10, 14, 22, .8), 0 2px 18px rgba(10, 14, 22, .6);
}
.split__content h2 {
  font-size: clamp(2.1rem, 3.6vw, 3.4rem);
  margin-block: .7rem 1rem; font-weight: 500;
  text-shadow: 0 2px 22px rgba(10, 14, 22, .5);
}
.split__content p {
  max-width: 44ch; margin-inline: auto; margin-bottom: 1.8rem;
  color: rgba(247, 243, 234, .92); font-size: 1.08rem;
  text-shadow: 0 1px 4px rgba(10, 14, 22, .7), 0 2px 14px rgba(10, 14, 22, .5);
}

/* Bottoni della home: pieni, luminosi, animati */
.split__content .btn {
  position: relative; overflow: hidden;
  background: var(--gold-2); border-color: var(--gold-2); color: var(--navy);
  padding: 1.05rem 2.6rem;
  box-shadow: 0 12px 32px rgba(0, 0, 0, .38);
  animation: btn-ring 3s var(--ease) infinite;
  transition: background .35s var(--ease), color .35s var(--ease),
              border-color .35s, transform .35s var(--ease);
}
.split__content .btn::before {
  content: ''; position: absolute; top: 0; left: -80%;
  width: 55%; height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .55), transparent);
  transform: skewX(-20deg);
  animation: btn-shine 3.6s var(--ease) infinite;
}
.split__content .btn::after {
  content: '→'; display: inline-block; margin-left: .7em;
  transition: transform .35s var(--ease);
}
.split__panel:hover .btn {
  background: var(--paper); border-color: var(--paper); color: var(--navy);
  transform: translateY(-3px);
}
.split__panel:hover .btn::after { transform: translateX(5px); }
@keyframes btn-ring {
  0%   { box-shadow: 0 12px 32px rgba(0, 0, 0, .38), 0 0 0 0 rgba(211, 184, 120, .55); }
  70%  { box-shadow: 0 12px 32px rgba(0, 0, 0, .38), 0 0 0 16px rgba(211, 184, 120, 0); }
  100% { box-shadow: 0 12px 32px rgba(0, 0, 0, .38), 0 0 0 0 rgba(211, 184, 120, 0); }
}
@keyframes btn-shine {
  0%   { left: -80%; }
  55%  { left: 135%; }
  100% { left: 135%; }
}
.split__crest {
  position: absolute; z-index: 5; left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  width: clamp(120px, 14vw, 176px); height: clamp(120px, 14vw, 176px);
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--gold);
  box-shadow: 0 0 0 8px rgba(247, 243, 234, .14), 0 18px 50px rgba(0, 0, 0, .35);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .2rem; pointer-events: none;
}
.split__crest img { width: 44%; }
.split__crest span {
  font-family: var(--f-ui); font-size: .6rem; font-weight: 600;
  letter-spacing: .3em; text-transform: uppercase; color: var(--blue-deep);
}
@media (max-width: 900px) {
  .split { flex-direction: column; }
  .split__panel { min-height: 50svh; }
  .split__panel:first-child { border-right: 0; border-bottom: 1px solid var(--line-dark); }
  .split__crest { display: none; }
}

/* ---------- Bottoni ---------- */
.btn {
  display: inline-block;
  font-family: var(--f-ui); font-size: .74rem; font-weight: 600;
  letter-spacing: .22em; text-transform: uppercase;
  padding: 1rem 2.3rem;
  border: 1px solid currentColor;
  background: transparent; color: inherit;
  cursor: pointer; appearance: none; -webkit-appearance: none; border-radius: 0;
  transition: background .35s var(--ease), color .35s var(--ease), border-color .35s;
}
.btn:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--solid { background: var(--blue-deep); border-color: var(--blue-deep); color: var(--paper); }
.btn--solid:hover { background: var(--gold); border-color: var(--gold); color: var(--navy); }
.btn--gold { border-color: var(--gold-2); color: var(--gold-2); }
.btn--gold:hover { background: var(--gold-2); border-color: var(--gold-2); color: var(--navy); }
.btn-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: center; }

/* ---------- Hero interno ---------- */
.hero {
  position: relative; min-height: 72vh; min-height: 72svh;
  display: flex; align-items: flex-end;
  color: var(--paper); overflow: hidden;
}
.hero--tall { min-height: 88vh; min-height: 88svh; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top,
    rgba(10, 14, 22, .88) 0%,
    rgba(10, 14, 22, .58) 32%,
    rgba(10, 14, 22, .22) 62%,
    rgba(10, 14, 22, .38) 100%);
}
.hero__content {
  position: relative; z-index: 2;
  width: min(var(--w-max), 92vw); margin-inline: auto;
  padding-block: clamp(3rem, 7vh, 5rem);
}
.hero__content .label {
  color: var(--gold-2);
  text-shadow: 0 1px 4px rgba(10, 14, 22, .8), 0 2px 18px rgba(10, 14, 22, .6);
}
.hero__content h1 {
  margin-block: .8rem .9rem; max-width: 16ch;
  text-shadow: 0 2px 24px rgba(10, 14, 22, .45);
}
.hero__content .lead {
  color: rgba(247, 243, 234, .92); max-width: 52ch;
  text-shadow: 0 1px 4px rgba(10, 14, 22, .7), 0 2px 16px rgba(10, 14, 22, .5);
}
.hero__content .corsivo {
  text-shadow: 0 1px 4px rgba(10, 14, 22, .8), 0 2px 16px rgba(10, 14, 22, .6);
}

/* ---------- Breadcrumb ---------- */
.breadcrumb {
  font-family: var(--f-ui); font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--stone);
  display: flex; flex-wrap: wrap; gap: .6rem; align-items: center;
}
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb li + li::before { content: '·'; margin-right: .6rem; color: var(--gold); }

/* ---------- Figure ---------- */
.figure { position: relative; }
.figure img { width: 100%; }
.figure--frame { padding: clamp(.8rem, 1.6vw, 1.2rem); background: #fff; border: 1px solid var(--line); box-shadow: 0 24px 60px rgba(26, 28, 32, .09); }
.figure figcaption {
  font-family: var(--f-ui); font-size: .68rem; letter-spacing: .18em;
  text-transform: uppercase; color: var(--stone);
  margin-top: 1rem; text-align: center;
}

/* ---------- Card vino ---------- */
.wine-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.6rem, 3vw, 2.6rem); }
@media (max-width: 1000px) { .wine-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px)  { .wine-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; } }
@media (max-width: 400px)  { .wine-grid { grid-template-columns: 1fr; } }

.wine-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); transition: transform .5s var(--ease), box-shadow .5s var(--ease); }
.wine-card:hover { transform: translateY(-6px); box-shadow: 0 30px 60px rgba(26, 28, 32, .13); }
.wine-card__media { position: relative; overflow: hidden; aspect-ratio: 3 / 4; background: var(--navy); }
.wine-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.wine-card:hover .wine-card__media img { transform: scale(1.05); }
.wine-card__body { padding: 1.5rem 1.5rem 1.7rem; text-align: center; }
.wine-card__body .label { font-size: .62rem; }
.wine-card__body h3 { margin-block: .45rem .35rem; font-size: 1.45rem; }
.wine-card__body p { font-size: .98rem; color: var(--stone); font-style: italic; font-family: var(--f-display); }

/* ---------- Pagina prodotto ---------- */
.product { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: clamp(2.4rem, 5vw, 5rem); align-items: start; }
@media (max-width: 900px) { .product { grid-template-columns: 1fr; } }
.product__media { position: sticky; top: 110px; }
@media (max-width: 900px) { .product__media { position: static; } }
.product__media img { width: 100%; border: 1px solid var(--line); }
.product h1 { font-size: clamp(2.2rem, 4vw, 3.2rem); margin-block: .6rem .4rem; }
.product__motto { font-family: var(--f-display); font-style: italic; font-size: 1.5rem; color: var(--gold-ink); margin-bottom: .4rem; }
.product__denom { font-family: var(--f-display); font-style: italic; font-size: 1.3rem; color: var(--stone); margin-bottom: 1.6rem; }
.product__desc { margin-block: 1.8rem; }
.product__desc p + p { margin-top: 1em; }

.specs { border-top: 1px solid var(--line); margin-top: 2rem; }
.specs div {
  display: grid; grid-template-columns: minmax(120px, 1fr) 2fr; gap: 1.4rem;
  padding-block: .78rem; border-bottom: 1px solid var(--line);
}
.specs dt { font-family: var(--f-ui); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); align-self: center; }
.specs dd { font-size: 1.05rem; }

.product__order {
  margin-top: 2.4rem; padding: 1.8rem;
  background: var(--paper-2); border: 1px solid var(--line);
}
.product__order .label { display: block; margin-bottom: .5rem; }
.product__order p { font-size: 1rem; color: var(--ink-soft); margin-bottom: 1.2rem; }
.product__price { display: none;
  font-family: var(--f-display); font-size: 1.9rem; }

/* ---------- Vin Santo ---------- */
.vs-feature {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  background: var(--navy); color: var(--paper);
  border: 1px solid var(--line-dark);
}
@media (max-width: 900px) { .vs-feature { grid-template-columns: 1fr; } }
.vs-feature__media { position: relative; min-height: 340px; overflow: hidden; }
.vs-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.vs-feature__body { padding: clamp(2.2rem, 4.5vw, 4rem); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; gap: 1rem; }
.vs-feature__body .label { color: var(--gold-2); }
.vs-feature__body p { color: #cfd6e2; max-width: 52ch; }
.vs-feature__body .corsivo { color: var(--gold-2); font-size: 1.25rem; }

.vs-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(1.2rem, 2.5vw, 2rem); text-align: center; }
@media (max-width: 800px) { .vs-stats { grid-template-columns: repeat(2, 1fr); } }
.vs-stats .h-display { font-size: clamp(2.1rem, 3.6vw, 2.9rem); color: var(--gold-2); }
.vs-stats .label { margin-top: .5rem; display: block; }

/* ---------- Real Wedding ---------- */
.rw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.6vw, 2.4rem); }
@media (max-width: 900px) { .rw-grid { grid-template-columns: 1fr; } }
.rw {
  position: relative; display: block; overflow: hidden;
  aspect-ratio: 4 / 3; background: var(--navy);
}
.rw img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 1.6s var(--ease);
}
.rw:hover img { transform: scale(1.04); }
.rw::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10, 14, 22, .85) 0%, rgba(10, 14, 22, .15) 55%, rgba(10, 14, 22, .12) 100%);
}
.rw__content {
  position: absolute; z-index: 2; inset: auto 0 0 0;
  padding: 1.8rem; text-align: center; color: var(--paper);
}
.rw__content .label { color: var(--gold-2); font-size: .62rem; }
.rw__content h3 {
  font-size: clamp(1.6rem, 2.4vw, 2rem); font-style: italic; font-weight: 500;
  margin-block: .4rem .7rem;
}
.rw__cta {
  display: inline-block;
  font-family: var(--f-ui); font-size: .66rem; font-weight: 600;
  letter-spacing: .2em; text-transform: uppercase;
  border-bottom: 1px solid var(--gold-2); padding-bottom: .25rem;
  color: var(--gold-2);
  transition: color .3s, border-color .3s;
}
.rw:hover .rw__cta { color: var(--paper); border-color: var(--paper); }

/* ---------- Esperienze ---------- */
.xp-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(1.4rem, 2.6vw, 2.4rem); }
@media (max-width: 900px) { .xp-grid { grid-template-columns: 1fr; } }
.xp {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: 2.2rem 2rem;
  display: flex; flex-direction: column; gap: .8rem; align-items: flex-start;
}
.xp h3 { font-size: 1.5rem; }
.xp p { font-size: 1.02rem; color: var(--ink-soft); flex: 1; }
.xp--evidenza { background: var(--navy); border-color: var(--navy); color: var(--paper); }
.xp--evidenza p { color: #cfd6e2; }
.xp--evidenza .label { color: var(--gold-2); }
.xp .btn { padding: .8rem 1.6rem; font-size: .68rem; }

/* ---------- Galleria ---------- */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(.8rem, 1.6vw, 1.4rem); }
.gallery a { overflow: hidden; display: block; position: relative; }
.gallery img { width: 100%; height: 100%; object-fit: cover; aspect-ratio: 4 / 3; transition: transform .9s var(--ease), filter .5s; }
.gallery a:hover img { transform: scale(1.06); }
.gallery .tall img { aspect-ratio: 3 / 4; }
@media (max-width: 700px) { .gallery { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Timeline storia ---------- */
.timeline { border-left: 1px solid var(--gold); padding-left: clamp(1.6rem, 4vw, 3rem); display: grid; gap: 2.6rem; }
.timeline li { position: relative; }
.timeline li::before {
  content: ''; position: absolute; left: calc(-1 * clamp(1.6rem, 4vw, 3rem) - 4.5px);
  top: .8rem; width: 9px; height: 9px; background: var(--gold); transform: rotate(45deg);
}
.timeline .anno { font-family: var(--f-display); font-size: 2rem; font-weight: 600; color: var(--blue-deep); line-height: 1; }
.section--dark .timeline .anno { color: var(--gold-2); }
.timeline p { max-width: 58ch; margin-top: .5rem; }

/* ---------- Banda CTA ---------- */
.cta-band { position: relative; padding-block: clamp(5rem, 12vw, 9rem); color: var(--paper); text-align: center; overflow: hidden; }
.cta-band__bg { position: absolute; inset: 0; }
.cta-band__bg img { width: 100%; height: 100%; object-fit: cover; }
.cta-band::after { content: ''; position: absolute; inset: 0; background: rgba(13, 25, 44, .8); }
.cta-band > .container { position: relative; z-index: 2; }
.cta-band h2 { margin-block: .8rem 1.2rem; color: var(--paper); text-shadow: 0 1px 22px rgba(10, 14, 22, .45); }
.cta-band .label { color: var(--gold-2); }
.cta-band .lead { color: rgba(247, 243, 234, .92); text-shadow: 0 1px 18px rgba(10, 14, 22, .4); }
.cta-band .btn { margin-top: 1.2rem; }

/* ---------- Contatti ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2.4rem, 5vw, 5rem); }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-list { display: grid; gap: 1.6rem; margin-top: 2rem; }
.contact-list .label { display: block; margin-bottom: .3rem; }
.contact-list a:hover { color: var(--blue); }
.map-embed { position: relative; border: 1px solid var(--line); background: var(--paper-2); }
.map-consent {
  height: clamp(420px, 55vh, 540px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 1.2rem; padding: 2rem; text-align: center;
}
.map-consent p { max-width: 44ch; font-size: .98rem; color: var(--stone); }
@media (max-width: 700px) { .map-consent { height: 300px; } }
.map-embed iframe {
  display: block; width: 100%; height: clamp(420px, 55vh, 540px); border: 0;
  filter: grayscale(1) contrast(1.04) brightness(1.02);
  transition: filter .6s var(--ease);
}
.map-embed:hover iframe { filter: grayscale(.15) contrast(1.02); }
.map-card {
  position: absolute; z-index: 2; left: clamp(1rem, 4vw, 3rem); top: 50%;
  transform: translateY(-50%);
  width: min(340px, calc(100% - 2rem));
  background: var(--paper); border: 1px solid var(--line);
  border-top: 3px solid var(--gold);
  box-shadow: 0 24px 60px rgba(16, 31, 53, .22);
  padding: 2rem;
}
.map-card img { width: 44px; margin-bottom: .9rem; }
.map-card h3 { font-size: 1.4rem; margin-bottom: .5rem; }
.map-card address { font-style: normal; color: var(--ink-soft); line-height: 1.7; margin-bottom: 1.3rem; }
.map-card .btn { padding: .8rem 1.6rem; font-size: .68rem; }
@media (max-width: 700px) {
  .map-card { position: static; transform: none; width: 100%; border-left: 0; border-right: 0; border-bottom: 0; }
}

form .field { margin-bottom: 1.3rem; }
form label { display: block; font-family: var(--f-ui); font-size: .66rem; font-weight: 600; letter-spacing: .18em; text-transform: uppercase; color: var(--stone); margin-bottom: .45rem; }
form input, form textarea, form select {
  width: 100%; padding: .85rem 1rem;
  font-family: var(--f-body); font-size: 1.05rem; color: var(--ink);
  background: #fff; border: 1px solid var(--line); border-radius: 0;
}
form input:focus, form textarea:focus, form select:focus { outline: 1.5px solid var(--gold); outline-offset: 0; }

/* ---------- Footer ---------- */
.footer { background: var(--navy); color: #c8cedb; font-size: .98rem; }
.footer__main {
  width: min(var(--w-max), 92vw); margin-inline: auto;
  padding-block: clamp(2.6rem, 4.5vw, 3.8rem);
  display: grid; grid-template-columns: 1.2fr 1fr 1.1fr 1fr; gap: clamp(1.6rem, 3vw, 2.6rem);
  align-items: start;
}
@media (max-width: 900px) { .footer__main { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) {
  .footer__main {
    grid-template-columns: 1fr 1fr;
    padding-block: 2rem 1.6rem;
    row-gap: 1.5rem; column-gap: 1.2rem;
  }
  .footer__brand {
    grid-column: 1 / -1;
    display: flex; align-items: center; gap: .9rem;
    padding-bottom: .4rem; border-bottom: 1px solid rgba(211, 184, 120, .18);
  }
  .footer__brand img { width: 40px; margin-bottom: 0; }
  .footer__brand p { font-size: 1rem; }
  .footer h4 { margin-bottom: .6rem; }
  .footer li { margin-bottom: .35rem; }
  .footer { font-size: .92rem; }
  .footer__where { grid-column: 1 / -1; order: 9; padding-top: .4rem; border-top: 1px solid rgba(211, 184, 120, .18); }
  .footer__where address br { display: none; }
  .footer__where address span::after { content: ' · '; color: rgba(211, 184, 120, .5); }
  .footer__where address span:last-child::after { content: ''; }
}
.footer__brand img { width: 54px; margin-bottom: .8rem; filter: brightness(0) invert(1); opacity: .92; }
.footer__brand p { font-family: var(--f-display); font-style: italic; font-size: 1.15rem; color: #9aa5b8; max-width: 26ch; }
.footer h4 { font-family: var(--f-ui); font-size: .68rem; font-weight: 600; letter-spacing: .24em; text-transform: uppercase; color: var(--gold-2); margin-bottom: .9rem; }
.footer li { margin-bottom: .45rem; }
.footer a:hover { color: var(--gold-2); }
.footer address { font-style: normal; line-height: 1.8; }
.footer__legal {
  border-top: 1px solid rgba(211, 184, 120, .18);
  padding-block: 1.4rem;
}
.footer__legal .container {
  display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between;
  font-family: var(--f-ui); font-size: .68rem; letter-spacing: .08em; color: #98a2b6;
}
.footer__legal a { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(211, 184, 120, .4); }

/* ---------- Pagine legali ---------- */
.prose h2 { margin-top: .2rem; }
.prose section p { color: var(--ink-soft); }
.prose section a { color: var(--blue); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- Reveal on scroll ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .9s var(--ease), transform .9s var(--ease); }
.reveal.is-visible { opacity: 1; transform: none; }
.reveal--d1 { transition-delay: .12s; }
.reveal--d2 { transition-delay: .24s; }
.reveal--d3 { transition-delay: .36s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .split__panel, .split__bg, .wine-card, .gallery img { transition: none; }
  .split__content .btn { animation: none; }
  .split__content .btn::before { animation: none; display: none; }
}

/* ---------- Citazioni recensioni ---------- */
.quote {
  background: #fff; border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: 2rem 1.8rem; display: flex; flex-direction: column; gap: 1.1rem;
}
.quote blockquote p {
  font-family: var(--f-display); font-style: italic;
  font-size: 1.22rem; line-height: 1.5; color: var(--ink-soft);
}
.quote figcaption {
  font-family: var(--f-ui); font-size: .68rem; font-weight: 500;
  letter-spacing: .16em; text-transform: uppercase; color: var(--stone);
  margin-top: auto;
}
.quote__stars { color: var(--gold); letter-spacing: .1em; margin-right: .4rem; }

/* ---------- Banner cookie ---------- */
.cookie-banner {
  position: fixed; z-index: 300;
  right: clamp(.8rem, 2vw, 1.6rem);
  bottom: calc(clamp(.8rem, 2vw, 1.6rem) + env(safe-area-inset-bottom));
  left: clamp(.8rem, 2vw, 1.6rem);
  max-width: 560px; margin-left: auto;
  background: var(--navy); color: #cfd6e2;
  border: 1px solid var(--line-dark); border-top: 3px solid var(--gold);
  box-shadow: 0 24px 60px rgba(10, 14, 22, .45);
  padding: 1.6rem 1.8rem;
}
.cookie-banner p { font-size: .95rem; line-height: 1.55; margin-bottom: 1.1rem; }
.cookie-banner a { color: var(--gold-2); text-decoration: underline; text-underline-offset: 3px; }
.cookie-banner__actions { display: flex; flex-wrap: wrap; gap: .7rem; }
.cookie-banner .btn { padding: .7rem 1.4rem; font-size: .66rem; }
.cookie-banner .btn--ghost { border-color: rgba(247, 243, 234, .45); color: var(--paper); }
.cookie-banner .btn--ghost:hover { background: rgba(247, 243, 234, .12); border-color: var(--paper); color: var(--paper); }

/* ---------- Age gate ---------- */
body.age-locked { overflow: hidden; }
.age-gate {
  position: fixed; inset: 0; z-index: 400;
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
  background: rgba(13, 24, 42, .88);
  backdrop-filter: blur(8px);
}
.age-gate__card {
  background: var(--paper); color: var(--ink);
  border-top: 3px solid var(--gold);
  max-width: 520px; width: 100%;
  padding: clamp(2rem, 5vw, 3.2rem);
  text-align: center;
  box-shadow: 0 30px 80px rgba(0, 0, 0, .5);
}
.age-gate__card img { width: 56px; margin-inline: auto; margin-bottom: 1rem; }
.age-gate__card h2 { font-size: clamp(1.7rem, 3vw, 2.2rem); margin-block: .5rem .8rem; }
.age-gate__card p { color: var(--ink-soft); font-size: 1.05rem; margin-bottom: 1.6rem; }
.age-gate__actions { display: flex; flex-wrap: wrap; gap: .8rem; justify-content: center; }

/* ---------- Utility ---------- */
.mt-1 { margin-top: 1rem; } .mt-2 { margin-top: 2rem; } .mt-3 { margin-top: 3rem; }
.mb-1 { margin-bottom: 1rem; } .mb-2 { margin-bottom: 2rem; } .mb-3 { margin-bottom: 3rem; }
.skip-link {
  position: absolute; left: -9999px; z-index: 200;
  background: var(--gold); color: var(--navy); padding: .8rem 1.4rem;
  font-family: var(--f-ui); font-size: .8rem; letter-spacing: .1em;
}
.skip-link:focus { left: 1rem; top: 1rem; }

/* ---------- Mobile ---------- */
@media (max-width: 620px) {
  body { font-size: 1.08rem; }
  .lead { font-size: 1.15rem; }

  .header { padding-block: .65rem; }
  .header__brand { gap: .55rem; }
  .header__brand img { width: 36px; }
  .header__wordmark { font-size: 1.15rem; letter-spacing: .1em; }
  .header__tools { gap: .5rem; }
  .flag { width: 22px; height: 15px; }

  .split__content { padding-bottom: 2.8rem; }
  .split__content p { font-size: .95rem; margin-bottom: 1.3rem; }
  .split__content .btn { padding: .85rem 1.7rem; }

  .hero__content { padding-block: 2.2rem; }

  .wine-card__body { padding: 1rem .8rem 1.2rem; }
  .wine-card__body .label { font-size: .56rem; letter-spacing: .16em; }
  .wine-card__body h3 { font-size: 1.15rem; }
  .wine-card__body p { font-size: .86rem; }

  .specs div { grid-template-columns: 1fr; gap: .15rem; padding-block: .7rem; }
  .specs dt { font-size: .6rem; }
  .product__order { padding: 1.4rem 1.2rem; }
  .btn { padding: .95rem 1.7rem; letter-spacing: .16em; }

  .cta-band { padding-block: 4.5rem; }
  .vs-feature__body { padding: 2rem 1.4rem; }
  .vs-feature__media { min-height: 260px; }
  .map-card { padding: 1.5rem 1.2rem; }
  .xp { padding: 1.7rem 1.4rem; }
  .age-gate__card { padding: 1.8rem 1.4rem; }
  .cookie-banner { padding: 1.3rem 1.4rem; }

  .footer__main { text-align: left; }
  .footer__legal .container { flex-direction: column; align-items: center; text-align: center; gap: .6rem; }

  .timeline { padding-left: 1.4rem; }
  .timeline li::before { left: -1.4rem; margin-left: -4.5px; }
  .timeline .anno { font-size: 1.6rem; }
}

@media (max-width: 380px) {
  .header__wordmark { display: none; }
  .h-hero { font-size: 2.2rem; }
}
