/* ============================================================
   VALGUSTO — Piacere Siciliano · style.css · v2
   Palette: rosso Valgusto, crema travertino, oro, oliva
   Font: Fraunces (display) + Inter (body) — self-hosted
   Firma grafica: bordo ornamentale del carretto siciliano
   ============================================================ */

/* ---------- Font self-hosted ---------- */
@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: 600;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-600italic.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/cormorant-garamond-v21-latin-700.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');
}
@font-face {
  font-family: 'Montserrat';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('../fonts/montserrat-v31-latin-700.woff2') format('woff2');
}

/* ---------- Design system ---------- */
:root {
  --brand: #9E2B1E;
  --brand-dark: #741F15;
  --accent: #C1922E;
  --accent-light: #D9B15E;
  --olive: #6E7A3C;
  --ink: #2C1E15;
  --text: #4A3B30;
  --muted: #8A7A6C;
  --bg: #FBF7F0;
  --bg-alt: #F4EDE0;
  --dark: #1C1410;
  --dark-2: #241A13;
  --line: #E7DCCB;
  --white: #FFFFFF;
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --shadow-sm: 0 2px 10px rgba(44, 30, 21, .07);
  --shadow-md: 0 10px 32px rgba(44, 30, 21, .13);
  --shadow-lg: 0 22px 60px rgba(44, 30, 21, .2);
  --radius: 14px;
  --radius-lg: 24px;
  --container: 1240px;
  --nav-h: 80px;
  --ease: cubic-bezier(.22, 1, .36, 1);
  --ornament: url('../img/ornament.webp');
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: .97rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  overflow-x: clip;
}

/* firma siciliana: ornamento del carretto in cima a ogni pagina */
body::before {
  content: '';
  display: block;
  height: 9px;
  background: var(--ornament) center / auto 200% repeat-x;
}

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

a { color: var(--brand); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--brand-dark); }

:focus-visible {
  outline: 3px solid rgba(193, 146, 46, .7);
  outline-offset: 2px;
  border-radius: 4px;
}

ul, ol { list-style: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.12;
  font-weight: 700;
  text-wrap: balance;
}

h1 { font-size: clamp(2.9rem, 6.6vw, 5.2rem); letter-spacing: -.005em; }
h2 { font-size: clamp(2.2rem, 4.4vw, 3.5rem); letter-spacing: -.005em; }
h3 { font-size: 1.55rem; }
h4 { font-size: 1.05rem; }

::selection { background: rgba(193, 146, 46, .35); }

/* ---------- Utility ---------- */
.container {
  width: min(var(--container), 100% - 48px);
  margin-inline: auto;
}

.section { padding: 104px 0; position: relative; }
.section-alt { background: var(--bg-alt); }
.section-dark { background: var(--dark); }
.section-dark h2, .section-dark h3 { color: #F6EFE3; }
.section-dark p { color: #C9BBAA; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 16px;
}
.eyebrow::before,
.section-head.center .eyebrow::after {
  content: '';
  width: 36px;
  height: 1.5px;
  background: linear-gradient(90deg, transparent, var(--accent));
}
.section-head.center .eyebrow::after {
  background: linear-gradient(90deg, var(--accent), transparent);
}
.section-dark .eyebrow { color: var(--accent-light); }

.section-head {
  max-width: 700px;
  margin-bottom: 60px;
}
.section-head.center { margin-inline: auto; text-align: center; }
.section-head p { margin-top: 18px; font-size: 1.07rem; }
.section-head.center h2::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  margin: 22px auto 0;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}

.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- Bottoni ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 34px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .92rem;
  letter-spacing: .01em;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), background .3s var(--ease), color .3s var(--ease), border-color .3s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }

/* riflesso al passaggio */
.btn-primary::after, .btn-gold::after {
  content: '';
  position: absolute;
  top: 0;
  left: -80%;
  width: 50%;
  height: 100%;
  background: linear-gradient(105deg, transparent, rgba(255, 255, 255, .35), transparent);
  transform: skewX(-20deg);
  transition: left .6s var(--ease);
}
.btn-primary:hover::after, .btn-gold:hover::after { left: 130%; }

.btn-primary {
  background: linear-gradient(150deg, #B33625, var(--brand) 55%, var(--brand-dark));
  color: #fff;
  box-shadow: 0 10px 26px rgba(158, 43, 30, .35);
}
.btn-primary:hover { color: #fff; box-shadow: 0 14px 34px rgba(158, 43, 30, .45); }

.btn-outline {
  border-color: var(--brand);
  color: var(--brand);
  background: transparent;
}
.btn-outline:hover { background: var(--brand); color: #fff; box-shadow: 0 10px 26px rgba(158, 43, 30, .3); }

.btn-outline-light {
  border-color: rgba(255, 255, 255, .6);
  color: #fff;
  background: rgba(255, 255, 255, .07);
  backdrop-filter: blur(6px);
}
.btn-outline-light:hover { background: #fff; color: var(--ink); border-color: #fff; }

.btn-gold {
  background: linear-gradient(150deg, var(--accent-light), var(--accent) 60%, #A87D22);
  color: #231506;
  box-shadow: 0 10px 26px rgba(193, 146, 46, .4);
}
.btn-gold:hover { color: #231506; box-shadow: 0 14px 34px rgba(193, 146, 46, .5); }

.btn-small { padding: 12px 26px; font-size: .9rem; }

/* ---------- Topbar ---------- */
.topbar {
  background: var(--dark);
  color: #CBBEA9;
  font-size: .82rem;
  padding: 9px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #E8DCC6; font-weight: 500; }
.topbar a:hover { color: var(--accent-light); }
.topbar-contacts { display: flex; gap: 24px; }
.topbar-contacts a { display: inline-flex; align-items: center; gap: 8px; }
.topbar svg { width: 14px; height: 14px; fill: var(--accent); flex: none; }
.topbar-social { color: #A5977F; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(28, 20, 16, .9);
  border-top: 1px solid rgba(255, 255, 255, .08);
  border-bottom: 1px solid rgba(193, 146, 46, .28);
  transition: box-shadow .3s var(--ease), background .3s var(--ease);
}
/* blur su pseudo-elemento: backdrop-filter sull'header intrappolerebbe
   il menu mobile position:fixed dentro l'header stesso */
.site-header::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, .32);
  background: rgba(24, 17, 13, .97);
}

.site-header .container {
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand img { height: 48px; width: auto; transition: transform .3s var(--ease); }
.brand:hover img { transform: scale(1.04); }

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav ul {
  display: flex;
  align-items: center;
  gap: 30px;
}
.main-nav a {
  color: #EFE6D6;
  font-weight: 500;
  font-size: .9rem;
  letter-spacing: .015em;
  position: relative;
  padding: 8px 0;
}
.main-nav a::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transition: width .35s var(--ease), left .35s var(--ease);
}
.main-nav a:hover { color: #fff; }
.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after { width: 100%; left: 0; }
.main-nav a[aria-current="page"] { color: #fff; }

.nav-cta { margin-left: 12px; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  background: transparent;
  border: 0;
  cursor: pointer;
  z-index: 110;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  margin-inline: auto;
  background: #F2E9D8;
  border-radius: 2px;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.nav-toggle.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero home ---------- */
.hero {
  position: relative;
  min-height: min(90vh, 840px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--dark);
}
.hero-media {
  position: absolute;
  inset: 0;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  animation: heroZoom 20s var(--ease) forwards;
}
@keyframes heroZoom {
  from { transform: scale(1.14); }
  to { transform: scale(1); }
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, rgba(18, 11, 7, .86) 0%, rgba(18, 11, 7, .58) 45%, rgba(18, 11, 7, .15) 100%),
    linear-gradient(180deg, rgba(18, 11, 7, .35) 0%, transparent 22%, transparent 72%, rgba(18, 11, 7, .55) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 660px; padding: 120px 0 110px; }
.hero-content h1 { color: #fff; margin-bottom: 24px; text-shadow: 0 3px 24px rgba(0, 0, 0, .35); }
.hero-content .eyebrow {
  color: var(--accent-light);
  letter-spacing: .26em;
}
.hero-content .eyebrow::before {
  width: 40px;
  background: linear-gradient(90deg, transparent, var(--accent-light));
}
.hero-lead {
  color: #E9DFCD;
  font-size: 1.15rem;
  line-height: 1.75;
  margin-bottom: 38px;
  max-width: 560px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, .3);
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-badges {
  display: flex;
  gap: 14px;
  margin-top: 54px;
  flex-wrap: wrap;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #EFE4CF;
  font-size: .88rem;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 999px;
  background: rgba(18, 11, 7, .45);
  border: 1px solid rgba(217, 177, 94, .35);
  backdrop-filter: blur(6px);
}
.hero-badge svg { width: 20px; height: 20px; fill: var(--accent-light); flex: none; }

/* ---------- Hero pagine interne ---------- */
.page-hero {
  position: relative;
  padding: 130px 0 95px;
  background: var(--dark);
  overflow: hidden;
}
.page-hero-media {
  position: absolute;
  inset: 0;
}
.page-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: .4;
}
.page-hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 50% 100%, rgba(158, 43, 30, .28), transparent 65%),
    linear-gradient(180deg, rgba(18, 11, 7, .55), rgba(18, 11, 7, .82));
}
.page-hero .container { position: relative; z-index: 2; text-align: center; }
.page-hero h1 {
  color: #fff;
  margin-bottom: 16px;
  font-size: clamp(2.6rem, 5.6vw, 4.2rem);
  text-shadow: 0 3px 20px rgba(0, 0, 0, .35);
}
.page-hero h1::after {
  content: '';
  display: block;
  width: 64px;
  height: 3px;
  border-radius: 3px;
  margin: 24px auto 0;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
}
.page-hero p { color: #DCD1BE; max-width: 640px; margin-inline: auto; font-size: 1.08rem; }

.breadcrumb {
  display: inline-flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  font-size: .84rem;
  color: #B6A890;
  flex-wrap: wrap;
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(18, 11, 7, .45);
  border: 1px solid rgba(217, 177, 94, .28);
  backdrop-filter: blur(6px);
}
.breadcrumb a { color: var(--accent-light); font-weight: 500; }
.breadcrumb a:hover { color: #fff; }
.breadcrumb li:not(:last-child)::after { content: '›'; margin-left: 8px; color: #8A7A66; }
.breadcrumb [aria-current="page"] { color: #EFE4CF; }

/* ---------- Stats ---------- */
.stats-bar { padding: 0; position: relative; z-index: 3; }
.stats-bar .container { max-width: 1100px; }
.stats-bar .grid {
  text-align: center;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-top: -58px;
  padding: 40px 12px;
  position: relative;
  overflow: hidden;
}
.stats-bar .grid::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent), var(--brand));
}
.stats-bar .grid > div { padding: 8px 18px; position: relative; }
.stats-bar .grid > div:not(:first-child)::before {
  content: '';
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: var(--line);
}
.stat-num {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 4.6vw, 3.6rem);
  font-weight: 700;
  color: var(--brand);
  line-height: 1;
}
.stat-num sup { font-size: .55em; color: var(--accent); }
.stat-label { margin-top: 10px; font-size: .9rem; color: var(--muted); font-weight: 500; }

/* ---------- Feature card ---------- */
.feature-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 42px 34px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform .4s var(--ease), box-shadow .4s var(--ease), border-color .4s var(--ease);
}
.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .45s var(--ease);
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: rgba(193, 146, 46, .45); }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
  width: 62px;
  height: 62px;
  border-radius: 18px;
  background: linear-gradient(140deg, #B33625, var(--brand) 55%, var(--brand-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 26px;
  box-shadow: 0 8px 20px rgba(158, 43, 30, .28);
  transition: transform .4s var(--ease);
}
.feature-card:hover .feature-icon { transform: scale(1.07) rotate(-3deg); }
.feature-icon svg { width: 30px; height: 30px; fill: #fff; }
.feature-card h3 { margin-bottom: 12px; }
.feature-card p { font-size: .97rem; }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.split-media { position: relative; }
.split-media > img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.split-media::before {
  content: '';
  position: absolute;
  inset: 26px -26px -26px 26px;
  border: 2px solid var(--accent);
  border-radius: var(--radius-lg);
  opacity: .6;
}
.split-media::after {
  content: '';
  position: absolute;
  inset: -18px 18px 18px -18px;
  background: radial-gradient(circle at 20% 20%, rgba(193, 146, 46, .18), transparent 60%);
  border-radius: var(--radius-lg);
}
.split-badge {
  position: absolute;
  bottom: 28px;
  left: -32px;
  z-index: 2;
  background: linear-gradient(150deg, #B33625, var(--brand) 55%, var(--brand-dark));
  color: #fff;
  border-radius: var(--radius);
  padding: 20px 28px;
  box-shadow: 0 16px 36px rgba(116, 31, 21, .4);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, .18);
}
.split-badge b {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.05;
}
.split-badge span { font-size: .78rem; opacity: .9; letter-spacing: .04em; }
.split-content h2 { margin-bottom: 22px; }
.split-content h2::after {
  content: '';
  display: block;
  width: 58px;
  height: 3px;
  border-radius: 3px;
  margin-top: 18px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}
.split-content p { margin-bottom: 16px; }

.check-list { margin: 26px 0 34px; display: grid; gap: 15px; }
.check-list li {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  font-weight: 500;
  color: var(--ink);
}
.check-list svg {
  width: 22px;
  height: 22px;
  fill: var(--olive);
  flex: none;
  margin-top: 3px;
}

/* ---------- Card categorie ---------- */
.cat-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  display: block;
  box-shadow: var(--shadow-sm);
  transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.cat-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.cat-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.cat-card:hover img { transform: scale(1.08); }
.cat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(18, 11, 7, .06) 30%, rgba(18, 11, 7, .9));
  transition: background .4s var(--ease);
}
.cat-card::before {
  content: '';
  position: absolute;
  inset: 10px;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: calc(var(--radius-lg) - 8px);
  z-index: 2;
  opacity: 0;
  transition: opacity .4s var(--ease);
  pointer-events: none;
}
.cat-card:hover::before { opacity: 1; }
.cat-card-label {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 22px;
  z-index: 2;
}
.cat-card-label h3 { color: #fff; font-size: 1.28rem; margin-bottom: 5px; }
.cat-card-label span {
  color: var(--accent-light);
  font-size: .85rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: gap .3s var(--ease);
}
.cat-card:hover .cat-card-label span { gap: 11px; }

/* ---------- Showcase (fondo nero) ---------- */
.section-dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(158, 43, 30, .3), transparent 52%),
    radial-gradient(ellipse at 85% 92%, rgba(193, 146, 46, .14), transparent 55%);
  pointer-events: none;
}
.section-dark .container { position: relative; z-index: 1; }

.showcase-card {
  background: #0D0906;
  border: 1px solid rgba(217, 177, 94, .16);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease), border-color .4s var(--ease), box-shadow .4s var(--ease);
}
.showcase-card:hover {
  transform: translateY(-8px);
  border-color: rgba(217, 177, 94, .55);
  box-shadow: 0 24px 50px rgba(0, 0, 0, .5), 0 0 40px rgba(193, 146, 46, .1);
}
.showcase-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.showcase-card:hover img { transform: scale(1.05); }
.showcase-card figcaption {
  padding: 20px 24px 24px;
  color: #F2E8D5;
  font-weight: 600;
  font-family: var(--font-display);
  font-size: 1.3rem;
  border-top: 1px solid rgba(217, 177, 94, .18);
}
.showcase-card figcaption span {
  display: block;
  font-family: var(--font-body);
  font-weight: 400;
  font-size: .85rem;
  color: #9C8D79;
  margin-top: 5px;
}

/* ---------- Griglia prodotti ---------- */
.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); border-color: rgba(193, 146, 46, .5); }
.product-card img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.product-card:hover img { transform: scale(1.06); }
.product-card h3 {
  font-size: 1rem;
  font-family: var(--font-body);
  font-weight: 600;
  padding: 16px 18px 4px;
}
.product-card p { font-size: .85rem; color: var(--muted); padding: 0 18px 18px; }

/* ---------- Galleria ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  position: relative;
  display: block;
  border: 0;
  padding: 0;
  background: none;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease);
}
.gallery-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.gallery-item img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  transition: transform .6s var(--ease);
}
.gallery-item:hover img { transform: scale(1.07); }
.gallery-item::after {
  content: '⊕';
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: #fff;
  background: rgba(18, 11, 7, 0);
  opacity: 0;
  transition: background .35s var(--ease), opacity .35s var(--ease);
}
.gallery-item:hover::after { background: rgba(18, 11, 7, .35); opacity: 1; }

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 8, 5, .95);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 32px;
}
.lightbox.is-open { display: flex; }
.lightbox img {
  max-width: min(1100px, 92vw);
  max-height: 86vh;
  width: auto;
  height: auto;
  border-radius: var(--radius);
  box-shadow: 0 30px 80px rgba(0, 0, 0, .6);
  border: 1px solid rgba(217, 177, 94, .3);
}
.lightbox-close {
  position: absolute;
  top: 22px;
  right: 26px;
  background: rgba(255, 255, 255, .1);
  border: 1px solid rgba(255, 255, 255, .2);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  transition: background .25s var(--ease), transform .25s var(--ease);
}
.lightbox-close:hover { background: rgba(158, 43, 30, .8); transform: rotate(90deg); }

/* ---------- Quote ---------- */
.quote-band {
  background:
    radial-gradient(ellipse at 85% 15%, rgba(217, 177, 94, .25), transparent 55%),
    linear-gradient(135deg, var(--brand-dark), var(--brand));
  border-radius: var(--radius-lg);
  padding: clamp(44px, 6vw, 76px);
  color: #fff;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.quote-band::before {
  content: '\201C';
  position: absolute;
  top: -34px;
  left: 22px;
  font-family: var(--font-display);
  font-size: 15rem;
  color: rgba(255, 255, 255, .12);
  line-height: 1;
}
.quote-band::after {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 7px;
  background: var(--ornament) center / auto 220% repeat-x;
  opacity: .85;
}
.quote-band blockquote {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.55rem, 3vw, 2.2rem);
  line-height: 1.45;
  max-width: 840px;
  position: relative;
  z-index: 1;
}
.quote-band cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: .95rem;
  color: #F0D9A8;
  font-weight: 600;
}
.quote-band cite::before {
  content: '';
  display: inline-block;
  width: 34px;
  height: 1.5px;
  background: var(--accent-light);
  vertical-align: middle;
  margin-right: 12px;
}

/* ---------- Blog card ---------- */
.blog-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
  display: flex;
  flex-direction: column;
}
.blog-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(193, 146, 46, .45); }
.blog-card > img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .6s var(--ease); }
.blog-card:hover > img { transform: scale(1.04); }
.blog-card-body { padding: 28px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.blog-meta {
  font-size: .76rem;
  color: var(--accent);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .14em;
  margin-bottom: 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.blog-meta::before { content: ''; width: 22px; height: 1.5px; background: var(--accent); }
.blog-card h3 { font-size: 1.24rem; margin-bottom: 10px; line-height: 1.3; }
.blog-card h3 a { color: var(--ink); }
.blog-card h3 a:hover { color: var(--brand); }
.blog-card p { font-size: .95rem; flex: 1; }
.blog-more {
  margin-top: 20px;
  font-weight: 600;
  font-size: .92rem;
}
.blog-more a { display: inline-flex; align-items: center; gap: 6px; transition: gap .3s var(--ease); }
.blog-more a:hover { gap: 11px; }

/* ---------- Articolo ---------- */
.article {
  max-width: 760px;
  margin-inline: auto;
}
.article h2 {
  font-size: 1.7rem;
  margin: 48px 0 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.article h2::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 56px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--brand));
}
.article h3 { font-size: 1.25rem; margin: 32px 0 12px; }
.article p { margin-bottom: 18px; }
.article ul, .article ol { margin: 0 0 20px 22px; }
.article ul li { list-style: disc; margin-bottom: 8px; }
.article ol li { list-style: decimal; margin-bottom: 8px; }
.article img { border-radius: var(--radius-lg); margin: 30px 0; box-shadow: var(--shadow-md); }
.article-intro {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: 1.3rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--bg-alt);
  border-left: 4px solid var(--accent);
  padding: 24px 28px;
  border-radius: 0 var(--radius) var(--radius) 0;
  margin-bottom: 30px;
}
.article-intro strong { color: var(--brand); }

/* ---------- FAQ ---------- */
.faq-item {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  margin-bottom: 14px;
  overflow: hidden;
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.faq-item.is-open { border-color: rgba(193, 146, 46, .5); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--ink);
  text-align: left;
}
.faq-q::after {
  content: '+';
  font-size: 1.5rem;
  color: var(--accent);
  transition: transform .3s var(--ease);
  flex: none;
}
.faq-item.is-open .faq-q::after { transform: rotate(45deg); color: var(--brand); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease);
}
.faq-a-inner { padding: 0 24px 22px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  position: relative;
  background: var(--dark);
  overflow: hidden;
}
.cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 15% 50%, rgba(158, 43, 30, .4), transparent 55%),
    radial-gradient(ellipse at 85% 50%, rgba(193, 146, 46, .24), transparent 55%);
}
.cta-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 7px;
  background: var(--ornament) center / auto 220% repeat-x;
  opacity: .9;
}
.cta-banner .container {
  position: relative;
  z-index: 1;
  text-align: center;
  padding-top: 96px;
  padding-bottom: 96px;
}
.cta-banner h2 { color: #fff; max-width: 720px; margin-inline: auto; }
.cta-banner p { color: #CDBFA9; max-width: 560px; margin: 20px auto 38px; }
.cta-banner .btn-row { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contatti ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  align-items: start;
}
.contact-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  box-shadow: var(--shadow-sm);
  transition: transform .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
}
.contact-card:hover { transform: translateX(4px); border-color: rgba(193, 146, 46, .5); box-shadow: var(--shadow-md); }
.contact-card > svg {
  width: 44px;
  height: 44px;
  padding: 10px;
  border-radius: 12px;
  background: linear-gradient(140deg, #B33625, var(--brand-dark));
  fill: #fff;
  flex: none;
}
.contact-card h3 { font-size: 1.02rem; font-family: var(--font-body); font-weight: 700; margin-bottom: 4px; }
.contact-card p, .contact-card a { font-size: .96rem; }

.hours-table { width: 100%; border-collapse: collapse; font-size: .95rem; }
.hours-table td { padding: 9px 4px; border-bottom: 1px dashed var(--line); }
.hours-table tr:last-child td { border-bottom: 0; }
.hours-table td:last-child { text-align: right; font-weight: 600; color: var(--ink); }

.map-link {
  margin-top: 26px;
  display: block;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
.map-link img { width: 100%; object-fit: cover; aspect-ratio: 16 / 7; transition: transform .6s var(--ease); }
.map-link:hover img { transform: scale(1.05); }
.map-link span {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 11, 7, .48);
  color: #fff;
  font-weight: 600;
  gap: 10px;
  transition: background .3s var(--ease);
}
.map-link:hover span { background: rgba(18, 11, 7, .62); }
.map-link svg { width: 22px; height: 22px; fill: var(--accent-light); }

/* ---------- Form ---------- */
.form-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(30px, 4vw, 46px);
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}
.form-panel::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand), var(--accent));
}
.form-panel h2 { font-size: 1.65rem; margin-bottom: 8px; }
.form-panel > p { margin-bottom: 28px; font-size: .97rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-field { margin-bottom: 18px; }
.form-field label {
  display: block;
  font-size: .87rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 7px;
}
.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: .97rem;
  color: var(--ink);
  background: var(--bg);
  transition: border-color .25s var(--ease), box-shadow .25s var(--ease), background .25s var(--ease);
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--accent);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(193, 146, 46, .16);
}
.form-field textarea { resize: vertical; min-height: 132px; }
.form-privacy {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: .85rem;
  margin: 6px 0 22px;
}
.form-privacy input { margin-top: 4px; accent-color: var(--brand); }
.form-status { margin-top: 16px; font-weight: 600; font-size: .95rem; }
.form-status.ok { color: var(--olive); }
.form-status.err { color: var(--brand); }

/* ---------- Catalogo band ---------- */
.catalog-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 30px;
  background: var(--white);
  border: 1px solid var(--line);
  border-left: 4px solid var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px 38px;
  box-shadow: var(--shadow-sm);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.catalog-band:hover { box-shadow: var(--shadow-md); transform: translateY(-3px); }
.catalog-band > svg {
  width: 64px;
  height: 64px;
  padding: 15px;
  border-radius: 18px;
  background: linear-gradient(140deg, #B33625, var(--brand-dark));
  fill: #fff;
  box-shadow: 0 8px 20px rgba(158, 43, 30, .28);
}
.catalog-band h3 { margin-bottom: 4px; }
.catalog-band p { font-size: .93rem; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--dark);
  color: #B8AB94;
  padding: 0;
  font-size: .95rem;
  position: relative;
}
.site-footer::before {
  content: '';
  display: block;
  height: 9px;
  background: var(--ornament) center / auto 200% repeat-x;
}
.site-footer > .container { padding-top: 76px; }
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand img { height: 56px; margin-bottom: 20px; }
.footer-brand p { max-width: 300px; line-height: 1.65; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(217, 177, 94, .3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .3s var(--ease), border-color .3s var(--ease), transform .3s var(--ease);
}
.footer-social a:hover { background: var(--brand); border-color: var(--brand); transform: translateY(-4px); }
.footer-social svg { width: 18px; height: 18px; fill: #EFE6D6; }

.site-footer h4 {
  color: #F2E9D8;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: .92rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.site-footer h4::before {
  content: '';
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--accent);
}
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #B8AB94; transition: color .25s var(--ease), padding-left .25s var(--ease); }
.footer-links a:hover { color: var(--accent-light); padding-left: 5px; }

.footer-contact li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
}
.footer-contact svg { width: 18px; height: 18px; fill: var(--accent); flex: none; margin-top: 4px; }
.footer-contact a { color: #B8AB94; }
.footer-contact a:hover { color: var(--accent-light); }

.footer-bottom {
  border-top: 1px solid rgba(217, 177, 94, .16);
  padding: 24px 0;
  font-size: .83rem;
  color: #877B67;
}
.footer-bottom .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.footer-bottom a { color: #A99C85; }
.footer-bottom a:hover { color: var(--accent-light); }
.footer-legal { display: flex; gap: 18px; flex-wrap: wrap; }

/* ---------- Pagine legali ---------- */
.legal-content { max-width: 800px; margin-inline: auto; }
.legal-content h2 {
  font-size: 1.45rem;
  margin: 40px 0 14px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--line);
}
.legal-content p, .legal-content li { margin-bottom: 12px; }
.legal-content ul { margin: 0 0 18px 22px; }
.legal-content ul li { list-style: disc; }

/* ---------- 404 ---------- */
.error-hero {
  min-height: 70vh;
  display: flex;
  align-items: center;
  text-align: center;
}
.error-hero .container { max-width: 640px; }
.error-code {
  font-family: var(--font-display);
  font-size: clamp(6rem, 18vw, 11rem);
  font-weight: 700;
  line-height: 1;
  background: linear-gradient(150deg, var(--brand), var(--accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.error-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 12px 0 16px; }
.error-hero p { margin-bottom: 32px; }

/* ---------- Reveal ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s var(--ease), transform .9s var(--ease);
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-delay="1"] { transition-delay: .13s; }
.reveal[data-delay="2"] { transition-delay: .26s; }
.reveal[data-delay="3"] { transition-delay: .39s; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { gap: 52px; }
}

@media (max-width: 1080px) {
  .main-nav {
    position: fixed;
    inset: 0;
    background: rgba(18, 12, 8, .98);
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 36px;
    opacity: 0;
    visibility: hidden;
    transition: opacity .35s var(--ease), visibility .35s var(--ease);
    z-index: 105;
  }
  .main-nav::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: var(--ornament) center / auto 200% repeat-x;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav ul { flex-direction: column; gap: 26px; text-align: center; }
  .main-nav a { font-size: 1.35rem; font-family: var(--font-display); }
  .nav-cta { margin-left: 0; }
  .nav-toggle { display: flex; }
}

@media (max-width: 900px) {
  .section { padding: 76px 0; }
  .split { grid-template-columns: 1fr; }
  .split-media { order: -1; }
  .split-media::before, .split-media::after { display: none; }
  .split-badge { left: 18px; bottom: 18px; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .catalog-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .stats-bar .grid { margin-top: -44px; }
}

@media (max-width: 768px) {
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .hero-content { padding: 96px 0 90px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-bottom .container { justify-content: center; text-align: center; }
  .stats-bar .grid { grid-template-columns: repeat(2, 1fr); row-gap: 22px; }
  .stats-bar .grid > div:nth-child(3)::before { display: none; }
}

@media (max-width: 640px) {
  .container { width: calc(100% - 36px); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .hero-badges { gap: 10px; }
  .hero-badge { padding: 8px 14px; font-size: .82rem; }
  .topbar-contacts { gap: 14px; }
  .topbar .container { justify-content: center; }
  .topbar-social { display: none; }
}

@media (max-width: 480px) {
  .gallery-grid { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr; }
  .hero-actions .btn { width: 100%; }
  .cta-banner .btn-row .btn { width: 100%; }
  .stats-bar .grid { grid-template-columns: 1fr 1fr; }
}


/* ---------- Marquee specialità ---------- */
.marquee {
  overflow: hidden;
  background: var(--dark-2);
  border-top: 1px solid rgba(217, 177, 94, .18);
  border-bottom: 1px solid rgba(217, 177, 94, .18);
  padding: 20px 0;
}
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 38s linear infinite;
}
.marquee-track span {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(1.35rem, 2.6vw, 1.75rem);
  color: rgba(217, 177, 94, .75);
  white-space: nowrap;
  padding-right: 24px;
}
.marquee-track b { color: rgba(246, 239, 227, .5); font-weight: 600; padding: 0 10px; }
@keyframes marquee {
  to { transform: translateX(-50%); }
}
.marquee:hover .marquee-track { animation-play-state: paused; }

/* ---------- Come funziona ---------- */
.step {
  position: relative;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 44px 34px 38px;
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s var(--ease);
}
.step:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(193, 146, 46, .5); }
.step-num {
  position: absolute;
  top: -26px;
  right: 6px;
  font-family: var(--font-display);
  font-size: 8.5rem;
  font-weight: 700;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(193, 146, 46, .4);
  pointer-events: none;
}
.step-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: linear-gradient(140deg, #B33625, var(--brand-dark));
  color: #fff;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(158, 43, 30, .3);
}
.step h3 { margin-bottom: 10px; }
.step p { font-size: .96rem; }
.step p a { font-weight: 600; }

/* ---------- Hero scroll cue ---------- */
.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 26px;
  transform: translateX(-50%);
  z-index: 3;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, .85);
  animation: scrollCue 2.2s var(--ease) infinite;
}
.hero-scroll svg { width: 26px; height: 26px; fill: currentColor; }
.hero-scroll:hover { color: var(--accent-light); }
@keyframes scrollCue {
  0%, 100% { transform: translate(-50%, 0); opacity: .85; }
  50% { transform: translate(-50%, 9px); opacity: 1; }
}

/* ---------- Pulsanti flottanti ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(140deg, #2BBB4F, #1E9E3E);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 12px 30px rgba(30, 158, 62, .45);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease);
}
.wa-float:hover { transform: translateY(-4px) scale(1.05); box-shadow: 0 16px 38px rgba(30, 158, 62, .55); }
.wa-float svg { width: 30px; height: 30px; fill: #fff; }

.to-top {
  position: fixed;
  right: 30px;
  bottom: 94px;
  z-index: 90;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(193, 146, 46, .5);
  background: rgba(28, 20, 16, .88);
  backdrop-filter: blur(6px);
  color: var(--accent-light);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: opacity .35s var(--ease), visibility .35s var(--ease), transform .35s var(--ease), background .35s var(--ease);
}
.to-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--brand); color: #fff; }
.to-top svg { width: 20px; height: 20px; fill: currentColor; }

@media (max-width: 640px) {
  .wa-float { right: 16px; bottom: 16px; width: 54px; height: 54px; }
  .to-top { right: 22px; bottom: 82px; }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track { animation: none; }
  .hero-scroll { animation: none; }
}


/* ============================================================
   ANIMAZIONI v3
   ============================================================ */

/* ---------- Sequenza d'ingresso hero ---------- */
@keyframes heroRise {
  from { opacity: 0; transform: translateY(28px); }
}
.hero-content > * { animation: heroRise .9s var(--ease) backwards; }
.hero-content > *:nth-child(1) { animation-delay: .15s; }
.hero-content > *:nth-child(2) { animation-delay: .3s; }
.hero-content > *:nth-child(3) { animation-delay: .45s; }
.hero-content > *:nth-child(4) { animation-delay: .6s; }
.hero-content > *:nth-child(5) { animation-delay: .78s; }

.page-hero .container > * { animation: heroRise .8s var(--ease) backwards; }
.page-hero .container > *:nth-child(1) { animation-delay: .1s; }
.page-hero .container > *:nth-child(2) { animation-delay: .25s; }
.page-hero .container > *:nth-child(3) { animation-delay: .4s; }

/* riga oro sotto l'h1 delle pagine interne: si disegna da sola */
@keyframes drawLine {
  from { transform: scaleX(0); }
}
.page-hero h1::after { animation: drawLine .8s var(--ease) .55s backwards; }

/* ---------- Parallasse (via JS) ---------- */
.hero-media, .page-hero-media {
  inset: -12% 0;
  will-change: transform;
}

/* ---------- Varianti reveal ---------- */
.reveal-left { transform: translate3d(-46px, 0, 0); }
.reveal-right { transform: translate3d(46px, 0, 0); }
.reveal-zoom { transform: translateY(22px) scale(.93); }

/* ---------- Righe dei titoli che si disegnano ---------- */
.section-head.center h2::after {
  transform: scaleX(0);
  transition: transform .9s var(--ease) .35s;
}
.section-head.center.is-visible h2::after,
.section-head.center:not(.reveal) h2::after { transform: scaleX(1); }

.split-content h2::after {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .9s var(--ease) .35s;
}
.split-content.is-visible h2::after,
.split-content:not(.reveal) h2::after { transform: scaleX(1); }

/* ---------- Badge fluttuante nello split ---------- */
@keyframes bob {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-9px); }
}
.split-badge { animation: bob 5.5s ease-in-out infinite; }

/* ---------- Tilt 3D (via JS) ---------- */
.tilt {
  transform-style: preserve-3d;
  will-change: transform;
}
.tilt img { transform: translateZ(24px); }

/* ---------- CTA: bagliore che respira ---------- */
@keyframes glowBreathe {
  from { opacity: .65; }
  to { opacity: 1; }
}
.cta-banner::before { animation: glowBreathe 7s ease-in-out infinite alternate; }

/* ---------- WhatsApp: anello di richiamo ---------- */
.wa-float::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid rgba(43, 187, 79, .65);
  animation: waPulse 2.8s ease-out infinite;
  pointer-events: none;
}
@keyframes waPulse {
  0% { transform: scale(1); opacity: .8; }
  70%, 100% { transform: scale(1.6); opacity: 0; }
}

/* ---------- Lightbox: apertura morbida ---------- */
.lightbox.is-open img { animation: lbIn .4s var(--ease); }
@keyframes lbIn {
  from { opacity: 0; transform: scale(.9); }
}

/* ---------- Icone contatti: entrata a cascata già gestita dai reveal ---------- */
.contact-card > svg { transition: transform .35s var(--ease); }
.contact-card:hover > svg { transform: rotate(-6deg) scale(1.08); }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero-media img { animation: none; }
  .split-badge, .wa-float::before, .cta-banner::before,
  .hero-content > *, .page-hero .container > * { animation: none; }
  .section-head.center h2::after, .split-content h2::after { transform: scaleX(1); }
}
