/* ==========================================================
   ALLE CAMPAGNOLE — style.css (v7, redesign "Radura")
   Estetica premium contemporanea per azienda agricola biologica:
   bianco + verde salvia/oliva chiaro + crema, forme organiche,
   ampio respiro, animazioni eleganti e misurate.
   ========================================================== */

:root {
  /* ---- superfici ---- */
  --white:      #FFFFFF;
  --paper:      #FFFFFF;
  --cream:      #FBF8F1;   /* crema tenue, fondo sezioni alternate */
  --sage-50:    #F3F6EC;   /* verde salvia quasi bianco, wash */
  --sage-100:   #E7EEDA;
  --sage-200:   #D3E1BD;
  --paper-deep: #F3F6EC;   /* alias retro-compatibile */

  /* ---- inchiostro ---- */
  --ink:        #263323;   /* testo principale, verde-carbone caldo */
  --ink-soft:   #5B6552;
  --ink-faint:  #93A085;
  --forest:     #1E2B1A;

  /* ---- verde primario (bottoni, link, accenti) ---- */
  --plum:       #4A6B3C;   /* verde oliva profondo — colore-guida dei CTA */
  --plum-deep:  #33502A;
  --plum-wash:  rgba(74,107,60,0.08);
  --plum-line:  rgba(74,107,60,0.22);

  --moss:       #7C9A5E;   /* verde foglia, accento secondario */
  --moss-deep:  #5C7A46;
  --moss-wash:  rgba(124,154,94,0.12);

  /* ---- oro tenuissimo, solo dettagli minimi ---- */
  --gold:       #97895F;
  --gold-soft:  #C9BFA0;
  --gold-wash:  rgba(151,137,95,0.12);

  --line:       #E4E3D6;
  --line-soft:  #EEEDE3;
  --shadow:     0 30px 70px -30px rgba(30,43,26,0.24);
  --shadow-sm:  0 14px 32px -16px rgba(30,43,26,0.16);
  --shadow-xs:  0 6px 16px -8px rgba(30,43,26,0.12);

  --font-display: 'Fraunces', Georgia, serif;
  --font-body: 'Work Sans', 'Helvetica Neue', sans-serif;

  --topbar-h: 84px;
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 13px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 520;
  color: var(--forest);
  line-height: 1.12;
  margin: 0 0 18px;
  letter-spacing: -0.012em;
}
h1 { font-size: clamp(40px, 5.6vw, 66px); font-weight: 480; }
h2 { font-size: clamp(29px, 3.6vw, 42px); }
h3 { font-size: 23px; }
p { margin: 0 0 16px; color: var(--ink-soft); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}

/* ---------------- LAYOUT ---------------- */
.container { max-width: 1220px; margin: 0 auto; padding: 0 40px; position: relative; z-index: 2; }
.section { padding: clamp(72px, 9vw, 140px) 0; position: relative; z-index: 2; overflow: hidden; }
.two-col { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 72px; align-items: start; }
.center-col { text-align: center; max-width: 660px; margin: 0 auto; }
.alt-bg { background: var(--sage-50); }

/* organic wash dietro le sezioni alternate, per dare morbidezza senza fotografie */
.alt-bg::before {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 640px; height: 640px; right: -220px; top: -180px;
  background: radial-gradient(circle, rgba(124,154,94,0.14) 0%, rgba(124,154,94,0) 70%);
  border-radius: 50%;
}
.alt-bg::after {
  content: ''; position: absolute; z-index: 0; pointer-events: none;
  width: 480px; height: 480px; left: -180px; bottom: -160px;
  background: radial-gradient(circle, rgba(151,137,95,0.10) 0%, rgba(151,137,95,0) 70%);
  border-radius: 50%;
}

.label {
  display: block;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.17em;
  text-transform: uppercase;
  color: var(--plum);
  margin-bottom: 18px;
}
.label.center { text-align: center; }
.label::before { content: '— '; color: var(--moss); }
.band-sub { color: var(--ink-soft); max-width: 600px; margin: 0 auto 54px; font-size: 17.5px; line-height: 1.85; }

/* linea di dorsale collinare — motivo ricorrente del Montello */
.ridge-line { position: absolute; left: 0; right: 0; height: 100px; pointer-events: none; z-index: 1; }
.ridge-line svg { width: 100%; height: 100%; display: block; }
.ridge-line path { fill: none; stroke: var(--line); stroke-width: 1.5; }
.ridge-line-back path { stroke: var(--sage-200); stroke-width: 2.2; opacity: .55; }

/* ---------------- BUTTONS / LINKS ---------------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 16px 32px; border-radius: 999px;
  font-size: 14.5px; font-weight: 600; letter-spacing: 0.01em;
  border: 1.5px solid transparent; transition: all 0.3s cubic-bezier(.16,.84,.44,1);
}
.btn-primary { background: var(--plum); color: var(--white); box-shadow: 0 10px 24px -10px rgba(51,80,42,0.45); }
.btn-primary:hover { background: var(--plum-deep); transform: translateY(-3px); box-shadow: 0 18px 34px -12px rgba(51,80,42,0.5); }
.btn-outline { background: transparent; border-color: var(--plum-line); color: var(--plum-deep); }
.btn-outline:hover { background: var(--plum); border-color: var(--plum); color: var(--white); transform: translateY(-3px); }
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; margin-top: 18px; }

.text-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-weight: 600; font-size: 14.5px; color: var(--plum);
  border-bottom: 1.5px solid var(--plum-line); padding-bottom: 2px; transition: all 0.25s ease;
}
.text-link:hover { border-color: var(--plum); color: var(--plum-deep); gap: 10px; }

/* ==========================================================
   TOPBAR — logo a sinistra, nav orizzontale al centro (desktop),
   hamburger + ricerca su mobile
   ========================================================== */
.topbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 200;
  height: var(--topbar-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 30px;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(1.4);
  border-bottom: 1px solid transparent;
  transition: background 0.35s ease, border-color 0.35s ease, height 0.35s ease, box-shadow 0.35s ease;
}
.topbar-side { display: flex; align-items: center; gap: 14px; min-width: 46px; z-index: 2; }
.topbar-side.right { justify-content: flex-end; }

.icon-btn {
  display: flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: transparent; border: 1px solid transparent; color: var(--forest);
  transition: all 0.25s ease;
}
.icon-btn:hover { background: var(--plum-wash); border-color: var(--plum-line); transform: translateY(-1px); }

.menu-btn span { display: block; width: 20px; height: 1.6px; background: var(--forest); margin: 4px 0; transition: transform 0.3s ease, opacity 0.3s ease; }
.menu-btn[aria-expanded="true"] span:nth-child(1) { transform: translateY(5.6px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-btn[aria-expanded="true"] span:nth-child(3) { transform: translateY(-5.6px) rotate(-45deg); }
.menu-label, .search-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-soft); display: none; }

.topbar-logo {
  font-family: var(--font-display); font-size: 21px; letter-spacing: 0.005em; color: var(--forest);
  transition: font-size 0.3s ease;
  z-index: 2;
}
.topbar-logo .dot { color: var(--moss); }

/* nav orizzontale desktop */
.nav-desktop { display: none; align-items: center; gap: 6px; z-index: 2; }
.nav-desktop-link {
  position: relative; padding: 9px 15px; font-size: 14px; font-weight: 500; color: var(--ink-soft);
  transition: color 0.25s ease;
}
.nav-desktop-link::after {
  content: ''; position: absolute; left: 15px; right: 15px; bottom: 4px; height: 1.5px;
  background: var(--plum); transform: scaleX(0); transform-origin: center; transition: transform 0.3s cubic-bezier(.16,.84,.44,1);
}
.nav-desktop-link:hover { color: var(--forest); }
.nav-desktop-link:hover::after, .nav-desktop-link.active::after { transform: scaleX(1); }
.nav-desktop-link.active { color: var(--forest); font-weight: 600; }

/* ---------------- NAV DRAWER (mobile / tutte le pagine) ---------------- */
.nav-scrim {
  position: fixed; inset: 0; background: rgba(20,28,17,0.46);
  opacity: 0; pointer-events: none; transition: opacity 0.35s ease; z-index: 210;
}
.nav-scrim.is-open { opacity: 1; pointer-events: auto; }

.nav-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 220;
  width: min(430px, 88vw);
  background: var(--plum-deep);
  color: var(--white);
  transform: translateX(-100%);
  transition: transform 0.5s cubic-bezier(.16,.9,.28,1);
  display: flex; flex-direction: column;
  padding: 32px 22px;
  overflow-y: auto;
}
.nav-drawer.is-open { transform: translateX(0); }

.drawer-top { display: flex; align-items: center; justify-content: space-between; padding: 8px 12px 36px; }
.drawer-logo { font-family: var(--font-display); font-size: 20px; color: var(--white); }
.drawer-close { color: var(--white); }
.drawer-close:hover { background: rgba(255,255,255,0.1); }

.drawer-links { display: flex; flex-direction: column; padding: 4px 4px; }
.drawer-link {
  display: flex; align-items: baseline; gap: 16px;
  padding: 18px 12px; border-bottom: 1px solid rgba(255,255,255,0.12);
  font-family: var(--font-display); font-size: 26px; color: rgba(255,255,255,0.72);
  transition: color 0.25s ease, padding-left 0.3s ease;
}
.drawer-link .idx { font-family: var(--font-body); font-size: 12px; color: var(--gold-soft); min-width: 22px; }
.drawer-link:hover, .drawer-link.active { color: var(--white); padding-left: 22px; }
.drawer-link.active .idx { color: var(--white); }

.drawer-foot { margin-top: auto; padding: 30px 12px 8px; border-top: 1px solid rgba(255,255,255,0.12); }
.drawer-foot p { color: rgba(255,255,255,0.55); font-size: 13px; margin-bottom: 6px; }
.drawer-foot a { color: var(--gold-soft); font-weight: 600; }

/* ---------------- SEARCH OVERLAY ---------------- */
.search-overlay {
  position: fixed; inset: 0; z-index: 230;
  background: rgba(251,248,241,0.98);
  backdrop-filter: blur(8px);
  opacity: 0; visibility: hidden; transform: translateY(-10px);
  transition: opacity 0.35s ease, transform 0.35s ease, visibility 0.35s;
  display: flex; flex-direction: column;
}
.search-overlay.is-open { opacity: 1; visibility: visible; transform: translateY(0); }

.search-top { display: flex; align-items: center; gap: 18px; padding: 24px 30px; border-bottom: 1px solid var(--line); }
.search-field { flex: 1; display: flex; align-items: center; gap: 14px; }
.search-field svg { flex-shrink: 0; color: var(--ink-faint); }
#search-input {
  flex: 1; border: none; background: transparent; outline: none;
  font-family: var(--font-display); font-size: clamp(22px, 3.4vw, 34px); color: var(--forest);
}
#search-input::placeholder { color: var(--ink-faint); }

.search-body { flex: 1; overflow-y: auto; }
.search-body .container { padding-top: 44px; padding-bottom: 64px; }
.search-hint { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); margin-bottom: 24px; }
.search-results { display: flex; flex-direction: column; }
.search-result {
  display: flex; align-items: center; justify-content: space-between; gap: 18px;
  padding: 21px 6px; border-bottom: 1px solid var(--line-soft);
  transition: padding-left 0.25s ease;
}
.search-result:hover { padding-left: 14px; }
.search-result-title { font-family: var(--font-display); font-size: 19px; color: var(--forest); }
.search-result-tag { font-size: 11px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--plum); }
.search-result-desc { font-size: 13.5px; color: var(--ink-soft); margin-top: 4px; }
.search-result-arrow { color: var(--plum); font-size: 20px; flex-shrink: 0; }
.search-empty { color: var(--ink-faint); font-size: 14px; padding: 20px 6px; }

.search-quicklinks { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
.search-quick-btn {
  padding: 10px 19px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: 13.5px; color: var(--ink-soft); transition: all 0.25s ease;
}
.search-quick-btn:hover { border-color: var(--plum); color: var(--plum); background: var(--plum-wash); transform: translateY(-2px); }

/* ==========================================================
   HERO (home) — forme organiche, prodotto in primo piano
   ========================================================== */
.hero {
  min-height: 96vh;
  display: flex; align-items: center; justify-content: center;
  padding-top: var(--topbar-h);
  background: linear-gradient(180deg, var(--sage-50) 0%, #FDFCF8 55%, var(--white) 100%);
  color: var(--forest);
  position: relative; overflow: hidden;
}
.hero .ridge-line path { stroke: var(--sage-200); }
.hero .ridge-line-back path { stroke: rgba(151,137,95,0.28); }

.hero-decor { position: absolute; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.hero-blob {
  position: absolute; border-radius: 42% 58% 65% 35% / 45% 45% 55% 55%;
  filter: blur(2px); opacity: .55;
  animation: blobDrift 16s ease-in-out infinite;
}
.hero-blob-1 { width: 420px; height: 420px; top: -120px; right: -100px; background: radial-gradient(circle at 35% 30%, var(--sage-200), transparent 70%); animation-duration: 18s; }
.hero-blob-2 { width: 280px; height: 280px; bottom: 6%; left: -80px; background: radial-gradient(circle at 60% 40%, var(--gold-wash), transparent 70%); animation-duration: 14s; animation-delay: -4s; }
.hero-blob-3 { width: 340px; height: 340px; top: 30%; left: 46%; background: radial-gradient(circle at 50% 50%, var(--moss-wash), transparent 70%); animation-duration: 20s; animation-delay: -8s; }
@keyframes blobDrift {
  0%, 100% { transform: translate(0,0) scale(1) rotate(0deg); }
  33% { transform: translate(18px,-22px) scale(1.06) rotate(6deg); }
  66% { transform: translate(-16px,14px) scale(0.96) rotate(-5deg); }
}
.hero-leaf { position: absolute; width: 46px; height: 46px; color: var(--moss); opacity: .35; animation: leafFloat 9s ease-in-out infinite; }
.hero-leaf-1 { top: 22%; left: 6%; animation-delay: -1s; }
.hero-leaf-2 { bottom: 18%; right: 8%; width: 34px; height: 34px; color: var(--gold-soft); animation-delay: -4.5s; }
@keyframes leafFloat {
  0%, 100% { transform: translateY(0) rotate(-6deg); }
  50% { transform: translateY(-18px) rotate(8deg); }
}

.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 40px; align-items: center; position: relative; z-index: 2; }
.hero-content { max-width: 600px; position: relative; z-index: 2; }
.hero .eyebrow {
  display: inline-block; font-size: 12px; font-weight: 600; letter-spacing: 0.19em; text-transform: uppercase;
  color: var(--plum); margin-bottom: 26px;
}
.hero .eyebrow::before { content: ''; }
.hero-title { color: var(--forest); font-size: clamp(42px, 5.6vw, 70px); margin-bottom: 26px; }
.hero-title em { font-style: italic; color: var(--plum); }
.hero-sub { color: var(--ink-soft); font-size: 18.5px; line-height: 1.85; max-width: 540px; margin: 0 0 38px; }
.hero .hero-cta { justify-content: flex-start; }

.hero-visual { position: relative; display: flex; align-items: center; justify-content: center; min-height: 420px; }
.hero-visual-glow {
  position: absolute; width: 340px; height: 340px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-200) 0%, rgba(211,225,189,0) 72%);
  filter: blur(4px);
}
.hero-visual-media { position: relative; z-index: 2; width: 240px; }
.hero-visual-media img { width: 100%; filter: drop-shadow(0 40px 50px rgba(30,43,26,0.28)); }
.hero-visual-badge {
  position: absolute; z-index: 3; bottom: 6%; right: 4%;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 14px 18px; font-family: var(--font-display); font-size: 17px; color: var(--forest);
  box-shadow: var(--shadow-sm); line-height: 1.3;
}
.hero-visual-badge small { display: block; font-family: var(--font-body); font-size: 10.5px; color: var(--ink-faint); font-weight: 500; letter-spacing: 0.03em; margin-top: 3px; }

.scroll-hint { position: absolute; bottom: 34px; left: 50%; transform: translateX(-50%); z-index: 2; }
.scroll-hint span {
  display: block; width: 1px; height: 46px; background: var(--line);
  position: relative; overflow: hidden;
}
.scroll-hint span::after {
  content: ''; position: absolute; top: -100%; left: 0; width: 100%; height: 100%;
  background: var(--plum); animation: hint-slide 2.2s infinite ease-in-out;
}
@keyframes hint-slide { 0% { top: -100%; } 60% { top: 100%; } 100% { top: 100%; } }

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero .hero-cta, .hero-sub { justify-content: center; margin-left: auto; margin-right: auto; }
  .hero-visual { min-height: 300px; margin-top: 20px; }
  .hero-visual-media { width: 190px; }
}

/* ---------------- SUB-PAGE HEADER ---------------- */
.page-header {
  padding: calc(var(--topbar-h) + 84px) 0 84px;
  background: linear-gradient(180deg, var(--sage-50) 0%, var(--white) 100%);
  text-align: center; position: relative; overflow: hidden;
}
.page-header::before {
  content: ''; position: absolute; z-index: 0; top: -160px; right: -160px;
  width: 460px; height: 460px; border-radius: 50%;
  background: radial-gradient(circle, var(--sage-200) 0%, rgba(211,225,189,0) 70%);
}
.page-header .eyebrow { display: block; }
.page-header h1 { margin: 0 auto 18px; max-width: 740px; }
.page-header .page-lede { max-width: 580px; margin: 0 auto; font-size: 18px; line-height: 1.85; }

.eyebrow { font-size: 12px; font-weight: 600; letter-spacing: 0.17em; text-transform: uppercase; color: var(--plum); margin-bottom: 16px; }
.eyebrow.center { display: block; text-align: center; }

.breadcrumb {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  font-size: 12.5px; color: var(--ink-faint); margin-bottom: 24px;
}
.breadcrumb a { color: var(--ink-faint); }
.breadcrumb a:hover { color: var(--plum); }
.breadcrumb span:last-child { color: var(--ink-soft); }

/* ---------------- INTRO / FACTS ---------------- */
.intro-facts { display: flex; flex-direction: column; background: var(--sage-50); border-radius: var(--radius-lg); padding: 8px 32px; }
.fact-row { padding: 22px 0; border-bottom: 1px solid var(--line); display: flex; flex-direction: column; gap: 5px; }
.fact-row.no-border { border-bottom: none; }
.fact-label { font-size: 11px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--plum); }
.fact-value { font-family: var(--font-display); font-size: 22px; color: var(--forest); }
.fact-sub { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }
.territory-list { background: var(--sage-50); border-radius: var(--radius-lg); padding: 8px 32px; }
.territory-list .fact-row { padding: 26px 0; }

/* ---------------- WINE CARDS ---------------- */
.wine-preview-grid, .wine-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin-top: 50px; }
.wine-preview-card, .wine-card {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 44px; transition: all 0.35s cubic-bezier(.16,.84,.44,1); position: relative;
}
.wine-preview-card:hover, .wine-card:hover { border-color: var(--plum-line); box-shadow: var(--shadow); transform: translateY(-8px); }
.wine-tag {
  display: inline-block; padding: 7px 15px; border-radius: 999px;
  background: var(--moss-wash); color: var(--plum-deep); font-size: 11px; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 20px;
}
.wine-card h3, .wine-preview-card h3 { font-size: 28px; }
.wine-description { font-size: 15px; line-height: 1.9; margin-bottom: 26px; color: var(--ink-soft); }
.spec-table { width: 100%; border-collapse: collapse; margin-bottom: 24px; }
.spec-table tr { border-bottom: 1px solid var(--line-soft); }
.spec-table tr:last-child { border-bottom: none; }
.spec-table td { padding: 11px 0; font-size: 13.5px; vertical-align: top; }
.spec-table td:first-child { color: var(--ink-faint); width: 38%; }
.spec-table td:last-child { color: var(--forest); font-weight: 500; text-align: right; }

.compare-box { margin-top: 60px; background: var(--sage-50); border: 1px solid var(--sage-200); border-radius: var(--radius-lg); padding: 44px; }
.compare-box h4 { margin-bottom: 18px; }
.compare-box p { font-size: 14.5px; margin-bottom: 0; }
.compare-box strong { color: var(--plum-deep); }

/* ---------------- STATS / TERRITORY ---------------- */
.territory-band { text-align: center; }
.stat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; margin-top: 22px; }
.stat-item {
  position: relative; overflow: hidden;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 40px 16px 32px; text-align: center;
  transition: transform 0.3s cubic-bezier(.16,.84,.44,1), box-shadow 0.3s ease, border-color 0.3s ease;
}
.stat-item::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--moss), var(--gold-soft));
  transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease;
}
.stat-item:hover { box-shadow: var(--shadow-sm); border-color: var(--plum-line); }
.stat-item:hover::before { transform: scaleX(1); }
.stat-num {
  display: block; font-family: var(--font-display); font-weight: 500;
  font-size: clamp(27px, 3.6vw, 35px); line-height: 1.1; white-space: nowrap;
  color: var(--plum); margin-bottom: 13px;
}
.stat-label {
  display: block; max-width: 132px; margin: 0 auto;
  font-size: 11px; line-height: 1.6; letter-spacing: 0.06em;
  text-transform: uppercase; color: var(--ink-faint);
}

.tasting-invite { text-align: center; }

/* ---------------- TIMELINE ---------------- */
.timeline { margin-top: 42px; display: flex; flex-direction: column; gap: 0; }
.timeline-item { display: flex; align-items: baseline; gap: 22px; padding: 17px 0; border-bottom: 1px solid var(--line-soft); position: relative; padding-left: 20px; }
.timeline-item::before { content: ''; position: absolute; left: 0; top: 50%; transform: translateY(-50%); width: 7px; height: 7px; border-radius: 50%; background: var(--moss); }
.timeline-item:last-child { border-bottom: none; }
.timeline-year { font-family: var(--font-display); font-size: 22px; color: var(--plum); min-width: 58px; }
.timeline-text { font-size: 14.5px; color: var(--forest); }

/* ---------------- VALUE CARDS ---------------- */
.col-values h3 { margin-bottom: 28px; }
.value-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 28px 30px; margin-bottom: 18px; transition: all 0.3s ease; }
.value-card:hover { border-color: var(--plum-line); }
.value-card h4 { margin-bottom: 11px; font-size: 17.5px; }
.value-card p { font-size: 14.5px; margin-bottom: 0; }

/* ---------------- EXPERIENCE CARDS ---------------- */
.experience-list { display: flex; flex-direction: column; gap: 20px; }
.experience-card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 30px; transition: all 0.3s ease; }
.experience-card:hover { border-color: var(--plum-line); box-shadow: var(--shadow-sm); }
.exp-icon {
  font-size: 22px; display: inline-flex; align-items: center; justify-content: center;
  width: 52px; height: 52px; border-radius: 50%; background: var(--sage-100); margin-bottom: 18px;
}
.experience-card p { font-size: 14px; margin-bottom: 0; }

.experience-list-3col { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 900px) { .experience-list-3col { grid-template-columns: 1fr; } }

/* ---------------- CONTACT ---------------- */
.contact-band { text-align: center; }
.contact-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; margin-top: 22px; }
.contact-block { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-md); padding: 32px 22px; text-align: left; transition: all 0.3s ease; }
.contact-block:hover { border-color: var(--plum-line); box-shadow: var(--shadow-sm); }
.contact-label { display: block; font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--plum); margin-bottom: 11px; }
.contact-value { font-size: 15.5px; color: var(--forest); line-height: 1.6; }
.contact-value a:hover { color: var(--plum); }

/* ---------------- FOOTER ---------------- */
.footer { padding: 76px 0 40px; position: relative; z-index: 2; background: var(--plum-deep); color: rgba(255,255,255,0.82); overflow: hidden; }
.footer::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 60px;
  background: var(--white);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 60' preserveAspectRatio='none'%3E%3Cpath d='M0,20 C200,55 350,0 560,24 C760,46 900,4 1120,26 C1260,40 1340,18 1400,24 L1400,0 L0,0 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1400 60' preserveAspectRatio='none'%3E%3Cpath d='M0,20 C200,55 350,0 560,24 C760,46 900,4 1120,26 C1260,40 1340,18 1400,24 L1400,0 L0,0 Z'/%3E%3C/svg%3E") center/100% 100% no-repeat;
}
.footer-inner {
  display: grid; grid-template-columns: 1.4fr 0.8fr 0.8fr 1fr; gap: 44px;
  text-align: left; align-items: start; padding-top: 10px;
}
.footer-brand .footer-logo { font-family: var(--font-display); font-size: 23px; display: block; margin-bottom: 16px; color: var(--white); }
.footer-brand .dot { color: var(--gold-soft); }
.footer-tag { color: rgba(255,255,255,0.62); font-size: 14px; line-height: 1.7; max-width: 260px; margin-bottom: 18px; }
.footer-small { font-size: 12px; color: rgba(255,255,255,0.42); }
.footer-col { display: flex; flex-direction: column; gap: 12px; }
.footer-col-title { font-size: 11px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: var(--gold-soft); margin-bottom: 6px; }
.footer-col a { font-size: 14.5px; color: rgba(255,255,255,0.78); transition: color 0.2s ease, padding-left 0.2s ease; }
.footer-col a:hover { color: var(--white); padding-left: 4px; }
.footer-address { font-size: 14.5px; color: rgba(255,255,255,0.78); line-height: 1.6; }

.footer-col-banner { justify-content: flex-start; }
.footer-banner-img { display: block; max-width: 180px; width: 100%; border-radius: 4px; }

@media (max-width: 900px) {
  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; margin-bottom: 10px; }
}
@media (max-width: 640px) {
  .footer-inner { grid-template-columns: 1fr; text-align: center; }
  .footer-brand { text-align: center; }
  .footer-tag { margin-left: auto; margin-right: auto; }
  .footer-col-banner { align-items: center; }
  .footer-banner-img { max-width: 160px; margin: 0 auto; }
}

/* ==========================================================
   CHATBOT — Vigna, assistente AI
   ========================================================== */
#chatbot-launcher {
  position: fixed; left: 26px; bottom: 26px; z-index: 150;
  width: 62px; height: 62px; border-radius: 50%;
  background: var(--plum); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow); transition: transform 0.3s cubic-bezier(.16,.84,.44,1);
}
#chatbot-launcher:hover { transform: scale(1.08) rotate(-4deg); }
#chatbot-launcher.launcher-hidden { opacity: 0; pointer-events: none; transform: scale(0.7); }
.launcher-icon { font-size: 24px; position: relative; z-index: 2; }
.launcher-pulse {
  position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--plum);
  animation: pulse-ring 2.4s infinite ease-out;
}
@keyframes pulse-ring { 0% { transform: scale(1); opacity: 0.6; } 100% { transform: scale(1.7); opacity: 0; } }

#chatbot-window {
  position: fixed; left: 26px; bottom: 26px; z-index: 160;
  width: 384px; max-width: calc(100vw - 40px); height: 564px; max-height: calc(100vh - 60px);
  background: var(--paper); border-radius: var(--radius-lg); box-shadow: var(--shadow);
  display: flex; flex-direction: column; overflow: hidden;
  border: 1px solid var(--line);
  transition: opacity 0.3s ease, transform 0.3s cubic-bezier(.16,.84,.44,1);
}
#chatbot-window.chatbot-hidden { opacity: 0; pointer-events: none; transform: translateY(18px) scale(0.96); }

#chatbot-header {
  display: flex; align-items: center; gap: 10px; padding: 17px 19px;
  background: var(--plum-deep); color: var(--white); cursor: grab;
}
#chatbot-header.dragging { cursor: grabbing; }
.chat-drag-handle { opacity: 0.4; font-size: 12px; letter-spacing: 2px; }
.chat-header-info { display: flex; align-items: center; gap: 11px; flex: 1; }
.chat-avatar {
  width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,0.14);
  display: flex; align-items: center; justify-content: center; font-size: 18px;
}
.chat-name { font-family: var(--font-display); font-size: 17px; font-weight: 600; display: flex; align-items: center; }
.chat-status { font-size: 11px; color: rgba(255,255,255,0.7); display: flex; align-items: center; gap: 5px; }
.chat-status .dot { width: 6px; height: 6px; border-radius: 50%; background: #8FD86E; display: inline-block; }
.chat-ai-badge {
  font-size: 9.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--gold-soft); color: var(--plum-deep); padding: 3px 7px; border-radius: 999px; margin-left: 8px;
}
#chatbot-close { background: none; border: none; color: rgba(255,255,255,0.8); font-size: 16px; padding: 6px; }
#chatbot-close:hover { color: var(--white); }

#chatbot-messages { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.chat-msg { max-width: 86%; display: flex; flex-direction: column; }
.chat-msg.bot { align-self: flex-start; }
.chat-msg.user { align-self: flex-end; align-items: flex-end; }
.chat-bubble { padding: 12px 15px; font-size: 14px; line-height: 1.55; }
.chat-msg.bot .chat-bubble { background: var(--sage-50); color: var(--forest); border: 1px solid var(--line); border-radius: 4px 16px 16px 16px; }
.chat-msg.user .chat-bubble { background: var(--plum); color: var(--white); font-weight: 500; border-radius: 16px 4px 16px 16px; }
.chat-typing { display: flex; gap: 4px; padding: 14px 16px; }
.chat-typing span { width: 6px; height: 6px; border-radius: 50%; background: var(--plum); opacity: 0.5; animation: typing-bounce 1.1s infinite; }
.chat-typing span:nth-child(2) { animation-delay: 0.15s; }
.chat-typing span:nth-child(3) { animation-delay: 0.3s; }
@keyframes typing-bounce { 0%, 60%, 100% { transform: translateY(0); opacity: 0.5; } 30% { transform: translateY(-4px); opacity: 1; } }

#chatbot-suggestions { display: flex; flex-wrap: wrap; gap: 8px; padding: 0 18px 12px; }
.chat-suggest-btn {
  padding: 8px 13px; border-radius: 999px; border: 1px solid var(--line);
  background: var(--white); font-size: 12.5px; color: var(--ink-soft); transition: all 0.2s ease;
}
.chat-suggest-btn:hover { border-color: var(--plum); color: var(--plum); background: var(--plum-wash); }

#chatbot-input-row { display: flex; gap: 8px; padding: 14px; border-top: 1px solid var(--line); background: var(--white); }
#chatbot-input {
  flex: 1; border: 1px solid var(--line); border-radius: 999px; padding: 11px 16px;
  font-family: var(--font-body); font-size: 14px; outline: none; background: var(--cream);
}
#chatbot-input:focus { border-color: var(--plum-line); }
#chatbot-send {
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: var(--plum); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: 15px; flex-shrink: 0; transition: background 0.2s ease;
}
#chatbot-send:hover { background: var(--plum-deep); }
#chatbot-send:disabled { opacity: 0.5; pointer-events: none; }

/* ---------------- WHATSAPP FAB ---------------- */
#whatsapp-fab {
  position: fixed; right: 26px; bottom: 26px; z-index: 150;
  width: 58px; height: 58px; border-radius: 50%; background: #25D366;
  display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow);
  transition: transform 0.3s cubic-bezier(.16,.84,.44,1);
}
#whatsapp-fab:hover { transform: scale(1.09) rotate(4deg); }

/* ---------------- MAIL POPOVER ---------------- */
.mail-popover {
  position: absolute; z-index: 300; background: var(--white); border: 1px solid var(--line);
  border-radius: var(--radius-sm); padding: 10px; box-shadow: var(--shadow); min-width: 220px;
}
.mail-popover-title { display: block; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-faint); padding: 6px 10px 8px; }
.mail-popover-opt { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 10px; font-size: 14px; color: var(--forest); transition: background 0.15s ease; }
.mail-popover-opt:hover { background: var(--plum-wash); color: var(--plum-deep); }
.mail-ico { width: 26px; height: 26px; border-radius: 7px; display: flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.mail-ico-gmail { background: #EA4335; color: #fff; }
.mail-ico-outlook { background: #0A66C2; color: #fff; }
.mail-ico-default { background: var(--plum); color: var(--white); }

/* ---------------- WINE CAROUSEL (pagina vini) ---------------- */
.wine-carousel-wrap { position: relative; }
.wine-carousel { overflow: hidden; border-radius: var(--radius-lg); }
.wine-carousel-track {
  display: flex; gap: 30px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth;
  -ms-overflow-style: none; scrollbar-width: none; padding: 4px 2px;
}
.wine-carousel-track.dragging { cursor: grabbing; scroll-behavior: auto; }
.wine-carousel-track::-webkit-scrollbar { display: none; }
.wine-slide {
  flex: 0 0 100%; scroll-snap-align: center;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 48px;
}
.wine-slide .spec-table { margin-top: 6px; }
.carousel-nav { display: flex; align-items: center; justify-content: center; gap: 18px; margin-top: 26px; }
.carousel-arrow {
  width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--white);
  display: flex; align-items: center; justify-content: center; transition: all 0.25s ease;
}
.carousel-arrow:hover { background: var(--plum-wash); border-color: var(--plum-line); transform: scale(1.08); }
.carousel-arrow:disabled { opacity: 0.3; pointer-events: none; }
.carousel-arrow-prev svg { transform: scaleX(-1); }
.carousel-dots { display: flex; gap: 9px; }
.carousel-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); border: none; transition: all 0.25s ease; }
.carousel-dot.active { background: var(--plum); transform: scale(1.35); }
.carousel-hint { text-align: center; margin-top: 18px; font-size: 12.5px; color: var(--ink-faint); }
.wine-card-media { margin-bottom: 30px; }

/* ---------------- RULLINO FOTO / GALLERY ---------------- */
.gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 50px;
}
.gallery-item {
  position: relative; overflow: hidden; border-radius: var(--radius-md); aspect-ratio: 4 / 3;
  border: 1px solid var(--line); cursor: zoom-in; background: var(--sage-50);
}
.gallery-item:nth-child(5) { grid-column: span 2; aspect-ratio: 8 / 5; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s cubic-bezier(.16,.84,.44,1); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item-cap {
  position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px 14px;
  background: linear-gradient(0deg, rgba(20,28,17,0.75) 0%, rgba(20,28,17,0) 100%);
  color: var(--white); font-size: 12.5px; font-weight: 500;
  opacity: 0; transform: translateY(6px); transition: all 0.3s ease;
}
.gallery-item:hover .gallery-item-cap { opacity: 1; transform: translateY(0); }

.lightbox {
  position: fixed; inset: 0; z-index: 400; background: rgba(20,28,17,0.94);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; visibility: hidden; transition: opacity 0.35s ease, visibility 0.35s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-width: 88vw; max-height: 80vh; border-radius: 14px; box-shadow: var(--shadow); }
.lightbox-cap { color: rgba(255,255,255,0.85); font-size: 14px; text-align: center; margin-top: 16px; }
.lightbox-close, .lightbox-prev, .lightbox-next {
  position: fixed; color: var(--white); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%; width: 46px; height: 46px; display: flex; align-items: center; justify-content: center;
  font-size: 18px; transition: background 0.25s ease, transform 0.25s ease;
}
.lightbox-close:hover, .lightbox-prev:hover, .lightbox-next:hover { background: rgba(255,255,255,0.22); transform: scale(1.06); }
.lightbox-close { top: 26px; right: 26px; }
.lightbox-prev { left: 26px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 26px; top: 50%; transform: translateY(-50%); }

@media (max-width: 900px) {
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-item:nth-child(5) { grid-column: span 2; }
}
@media (max-width: 640px) {
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 10px; }
  .lightbox-prev, .lightbox-next { width: 40px; height: 40px; font-size: 15px; }
  .lightbox-close { width: 38px; height: 38px; top: 14px; right: 14px; }
  .lightbox-prev { left: 8px; } .lightbox-next { right: 8px; }
}

/* ---------------- REVEAL ON SCROLL ---------------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1); transition-delay: var(--reveal-delay, 0s); }
.reveal.is-visible { opacity: 1; transform: translateY(0); }
.reveal-scale { opacity: 0; transform: scale(0.93); transition: opacity 0.8s cubic-bezier(.16,.84,.44,1), transform 0.8s cubic-bezier(.16,.84,.44,1); transition-delay: var(--reveal-delay, 0s); }
.reveal-scale.is-visible { opacity: 1; transform: scale(1); }

/* ==========================================================
   EFFETTI MODERNI — animazioni, hover foto, micro-interazioni
   ========================================================== */

/* barra di avanzamento scroll */
#scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--moss), var(--plum), var(--gold-soft));
  background-size: 200% 100%;
  z-index: 2000; transition: width 0.12s ease-out;
  animation: progressShimmer 4s linear infinite;
}
@keyframes progressShimmer { 0% { background-position: 0% 0; } 100% { background-position: 200% 0; } }

/* topbar che si restringe allo scroll */
.topbar.is-scrolled {
  height: 64px;
  background-color: rgba(255,255,255,0.92);
  border-bottom-color: var(--line);
  backdrop-filter: blur(14px);
  box-shadow: 0 12px 34px -18px rgba(30,43,26,0.22);
}
.topbar.is-scrolled .topbar-logo { font-size: 19px; }

/* pulsante torna su */
#back-to-top {
  position: fixed; right: 22px; bottom: 90px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--plum); color: var(--white); display: flex; align-items: center; justify-content: center;
  box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transform: translateY(14px) scale(0.9);
  transition: opacity 0.35s ease, transform 0.35s cubic-bezier(.34,1.56,.64,1), background 0.25s ease;
  z-index: 500; cursor: pointer; border: none;
}
#back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0) scale(1); }
#back-to-top:hover { background: var(--moss-deep); transform: translateY(-3px) scale(1.05); }
@media (max-width: 640px) { #back-to-top { right: 16px; bottom: 172px; } }

/* effetto luce che attraversa la foto al passaggio del mouse */
.shine-fx { position: relative; overflow: hidden; }
.shine-fx::after {
  content: ''; position: absolute; top: 0; left: -60%; width: 45%; height: 100%;
  background: linear-gradient(115deg, transparent 0%, rgba(255,255,255,0.55) 50%, transparent 100%);
  transform: skewX(-18deg); transition: left 0.9s cubic-bezier(.2,.7,.2,1); pointer-events: none; z-index: 3;
}
.shine-fx:hover::after { left: 130%; }

/* zoom e leggera rotazione delle foto al passaggio del mouse */
.gallery-item img,
.wine-card-media img,
.wine-slide-media img,
.hero-visual-media img {
  transition: transform 0.7s cubic-bezier(.16,.84,.44,1), filter 0.5s ease;
  will-change: transform;
}
.wine-card-media, .wine-slide-media {
  overflow: hidden; border-radius: var(--radius-md); position: relative;
}
.wine-card-media:hover img { transform: scale(1.06) rotate(-1deg); filter: saturate(1.08); }
.wine-slide-media { margin-bottom: 28px; max-width: 260px; }
.wine-slide-media:hover img { transform: scale(1.05) rotate(1deg); filter: saturate(1.08); }
.gallery-item:hover img { filter: saturate(1.1) brightness(1.02); }

/* leggero fluttuare della bottiglia, come sospesa */
@keyframes bottleFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.wine-slide-media img, .wine-card-media img, .hero-visual-media img { animation: bottleFloat 6s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
  .wine-slide-media img, .wine-card-media img, .hero-visual-media img { animation: none; }
}

/* card che si sollevano al passaggio del mouse */
.wine-preview-card, .wine-card, .value-card, .experience-card, .gallery-item, .stat-item, .contact-block {
  transition: transform 0.4s cubic-bezier(.16,.84,.44,1), box-shadow 0.4s ease, border-color 0.4s ease;
}
.value-card:hover, .experience-card:hover, .contact-block:hover { transform: translateY(-6px); }
.stat-item:hover { transform: translateY(-4px); }

/* sweep di luce sui pulsanti primari */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn-primary::before, .btn-booking::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,0.22) 50%, transparent 70%);
  transform: translateX(-120%); transition: transform 0.6s ease;
}
.btn-primary:hover::before, .btn-booking:hover::before { transform: translateX(120%); }

/* pulsante di prenotazione Booking.com */
.btn-booking {
  display: inline-flex; align-items: center; gap: 10px; padding: 15px 28px; border-radius: 999px;
  background: linear-gradient(135deg, #003580, #0057B8); color: #fff; font-weight: 600; font-size: 15px;
  letter-spacing: 0.2px; box-shadow: 0 14px 28px rgba(0,53,128,0.28);
  transition: transform 0.3s cubic-bezier(.16,.84,.44,1), box-shadow 0.3s ease;
}
.btn-booking:hover { transform: translateY(-3px); box-shadow: 0 18px 36px rgba(0,53,128,0.36); color: #fff; }
.btn-booking svg { flex-shrink: 0; }

/* effetto parallasse leggero sull'hero */
.hero-content { transition: transform 0.1s linear; }

/* numeri che pulsano leggermente quando entrano in vista */
@keyframes numberPop {
  0% { opacity: 0; transform: scale(0.7); }
  60% { opacity: 1; transform: scale(1.08); }
  100% { opacity: 1; transform: scale(1); }
}
.stat-num.is-counted { animation: numberPop 0.55s cubic-bezier(.34,1.56,.64,1); }

/* icone che ruotano leggermente al passaggio del mouse */
.experience-card:hover .exp-icon { transform: scale(1.14) rotate(-8deg); }

/* etichette wine-tag con leggero pop */
.wine-tag { transition: transform 0.3s ease; }
.wine-preview-card:hover .wine-tag, .wine-slide:hover .wine-tag { transform: scale(1.05); }

@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-scale, .wine-preview-card, .wine-card, .value-card, .experience-card,
  .gallery-item, .stat-item, .contact-block, .btn, .text-link, .hero-content,
  .hero-blob, .hero-leaf { transition: none !important; animation: none !important; }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (min-width: 1024px) {
  .nav-desktop { display: flex; }
  .topbar .menu-btn, .topbar .menu-label { display: none; }
  .search-label { display: inline-block; }
  .icon-btn { width: auto; padding: 0 16px 0 10px; border-radius: 999px; gap: 8px; }
}

@media (max-width: 900px) {
  .two-col { grid-template-columns: 1fr; gap: 44px; }
  .wine-preview-grid, .wine-detail-grid { grid-template-columns: 1fr; }
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  .container { padding: 0 22px; }
  .section { padding: 76px 0; }
  .topbar { padding: 0 16px; }
  .topbar-side { min-width: 46px; }
  .hero { min-height: 92vh; }
  .page-header { padding-top: calc(var(--topbar-h) + 54px); padding-bottom: 58px; }
  .stat-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .intro-facts, .territory-list { padding: 4px 22px; }
  #chatbot-window { left: 12px; right: 12px; width: auto; bottom: 96px; }
  #chatbot-launcher { left: 16px; bottom: 16px; }
  #whatsapp-fab { right: 16px; bottom: 16px; }
  .search-top { padding: 16px; }
  .nav-drawer { padding: 24px 16px; }
  .drawer-link { font-size: 21px; }
  body[data-page="artemide-relais"] .topbar-logo { font-size: 14px; text-align: center; line-height: 1.15; max-width: calc(100vw - 140px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
}

@media (max-width: 400px) {
  body[data-page="artemide-relais"] .topbar-logo { font-size: 12.5px; max-width: calc(100vw - 120px); }
}
