/* Experientiae — Eventi · Vino · Cucina
   Stile principale: forme morbide, sezioni a pannelli arrotondati. Titoli in Bricolage Grotesque,
   parole in corsivo in Instrument Serif, testi in Manrope. */
:root {
  --ink: #1f1b1a;        /* nero della stellina */
  --ink-soft: #5d5852;
  --brand: #cbc4b7;      /* beige del logo */
  --stone: #cbc4b7;
  --stone-dark: #24201e;
  --gold: #8a7553;
  --gold-deep: #6f5d40;
  --gold-light: #e6dcc9;
  --cream: #f1ede6;
  --paper: #fbfaf7;
  --line: #e6e0d6;
  --ok: #4f6b45;
  --err: #9b3b2f;
  --display: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
  --serif: "Instrument Serif", Georgia, serif;
  --sans: "Manrope", "Helvetica Neue", Arial, sans-serif;
  --wrap: 1200px;
  --header-h: 64px;
  --edge: 12px;          /* margine dei pannelli dal bordo della finestra */
  --r-xl: 36px;
  --r-lg: 28px;
  --r: 20px;
  --r-sm: 14px;
  --shadow: 0 30px 60px -36px rgba(31,27,26,.45);
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0; font-family: var(--sans); font-size: 17px; line-height: 1.65;
  color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
::selection { background: var(--gold-light); }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 28px; }

h1, h2, h3 { font-family: var(--display); font-weight: 650; line-height: 1.02; letter-spacing: -.035em; margin: 0 0 .45em; font-variation-settings: "opsz" 96; }
h2 { font-size: clamp(2.2rem, 4.6vw, 3.7rem); }
h3 { font-size: 1.5rem; letter-spacing: -.025em; }
h1 em, h2 em, h3 em, .hero__claim em { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--gold); font-size: 1.08em; }
.section--dark h2 em, .hero h2 em { color: var(--gold-light); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; margin: 0 0 1.2rem;
  padding: 7px 14px 7px 12px; border-radius: 999px; background: rgba(138,117,83,.12);
  font: 700 .72rem/1 var(--sans); letter-spacing: .14em; text-transform: uppercase; color: var(--gold);
}
.eyebrow::before { content: "★"; font-size: .7rem; letter-spacing: 0; }
.section--dark .eyebrow { background: rgba(255,255,255,.08); }
.lead { font-size: 1.16rem; color: var(--ink-soft); max-width: 620px; }

.ornament { display: none; }

/* Pulsanti a pillola */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: 16px 28px; border-radius: 999px; border: 1px solid var(--ink); background: var(--ink); color: #fff;
  font: 600 .95rem/1.25 var(--sans); letter-spacing: 0; text-align: center;
  text-decoration: none; cursor: pointer;
  transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
}
.btn:hover { transform: translateY(-2px); background: var(--gold); border-color: var(--gold); box-shadow: 0 14px 28px -16px rgba(138,117,83,.9); }
.btn .arrow { transition: transform .25s var(--ease); }
.btn:hover .arrow { transform: translateX(4px); }
.btn--ghost { background: transparent; color: var(--ink); border-color: rgba(31,27,26,.3); }
.btn--ghost:hover { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: none; }
.btn[disabled], .btn.is-disabled { opacity: .5; cursor: not-allowed; transform: none; box-shadow: none; }
.section--dark .btn { background: #fff; border-color: #fff; color: var(--ink); }
.section--dark .btn:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ============ Intestazione: pillola di vetro che galleggia ============ */
.site-header {
  position: fixed; z-index: 50; top: var(--edge); left: 50%; transform: translateX(-50%);
  width: min(1240px, calc(100% - 2 * var(--edge))); color: var(--ink); border-radius: 999px;
  /* vetro liquido chiaro: si vede cosa scorre sotto */
  background: linear-gradient(135deg, rgba(255,255,255,.62), rgba(255,255,255,.3));
  -webkit-backdrop-filter: blur(18px) saturate(1.8); backdrop-filter: blur(18px) saturate(1.8);
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.85), inset 0 -1px 0 rgba(255,255,255,.2), 0 14px 34px -20px rgba(31,27,26,.4);
  transition: background .35s, border-color .35s, box-shadow .35s, color .35s;
}
.site-header .wrap { max-width: none; display: flex; align-items: center; justify-content: space-between; height: var(--header-h); gap: 20px; padding: 0 10px 0 24px; }
.logo { text-decoration: none; display: flex; align-items: center; line-height: 1; }
.logo img { height: 40px; width: auto; }
.logo .logo--light { display: none; }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a { text-decoration: none; font-size: .9rem; font-weight: 600; color: inherit; padding: 9px 14px; border-radius: 999px; opacity: .85; transition: background .2s, opacity .2s; }
.nav a:hover, .nav a.is-active { opacity: 1; background: rgba(31,27,26,.07); }
.header-actions { display: flex; align-items: center; gap: 8px; }
.cart-btn { position: relative; background: var(--ink); border: 0; color: #fff; width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; cursor: pointer; transition: transform .2s, background .2s; }
.cart-btn:hover { transform: scale(1.06); background: var(--gold); }
.cart-btn svg { width: 20px; height: 20px; }
.cart-count { position: absolute; top: -4px; right: -4px; min-width: 20px; height: 20px; padding: 0 5px; background: var(--gold); color: #fff; border: 2px solid var(--paper); border-radius: 10px; font-size: .68rem; font-weight: 700; display: grid; place-items: center; }
.cart-count[hidden] { display: none; }
.menu-toggle { display: none; background: none; border: 0; color: inherit; cursor: pointer; width: 46px; height: 46px; border-radius: 50%; }
.menu-toggle svg { width: 24px; height: 24px; margin: auto; }

/* Sopra il video della home: in cima trasparente, appena si scorre vetro scuro con testo bianco */
.site-header.is-top, .site-header.is-over { color: #fff; }
.site-header.is-top { background: transparent; border-color: transparent; box-shadow: none; -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-over {
  background: linear-gradient(135deg, rgba(255,255,255,.2), rgba(255,255,255,.06));
  border-color: rgba(255,255,255,.3);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.45), inset 0 -1px 0 rgba(255,255,255,.08), 0 14px 34px -20px rgba(0,0,0,.5);
}
.site-header:is(.is-top, .is-over) .logo--dark { display: none; }
.site-header:is(.is-top, .is-over) .logo--light { display: block; }
.site-header:is(.is-top, .is-over) .nav a:hover, .site-header:is(.is-top, .is-over) .nav a.is-active { background: rgba(255,255,255,.16); }
.site-header:is(.is-top, .is-over) .cart-btn { background: rgba(255,255,255,.18); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.site-header:is(.is-top, .is-over) .cart-count { border-color: transparent; }

@media (max-width: 1080px) {
  .menu-toggle { display: grid; }
  .nav {
    position: absolute; top: calc(100% + 8px); left: 0; right: 0; flex-direction: column; gap: 2px; padding: 8px;
    background: var(--paper); color: var(--ink); border-radius: 26px; border: 1px solid var(--line); box-shadow: var(--shadow);
    opacity: 0; transform: translateY(-8px) scale(.98); pointer-events: none; transition: opacity .25s, transform .25s var(--ease);
  }
  .nav.is-open { opacity: 1; transform: none; pointer-events: auto; }
  .nav a { width: 100%; text-align: center; padding: 14px; font-size: 1rem; }
  .site-header:is(.is-top, .is-over) .nav a:hover { background: rgba(31,27,26,.07); }
}

/* ============ Prima schermata con video ============ */
.hero { position: relative; text-align: center; overflow: hidden; }
.hero__logo { width: min(620px, 82vw); height: auto; margin: 0 auto; }
.hero__claim { font-family: var(--display); font-weight: 500; letter-spacing: -.02em; font-size: clamp(1.3rem, 2.6vw, 1.95rem); line-height: 1.3; margin: 30px auto 36px; max-width: 780px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.hero--video {
  margin: var(--edge); border-radius: var(--r-xl); background: #2b2725; color: #fff;
  min-height: calc(100vh - 2 * var(--edge)); min-height: calc(100svh - 2 * var(--edge));
  display: grid; align-items: center; isolation: isolate; padding: 120px 0 110px;
}
.hero--video::after { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(ellipse at center, rgba(25,22,21,.35), rgba(25,22,21,.7) 75%), linear-gradient(180deg, rgba(25,22,21,.45), transparent 30%, rgba(25,22,21,.55)); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.04); animation: hero-zoom 18s var(--ease) both; }
@keyframes hero-zoom { from { transform: scale(1.14); } to { transform: scale(1.04); } }
.hero--video .wrap { position: relative; z-index: 2; }
.hero--video .hero__logo { filter: drop-shadow(0 2px 22px rgba(0,0,0,.35)); animation: rise 1.1s var(--ease) both .1s; }
.hero--video .hero__claim { color: #fff; text-shadow: 0 1px 16px rgba(0,0,0,.4); animation: rise 1.1s var(--ease) both .3s; }
.hero--video .hero__claim em { color: var(--gold-light); }
.hero--video .hero__ctas { animation: rise 1.1s var(--ease) both .5s; }
.hero--video .btn { background: #fff; border-color: #fff; color: var(--ink); }
.hero--video .btn:hover { background: var(--gold-light); border-color: var(--gold-light); color: var(--ink); }
.hero--video .btn--ghost { background: rgba(255,255,255,.12); color: #fff; border-color: rgba(255,255,255,.5); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.hero--video .btn--ghost:hover { background: #fff; color: var(--ink); border-color: #fff; }
.hero__scroll { position: absolute; z-index: 2; left: 50%; bottom: 30px; transform: translateX(-50%); display: flex; flex-direction: column; align-items: center; gap: 6px; color: rgba(255,255,255,.85); text-decoration: none; font-size: .72rem; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; }
.hero__scroll span { font-size: 1.1rem; letter-spacing: 0; animation: bob 2s ease-in-out infinite; }
@keyframes bob { 50% { transform: translateY(6px); } }
@keyframes rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  .hero__video { display: none; }
  .hero--video { background: #2b2725 url("../video/hero-poster.jpg") center / cover; }
  .hero--video .hero__logo, .hero--video .hero__claim, .hero--video .hero__ctas, .hero__scroll span { animation: none; }
}

/* Nastro di parole che scorre */
.ticker { overflow: hidden; padding: 30px 0 6px; }
.ticker__track { display: flex; width: max-content; animation: slide 38s linear infinite; }
.ticker span { font-family: var(--display); font-weight: 700; letter-spacing: -.035em; font-size: clamp(2rem, 4.6vw, 3.6rem); color: var(--ink); white-space: nowrap; padding: 0 22px; display: inline-flex; align-items: center; gap: 44px; }
.ticker span:nth-child(even) { font-family: var(--serif); font-style: italic; font-weight: 400; letter-spacing: -.01em; color: var(--gold); }
.ticker span::after { content: "✦"; font-style: normal; font-size: .5em; color: var(--gold); }
@keyframes slide { to { transform: translateX(-50%); } }

/* ============ Sezioni ============ */
.section { padding: clamp(80px, 10vw, 130px) 0; position: relative; }
.section--cream, .section--dark { margin: var(--edge); border-radius: var(--r-xl); }
.section--cream { background: var(--cream); }
.section--dark { background: var(--stone-dark); color: var(--cream); }
.section--dark .lead { color: rgba(247,243,234,.75); }
.section__head { text-align: center; margin: 0 auto 60px; max-width: 760px; }
.section__head .lead { margin: 0 auto; }

/* Blocchi foto + testo */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 7vw, 96px); align-items: center; }
.feature + .feature { margin-top: clamp(80px, 10vw, 130px); }
.feature--rev .feature__media { order: 2; }
.feature__media { position: relative; }
.feature__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--r-lg); }
.feature__media--pair { display: grid; grid-template-columns: 1.15fr 1fr; gap: 14px; align-items: end; }
.feature__media--pair img:last-child { aspect-ratio: 3 / 4; margin-bottom: -40px; }
.feature__media--wide img { aspect-ratio: 1 / 1; }
.feature__text p { color: var(--ink-soft); }
.section--dark .feature__text p { color: rgba(247,243,234,.75); }
.feature__text .btn { margin-top: 14px; }
.badge {
  position: absolute; left: -18px; bottom: 32px; display: flex; align-items: center; gap: 12px; max-width: 270px;
  padding: 14px 20px 14px 14px; border-radius: 999px; background: rgba(251,250,247,.92); box-shadow: var(--shadow);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); font-size: .88rem; font-weight: 600; line-height: 1.3;
}
.badge b { flex: none; width: 42px; height: 42px; border-radius: 50%; background: var(--ink); color: var(--gold-light); display: grid; place-items: center; font-size: .9rem; }
.feature--rev .badge { left: auto; right: -18px; }
@media (max-width: 860px) {
  .feature { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
  .feature__media > img { aspect-ratio: 4 / 3; }
  .feature__media--pair { align-items: stretch; }
  .feature__media--pair img, .feature__media--pair img:last-child { aspect-ratio: 1 / 1; height: 100%; margin-bottom: 0; }
  .badge, .feature--rev .badge { left: 14px; right: auto; bottom: 14px; }
}

/* Liste con spunta */
.ticks { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.ticks li { display: flex; gap: 12px; align-items: center; font-weight: 500; }
.ticks li::before { content: "✓"; flex: none; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-light); font-size: .75rem; font-weight: 700; }

/* Schede eventi */
.ecards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.ecard { background: var(--paper); border-radius: var(--r-lg); overflow: hidden; display: flex; flex-direction: column; transition: transform .4s var(--ease), box-shadow .4s; }
.ecard:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.ecard__media { position: relative; overflow: hidden; aspect-ratio: 4 / 3; }
.ecard__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.ecard:hover .ecard__media img { transform: scale(1.05); }
.ecard__tag { position: absolute; top: 16px; left: 16px; padding: 8px 14px; border-radius: 999px; background: rgba(251,250,247,.9); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: .78rem; font-weight: 700; }
.ecard__body { padding: 30px 32px 34px; }
.ecard__body h3 { font-size: 1.9rem; }
.ecard__body > p { color: var(--ink-soft); margin: 0; }
@media (max-width: 860px) { .ecards { grid-template-columns: 1fr; } }

/* Produttori: due file che scorrono in versi opposti */
.marquee { overflow: hidden; padding: 6px 0; -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent); }
.marquee + .marquee { margin-top: 12px; }
.marquee__track { display: flex; gap: 12px; width: max-content; animation: slide 48s linear infinite; }
.marquee--rev .marquee__track { animation-direction: reverse; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee span { font-family: var(--serif); font-size: 1.45rem; padding: 14px 26px; border-radius: 999px; border: 1px solid var(--line); background: #fff; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
.marquee span:hover { background: var(--ink); border-color: var(--ink); color: #fff; }
@media (prefers-reduced-motion: reduce) {
  .ticker__track, .marquee__track { animation: none; flex-wrap: wrap; width: auto; justify-content: center; }
  .ticker span:nth-child(n+7), .marquee [aria-hidden="true"] { display: none; }
}

/* Contatti */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 56px; align-items: end; }
.contact-list { list-style: none; padding: 0; margin: 30px 0 0; display: grid; gap: 10px; }
.contact-list li { padding: 18px 22px; border-radius: var(--r); background: rgba(255,255,255,.65); transition: background .2s; }
.contact-list li:hover { background: #fff; }
.contact-list strong { display: block; font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); margin-bottom: 2px; }
.contact-list a, .contact-list span { font-family: var(--display); font-weight: 600; letter-spacing: -.02em; font-size: 1.25rem; text-decoration: none; }
.contact-list a:hover { color: var(--gold); }
.form-card { background: #fff; border-radius: var(--r-lg); padding: clamp(24px, 4vw, 40px); box-shadow: 0 30px 70px -50px rgba(31,27,26,.5); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 36px; } }

/* Moduli */
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form .full { grid-column: 1 / -1; }
.form > *, .checkout > * { min-width: 0; }
.field label { display: block; font-size: .82rem; font-weight: 600; color: var(--ink-soft); margin-bottom: 7px; }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; border: 1px solid var(--line); background: var(--paper); font: inherit; font-size: 1rem;
  color: var(--ink); border-radius: var(--r-sm); transition: border-color .2s, background .2s, box-shadow .2s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); background: #fff; box-shadow: 0 0 0 4px rgba(138,117,83,.15); }
.field textarea { min-height: 120px; resize: vertical; }
.field select { -webkit-appearance: none; appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none' stroke='%235d5852' stroke-width='1.6'%3E%3Cpath d='m1 1 5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 18px center; padding-right: 42px; }
/* I pallini e le spunte non devono prendere la larghezza delle caselle di testo */
.field input[type="radio"], .field input[type="checkbox"] { width: auto; padding: 0; flex: none; }
/* Su iPhone il campo data vuoto si schiaccia e sborda: lo riportiamo come gli altri */
.field input[type="date"] { -webkit-appearance: none; appearance: none; display: block; min-width: 0; min-height: 52px; line-height: 1.4; text-align: left; }
.field input[type="date"]::-webkit-date-and-time-value { text-align: left; }
.check { display: flex; gap: 10px; align-items: flex-start; font-size: .9rem; color: var(--ink-soft); }
.check input { margin-top: 5px; accent-color: var(--gold); width: 16px; height: 16px; }
.form-msg { padding: 14px 18px; font-size: .95rem; border-radius: var(--r-sm); }
.form-msg--ok { background: #eef3ea; color: var(--ok); }
.form-msg--err { background: #f8ece9; color: var(--err); }
.radio-row { display: flex; gap: 10px; flex-wrap: wrap; padding-top: 4px; }
.radio-row label { display: flex; white-space: nowrap; gap: 10px; align-items: center; font-weight: 600; font-size: .95rem; color: var(--ink); cursor: pointer; padding: 12px 18px; border: 1px solid var(--line); border-radius: 999px; background: var(--paper); transition: border-color .2s, background .2s; margin: 0; }
.radio-row label:has(input:checked) { border-color: var(--gold); background: rgba(138,117,83,.08); }
.field .radio-row input { width: 18px; height: 18px; margin: 0; accent-color: var(--gold); }
@media (max-width: 600px) { .form { grid-template-columns: 1fr; } }

/* Comparsa morbida allo scorrimento (la classe la mette js/effetti.js) */
.reveal { opacity: 0; transform: translateY(34px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }
/* vince sulle transizioni proprie di schede e passaggi, così la comparsa è sempre morbida */
.reveal.reveal { transition: opacity 1s var(--ease), transform 1s var(--ease), box-shadow .4s, background .4s, color .4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ============ Piè di pagina ============ */
.site-footer { background: var(--stone-dark); color: rgba(247,243,234,.7); padding: 70px 0 30px; font-size: .92rem; margin: var(--edge); border-radius: var(--r-xl); }
.site-footer .wrap { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; }
.site-footer h4 { font-size: .72rem; letter-spacing: .16em; text-transform: uppercase; color: var(--gold-light); margin: 0 0 16px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-logo { display: inline-block; }
.footer-logo img { width: 210px; height: auto; }
.footer-bottom { grid-column: 1 / -1; border-top: 1px solid rgba(255,255,255,.08); padding-top: 22px; margin-top: 16px; font-size: .8rem; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }
@media (max-width: 760px) { .site-footer .wrap { grid-template-columns: 1fr; gap: 30px; } }

/* ============ Pagine interne ============ */
.page-hero { background: var(--brand); color: var(--ink); text-align: center; padding: calc(var(--header-h) + 80px) 0 70px; position: relative; margin: var(--edge) var(--edge) 0; border-radius: var(--r-xl); overflow: hidden; }
.page-hero::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 120%, rgba(255,255,255,.55), transparent 60%); pointer-events: none; }
.page-hero .wrap { position: relative; }
.page-hero .eyebrow { background: rgba(255,255,255,.45); }
.page-hero h1 { font-size: clamp(2.8rem, 7.5vw, 5.6rem); letter-spacing: -.045em; color: var(--ink); margin: 0; }
.page-hero p { margin: 12px auto 0; color: var(--ink-soft); max-width: 620px; }
/* Catalogo Natale: luci dell'albero sfocate dietro al titolo */
.page-hero--natale { background: #1f1b16 url("../img/natale-luci.jpg") center / cover no-repeat; color: #fff; }
.page-hero--natale::before { background: linear-gradient(180deg, rgba(20,16,12,.55), rgba(20,16,12,.35) 55%, rgba(20,16,12,.6)); }
.page-hero--natale h1 { color: #fff; }
.page-hero--natale p { color: rgba(255,255,255,.88); }
.page-hero--natale .eyebrow { background: rgba(255,255,255,.18); color: #fff; -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }

/* Catalogo */
.shop-bar { position: sticky; top: calc(var(--edge) + var(--header-h) + 10px); z-index: 30; margin-top: 18px; }
.shop-bar .wrap { display: flex; gap: 12px; align-items: center; justify-content: space-between; padding-top: 10px; padding-bottom: 10px; flex-wrap: wrap; background: rgba(251,250,247,.86); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border-radius: 999px; border: 1px solid var(--line); max-width: calc(var(--wrap) - 56px); padding-left: 12px; padding-right: 12px; }
.tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.tab { background: none; border: 1px solid transparent; padding: 10px 18px; border-radius: 999px; cursor: pointer; font: 600 .88rem/1 var(--sans); color: var(--ink-soft); transition: background .2s, color .2s; }
.tab:hover { background: rgba(31,27,26,.06); color: var(--ink); }
.tab.is-active { background: var(--ink); color: #fff; }
.search { position: relative; flex: 0 1 300px; }
.search input { width: 100%; padding: 11px 16px 11px 40px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .95rem; background: #fff; }
.search input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(138,117,83,.15); }
.search svg { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); width: 16px; height: 16px; color: var(--ink-soft); }
@media (max-width: 700px) {
  .shop-bar .wrap { border-radius: 24px; margin: 0 var(--edge); width: auto; }
  .tabs { overflow-x: auto; flex-wrap: nowrap; width: 100%; scrollbar-width: none; }
  .tabs::-webkit-scrollbar { display: none; }
  .tab { white-space: nowrap; }
  .search { flex: 1 1 100%; }
}

.notice { background: var(--cream); border-radius: var(--r); padding: 16px 22px; font-size: .92rem; color: var(--ink-soft); margin: 36px 0 0; }

.cat { padding-top: 56px; scroll-margin-top: 170px; }
.cat__head { display: flex; align-items: baseline; gap: 18px; border-bottom: 1px solid var(--line); padding-bottom: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.cat__head h2 { margin: 0; font-size: clamp(2.3rem, 4vw, 3rem); }
.cat__head p { margin: 0; font-size: .74rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }

.group { margin-top: 34px; }
.group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 8px; }
.group__title { font-family: var(--display); font-weight: 650; letter-spacing: -.025em; font-size: 1.4rem; margin: 0; }
.group__prod { font-size: .72rem; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(138,117,83,.1); }
.group__note { font-size: .85rem; color: var(--ink-soft); font-style: italic; margin: 0 0 6px; }

.items { list-style: none; margin: 0; padding: 0; }
.item { display: grid; grid-template-columns: 1fr auto auto auto; gap: 18px; align-items: center; padding: 12px 14px; border-bottom: 1px solid var(--line); border-radius: var(--r-sm); transition: background .2s; }
.item:hover { background: var(--cream); border-bottom-color: transparent; }
.item__name { font-size: .98rem; }
.item__price { font-weight: 700; white-space: nowrap; text-align: right; min-width: 92px; }
.item__price small { font-weight: 400; color: var(--ink-soft); }
.qty { display: inline-flex; align-items: center; border: 1px solid var(--line); background: #fff; border-radius: 999px; overflow: hidden; }
.qty button { width: 36px; height: 36px; border: 0; background: none; cursor: pointer; font-size: 1.1rem; color: var(--ink); }
.qty button:hover { background: var(--cream); }
.qty input { width: 40px; height: 36px; border: 0; text-align: center; font: inherit; font-size: .95rem; -moz-appearance: textfield; background: transparent; }
.qty input::-webkit-outer-spin-button, .qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.add-btn { border: 0; background: var(--ink); color: #fff; height: 38px; padding: 0 18px; border-radius: 999px; cursor: pointer; font: 600 .82rem/1 var(--sans); white-space: nowrap; transition: background .2s, transform .2s; }
.add-btn:hover { background: var(--gold); transform: translateY(-1px); }
.item.in-cart .item__name::after { content: " ✦"; color: var(--gold); }
.item.has-foto { grid-template-columns: 64px 1fr auto auto auto; }
.item__foto { width: 64px; height: 64px; padding: 0; border: 1px solid var(--line); border-radius: var(--r-sm); background: #fff; overflow: hidden; cursor: zoom-in; }
.item__foto img { width: 100%; height: 100%; object-fit: contain; display: block; }
.foto-zoom { position: fixed; inset: 0; z-index: 1000; background: rgba(30,28,25,.82); display: grid; place-items: center; padding: 16px; cursor: zoom-out; }
.foto-zoom figure { margin: 0; background: #fff; border-radius: var(--r); padding: 18px; max-width: min(520px, 100%); }
.foto-zoom img { display: block; width: 100%; max-height: 70vh; object-fit: contain; }
.foto-zoom figcaption { margin-top: 12px; font-size: .9rem; text-align: center; }
.foto-zoom figcaption small { display: block; margin-top: 4px; font-size: .72rem; color: var(--ink-soft); }
@media (max-width: 640px) {
  .item { grid-template-columns: 1fr auto auto; row-gap: 8px; padding: 12px 6px; }
  .item__name { grid-column: 1 / -1; }
  .item__price { text-align: left; }
  .item.has-foto { grid-template-columns: 56px 1fr auto auto; column-gap: 10px; }
  .item.has-foto .item__foto { width: 56px; height: 56px; grid-row: span 2; align-self: start; }
  .item.has-foto .item__name { grid-column: 2 / -1; }
}
.empty-search { text-align: center; padding: 60px 0; color: var(--ink-soft); }

/* Carrello */
.overlay { position: fixed; inset: 0; background: rgba(30,28,25,.45); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); opacity: 0; pointer-events: none; transition: opacity .3s; z-index: 80; }
.overlay.is-open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: var(--edge); right: var(--edge); bottom: var(--edge); width: min(450px, calc(100vw - 2 * var(--edge)));
  background: var(--paper); z-index: 90; border-radius: var(--r-lg); overflow: hidden;
  transform: translateX(calc(100% + 2 * var(--edge))); display: flex; flex-direction: column; visibility: hidden;
  transition: transform .45s var(--ease), visibility .45s;
}
.drawer.is-open { transform: none; visibility: visible; box-shadow: 0 30px 80px -20px rgba(0,0,0,.45); }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 22px 24px; border-bottom: 1px solid var(--line); }
.drawer__head h3 { margin: 0; }
.drawer__close { background: var(--cream); border: 0; color: var(--ink); width: 40px; height: 40px; border-radius: 50%; font-size: 1.5rem; line-height: 1; cursor: pointer; }
.drawer__close:hover { background: var(--ink); color: #fff; }
.drawer__body { flex: 1; overflow-y: auto; padding: 8px 24px; }
.drawer__foot { padding: 20px 24px 24px; background: var(--cream); }
.cart-line { display: grid; grid-template-columns: 1fr auto; gap: 6px 14px; padding: 16px 0; border-bottom: 1px solid var(--line); }
.cart-line__name { font-size: .92rem; }
.cart-line__prod { display: block; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.cart-line__total { font-weight: 700; text-align: right; }
.cart-line__ctrl { display: flex; align-items: center; gap: 12px; }
.cart-line__rm { background: none; border: 0; color: var(--ink-soft); font-size: .82rem; text-decoration: underline; cursor: pointer; padding: 0; }
.cart-empty { text-align: center; color: var(--ink-soft); padding: 60px 10px; }
.totals { display: flex; justify-content: space-between; align-items: baseline; font-size: 1.05rem; margin-bottom: 4px; }
.totals strong { font-family: var(--display); font-size: 1.8rem; font-weight: 700; letter-spacing: -.03em; }
.totals-note { font-size: .8rem; color: var(--ink-soft); margin: 0 0 16px; }
.drawer__foot .btn { width: 100%; }

/* Codice sconto nel carrello */
#cart-sconto { margin-bottom: 14px; }
.sconto-form { display: flex; gap: 8px; }
.sconto-form input { flex: 1; min-width: 0; padding: 11px 16px; border: 1px solid var(--line); border-radius: 999px; font: inherit; font-size: .9rem; background: #fff; text-transform: uppercase; }
.sconto-form input::placeholder { text-transform: none; }
.sconto-form input:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(138,117,83,.15); }
.sconto-form button { border: 1px solid var(--ink); background: transparent; border-radius: 999px; padding: 0 18px; font: 600 .85rem/1 var(--sans); cursor: pointer; }
.sconto-form button:hover { background: var(--ink); color: #fff; }
.sconto-riga { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 12px 16px; border-radius: var(--r-sm); background: rgba(138,117,83,.14); color: var(--gold-deep); font-size: .88rem; }
.sconto-riga > span:last-child { font-weight: 700; white-space: nowrap; display: flex; gap: 10px; align-items: center; }
.summary .sconto td { color: var(--gold-deep); font-weight: 600; }

/* Pillola dello sconto attivo */
.promo { position: fixed; z-index: 60; left: 16px; bottom: 16px; display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px 8px 8px; border-radius: 999px; background: var(--ink); color: #fff; text-decoration: none; font-size: .86rem; font-weight: 600; box-shadow: var(--shadow); animation: rise .8s var(--ease) both .6s; }
.promo b { background: var(--gold); border-radius: 999px; padding: 6px 10px; font-size: .8rem; }
.promo:hover { background: var(--gold-deep); }
@media (max-width: 600px) { .promo { left: 10px; bottom: 10px; font-size: .8rem; } }

/* Ordine */
.checkout { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.checkout .form { background: #fff; border-radius: var(--r-lg); padding: clamp(22px, 4vw, 40px); box-shadow: 0 30px 70px -50px rgba(31,27,26,.5); border: 1px solid var(--line); }
.summary { background: var(--cream); padding: 30px; border-radius: var(--r-lg); position: sticky; top: calc(var(--edge) + var(--header-h) + 24px); }
.summary h3 { margin-top: 0; }
.summary table { width: 100%; border-collapse: collapse; font-size: .9rem; }
.summary td { padding: 9px 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.summary td:last-child { text-align: right; white-space: nowrap; padding-left: 12px; }
.summary .tot td { border: 0; padding-top: 16px; font-weight: 700; font-size: 1.05rem; }
@media (max-width: 900px) { .checkout { grid-template-columns: 1fr; } .summary { position: static; order: -1; } }

.toast { position: fixed; bottom: 24px; left: 50%; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 13px 22px; border-radius: 999px; font-size: .9rem; font-weight: 600; z-index: 100; transition: opacity .25s, transform .25s var(--ease); pointer-events: none; box-shadow: var(--shadow); }
.toast.is-show { opacity: 1; transform: translate(-50%, 0); }
.order-output textarea { width: 100%; min-height: 220px; font: .85rem/1.5 ui-monospace, Menlo, monospace; padding: 14px; border: 1px solid var(--line); border-radius: var(--r-sm); background: var(--paper); }
[hidden] { display: none !important; }

/* Partner Connessioni Pro: mosaico */
.partner__head { display: grid; grid-template-columns: 1fr auto; gap: 48px; align-items: end; margin-bottom: 44px; }
.partner__head h2 { white-space: nowrap; font-size: clamp(2.2rem, 4.2vw, 3.5rem); margin-bottom: .35em; }
.partner__head h2 { margin: 0; }
.partner .lead { margin: 0; max-width: 600px; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 12px; }
.mosaic a { display: block; overflow: hidden; position: relative; border-radius: var(--r); }
.mosaic img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.mosaic a:hover img { transform: scale(1.07); }
.mosaic__big { grid-column: span 2; grid-row: span 2; }
@media (max-width: 860px) {
  .partner__head { grid-template-columns: 1fr; gap: 26px; }
  .partner__head h2 { white-space: normal; }
  .lockup { justify-self: start; padding: 16px 22px; }
  .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 150px; gap: 8px; }
  .mosaic a { border-radius: var(--r-sm); }
}

/* Galleria completa: griglia regolare, 29 foto + riquadro finale = rettangolo pieno */
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.gallery > a { display: block; overflow: hidden; aspect-ratio: 3 / 2; border-radius: var(--r); }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.gallery a:hover img { transform: scale(1.05); }
.gallery__cta { min-width: 0; overflow: hidden; background: var(--brand); border-radius: var(--r); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 20px; gap: 14px; }
.gallery__cta h2 { font-size: clamp(1.3rem, 2.2vw, 1.8rem); margin: 0; color: var(--ink); max-width: 18ch; }
.gallery__cta .btn { padding: 12px 20px; }
@media (max-width: 760px) {
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .gallery > a, .gallery__cta { border-radius: var(--r-sm); }
  .gallery__cta { padding: 6px 8px; gap: 6px; }
  .gallery__cta h2 { font-size: 1rem; line-height: 1.2; }
  .gallery__cta .btn { padding: 8px 12px; font-size: .72rem; white-space: nowrap; }
}

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 120; background: rgba(20,18,17,.94); display: grid; place-items: center; opacity: 0; pointer-events: none; transition: opacity .25s; }
.lightbox.is-open { opacity: 1; pointer-events: auto; }
.lightbox img { max-width: 92vw; max-height: 86vh; object-fit: contain; border-radius: var(--r); box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lightbox button { position: absolute; background: rgba(255,255,255,.1); border: 0; color: #fff; cursor: pointer; font-size: 1.8rem; line-height: 1; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; transition: background .2s; }
.lightbox button:hover { background: rgba(255,255,255,.22); }
.lightbox__close { top: 16px; right: 16px; }
.lightbox__prev { left: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__next { right: 14px; top: 50%; transform: translateY(-50%); }
.lightbox__count { position: absolute; bottom: 18px; left: 50%; transform: translateX(-50%); color: rgba(255,255,255,.75); font-size: .85rem; letter-spacing: .1em; }

/* Experientiae × Connessioni Pro */
.lockup { display: flex; align-items: center; gap: 22px; padding: 22px 30px; border-radius: 999px; border: 1px solid rgba(255,255,255,.14); background: rgba(255,255,255,.04); }
.lockup img { height: 50px; width: auto; }
.lockup img + span + img { height: 38px; }
.lockup span { font-family: var(--serif); font-size: 1.8rem; color: var(--gold-light); line-height: 1; }

/* Come lavoriamo: tre passaggi numerati */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: none; }
.step { position: relative; padding: 34px 32px 36px; border-radius: var(--r-lg); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--ease), box-shadow .4s, background .4s, color .4s; }
.step:hover { transform: translateY(-6px); background: var(--ink); color: #fff; box-shadow: var(--shadow); }
.step:hover p { color: rgba(255,255,255,.72); }
.step__n { display: block; font-family: var(--display); font-weight: 800; font-size: clamp(3.4rem, 6vw, 4.6rem); line-height: .9; letter-spacing: -.05em; color: transparent; -webkit-text-stroke: 1.5px var(--gold); margin-bottom: 26px; }
.step:hover .step__n { -webkit-text-stroke-color: var(--gold-light); }
.step h3 { margin-bottom: .4em; }
.step p { color: var(--ink-soft); margin: 0; transition: color .4s; }
.steps-section { padding-top: clamp(70px, 8vw, 110px); padding-bottom: 0; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; gap: 12px; } .step { padding: 26px 24px 28px; } .step__n { margin-bottom: 16px; } }

/* ============ Telefono ============ */
@media (max-width: 600px) {
  :root { --header-h: 58px; --edge: 8px; --r-xl: 26px; --r-lg: 22px; }
  body { font-size: 16px; }
  .wrap { padding: 0 20px; }
  .site-header .wrap { padding: 0 6px 0 18px; }
  .logo img { height: 34px; }
  .cart-btn, .menu-toggle { width: 42px; height: 42px; }
  .section { padding: 64px 0; }
  .section__head { margin-bottom: 36px; }
  .feature + .feature { margin-top: 64px; }
  .lead { font-size: 1.05rem; }
  .btn { padding: 15px 22px; }
  .hero--video { padding: 100px 0 96px; }
  .hero__ctas { flex-direction: column; align-items: stretch; max-width: 320px; margin: 0 auto; }
  .hero__scroll { bottom: 24px; }
  .feature__text .btn, .form .btn, .partner .btn { width: 100%; }
  .ticker { padding-top: 22px; }
  .ecard__body { padding: 24px 22px 28px; }
  .ecard__body h3 { font-size: 1.8rem; }
  .badge { max-width: calc(100% - 28px); font-size: .82rem; padding: 10px 16px 10px 10px; }
  .badge b { width: 36px; height: 36px; }
  .marquee span { font-size: 1.05rem; padding: 10px 18px; }
  .contact-list li { padding: 14px 18px; }
  .contact-list a, .contact-list span { font-size: 1.1rem; }
  .lockup { gap: 12px; }
  .lockup img { height: 34px; }
  .lockup img + span + img { height: 26px; }
  .page-hero { padding: calc(var(--header-h) + 56px) 0 48px; }
  .summary { padding: 22px 20px; }
  .site-footer { padding-top: 52px; }
}

/* Testo per motori di ricerca e lettori di schermo */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Domande frequenti (home) */
.faq { max-width: 860px; }
.faq details { border-bottom: 1px solid rgba(0,0,0,.1); padding: 20px 0; }
.faq summary { cursor: pointer; list-style: none; font-weight: 600; font-size: 1.08rem; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: 12px 0 0; color: var(--ink-soft); max-width: 720px; }
/* Catalogo statico (visibile solo finché app.js non carica quello interattivo) */
.cat-static h2 { margin: 40px 0 6px; } .cat-static h3 { margin: 24px 0 8px; font-size: 1.05rem; } .cat-static li { padding: 4px 0; }
