:root {
  --cream: #FAF6EF;
  --cream-deep: #F1E9DB;
  --espresso: #2B1B14;
  --espresso-soft: #4A362B;
  --wine: #7C1F2E;
  --wine-dark: #5C1621;
  --gold: #B08D4F;
  --gold-light: #D8C193;
  --line: rgba(43, 27, 20, 0.12);
  --shadow: 0 20px 50px -25px rgba(43, 27, 20, 0.35);
  --shadow-3d: 0 30px 60px -30px rgba(43, 27, 20, 0.6);
  --ff-serif: "Playfair Display", Georgia, serif;
  --ff-sans: "Nunito Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: var(--ff-sans);
  color: var(--espresso);
  background: var(--cream);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  touch-action: manipulation;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

h1, h2, h3 { font-family: var(--ff-serif); font-weight: 600; line-height: 1.15; }

.eyebrow {
  font-family: var(--ff-sans);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.9rem;
}

.section-sub {
  font-size: 1.02rem;
  color: var(--espresso-soft);
  max-width: 600px;
  margin: 1rem auto 0;
}

/* ---------- Top bar ---------- */
.topbar {
  background: var(--espresso);
  color: var(--cream-deep);
  font-size: 0.82rem;
  padding: 0.5rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  letter-spacing: 0.02em;
  gap: 0.5rem;
}
.topbar a { font-weight: 700; color: var(--gold-light); white-space: nowrap; }
.topbar i { margin-right: 0.4rem; }
.topbar span i { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 239, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s ease;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0.7rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand img { height: 52px; transition: height 0.3s ease; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--espresso-soft);
  position: relative;
  padding: 0.3rem 0;
  transition: color 0.2s ease;
}
.main-nav a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--wine);
  transition: width 0.25s ease;
}
.main-nav a:not(.nav-cta):hover:after { width: 100%; }
.main-nav a:not(.nav-cta):hover { color: var(--wine); }

.nav-cta {
  background: var(--wine);
  color: #fff !important;
  padding: 0.6rem 1.3rem;
  border-radius: 3px;
  font-size: 0.85rem;
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-cta:hover { background: var(--wine-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 101;
}
.nav-toggle span { width: 24px; height: 2px; background: var(--espresso); display: block; transition: all 0.3s ease; }
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  height: 88vh;
  min-height: 560px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 65%;
  transition: transform 0.1s ease-out;
  will-change: transform;
}
.hero-scrim {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(20,12,8,0.15) 0%, rgba(20,12,8,0.25) 45%, rgba(20,12,8,0.82) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 720px;
  padding: 0 1.5rem 5rem;
  margin: 0 auto;
  width: 100%;
  will-change: transform;
}
.hero-content .eyebrow { color: var(--gold-light); }
.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  margin-bottom: 1.1rem;
  text-wrap: balance;
}
.hero h1 .word-reveal {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
}
.hero h1 .word-reveal span {
  display: inline-block;
  transform: translateY(100%);
  animation: wordUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}
.hero h1 .word-reveal:nth-child(1) span { animation-delay: 0.2s; }
.hero h1 .word-reveal:nth-child(2) span { animation-delay: 0.35s; }
.hero h1 .word-reveal:nth-child(3) span { animation-delay: 0.5s; }
.hero h1 .word-reveal:nth-child(4) span { animation-delay: 0.65s; }
.hero h1 .word-reveal:nth-child(5) span { animation-delay: 0.8s; }

@keyframes wordUp {
  0% { transform: translateY(100%); }
  100% { transform: translateY(0); }
}

.hero-lede {
  font-size: 1.08rem;
  max-width: 46ch;
  color: rgba(255,255,255,0.88);
  margin-bottom: 2rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block;
  padding: 0.85rem 1.8rem;
  font-weight: 700;
  font-size: 0.92rem;
  border-radius: 3px;
  border: 1.5px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.08);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:hover::after { opacity: 1; }
.btn-primary { background: var(--wine); color: #fff; }
.btn-primary:hover { background: var(--wine-dark); }
.btn-ghost { border-color: rgba(255,255,255,0.7); color: #fff; background: transparent; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-dark { background: var(--espresso); color: #fff; }
.btn-dark:hover { background: #000; }
.btn i { margin-right: 0.4rem; }

/* ---------- Marquee ---------- */
.marquee {
  background: var(--espresso);
  color: var(--gold-light);
  overflow: hidden;
  padding: 0.9rem 0;
  white-space: nowrap;
}
.marquee-track {
  display: inline-flex;
  gap: 0.8rem;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.05rem;
  animation: scroll 28s linear infinite;
}
.marquee-track span:nth-child(2n) { color: var(--gold); opacity: 0.6; }
@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ---------- Storia ---------- */
.storia {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 4rem;
  align-items: center;
}
.storia-media {
  perspective: 1000px;
}
.storia-media img {
  width: 100%;
  aspect-ratio: 4/5;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: var(--shadow-3d);
  transition: transform 0.3s ease;
  will-change: transform;
}
.storia-text h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1.4rem; }
.storia-text p { margin-bottom: 1.1rem; color: var(--espresso-soft); max-width: 58ch; }
.storia-stats {
  display: flex;
  gap: 2.5rem;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--line);
}
.storia-stats div { text-align: center; }
.storia-stats strong {
  display: block;
  font-family: var(--ff-serif);
  font-size: 2.4rem;
  color: var(--wine);
}
.storia-stats span { font-size: 0.82rem; color: var(--espresso-soft); text-transform: uppercase; letter-spacing: 0.04em; }

/* ---------- Prodotti ---------- */
.prodotti { background: var(--cream-deep); padding: 6rem 1.5rem; }
.section-head { max-width: 1200px; margin: 0 auto 3rem; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); }
.section-head.light .eyebrow { color: var(--gold-light); }
.section-head.light h2 { color: #fff; }

.prodotti-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.prodotto-card {
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 12px 32px -22px rgba(43,27,20,0.4);
  transition: box-shadow 0.3s ease;
  transform-style: preserve-3d;
  perspective: 1000px;
  will-change: transform;
}
.prodotto-card:hover {
  box-shadow: var(--shadow-3d), 0 0 40px rgba(124, 31, 46, 0.08);
}
.prodotto-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.prodotto-card:hover img { transform: scale(1.08); }
.prodotto-info { padding: 1.6rem; }
.prodotto-info h3 { font-size: 1.25rem; margin-bottom: 0.6rem; color: var(--wine); }
.prodotto-info p { font-size: 0.92rem; color: var(--espresso-soft); }
.card-plain { background: #fff; }
.card-plain .prodotto-info { padding-top: 2.2rem; padding-bottom: 2.2rem; text-align: center; }
.card-icon { font-size: 2rem; color: var(--gold); margin-bottom: 1rem; display: block; }
.card-cta {
  display: inline-block;
  margin-top: 1rem;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--wine);
  position: relative;
}
.card-cta::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 1.5px;
  background: var(--wine);
  transition: width 0.25s ease;
}
.card-cta:hover::after { width: 100%; }

/* ---------- Servizi ---------- */
.servizi {
  padding: 6rem 1.5rem;
  background: #fff;
}
.servizi-inner {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}
.servizi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}
.servizio-card {
  padding: 2.5rem 1.8rem;
  border: 1px solid var(--line);
  border-radius: 4px;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
  position: relative;
}
.servizio-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--gold-light), transparent 40%, transparent 60%, var(--wine));
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.servizio-card:hover::before { opacity: 1; }
.servizio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-3d);
  border-color: transparent;
}
.servizio-card i {
  font-size: 2.4rem;
  color: var(--wine);
  margin-bottom: 1rem;
  display: inline-block;
  transition: transform 0.3s ease;
}
.servizio-card:hover i {
  transform: scale(1.15);
}
.servizio-card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.6rem;
  color: var(--espresso);
}
.servizio-card p {
  font-size: 0.9rem;
  color: var(--espresso-soft);
}

/* ---------- Galleria ---------- */
.galleria { max-width: 1200px; margin: 0 auto; padding: 6rem 1.5rem; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-item {
  border: none; padding: 0; cursor: pointer;
  border-radius: 4px; overflow: hidden;
  aspect-ratio: 1/1;
  background: var(--cream-deep);
  position: relative;
  transform-style: preserve-3d;
  perspective: 600px;
  will-change: transform;
}
.gallery-item::after {
  content: "🔍";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  background: rgba(43, 27, 20, 0);
  transition: background 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}
.gallery-item:hover::after {
  background: rgba(43, 27, 20, 0.55);
  opacity: 1;
}
.gallery-item img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.gallery-item:hover img { transform: scale(1.08); }

/* ---------- Recensioni ---------- */
.recensioni { background: var(--espresso); color: var(--cream); padding: 6rem 1.5rem; position: relative; overflow: hidden; }

.recensioni::before {
  content: '"';
  position: absolute;
  top: -0.15em;
  left: 0.08em;
  font-size: 40vw;
  font-family: var(--ff-serif);
  color: rgba(255,255,255,0.03);
  line-height: 1;
  pointer-events: none;
}

.rating-row { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; margin-top: 1rem; }
.rating-badge {
  border: 1px solid rgba(216,193,147,0.4);
  border-radius: 999px;
  padding: 0.5rem 1.2rem;
  font-weight: 700;
  color: var(--gold-light);
  font-size: 0.9rem;
  transition: background 0.3s ease, border-color 0.3s ease;
}
.rating-badge:hover { background: rgba(216,193,147,0.08); border-color: var(--gold); }
.rating-badge em { font-style: normal; color: rgba(250,246,239,0.6); font-weight: 500; margin-left: 0.3rem; }

.reviews-grid {
  max-width: 1200px;
  margin: 3.5rem auto 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}
.reviews-grid blockquote {
  background: rgba(250,246,239,0.05);
  border: 1px solid rgba(216,193,147,0.18);
  border-radius: 4px;
  padding: 1.8rem;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
  perspective: 800px;
  will-change: transform;
}
.reviews-grid blockquote:hover {
  transform: translateY(-4px);
  background: rgba(250,246,239,0.08);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,0.5);
}
.reviews-grid p {
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.02rem;
  margin-bottom: 1rem;
  color: rgba(250,246,239,0.92);
}
.reviews-grid cite {
  font-style: normal;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.04em;
}

/* ---------- Ordina ---------- */
.ordina { background: var(--wine); color: #fff; padding: 6rem 1.5rem; position: relative; overflow: hidden; }
.ordina::before {
  content: '🍰';
  position: absolute;
  font-size: 30vw;
  bottom: -0.08em;
  right: -0.06em;
  opacity: 0.04;
  pointer-events: none;
  line-height: 1;
}
.ordina-inner { max-width: 640px; margin: 0 auto; text-align: center; position: relative; z-index: 1; }
.ordina .eyebrow { color: var(--gold-light); }
.ordina h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 1rem; }
.ordina > .ordina-inner > p { color: rgba(255,255,255,0.85); margin-bottom: 2.5rem; }

.ordina-cta {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  padding: 2.5rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
}
.ordina-cta-label {
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--gold-light);
  font-weight: 700;
}
.ordina-phone {
  font-family: var(--ff-serif);
  font-size: clamp(1.4rem, 3.5vw, 2rem);
  color: #fff;
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem 2rem;
  background: var(--espresso);
  border-radius: 4px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.2s ease;
}
.ordina-phone:hover {
  background: #000;
  transform: scale(1.04);
}
.ordina-phone i { font-size: 1.2em; }
.ordina-cta-note {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.65);
  font-style: italic;
}

/* ---------- Contatti ---------- */
.contatti { max-width: 1200px; margin: 0 auto; padding: 6rem 1.5rem; }
.contatti-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 3rem;
}
.info-block { margin-bottom: 2.2rem; }
.info-block h3 {
  font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.1em;
  color: var(--gold); margin-bottom: 0.6rem; font-family: var(--ff-sans); font-weight: 700;
}
.info-block h3 i { margin-right: 0.4rem; }
.info-block p { color: var(--espresso-soft); }
.info-block a { color: var(--wine); font-weight: 700; transition: opacity 0.2s ease; }
.info-block a:hover { opacity: 0.7; }
.map-link { display: inline-block; margin-top: 0.5rem; }
.hours-table { width: 100%; border-collapse: collapse; margin-top: 0.5rem; }
.hours-table td { padding: 0.4rem 0; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
.hours-table td:first-child { font-weight: 700; }
.hours-table td:last-child { text-align: right; color: var(--espresso-soft); }
.hours-table .closed { color: var(--wine); font-weight: 700; }

.social-block { margin-bottom: 0; }
.social-links {
  display: flex;
  gap: 0.8rem;
  margin-top: 0.5rem;
}
.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 1.2rem;
  color: #fff;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
}
.social-link:hover { transform: translateY(-4px) scale(1.08); }
.social-link.facebook { background: #1877F2; box-shadow: 0 4px 12px rgba(24,119,242,0.35); }
.social-link.instagram { background: #E4405F; box-shadow: 0 4px 12px rgba(228,64,95,0.35); }
.social-link.phone { background: var(--wine); box-shadow: 0 4px 12px rgba(124,31,46,0.35); }

.contatti-map { border-radius: 4px; overflow: hidden; box-shadow: var(--shadow-3d); min-height: 420px; }
.contatti-map iframe { width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- Footer ---------- */
.site-footer { background: var(--espresso); color: rgba(250,246,239,0.6); padding: 3rem 1.5rem; }
.footer-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-logo { height: 44px; margin: 0 auto 1.2rem; filter: brightness(0) invert(1) opacity(0.85); transition: filter 0.3s ease; }
.footer-logo:hover { filter: brightness(0) invert(1) opacity(1); }
.footer-inner p { font-size: 0.82rem; max-width: 60ch; margin: 0 auto 0.4rem; }
.footer-business { font-weight: 700; color: rgba(250,246,239,0.8); }
.footer-vat { font-size: 0.78rem; color: rgba(250,246,239,0.4); }
.footer-links {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin: 1.2rem 0;
  flex-wrap: wrap;
}
.footer-links a {
  color: var(--gold-light);
  font-size: 0.88rem;
  font-weight: 600;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.footer-links a:hover { color: #fff; transform: translateY(-2px); }
.footer-links i { margin-right: 0.3rem; }
.footer-copy { color: rgba(250,246,239,0.4); }

/* ---------- Phone Float ---------- */
.phone-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 56px;
  height: 56px;
  background: var(--wine);
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 6px 24px rgba(124, 31, 46, 0.4);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease;
  animation: pulse-phone 2.5s infinite;
  will-change: transform;
}
.phone-float:hover {
  transform: scale(1.12);
  box-shadow: 0 10px 40px rgba(124, 31, 46, 0.55);
}
@keyframes pulse-phone {
  0%, 100% { box-shadow: 0 6px 24px rgba(124, 31, 46, 0.4); }
  50% { box-shadow: 0 6px 40px rgba(124, 31, 46, 0.65); }
}

/* ---------- Back to Top ---------- */
.back-to-top {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  z-index: 200;
  width: 44px;
  height: 44px;
  background: var(--espresso);
  color: var(--cream);
  border: none;
  border-radius: 50%;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 16px rgba(43, 27, 20, 0.3);
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.back-to-top:hover {
  background: #000;
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(43, 27, 20, 0.4);
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0;
  background: rgba(20,12,8,0.94);
  display: none;
  align-items: center; justify-content: center;
  flex-direction: column;
  z-index: 1000;
  padding: 2rem;
}
.lightbox.open { display: flex; animation: lbFadeIn 0.3s ease; }
@keyframes lbFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.lightbox img {
  max-width: 90vw;
  max-height: 75vh;
  border-radius: 4px;
  object-fit: contain;
  animation: lbZoom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes lbZoom {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.lightbox p {
  color: var(--gold-light);
  margin-top: 1rem;
  font-family: var(--ff-serif);
  font-style: italic;
  font-size: 1.1rem;
}
.lightbox-close {
  position: absolute; top: 1.5rem; right: 1.5rem;
  background: none; border: none; color: #fff;
  font-size: 2.5rem; cursor: pointer; line-height: 1;
  z-index: 2;
  transition: transform 0.3s ease, opacity 0.2s ease;
}
.lightbox-close:hover { transform: rotate(90deg); opacity: 0.7; }
.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.1);
  color: #fff;
  font-size: 1.4rem;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
  z-index: 2;
  backdrop-filter: blur(10px);
}
.lightbox-nav:hover {
  background: rgba(255,255,255,0.15);
  transform: translateY(-50%) scale(1.08);
}
.lightbox-prev { left: 1.5rem; }
.lightbox-next { right: 1.5rem; }

/* ---------- Scroll Reveal Classes ---------- */
.reveal {
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal-fade {
  transform: translateY(40px);
}
.reveal-left {
  transform: translateX(-60px);
}
.reveal-right {
  transform: translateX(60px);
}
.reveal-scale {
  transform: scale(0.92);
}
.reveal.visible {
  opacity: 1;
  transform: translate(0) scale(1);
}

/* ---------- Stagger children ---------- */
.stagger-children > .stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.stagger-children.visible > .stagger-item:nth-child(1) { transition-delay: 0.05s; }
.stagger-children.visible > .stagger-item:nth-child(2) { transition-delay: 0.12s; }
.stagger-children.visible > .stagger-item:nth-child(3) { transition-delay: 0.19s; }
.stagger-children.visible > .stagger-item:nth-child(4) { transition-delay: 0.26s; }
.stagger-children.visible > .stagger-item:nth-child(5) { transition-delay: 0.33s; }
.stagger-children.visible > .stagger-item:nth-child(6) { transition-delay: 0.40s; }
.stagger-children.visible > .stagger-item {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   RESPONSIVE — full coverage all devices
   ============================================ */

/* Tablet landscape / small laptop (1025px–1200px) */
@media (max-width: 1200px) {
  .storia { padding: 5rem 1.5rem; gap: 3rem; }
  .galleria, .contatti, .prodotti, .servizi, .recensioni, .ordina { padding: 5rem 1.5rem; }
}

/* Tablet landscape (900px–1024px) */
@media (max-width: 1024px) {
  .prodotti-grid { grid-template-columns: repeat(2, 1fr); }
  .servizi-grid { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .hero { height: 70vh; min-height: 480px; }
  .storia-stats { gap: 2rem; }
  .storia-stats strong { font-size: 2rem; }
}

/* Tablet portrait (768px–899px) */
@media (max-width: 899px) {
  .storia { grid-template-columns: 1fr; gap: 2.5rem; padding: 4rem 1.5rem; }
  .storia-media { max-width: 500px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: 1fr 1fr; }
  .contatti-grid { grid-template-columns: 1fr; gap: 2rem; }
  .form-row { grid-template-columns: 1fr; }
  .galleria, .contatti, .prodotti, .servizi, .recensioni, .ordina { padding: 4rem 1.5rem; }
  .hero h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
  .section-head h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); }
  .servizio-card { padding: 2rem 1.5rem; }
  .header-inner { padding: 0.6rem 1.2rem; }
  .brand img { height: 46px; }
}

/* Large phones / small tablets (640px–767px) */
@media (max-width: 767px) {
  .topbar { font-size: 0.72rem; padding: 0.45rem 1rem; flex-wrap: wrap; gap: 0.3rem; }
  .topbar span { width: 100%; text-align: center; font-size: 0.68rem; }
  .topbar a { margin: 0 auto; }

  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0;
    width: min(80vw, 320px);
    background: var(--cream);
    flex-direction: column;
    align-items: flex-start;
    padding: 5.5rem 1.8rem 2rem;
    gap: 1.4rem;
    transform: translateX(100%);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 40px rgba(0,0,0,0.18);
    z-index: 100;
  }
  .main-nav a { font-size: 1.05rem; padding: 0.5rem 0; }
  .main-nav.open { transform: translateX(0); }
  .nav-toggle { display: flex; }
  .nav-toggle.open span { background: var(--wine); }
  .nav-cta { width: 100%; text-align: center; justify-content: center; padding: 0.8rem; margin-top: 0.5rem; }

  .hero { height: 75vh; min-height: 420px; }
  .hero-content { padding: 0 1.2rem 3rem; }
  .hero h1 { font-size: clamp(1.7rem, 5.5vw, 2.2rem); }
  .hero-lede { font-size: 0.95rem; max-width: 100%; }
  .hero-actions { flex-direction: column; gap: 0.7rem; }
  .hero-actions .btn { width: 100%; text-align: center; }

  .btn { padding: 0.8rem 1.5rem; font-size: 0.88rem; }

  .prodotti-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.5rem; }
  .reviews-grid { grid-template-columns: 1fr; }
  .servizi-grid { grid-template-columns: 1fr; max-width: 480px; margin: 2rem auto 0; }
  .servizi { padding: 3.5rem 1.2rem; }
  .storia { padding: 3.5rem 1.2rem; }
  .galleria, .contatti, .prodotti, .recensioni, .ordina { padding: 3.5rem 1.2rem; }

  .section-head { margin-bottom: 2rem; }
  .section-head h2 { font-size: 1.6rem; }
  .section-sub { font-size: 0.92rem; }

  .storia-stats { gap: 1.2rem; flex-wrap: wrap; justify-content: center; }
  .storia-stats div { flex: 0 0 auto; min-width: 80px; }
  .storia-stats strong { font-size: 1.5rem; }
  .storia-stats span { font-size: 0.7rem; }
  .storia-text h2 { font-size: 1.5rem; }

  .prodotto-info { padding: 1.2rem; }
  .prodotto-info h3 { font-size: 1.1rem; }
  .card-icon { font-size: 1.7rem; }

  .servizio-card { padding: 1.8rem 1.2rem; }
  .servizio-card i { font-size: 2rem; }

  .reviews-grid blockquote { padding: 1.3rem; }
  .reviews-grid p { font-size: 0.95rem; }

  .ordina-inner { text-align: center; }
  .ordina-cta { padding: 2rem 1.2rem; }
  .ordina-phone { padding: 0.85rem 1.5rem; font-size: 1.2rem; }

  .social-links { justify-content: center; gap: 0.6rem; }
  .social-link { width: 44px; height: 44px; font-size: 1.1rem; }

  .contatti { padding-bottom: 5rem; }
  .contatti-map { min-height: 280px; }
  .contatti-map iframe { min-height: 280px; }
  .info-block { margin-bottom: 1.6rem; }

  .hours-table td { font-size: 0.85rem; padding: 0.35rem 0; }

  .footer-links { flex-direction: column; gap: 0.7rem; }

  .lightbox-nav { display: none; }
  .lightbox { padding: 1rem; }
  .lightbox img { max-width: 100vw; max-height: 65vh; }

  .storia-stats { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.5rem; }

  .phone-float { width: 52px; height: 52px; font-size: 1.3rem; bottom: 1rem; right: 1rem; }
  .back-to-top { width: 40px; height: 40px; font-size: 0.85rem; bottom: 4.5rem; right: 1rem; }
}

/* Small phones (420px–639px) */
@media (max-width: 639px) {
  .hero { height: 80vh; min-height: 380px; }
  .hero-content { padding: 0 1rem 2.5rem; }
  .hero h1 { font-size: clamp(1.5rem, 6vw, 1.8rem); }
  .hero-lede { font-size: 0.88rem; margin-bottom: 1.5rem; }
  .hero-actions .btn { font-size: 0.85rem; padding: 0.75rem 1.2rem; }

  .gallery-grid { grid-template-columns: 1fr 1fr; gap: 0.4rem; }
  .gallery-item { border-radius: 3px; }

  .storia-stats strong { font-size: 1.3rem; }
  .storia-stats span { font-size: 0.65rem; }
  .storia-stats { gap: 1rem; }

  .section-head h2 { font-size: 1.4rem; }
  .eyebrow { font-size: 0.7rem; margin-bottom: 0.6rem; }
  .recensioni::before { font-size: 30vw; }
  .ordina::before { font-size: 25vw; }

  .site-footer { padding: 2.5rem 1.2rem; }
  .footer-logo { height: 36px; }
  .footer-links a { font-size: 0.82rem; }

  .phone-float { width: 48px; height: 48px; font-size: 1.2rem; bottom: 0.8rem; right: 0.8rem; }
  .back-to-top { width: 36px; height: 36px; font-size: 0.8rem; bottom: 4.2rem; right: 0.8rem; }
}

/* Very small phones (360px–419px) */
@media (max-width: 419px) {
  .topbar { padding: 0.35rem 0.7rem; }
  .topbar span { font-size: 0.62rem; }
  .topbar a { font-size: 0.68rem; }

  .header-inner { padding: 0.5rem 0.8rem; }
  .brand img { height: 40px; }
  .nav-toggle { padding: 0.3rem; }
  .nav-toggle span { width: 20px; }

  .main-nav { width: 85vw; padding: 5rem 1.2rem 1.5rem; gap: 1.2rem; }
  .main-nav a { font-size: 0.95rem; }

  .hero { height: 82vh; min-height: 340px; }
  .hero h1 { font-size: 1.35rem; }
  .hero-lede { font-size: 0.82rem; }

  .storia-stats { gap: 0.8rem; }
  .storia-stats div { min-width: 60px; }
  .storia-stats strong { font-size: 1.1rem; }
  .storia-stats span { font-size: 0.6rem; }

  .prodotto-card img { height: 170px; }
  .prodotto-info { padding: 1rem; }
  .prodotto-info h3 { font-size: 1rem; }
  .prodotto-info p { font-size: 0.85rem; }

  .servizio-card { padding: 1.5rem 1rem; }
  .servizio-card i { font-size: 1.7rem; }
  .servizio-card h3 { font-size: 1rem; }

  .reviews-grid blockquote { padding: 1rem; }
  .reviews-grid p { font-size: 0.88rem; }
  .reviews-grid cite { font-size: 0.75rem; }

  .order-form input, .order-form textarea { padding: 0.6rem 0.8rem; font-size: 0.88rem; }
  .order-form label { font-size: 0.8rem; }

  .contatti-map { min-height: 220px; }
  .contatti-map iframe { min-height: 220px; }
  .hours-table td { font-size: 0.78rem; padding: 0.3rem 0; }

  .social-link { width: 40px; height: 40px; font-size: 1rem; }

  .footer-links { gap: 0.5rem; }

  .phone-float { width: 44px; height: 44px; font-size: 1.1rem; bottom: 0.6rem; right: 0.6rem; }
  .back-to-top { width: 32px; height: 32px; font-size: 0.75rem; bottom: 3.8rem; right: 0.6rem; }
}

/* Tiniest screens (< 360px) */
@media (max-width: 359px) {
  .hero { height: 85vh; min-height: 300px; }
  .hero h1 { font-size: 1.2rem; }
  .hero-lede { font-size: 0.78rem; }
  .btn { padding: 0.65rem 1rem; font-size: 0.8rem; }

  .storia-stats strong { font-size: 1rem; }
  .storia-stats span { font-size: 0.55rem; }

  .gallery-grid { gap: 0.3rem; }
  .prodotti-grid { gap: 1rem; }
  .reviews-grid { gap: 1rem; }
  .servizi-grid { gap: 1rem; }

  .phone-float, .back-to-top { display: none; }
}

/* Landscape phone mode — limit hero height */
@media (max-height: 500px) and (orientation: landscape) {
  .hero { height: 100vh; min-height: 300px; }
  .hero-content { padding-bottom: 1.5rem; }
  .hero h1 { font-size: 1.4rem; margin-bottom: 0.5rem; }
  .hero-lede { font-size: 0.82rem; margin-bottom: 1rem; }
  .hero-actions { flex-direction: row; }
  .hero-actions .btn { width: auto; }
}

/* Fix touch targets on any device */
@media (hover: none) and (pointer: coarse) {
  .main-nav a { padding: 0.6rem 0; }
  .social-link { width: 48px; height: 48px; }
  .phone-float { width: 56px; height: 56px; }
  .back-to-top { width: 44px; height: 44px; }
  .prodotto-card:hover { transform: none; }
  .servizio-card:hover { transform: none; }
  .gallery-item:hover img { transform: none; }
  .reviews-grid blockquote:hover { transform: none; }
}

/* Print styles */
@media print {
  .site-header, .topbar, .phone-float, .back-to-top, .marquee,
  .ordina, .recensioni, .site-footer, .nav-toggle, .main-nav { display: none; }
  .hero { height: auto; min-height: 0; }
  .hero-content { color: #000; padding: 2rem 1.5rem; }
  .hero-scrim { display: none; }
  .hero-img { position: relative; height: 300px; }
  body { background: #fff; }
  .storia, .prodotti, .galleria, .contatti { break-inside: avoid; }
  .prodotto-card, .servizio-card { break-inside: avoid; }
}
