/* =========================================================
   Il Chianchiere — Proposta 1 "Brace"
   Scuro, cinematografico, accenti color brace
   ========================================================= */

:root {
  --bg: #0e0b09;
  --bg-2: #17120f;
  --bg-3: #221a15;
  --ink: #efe6da;
  --muted: #a39484;
  --fire: #d4743a;
  --fire-2: #f0a35e;
  --blood: #7d1f1a;
  --line: rgba(239, 230, 218, .14);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Instrument Sans", system-ui, sans-serif;

  --ease: cubic-bezier(.22, 1, .36, 1);
  --ease-in-out: cubic-bezier(.77, 0, .175, 1);
  --pad: clamp(16px, 4vw, 56px);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font: 400 17px/1.65 var(--sans);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
body.is-loading, body.menu-open { overflow: hidden; }
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
::selection { background: var(--fire); color: var(--bg); }

.container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 var(--pad); }
.section { padding: clamp(90px, 13vw, 180px) 0; position: relative; }

.eyebrow {
  font: 600 12px/1 var(--sans);
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--fire);
  margin: 0 0 22px;
  display: flex; align-items: center; gap: 14px;
}
.eyebrow::before { content: ""; width: 34px; height: 1px; background: currentColor; }

.title {
  font: 400 clamp(40px, 6vw, 84px)/1.02 var(--serif);
  letter-spacing: -.02em;
  margin: 0 0 32px;
}
.title em, .hero__title em { font-style: italic; color: var(--fire-2); font-weight: 300; }

/* ---------- Buttons ---------- */
.btn {
  position: relative; overflow: hidden;
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 30px;
  border-radius: 100px;
  font: 600 14px/1 var(--sans); letter-spacing: .04em;
  border: 1px solid transparent; cursor: pointer;
  transition: color .5s var(--ease), border-color .5s var(--ease);
  isolation: isolate;
}
.btn::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  border-radius: inherit;
  transform: translateY(101%);
  transition: transform .6s var(--ease);
}
.btn:hover::before { transform: translateY(0); }
.btn--fire { background: var(--fire); color: #1a0f08; }
.btn--fire::before { background: var(--ink); }
.btn--ghost { border-color: var(--line); color: var(--ink); }
.btn--ghost::before { background: var(--ink); }
.btn--ghost:hover { color: var(--bg); border-color: var(--ink); }

.link-arrow { font-weight: 600; display: inline-flex; gap: 12px; align-items: center; }
.link-arrow::after { content: "→"; transition: transform .4s var(--ease); }
.link-arrow:hover::after { transform: translateX(8px); }

/* ---------- Loader ---------- */
.loader { position: fixed; inset: 0; z-index: 100; pointer-events: none; }
.loader__panel {
  position: absolute; left: 0; right: 0; height: 50.5%;
  background: var(--bg);
  transition: transform 1.1s var(--ease-in-out);
}
.loader__panel--top { top: 0; }
.loader__panel--bottom { bottom: 0; }
.loader__inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 26px;
  transition: opacity .5s;
}
.loader__inner img { width: min(260px, 60vw); animation: loaderIn 1s var(--ease) both; }
.loader__bar { width: 160px; height: 1px; background: var(--line); overflow: hidden; }
.loader__bar i { display: block; height: 100%; background: var(--fire); width: 0; transition: width .3s; }
@keyframes loaderIn { from { opacity: 0; transform: translateY(20px); filter: blur(8px); } }
body.is-loaded .loader__inner { opacity: 0; }
body.is-loaded .loader__panel--top { transform: translateY(-100%); }
body.is-loaded .loader__panel--bottom { transform: translateY(100%); }

/* ---------- Cursor ---------- */
.cursor {
  position: fixed; top: 0; left: 0; z-index: 90;
  width: 12px; height: 12px; margin: -6px 0 0 -6px;
  border-radius: 50%; background: var(--fire);
  pointer-events: none;
  display: flex; align-items: center; justify-content: center;
  transition: width .4s var(--ease), height .4s var(--ease), margin .4s var(--ease), opacity .3s;
  opacity: 0;
}
.cursor span { font: 600 11px var(--sans); letter-spacing: .12em; text-transform: uppercase; color: #1a0f08; opacity: 0; transition: opacity .3s; }
.cursor.is-visible { opacity: 1; }
.cursor.is-big { width: 86px; height: 86px; margin: -43px 0 0 -43px; }
.cursor.is-big span { opacity: 1; }
@media (hover: none) { .cursor { display: none; } }

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; align-items: center; gap: 32px;
  padding: 22px var(--pad);
  transition: transform .6s var(--ease), background .5s, padding .5s var(--ease);
}
.header.is-scrolled {
  background: rgba(14, 11, 9, .72);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  padding-top: 14px; padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}
.header.is-hidden { transform: translateY(-100%); }
.header__logo img { height: 42px; width: auto; transition: height .5s var(--ease); }
.header.is-scrolled .header__logo img { height: 34px; }
.nav { display: flex; gap: 30px; margin-left: auto; }
.nav__link { position: relative; font-size: 14px; font-weight: 500; padding: 6px 0; }
.nav__link::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 1px; width: 100%;
  background: var(--fire); transform: scaleX(0); transform-origin: right;
  transition: transform .5s var(--ease);
}
.nav__link:hover::after, .nav__link.is-active::after { transform: scaleX(1); transform-origin: left; }
.header__cta { padding: 12px 22px; }
.burger { display: none; }

.mobile-menu { display: none; }

@media (max-width: 980px) {
  .nav, .header__cta { display: none; }
  .burger {
    display: block; margin-left: auto; width: 44px; height: 44px;
    background: none; border: 0; cursor: pointer; position: relative; z-index: 60;
  }
  .burger span {
    position: absolute; left: 10px; right: 10px; height: 2px; background: var(--ink);
    transition: transform .5s var(--ease), top .5s var(--ease);
  }
  .burger span:first-child { top: 17px; }
  .burger span:last-child { top: 25px; }
  body.menu-open .burger span:first-child { top: 21px; transform: rotate(45deg); }
  body.menu-open .burger span:last-child { top: 21px; transform: rotate(-45deg); }

  .mobile-menu {
    display: flex; flex-direction: column; justify-content: center;
    position: fixed; inset: 0; z-index: 45;
    background: var(--bg-2);
    padding: 100px var(--pad) 40px;
    clip-path: circle(0% at calc(100% - 40px) 40px);
    transition: clip-path .9s var(--ease-in-out);
  }
  body.menu-open .mobile-menu { clip-path: circle(150% at calc(100% - 40px) 40px); }
  .mobile-menu nav { display: flex; flex-direction: column; gap: 6px; }
  .mobile-menu nav a {
    font: 400 clamp(36px, 10vw, 56px)/1.15 var(--serif);
    opacity: 0; transform: translateY(30px);
    transition: opacity .5s, transform .7s var(--ease);
  }
  body.menu-open .mobile-menu nav a { opacity: 1; transform: none; }
  .mobile-menu__foot { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 48px; color: var(--muted); }
}

/* ---------- Hero ---------- */
.hero { position: relative; height: 100vh; min-height: 640px; overflow: hidden; display: flex; align-items: flex-end; }
.hero__slides, .hero__slide, .hero__shade { position: absolute; inset: 0; }
.hero__slide {
  background-size: cover; background-position: center;
  opacity: 0; transform: scale(1.15);
  transition: opacity 1.6s ease, transform 7s linear;
}
.hero__slide.is-active { opacity: 1; transform: scale(1); }
.hero__shade {
  background:
    linear-gradient(180deg, rgba(14,11,9,.55) 0%, rgba(14,11,9,0) 30%),
    linear-gradient(0deg, rgba(14,11,9,.95) 0%, rgba(14,11,9,.35) 55%, rgba(14,11,9,.1) 100%),
    linear-gradient(90deg, rgba(14,11,9,.75) 0%, rgba(14,11,9,0) 70%);
}
.hero__content { position: relative; z-index: 2; padding: 0 var(--pad) clamp(90px, 14vh, 150px); max-width: 960px; }
.hero__title {
  font: 400 clamp(52px, 9vw, 138px)/.95 var(--serif);
  letter-spacing: -.03em;
  margin: 0 0 28px;
}
.hero__lead { max-width: 520px; color: rgba(239,230,218,.8); font-size: 18px; margin: 0 0 36px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; }

/* split words */
.split-word { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.split-word > span {
  display: inline-block; transform: translateY(110%) rotate(4deg);
  transition: transform 1.2s var(--ease);
}
.is-in .split-word > span { transform: none; }
[data-hero-fade] { opacity: 0; transform: translateY(24px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.is-in [data-hero-fade] { opacity: 1; transform: none; }

.hero__meta {
  position: absolute; z-index: 2; right: var(--pad); bottom: clamp(90px, 14vh, 150px);
  display: flex; flex-direction: column; align-items: flex-end; gap: 16px;
}
.hero__counter { font: 400 15px var(--serif); color: var(--muted); }
.hero__current { color: var(--ink); font-size: 26px; }
.hero__dots { display: flex; gap: 8px; }
.hero__dots button {
  width: 34px; height: 3px; padding: 0; border: 0; cursor: pointer;
  background: var(--line); position: relative; overflow: hidden;
}
.hero__dots button::after {
  content: ""; position: absolute; inset: 0; background: var(--fire);
  transform: scaleX(0); transform-origin: left;
}
.hero__dots button.is-active::after { animation: dotFill 6s linear forwards; }
@keyframes dotFill { to { transform: scaleX(1); } }

.hero__scroll {
  position: absolute; left: 50%; bottom: 28px; z-index: 2;
  width: 1px; height: 56px; background: var(--line); overflow: hidden;
}
.hero__scroll span { position: absolute; left: 0; top: 0; width: 1px; height: 50%; background: var(--fire); animation: scrollLine 2s var(--ease-in-out) infinite; }
@keyframes scrollLine { from { transform: translateY(-100%); } to { transform: translateY(200%); } }

@media (max-width: 760px) {
  .hero__meta { display: none; }
  .hero__shade { background: linear-gradient(0deg, rgba(14,11,9,.97) 0%, rgba(14,11,9,.5) 60%, rgba(14,11,9,.3) 100%); }
}

/* ---------- Marquee ---------- */
.marquee { border-block: 1px solid var(--line); overflow: hidden; padding: 26px 0; background: var(--bg); }
.marquee__track { display: flex; width: max-content; gap: 40px; align-items: center; animation: marquee 38s linear infinite; }
.marquee__track span { font: 300 italic clamp(28px, 4vw, 52px)/1 var(--serif); white-space: nowrap; }
.marquee__track i { color: var(--fire); font-style: normal; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Reveals ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1.1s var(--ease), transform 1.1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

.reveal-img { margin: 0; overflow: hidden; clip-path: inset(100% 0 0 0); transition: clip-path 1.4s var(--ease-in-out); }
.reveal-img img { width: 100%; height: 100%; object-fit: cover; transform: scale(1.3); transition: transform 2s var(--ease); }
.reveal-img.is-in { clip-path: inset(0 0 0 0); }
.reveal-img.is-in img { transform: scale(1.08); }

/* ---------- About ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 120px); align-items: center; }
.about__media { position: relative; }
.about__media figure { aspect-ratio: 4 / 5; border-radius: 4px; }
.about__badge {
  position: absolute; right: -30px; bottom: 40px;
  width: 150px; height: 150px; border-radius: 50%;
  background: var(--fire); color: #1a0f08;
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  font: 400 italic 22px/1.05 var(--serif);
}
.about__badge span { font-size: 15px; }
.about__text p { color: rgba(239,230,218,.78); }
.stats { list-style: none; padding: 32px 0 0; margin: 40px 0 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.stats strong { display: block; font: 400 clamp(36px, 4vw, 56px)/1 var(--serif); color: var(--fire-2); }
.stats span { font-size: 13px; color: var(--muted); }

@media (max-width: 860px) {
  .about__grid { grid-template-columns: 1fr; }
  .about__badge { right: 12px; bottom: -40px; width: 120px; height: 120px; font-size: 18px; }
}

/* ---------- Souls (expanding panels) ---------- */
.souls { padding-bottom: 0; }
.souls__row { display: flex; height: 78vh; min-height: 560px; gap: 2px; padding: 0 2px; }
.soul {
  position: relative; flex: 1; overflow: hidden; cursor: pointer;
  transition: flex 1s var(--ease), opacity 1.1s var(--ease), transform 1.1s var(--ease);
}
.soul.is-open { flex: 2.2; }
.soul__bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  transform: scale(1.08); transition: transform 1.4s var(--ease), filter 1s;
  filter: grayscale(.6) brightness(.5);
}
.soul.is-open .soul__bg { transform: scale(1); filter: none; }
.soul::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(14,11,9,.95), rgba(14,11,9,0) 70%); }
.soul__body { position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: clamp(24px, 4vw, 56px); }
.soul__num { font: 400 italic 18px var(--serif); color: var(--fire); }
.soul h3 { font: 400 clamp(34px, 4.6vw, 68px)/1 var(--serif); margin: 8px 0 0; white-space: nowrap; }
.soul__more {
  max-height: 0; opacity: 0; overflow: hidden; transform: translateY(20px);
  transition: max-height .9s var(--ease), opacity .5s, transform .9s var(--ease);
}
.soul.is-open .soul__more { max-height: 420px; opacity: 1; transform: none; transition-delay: .2s; }
.soul__more p { max-width: 460px; color: rgba(239,230,218,.8); margin: 18px 0; }
.hours { margin: 0; display: grid; gap: 6px; max-width: 460px; }
.hours div { display: flex; justify-content: space-between; gap: 20px; border-bottom: 1px dashed var(--line); padding-bottom: 6px; font-size: 15px; }
.hours dt { color: var(--muted); }
.hours dd { margin: 0; }
.soul__addr { font-size: 14px; color: var(--fire-2) !important; }

@media (max-width: 760px) {
  .souls__row { flex-direction: column; height: auto; }
  .soul, .soul.is-open { flex: none; min-height: 520px; }
  .soul__more { max-height: none; opacity: 1; transform: none; }
  .soul__bg { filter: brightness(.6); }
}

/* ---------- Horizontal gallery ---------- */
.hscroll { position: relative; height: 340vh; }
.hscroll__sticky { position: sticky; top: 0; height: 100vh; overflow: hidden; display: flex; flex-direction: column; justify-content: center; padding-top: 70px; }
.hscroll__head .title { font-size: clamp(36px, 5vw, 72px); margin-bottom: 0; }
.hscroll__track {
  display: flex; gap: clamp(16px, 2vw, 32px); align-items: flex-start;
  padding-left: max(var(--pad), 38vw);
  padding-right: var(--pad);
  margin-top: 3vh;
  will-change: transform;
}
.hcard { flex: 0 0 auto; width: min(24vw, 34vh, 360px); margin: 0; position: relative; }
.hcard:nth-child(even) { margin-top: 5vh; }
.hcard img { width: 100%; aspect-ratio: 2 / 3; object-fit: cover; border-radius: 4px; transition: transform 1s var(--ease), filter .6s; filter: saturate(.85); }
.hcard:hover img { transform: scale(1.03); filter: saturate(1.1); }
.hcard figcaption { margin-top: 14px; font: 400 italic 20px var(--serif); }
.hscroll__progress { position: absolute; left: var(--pad); right: var(--pad); bottom: 40px; height: 1px; background: var(--line); }
.hscroll__progress i { display: block; height: 100%; background: var(--fire); transform-origin: left; transform: scaleX(0); }

@media (max-width: 760px) {
  .hscroll { height: auto; padding: 100px 0; }
  .hscroll__sticky { position: static; height: auto; }
  .hscroll__sticky { padding-top: 0; }
  .hscroll__track { padding-left: var(--pad); margin-top: 20px; overflow-x: auto; scroll-snap-type: x mandatory; transform: none !important; }
  .hcard { width: 72vw; scroll-snap-align: start; }
  .hcard:nth-child(even) { margin-top: 0; }
  .hscroll__progress { display: none; }
}

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 80;
  background: rgba(14,11,9,.94);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s;
}
.lightbox.is-open { opacity: 1; visibility: visible; }
.lightbox img { max-height: 80vh; max-width: 90vw; border-radius: 4px; transform: scale(.9); transition: transform .7s var(--ease); }
.lightbox.is-open img { transform: none; }
.lightbox__cap { font: 400 italic 22px var(--serif); margin: 0; }
.lightbox__close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: var(--ink); font-size: 44px; cursor: pointer; line-height: 1; }

/* ---------- Blog ---------- */
.blog { background: var(--bg-2); }
.blog__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 20px; margin-bottom: 56px; flex-wrap: wrap; }
.blog__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: auto auto; gap: 40px 28px; }
.post--big { grid-row: span 2; }
.post__img { overflow: hidden; border-radius: 4px; aspect-ratio: 4 / 3; margin-bottom: 18px; position: relative; }
.post--big .post__img { aspect-ratio: 4 / 4.2; }
.post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post__img::after { content: ""; position: absolute; inset: 0; background: var(--fire); mix-blend-mode: multiply; opacity: 0; transition: opacity .6s; }
.post:hover .post__img img { transform: scale(1.08); }
.post:hover .post__img::after { opacity: .25; }
.post time { font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--fire); }
.post h3 { font: 400 22px/1.25 var(--serif); margin: 8px 0 0; transition: color .4s; }
.post--big h3 { font-size: clamp(26px, 2.6vw, 36px); }
.post:hover h3 { color: var(--fire-2); }

@media (max-width: 980px) {
  .blog__grid { grid-template-columns: 1fr 1fr; }
  .post--big { grid-column: span 2; grid-row: auto; }
  .post--big .post__img { aspect-ratio: 16 / 9; }
}
@media (max-width: 600px) {
  .blog__grid { grid-template-columns: 1fr; }
  .post--big { grid-column: auto; }
}

/* ---------- Contact ---------- */
.contact { overflow: hidden; }
.contact__bg {
  position: absolute; inset: -15% 0; background-size: cover; background-position: center;
  opacity: .16; filter: grayscale(1);
}
.contact::before { content: ""; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(212,116,58,.18), transparent 60%); z-index: 1; }
.contact__grid { position: relative; z-index: 2; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 7vw, 110px); align-items: start; }
.status { display: grid; gap: 8px; margin-bottom: 30px; }
.status p { margin: 0; display: flex; align-items: center; gap: 10px; color: var(--muted); }
.status b { color: var(--ink); font-weight: 500; }
.dot { width: 9px; height: 9px; border-radius: 50%; background: var(--muted); position: relative; }
.dot.is-open { background: #6fcf7b; }
.dot.is-open::after { content: ""; position: absolute; inset: -4px; border-radius: 50%; border: 1px solid #6fcf7b; animation: ping 1.8s infinite; }
@keyframes ping { from { transform: scale(.6); opacity: 1; } to { transform: scale(1.8); opacity: 0; } }
.contact__phone { display: inline-block; font: 300 clamp(40px, 5.5vw, 76px)/1 var(--serif); color: var(--fire-2); margin-bottom: 32px; transition: letter-spacing .6s var(--ease); }
.contact__phone:hover { letter-spacing: .02em; }
.contact__addr { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.contact__addr small { display: block; font-size: 11px; letter-spacing: .2em; text-transform: uppercase; color: var(--muted); }

.form { background: rgba(23,18,15,.75); backdrop-filter: blur(10px); border: 1px solid var(--line); border-radius: 6px; padding: clamp(26px, 4vw, 48px); }
.form h3 { font: 400 32px var(--serif); margin: 0 0 24px; }
.field { position: relative; margin-bottom: 22px; }
.field input, .field textarea {
  width: 100%; background: transparent; border: 0; border-bottom: 1px solid var(--line);
  color: var(--ink); font: inherit; padding: 22px 0 10px; outline: none; resize: vertical;
  transition: border-color .4s;
}
.field label { position: absolute; left: 0; top: 22px; color: var(--muted); pointer-events: none; transition: transform .4s var(--ease), color .4s, font-size .4s; transform-origin: left; }
.field input:focus, .field textarea:focus { border-color: var(--fire); }
.field input:focus + label, .field input:not(:placeholder-shown) + label,
.field textarea:focus + label, .field textarea:not(:placeholder-shown) + label { transform: translateY(-22px) scale(.78); color: var(--fire); }
.field.has-error input, .field.has-error textarea { border-color: #e05a4f; }
.check { display: flex; gap: 10px; font-size: 13px; color: var(--muted); margin: 6px 0 26px; align-items: flex-start; }
.check a { text-decoration: underline; }
.check input { accent-color: var(--fire); margin-top: 4px; }
.check.has-error { color: #e05a4f; }
.form__ok { margin: 20px 0 0; color: #6fcf7b; display: none; }

@media (max-width: 860px) { .contact__grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line); padding: 40px 0; }
.footer__grid { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.footer__logo { height: 36px; width: auto; }
.footer__social { display: flex; gap: 24px; font-size: 14px; }
.footer__social a:hover { color: var(--fire); }
.footer__legal { margin: 0; font-size: 13px; color: var(--muted); }

/* ---------- Recensioni Google ---------- */
.reviews { overflow: hidden; }
.reviews__head { display: flex; justify-content: space-between; align-items: flex-end; gap: 40px; flex-wrap: wrap; margin-bottom: 56px; }
.reviews__head .title { margin-bottom: 0; }
.gscore {
  display: flex; align-items: center; gap: 22px; flex-wrap: wrap;
  padding: 22px 26px; border: 1px solid var(--line); border-radius: 6px; background: var(--bg-2);
}
.gscore__g { width: 40px; height: 40px; }
.gscore__num { display: block; font: 400 46px/1 var(--serif); }
.gscore small { display: block; font-size: 12px; color: var(--muted); margin-top: 4px; }
.stars { display: inline-block; font-size: 15px; letter-spacing: 2px; line-height: 1; }
.stars::before {
  content: "★★★★★";
  background: linear-gradient(90deg, #f5b52e calc(var(--rate, 1) * 100%), rgba(239,230,218,.2) 0);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.reviews__rows {
  display: grid; gap: 20px;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
          mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.reviews__track { display: flex; gap: 20px; width: max-content; animation: marquee 60s linear infinite; }
.reviews__row--rev .reviews__track { animation-direction: reverse; animation-duration: 70s; }
.reviews__row:hover .reviews__track { animation-play-state: paused; }
.rcard {
  width: 360px; flex: 0 0 auto; padding: 26px; border-radius: 6px;
  background: var(--bg-2); border: 1px solid var(--line);
  transition: border-color .5s, transform .6s var(--ease);
}
.rcard:hover { border-color: rgba(212,116,58,.6); transform: translateY(-6px); }
.rcard header { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.rcard__av {
  width: 40px; height: 40px; border-radius: 50%; flex: 0 0 auto;
  display: flex; align-items: center; justify-content: center;
  background: var(--fire); color: #1a0f08; font: 600 16px var(--sans);
}
.rcard:nth-child(3n+2) .rcard__av { background: var(--blood); color: var(--ink); }
.rcard:nth-child(3n) .rcard__av { background: var(--bg-3); color: var(--fire-2); }
.rcard b { display: block; font-weight: 600; }
.rcard small { color: var(--muted); font-size: 12px; }
.rcard p { margin: 12px 0 0; color: rgba(239,230,218,.82); font: 400 italic 19px/1.45 var(--serif); }
.reviews__note { margin-top: 36px; font-size: 12px; color: var(--muted); }
@media (max-width: 600px) { .rcard { width: 290px; } .gscore { width: 100%; } }

/* ---------- WhatsApp che insegue lo scroll ---------- */
.wa {
  position: fixed; right: clamp(16px, 2.5vw, 32px); bottom: clamp(16px, 2.5vw, 32px); z-index: 60;
  display: flex; flex-direction: column; align-items: flex-end; gap: 14px;
  opacity: 0; transform: translateY(40px) scale(.6); pointer-events: none;
  transition: opacity .6s, transform .9s var(--ease);
}
.wa.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.wa__btn {
  position: relative; display: flex; align-items: center; height: 60px; padding: 0 17px;
  border-radius: 100px; background: #25d366; color: #fff;
  box-shadow: 0 14px 34px -10px rgba(0,0,0,.6);
  will-change: transform;
}
.wa__btn svg { width: 26px; height: 26px; flex: 0 0 auto; }
.wa__btn::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; border: 2px solid #25d366;
  animation: waRing 2.4s var(--ease) infinite;
}
@keyframes waRing { from { transform: scale(1); opacity: .8; } to { transform: scale(1.5); opacity: 0; } }
.wa__label {
  max-width: 0; overflow: hidden; white-space: nowrap; font: 600 14px var(--sans);
  transition: max-width .7s var(--ease), margin .7s var(--ease);
}
.wa__btn:hover .wa__label, .wa.is-expanded .wa__label { max-width: 200px; margin-left: 12px; }
.wa__bubble {
  position: relative; max-width: 270px; padding: 16px 38px 16px 18px; border-radius: 14px 14px 4px 14px;
  background: var(--ink); color: var(--bg); font-size: 14px; line-height: 1.45;
  box-shadow: 0 20px 40px -16px rgba(0,0,0,.7);
  opacity: 0; transform: translateY(14px) scale(.9); transform-origin: bottom right; pointer-events: none;
  transition: opacity .5s, transform .7s var(--ease);
}
.wa__bubble.is-in { opacity: 1; transform: none; pointer-events: auto; }
.wa__bubble p { margin: 0; }
.wa__bubble b { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--blood); margin-bottom: 2px; }
.wa__close { position: absolute; top: 6px; right: 8px; background: none; border: 0; font-size: 22px; line-height: 1; cursor: pointer; color: inherit; opacity: .5; }
.wa__close:hover { opacity: 1; }

/* ---------- Transizione tra le pagine ---------- */
body.is-leaving .loader__panel { transform: none; transition-duration: .8s; }

/* ---------- Pagina Menù ---------- */
.page-hero { position: relative; height: 72vh; min-height: 520px; display: flex; align-items: flex-end; overflow: hidden; }
.page-hero__bg { position: absolute; inset: -10% 0; background-size: cover; background-position: center; }
.page-hero .hero__shade { position: absolute; inset: 0; }
.page-hero__content { position: relative; z-index: 2; padding-bottom: clamp(60px, 10vh, 110px); }
.page-hero .hero__title { font-size: clamp(64px, 11vw, 170px); margin-bottom: 18px; }
.page-hero .hero__lead { margin-bottom: 0; }

.menu-nav {
  position: sticky; top: 0; z-index: 40;
  background: rgba(14,11,9,.85); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--line);
  transition: top .6s var(--ease);
}
body.header-visible .menu-nav { top: 63px; }
.menu-nav__inner { position: relative; display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; padding-block: 12px; }
.menu-nav__inner::-webkit-scrollbar { display: none; }
.menu-nav a {
  position: relative; z-index: 1; flex: 0 0 auto; padding: 10px 18px; border-radius: 100px;
  font-size: 14px; font-weight: 500; color: var(--muted); transition: color .4s;
}
.menu-nav a.is-active { color: #1a0f08; }
.menu-nav__pill { position: absolute; top: 12px; bottom: 12px; left: 0; border-radius: 100px; background: var(--fire); transition: transform .6s var(--ease), width .6s var(--ease); }

.menu-cat { display: grid; grid-template-columns: 5fr 7fr; gap: clamp(30px, 6vw, 100px); padding: clamp(70px, 9vw, 130px) 0; border-bottom: 1px solid var(--line); scroll-margin-top: 130px; }
.menu-cat__aside { position: sticky; top: 160px; align-self: start; }
.menu-cat__num { font: 400 italic 18px var(--serif); color: var(--fire); }
.menu-cat h2 { font: 400 clamp(44px, 5vw, 76px)/1 var(--serif); margin: 6px 0 26px; letter-spacing: -.02em; }
.menu-cat figure { aspect-ratio: 4 / 3; border-radius: 4px; }
.dish { display: grid; grid-template-columns: 1fr auto; gap: 4px 20px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.dish:first-child { padding-top: 0; }
.dish h3 { margin: 0; font: 400 26px/1.2 var(--serif); transition: color .4s; }
.dish:hover h3 { color: var(--fire-2); }
.dish__price { font: 400 22px var(--serif); color: var(--fire-2); }
.dish p { grid-column: 1 / -1; margin: 0; color: var(--muted); font-size: 15px; }
.dish__tag { display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 100px; border: 1px solid var(--line); font: 600 10px var(--sans); letter-spacing: .12em; text-transform: uppercase; vertical-align: middle; color: var(--fire); }

.menu-download { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: center; padding: clamp(36px, 5vw, 60px); margin: clamp(70px, 9vw, 120px) 0; border-radius: 6px; background: var(--bg-2); border: 1px solid var(--line); }
.menu-download .title { font-size: clamp(34px, 4vw, 56px); margin-bottom: 10px; }
.menu-download p { margin: 0; color: var(--muted); }
.menu-download__actions { display: flex; gap: 12px; flex-wrap: wrap; }
.menu-note { font-size: 13px; color: var(--muted); margin: 0 0 80px; }

@media (max-width: 860px) {
  .menu-cat { grid-template-columns: 1fr; }
  .menu-cat__aside { position: static; }
  .menu-cat figure { aspect-ratio: 16 / 9; }
  .menu-download { grid-template-columns: 1fr; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}
