/* ==========================================================
   Nocciola Caffè & Forno — demo LUDOLUX
   Espresso + latte + caramello, carta strappata, serif morbido
   ========================================================== */

:root {
  --espresso: #2A1B14;
  --cacao: #4B2E22;
  --cacao-2: #5E3A2A;
  --caramello: #C4843F;
  --caramello-d: #A96B2C;
  --latte: #F4ECE1;
  --latte-2: #EADCC9;
  --panna: #FBF7F1;
  --biscotto: #E2CDB2;
  --cipria: #E7D2C8;
  --ink: #2A1B14;
  --muted: #6E5A4E;
  --line: rgba(75, 46, 34, .14);

  --serif: "Fraunces", Georgia, serif;
  --sans: "Manrope", system-ui, sans-serif;
  --script: "Parisienne", cursive;

  --r: 18px;
  --r-lg: 28px;
  --shadow: 0 22px 50px -30px rgba(42, 27, 20, .45);
  --wrap: 1180px;

  /* bordo di carta strappata (riempie la parte bassa, bordo frastagliato in alto) */
  --torn: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 24' preserveAspectRatio='none'%3E%3Cpath d='M0 24 L0 14 L13 6 L30 5 L45 10 L54 12 L62 11 L71 5 L85 17 L95 8 L112 19 L128 10 L150 5 L170 9 L180 6 L192 17 L203 13 L220 10 L235 5 L244 7 L262 11 L274 13 L288 9 L307 15 L319 13 L334 18 L352 9 L374 6 L388 16 L398 12 L407 15 L425 13 L446 9 L463 14 L479 11 L499 19 L514 15 L523 15 L540 20 L559 9 L573 15 L581 11 L591 6 L600 16 L610 8 L623 18 L633 11 L648 18 L668 18 L680 11 L693 18 L714 6 L725 8 L736 12 L752 8 L760 11 L773 13 L795 15 L810 14 L827 5 L848 16 L868 17 L882 10 L891 14 L900 5 L911 7 L924 5 L932 6 L941 10 L949 18 L966 6 L978 10 L991 6 L1011 20 L1025 12 L1034 6 L1047 8 L1067 7 L1075 19 L1090 6 L1106 4 L1121 20 L1141 15 L1153 10 L1163 16 L1179 16 L1192 8 L1200 20 L1200 24 Z'/%3E%3C/svg%3E");
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  font: 400 16.5px/1.65 var(--sans);
  color: var(--ink);
  background: var(--latte);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; line-height: 1.1; margin: 0; letter-spacing: -.015em; }
h2 { font-size: clamp(30px, 4vw, 46px); }
h1 em, h2 em, h3 em { font-style: italic; font-weight: 400; color: var(--caramello-d); }
p { margin: 0; }
svg { stroke: currentColor; fill: none; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
button, input, select { font: inherit; color: inherit; }
[hidden] { display: none !important; }

.wrap { width: min(var(--wrap), 100% - 40px); margin-inline: auto; }
.section { padding: clamp(72px, 9vw, 120px) 0; }
.section--tint { background: var(--latte-2); }

.kicker {
  font: 700 12px/1 var(--sans);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--caramello-d);
  margin-bottom: 14px;
}
.script { font: 400 clamp(26px, 3vw, 36px)/1 var(--script); color: var(--caramello); }
.note { font-size: 13px; color: var(--muted); margin-top: 18px; }

/* titoli di sezione */
.head { margin-bottom: 46px; }
.head--center { text-align: center; max-width: 640px; margin-inline: auto; }
.head--center p { color: var(--muted); margin-top: 14px; }
.head--split { display: flex; justify-content: space-between; align-items: end; gap: 30px; flex-wrap: wrap; }
.head__side { max-width: 380px; color: var(--muted); }
.bean {
  display: block; width: 18px; height: 26px; margin: 0 auto 14px;
  background: var(--cacao); border-radius: 50%;
  transform: rotate(28deg);
  position: relative;
}
.bean::after {
  content: ""; position: absolute; inset: 3px 50% 3px auto; width: 2px; margin-right: -1px;
  background: var(--latte); border-radius: 2px; transform: skewY(-12deg);
}
.dashes { display: flex; gap: 8px; margin: 18px 0 22px; }
.dashes i { height: 3px; width: 44px; background: var(--cacao); border-radius: 3px; }
.dashes i:nth-child(n+2) { width: 14px; background: var(--caramello); }

.link-arrow { font-weight: 700; text-decoration: none; color: var(--cacao); border-bottom: 1.5px solid var(--caramello); padding-bottom: 3px; }
.link-arrow:hover { color: var(--caramello-d); }

/* ---------- pulsanti ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 22px;
  border-radius: 999px;
  border: 1.5px solid transparent;
  font: 700 14.5px/1.1 var(--sans);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s, background .2s, color .2s, border-color .2s;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn:hover { transform: translateY(-2px); }
.btn--lg { padding: 15px 28px; font-size: 15.5px; }
.btn--sm { padding: 8px 16px; font-size: 13px; }
.btn--block { width: 100%; }
.btn--cacao { background: var(--cacao); color: var(--panna); }
.btn--cacao:hover { background: var(--espresso); }
.btn--caramel { background: var(--caramello); color: var(--espresso); }
.btn--caramel:hover { background: #D39550; }
.btn--ghost { border-color: rgba(251, 247, 241, .55); color: var(--panna); }
.btn--ghost:hover { background: rgba(251, 247, 241, .12); }
.btn--line { border-color: var(--cacao); color: var(--cacao); }
.btn--line:hover { background: var(--cacao); color: var(--panna); }
.btn--pill { border-color: var(--cacao); color: var(--cacao); position: relative; }
.btn--pill:hover { background: var(--cacao); color: var(--panna); }
.cart-badge {
  min-width: 20px; height: 20px; padding: 0 6px;
  display: inline-grid; place-items: center;
  border-radius: 99px; background: var(--caramello); color: var(--espresso);
  font-size: 11.5px; font-weight: 800;
}
.round {
  width: 42px; height: 42px; border-radius: 50%;
  display: grid; place-items: center;
  border: 1.5px solid var(--cacao); background: none; color: var(--cacao); cursor: pointer;
  transition: background .2s, color .2s;
}
.round svg { width: 18px; height: 18px; }
.round:hover { background: var(--cacao); color: var(--panna); }

/* ---------- carta strappata ---------- */
.torn { position: relative; }
.torn::before {
  content: ""; position: absolute; left: 0; right: 0; bottom: 100%;
  height: 22px; margin-bottom: -1px;
  -webkit-mask: var(--torn) center / 100% 100% no-repeat;
          mask: var(--torn) center / 100% 100% no-repeat;
  pointer-events: none;
}
.torn--latte::before { background: var(--latte); }
.torn--cacao::before { background: var(--cacao); }

/* ---------- barra superiore + nav ---------- */
.topbar { background: var(--espresso); color: var(--biscotto); font-size: 13px; }
.topbar__in { display: flex; justify-content: space-between; align-items: center; gap: 20px; min-height: 38px; }
.topbar__city { color: var(--caramello); }
.topbar__stato { display: flex; align-items: center; gap: 8px; font-weight: 600; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: #9A8A7E; }
[data-stato].is-open .dot { background: #7FC08A; box-shadow: 0 0 0 4px rgba(127, 192, 138, .2); }
.topbar__social { display: flex; gap: 6px; }
.topbar__social a { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; }
.topbar__social a:hover { background: rgba(255, 255, 255, .1); color: var(--panna); }
.topbar__social svg { width: 16px; height: 16px; }

.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(244, 236, 225, .92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav__in { display: flex; align-items: center; gap: 28px; min-height: 74px; }
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--cacao); }
.logo svg { width: 40px; height: 40px; }
.logo__cup { stroke-width: 2.2; }
.logo__steam { stroke: var(--caramello); stroke-width: 2; }
.logo b { display: block; font: 600 25px/1 var(--serif); letter-spacing: -.02em; }
.logo small { display: block; font: 400 17px/1 var(--script); color: var(--caramello-d); margin-top: 1px; }
.nav__links { display: flex; gap: 26px; margin-left: auto; }
.nav__links a { text-decoration: none; font-weight: 600; font-size: 14.5px; position: relative; padding: 6px 0; }
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 1.5px;
  background: var(--caramello); transform: scaleX(0); transition: transform .25s;
}
.nav__links a:hover::after { transform: none; }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.burger { display: none; width: 44px; height: 44px; border: 0; background: none; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 11px; right: 11px; height: 2px; background: var(--cacao); border-radius: 2px; transition: transform .25s, top .25s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { top: 21px; transform: rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { top: 21px; transform: rotate(-45deg); }

/* ---------- apertura ---------- */
.hero {
  position: relative; overflow: hidden;
  min-height: min(760px, 88vh);
  display: flex; align-items: center;
  color: var(--panna);
  padding: 90px 0 150px;
  background: var(--espresso);
}
.hero__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(95deg, rgba(30, 18, 12, .88) 0%, rgba(30, 18, 12, .62) 45%, rgba(30, 18, 12, .15) 100%);
}
.hero__in { position: relative; z-index: 1; }
.hero .script { margin-bottom: 10px; }
.hero h1 { font-size: clamp(42px, 6.4vw, 80px); max-width: 780px; }
.hero h1 em { color: var(--caramello); }
.hero__lead { max-width: 520px; margin-top: 22px; font-size: 17.5px; color: rgba(251, 247, 241, .85); }
.hero__btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 32px; }

/* ---------- tre ingressi ---------- */
.pillars { background: var(--latte); padding-bottom: 20px; }
.pillars__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px;
  margin-top: -110px; position: relative; z-index: 2;
}
.pillar {
  display: block; text-decoration: none;
  background: rgba(251, 247, 241, .93);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: var(--r);
  padding: 26px 26px 24px;
  box-shadow: var(--shadow);
  transition: transform .25s;
}
.pillar:hover { transform: translateY(-5px); }
.pillar__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--latte-2); color: var(--caramello-d); margin-bottom: 16px; }
.pillar__ico svg { width: 28px; height: 28px; }
.pillar h2 { font-size: 24px; margin-bottom: 8px; }
.pillar p { color: var(--muted); font-size: 15px; }
.pillar__more { display: inline-block; margin-top: 14px; font-weight: 700; font-size: 14px; color: var(--caramello-d); border-bottom: 1.5px solid currentColor; }

/* ---------- menù per momenti ---------- */
.moments {
  display: flex; justify-content: center; gap: 8px; flex-wrap: wrap;
  margin: 0 auto 34px;
  padding: 6px; border-radius: 999px;
  background: var(--panna); border: 1px solid var(--line);
  width: fit-content;
}
.moments button {
  border: 0; background: none; cursor: pointer;
  padding: 11px 20px; border-radius: 999px;
  font-weight: 700; font-size: 14.5px; color: var(--muted);
  display: flex; align-items: center; gap: 8px;
  transition: background .2s, color .2s;
}
.moments button small { font-weight: 500; font-size: 12px; opacity: .75; }
.moments button[aria-selected="true"] { background: var(--cacao); color: var(--panna); }
.moments button:not([aria-selected="true"]):hover { color: var(--cacao); background: var(--latte); }
.now-tag {
  font: 700 10.5px/1 var(--sans); letter-spacing: .08em; text-transform: uppercase;
  padding: 4px 7px; border-radius: 99px; background: var(--caramello); color: var(--espresso);
}

.moment {
  display: grid; grid-template-columns: 1fr 1.15fr; gap: 0;
  background: var(--panna); border-radius: var(--r-lg); overflow: hidden;
  box-shadow: var(--shadow);
  animation: fade .45s ease;
}
@keyframes fade { from { opacity: 0; transform: translateY(8px); } }
.moment__photo { position: relative; min-height: 440px; }
.moment__photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.moment__photo p {
  position: absolute; left: 22px; bottom: 22px; right: 22px;
  color: var(--panna); font: 400 34px/1.05 var(--script);
  text-shadow: 0 2px 18px rgba(0, 0, 0, .45);
}
.moment__list { padding: clamp(26px, 4vw, 44px); }
.moment__list h3 { font-size: 30px; }
.moment__list > p { color: var(--muted); margin: 6px 0 20px; }
.item {
  display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 14px;
  padding: 13px 0; border-top: 1px dashed var(--line);
}
.item b { font-weight: 700; }
.item span { display: block; font-size: 13.5px; color: var(--muted); line-height: 1.45; }
.item__price { font: 500 17px/1 var(--serif); color: var(--cacao); white-space: nowrap; }
.add {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1.5px solid var(--cacao); background: none; color: var(--cacao);
  display: grid; place-items: center; cursor: pointer;
  transition: background .2s, color .2s, transform .2s;
}
.add svg { width: 16px; height: 16px; stroke-width: 2.2; }
.add:hover { background: var(--cacao); color: var(--panna); }
.add.is-added { background: var(--caramello); border-color: var(--caramello); color: var(--espresso); transform: scale(1.12); }

/* ---------- preferiti ---------- */
.favs__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.fav { background: var(--panna); border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s; }
.fav:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.fav img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; }
.fav__body { padding: 16px 18px 18px; text-align: center; }
.fav h3 { font-size: 20px; }
.fav p { font-size: 13.5px; color: var(--muted); margin: 4px 0 12px; }
.fav__row { display: flex; align-items: center; justify-content: center; gap: 12px; }
.fav__row .item__price { font-size: 19px; }

/* ---------- il caffè ---------- */
.coffee__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.coffee__photo { margin: 0; position: relative; }
.coffee__photo img { width: 100%; aspect-ratio: 4 / 4.6; object-fit: cover; border-radius: 200px 200px var(--r-lg) var(--r-lg); }
.coffee__photo figcaption {
  position: absolute; right: -14px; bottom: 34px;
  background: var(--panna); padding: 12px 22px 14px; border-radius: 14px;
  box-shadow: var(--shadow); transform: rotate(-4deg);
  font-size: 28px; color: var(--cacao);
}
.coffee__txt > p { color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 30px 0 0; }
.stats div { border-left: 2px solid var(--caramello); padding-left: 12px; }
.stats dt { font: 500 30px/1 var(--serif); color: var(--cacao); }
.stats dd { margin: 6px 0 0; font-size: 13px; color: var(--muted); line-height: 1.35; }

.trieste {
  margin-top: clamp(64px, 8vw, 100px);
  display: grid; grid-template-columns: 1fr 1.1fr; gap: 40px; align-items: center;
  background: var(--cacao); color: var(--panna);
  border-radius: var(--r-lg); padding: clamp(28px, 5vw, 56px);
}
.trieste h3 { font-size: clamp(28px, 3.4vw, 38px); }
.trieste h3 em { color: var(--caramello); }
.trieste .kicker { color: var(--caramello); }
.trieste__txt > p { color: rgba(251, 247, 241, .75); margin: 12px 0 22px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips button {
  border: 1.5px solid rgba(251, 247, 241, .35); background: none; color: var(--panna);
  padding: 9px 16px; border-radius: 999px; cursor: pointer;
  font: 500 16px/1 var(--serif); font-style: italic;
  transition: background .2s, border-color .2s, color .2s;
}
.chips button:hover { border-color: var(--caramello); }
.chips button[aria-selected="true"] { background: var(--caramello); border-color: var(--caramello); color: var(--espresso); }
.trieste__cup { display: grid; grid-template-columns: auto 1fr; gap: 28px; align-items: center; }

/* la tazza: gli strati si riempiono con altezze in % */
.cup { position: relative; width: 140px; height: 170px; transform: scale(1.35); margin: 24px 26px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 14px; }
.cup__body {
  position: relative; z-index: 1;
  width: 104px; height: 82px;
  border: 5px solid var(--panna); border-top: 0;
  border-radius: 0 0 46px 46px;
  overflow: hidden;
  transition: width .5s, height .5s, border-radius .5s;
}
.cup__fill { position: absolute; left: 0; right: 0; bottom: 0; height: 40%; display: flex; flex-direction: column-reverse; transition: height .6s cubic-bezier(.3, .9, .3, 1); }
.cup__fill i { display: block; transition: flex-basis .6s cubic-bezier(.3, .9, .3, 1); flex: 0 0 0%; }
.l-caffe { background: #3A2217; }
.l-latte { background: #C9A27C; }
.l-schiuma { background: #F6EBDD; }
.cup__handle {
  position: absolute; right: 2px; bottom: 44px; width: 26px; height: 34px;
  border: 5px solid var(--panna); border-left: 0; border-radius: 0 18px 18px 0;
  transition: opacity .3s;
}
.cup__plate { position: absolute; bottom: 4px; left: 4px; right: 4px; height: 8px; border-radius: 99px; background: var(--panna); opacity: .9; transition: opacity .3s; }
/* "in b" = nel bicchierino di vetro */
.cup.is-glass .cup__body { width: 62px; height: 96px; border-radius: 0 0 10px 10px; border-color: rgba(251, 247, 241, .8); }
.cup.is-glass .cup__handle, .cup.is-glass .cup__plate { opacity: 0; }
.cup.is-big .cup__body { width: 124px; height: 96px; border-radius: 0 0 56px 56px; }
.cup.is-big .cup__handle { bottom: 52px; }

.trieste__card { min-height: 170px; }
.trieste__word { font: 400 italic 34px/1 var(--serif); color: var(--caramello); }
.trieste__alt { font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: rgba(251, 247, 241, .6); margin: 8px 0 10px; }
.trieste__card > p:not([class]) { color: rgba(251, 247, 241, .85); font-size: 15px; }
.legend { list-style: none; padding: 0; margin: 14px 0 0; display: flex; gap: 14px; font-size: 12.5px; color: rgba(251, 247, 241, .7); }
.legend li { display: flex; align-items: center; gap: 6px; }
.legend i { width: 10px; height: 10px; border-radius: 3px; }

/* ---------- bottega ---------- */
.shop__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: end; }
.blend {
  position: relative; text-align: center;
  background: linear-gradient(180deg, var(--cacao-2), var(--espresso));
  color: var(--panna);
  border-radius: 150px 150px var(--r) var(--r);
  padding: 38px 28px 28px;
  transition: transform .25s;
}
.blend:hover { transform: translateY(-6px); }
.blend:nth-child(2) { padding-top: 60px; }
.blend__bag {
  width: 92px; height: 112px; margin: 0 auto 20px;
  background: var(--latte); color: var(--cacao);
  border-radius: 10px 10px 14px 14px;
  clip-path: polygon(8% 0, 92% 0, 100% 12%, 100% 100%, 0 100%, 0 12%);
  display: grid; place-items: center; align-content: center; gap: 2px;
  box-shadow: inset 0 -30px 0 var(--biscotto);
}
.blend__bag b { font: 600 italic 19px/1 var(--serif); }
.blend__bag small { font-size: 9.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--caramello-d); }
.blend h3 { font-size: 26px; }
.blend__origin { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--caramello); margin: 6px 0 12px; }
.blend__notes { color: rgba(251, 247, 241, .8); font-size: 15px; min-height: 48px; }
.roast { display: flex; justify-content: center; align-items: center; gap: 5px; margin: 16px 0 20px; font-size: 12px; color: rgba(251, 247, 241, .65); }
.roast i { width: 11px; height: 15px; border-radius: 50%; border: 1.5px solid var(--caramello); transform: rotate(28deg); }
.roast i.on { background: var(--caramello); }
.roast span { margin-left: 8px; }
.blend__buy { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid rgba(251, 247, 241, .15); padding-top: 16px; }
.blend__buy .item__price { color: var(--panna); font-size: 22px; }
.blend .add { border-color: var(--caramello); color: var(--caramello); width: auto; padding: 0 14px; border-radius: 99px; gap: 6px; display: flex; font-weight: 700; font-size: 13.5px; height: 38px; }
.blend .add:hover { background: var(--caramello); color: var(--espresso); }

/* ---------- eventi ---------- */
.events__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.event {
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
  color: var(--panna);
  background: var(--cacao);
}
.event__img { height: 230px; overflow: hidden; }
.event img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.event:hover img { transform: scale(1.05); }
.event__body { padding: 22px 24px 24px; display: flex; flex-direction: column; flex: 1; }
.event__tags { display: flex; gap: 6px; flex-wrap: wrap; position: absolute; top: 16px; left: 16px; right: 16px; }
.event__tags span { background: var(--panna); color: var(--cacao); border-radius: 8px; padding: 5px 10px; font-size: 12px; font-weight: 700; }
.event h3 { font-size: 26px; }
.event p { color: rgba(251, 247, 241, .8); font-size: 14.5px; margin: 6px 0 18px; }
.event__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: auto; border-top: 1px solid rgba(251, 247, 241, .14); padding-top: 16px; }
.event__foot b { font: 500 22px/1 var(--serif); }
.event__foot small { display: block; font-size: 12px; font-weight: 500; opacity: .7; font-family: var(--sans); margin-top: 4px; }
.event .btn { background: var(--caramello); color: var(--espresso); }

/* ---------- recensioni + instagram ---------- */
.social__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.reviews__slider { min-height: 250px; }
.review { animation: fade .45s ease; }
.stars { color: var(--caramello); letter-spacing: 4px; font-size: 20px; }
.review blockquote { margin: 14px 0 20px; font: 400 clamp(21px, 2.3vw, 26px)/1.4 var(--serif); font-style: italic; }
.review__who { display: flex; align-items: center; gap: 12px; }
.review__who span { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--cacao); color: var(--panna); font-weight: 700; }
.review__who b { display: block; }
.review__who small { color: var(--muted); }
.reviews__nav { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.reviews__dots { display: flex; gap: 6px; }
.reviews__dots i { width: 8px; height: 8px; border-radius: 99px; background: var(--biscotto); transition: width .3s, background .3s; }
.reviews__dots i.on { width: 24px; background: var(--cacao); }
.insta__head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.insta__head span { display: block; font-size: 13.5px; color: var(--muted); }
.insta__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.insta__grid a { position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 1; }
.insta__grid img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.insta__grid a:hover img { transform: scale(1.07); }
.insta__grid a::after {
  content: ""; position: absolute; top: 9px; right: 9px; width: 18px; height: 18px;
  border: 1.8px solid #fff; border-radius: 6px; opacity: .9;
  box-shadow: inset 0 0 0 3.5px transparent;
  background: radial-gradient(circle, transparent 3px, #fff 3.2px, #fff 4.6px, transparent 4.8px);
}

/* ---------- ordine da asporto ---------- */
.order__grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(36px, 6vw, 80px); align-items: start; }
.order__intro > p { color: var(--muted); margin-top: 16px; }
.order__steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 12px; }
.order__steps li { display: flex; align-items: center; gap: 14px; font-weight: 600; }
.order__steps b { width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--latte-2); color: var(--caramello-d); font: 600 17px/1 var(--serif); }
.order__card { background: var(--panna); border-radius: var(--r-lg); padding: clamp(24px, 3.5vw, 36px); box-shadow: var(--shadow); border: 1px solid var(--line); }
.order__card h3 { font-size: 26px; margin-bottom: 14px; }
.cart { border-top: 1px solid var(--line); }
.cart__empty { padding: 22px 0; color: var(--muted); text-align: center; font-size: 15px; }
.cart__empty a { color: var(--caramello-d); font-weight: 700; }
.cart__row { display: grid; grid-template-columns: 1fr auto auto; gap: 14px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.cart__row b { font-weight: 600; }
.qty { display: flex; align-items: center; gap: 4px; border: 1px solid var(--line); border-radius: 99px; padding: 3px; }
.qty button { width: 28px; height: 28px; border-radius: 50%; border: 0; background: var(--latte); cursor: pointer; font-weight: 700; line-height: 1; }
.qty button:hover { background: var(--biscotto); }
.qty span { min-width: 22px; text-align: center; font-weight: 700; font-size: 14px; }
.cart__row .item__price { min-width: 64px; text-align: right; font-size: 16px; }
.cart__total { display: flex; justify-content: space-between; align-items: baseline; padding: 16px 0 20px; }
.cart__total b { font: 600 26px/1 var(--serif); color: var(--cacao); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field { display: block; margin-bottom: 14px; }
.field span { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; }
.field small { font-weight: 500; color: var(--muted); }
.field input, .field select {
  width: 100%; height: 48px; padding: 0 14px;
  border-radius: 12px; border: 1.5px solid var(--line); background: #fff;
  transition: border-color .2s;
}
.field input:focus, .field select:focus { outline: none; border-color: var(--caramello); }
.order__msg { min-height: 22px; font-size: 14px; color: #A2412B; margin-bottom: 8px; }

/* ---------- tessera fedeltà ---------- */
.loyal { position: relative; overflow: hidden; background: var(--espresso); color: var(--panna); padding: clamp(64px, 8vw, 100px) 0; }
.loyal__bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .28; }
.loyal::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, var(--espresso) 30%, rgba(42, 27, 20, .4)); }
.loyal__in { position: relative; z-index: 1; display: grid; grid-template-columns: 1.1fr 1fr; gap: 50px; align-items: center; }
.loyal h2 em { color: var(--caramello); }
.loyal__txt > p { color: rgba(251, 247, 241, .8); margin: 16px 0 24px; max-width: 520px; }
.loyal__form { display: flex; gap: 10px; max-width: 480px; }
.loyal__form input { flex: 1; min-width: 0; height: 50px; padding: 0 18px; border-radius: 999px; border: 0; background: var(--panna); color: var(--ink); }
.loyal__sign { font-size: 26px; margin-top: 16px; }
.stamp-card {
  justify-self: center; width: min(400px, 100%);
  background: var(--latte); color: var(--cacao);
  border-radius: 20px; padding: 26px;
  transform: rotate(3deg);
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .6);
  background-image: radial-gradient(circle at 0 50%, transparent 12px, var(--latte) 13px), radial-gradient(circle at 100% 50%, transparent 12px, var(--latte) 13px);
  background-size: 51% 100%;
  background-position: left, right;
  background-repeat: no-repeat;
}
.stamp-card__name { font: 600 26px/1 var(--serif); display: flex; justify-content: space-between; align-items: baseline; }
.stamp-card__name span { font: 400 20px/1 var(--script); color: var(--caramello-d); }
.stamps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: 22px 0 18px; }
.stamps i { aspect-ratio: 1; border-radius: 50%; border: 1.5px dashed var(--caramello); display: grid; place-items: center; }
.stamps i.on { border-style: solid; background: var(--cacao); color: var(--caramello); }
.stamps i svg { width: 60%; height: 60%; }
.stamps i:last-child { border-color: var(--cacao); font: 700 10px/1 var(--sans); text-transform: uppercase; letter-spacing: .06em; color: var(--cacao); }
.stamp-card__foot { font-size: 14px; color: var(--muted); border-top: 1px dashed var(--line); padding-top: 14px; }

/* ---------- dove siamo ---------- */
.visit__grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.visit__txt > p { color: var(--muted); }
.visit__info { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 10px; }
.visit__info li { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.visit__info svg { width: 20px; height: 20px; color: var(--caramello-d); flex: none; }
.visit__info a { text-decoration: none; }
.hours { width: 100%; border-collapse: collapse; margin-bottom: 26px; font-size: 15px; }
.hours td { padding: 8px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; font-weight: 600; }
.hours tr.is-today td { color: var(--caramello-d); font-weight: 700; }
.hours tr.is-today td:first-child::after { content: " · oggi"; font-weight: 500; }
.visit__photos { display: grid; grid-template-columns: 1.3fr 1fr; grid-template-rows: 1fr 1fr; gap: 14px; height: 520px; }
.visit__photos img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--r); }
.visit__photos img:first-child { grid-row: span 2; border-radius: 160px 160px var(--r) var(--r); }

/* ---------- footer ---------- */
.foot { background: var(--cacao); color: var(--biscotto); padding: 70px 0 96px; margin-top: 30px; }
.foot__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.2fr; gap: 36px; }
.logo--light { color: var(--panna); }
.logo--light small { color: var(--caramello); }
.foot__brand p { margin-top: 16px; font-size: 14.5px; max-width: 300px; }
.foot__col { display: flex; flex-direction: column; gap: 8px; font-size: 14.5px; }
.foot__col h3 { font: 600 12px/1 var(--sans); letter-spacing: .16em; text-transform: uppercase; color: var(--caramello); margin-bottom: 8px; }
.foot__col a { text-decoration: none; }
.foot__col a:hover { color: var(--panna); }
.foot__col [data-hours-short] p { display: flex; justify-content: space-between; gap: 10px; }
.foot__legal { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-top: 1px solid rgba(251, 247, 241, .15); margin-top: 46px; padding-top: 22px; font-size: 12.5px; opacity: .8; }
.foot__legal a { text-decoration: none; }
.foot__legal a:hover { color: var(--panna); }
.ludolux { font-weight: 800; letter-spacing: .06em; }

/* ---------- carrello fluttuante, toast, barra mobile ---------- */
.fab {
  position: fixed; right: 22px; bottom: 22px; z-index: 60;
  display: flex; align-items: center; gap: 10px;
  padding: 13px 20px; border-radius: 999px;
  background: var(--cacao); color: var(--panna); text-decoration: none;
  font-size: 14px; font-weight: 600;
  box-shadow: 0 16px 40px -12px rgba(42, 27, 20, .6);
  animation: pop .35s ease;
}
.fab svg { width: 20px; height: 20px; color: var(--caramello); }
@keyframes pop { from { transform: translateY(20px); opacity: 0; } }
.toast {
  position: fixed; left: 50%; bottom: 90px; z-index: 70;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--espresso); color: var(--panna);
  padding: 11px 18px; border-radius: 99px; font-size: 14px; font-weight: 600;
  transition: opacity .25s, transform .25s;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.mbar { display: none; }

/* ---------- responsive ---------- */
@media (max-width: 1020px) {
  .nav__links { display: none; }
  .nav__cta { margin-left: auto; }
  .burger { display: block; }
  .nav.is-open .nav__links {
    display: flex; flex-direction: column; gap: 0;
    position: absolute; top: 100%; left: 0; right: 0;
    background: var(--latte); border-bottom: 1px solid var(--line);
    padding: 6px 20px 16px;
  }
  .nav.is-open .nav__links a { padding: 13px 0; border-bottom: 1px dashed var(--line); }
  .favs__grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); row-gap: 20px; }
  .trieste { grid-template-columns: 1fr; }
  .foot__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 860px) {
  .topbar__in > p:first-child { display: none; }
  .pillars__grid, .shop__grid, .events__grid { grid-template-columns: 1fr; }
  .pillars__grid { margin-top: -80px; }
  .blend:nth-child(2) { padding-top: 38px; }
  .moment, .coffee__grid, .social__grid, .order__grid, .loyal__in, .visit__grid { grid-template-columns: 1fr; }
  .moment__photo { min-height: 240px; }
  .coffee__photo { max-width: 460px; }
  .coffee__photo figcaption { right: 10px; }
  .visit__photos { height: 380px; }
  .stamp-card { transform: rotate(2deg); }
  .moments { width: 100%; border-radius: 22px; }
  .moments button { flex: 1 1 40%; justify-content: center; }
}
@media (max-width: 620px) {
  body { padding-bottom: 72px; }
  .wrap { width: calc(100% - 32px); }
  .nav__cta .btn--pill { display: none; }
  .hero { padding: 64px 0 130px; min-height: 0; }
  .hero::after { background: linear-gradient(180deg, rgba(30, 18, 12, .55), rgba(30, 18, 12, .9)); }
  .favs__grid { gap: 12px; }
  .fav__body { padding: 12px; }
  .fav p { display: none; }
  .fav h3 { font-size: 17px; margin-bottom: 8px; }
  .trieste__cup { grid-template-columns: 1fr; justify-items: center; text-align: center; gap: 8px; }
  .cup { margin: 20px 0 10px; }
  .moments button small { display: none; }
  .moment__photo p { font-size: 27px; }
  .legend { justify-content: center; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .loyal__form { flex-direction: column; }
  .item { grid-template-columns: 1fr auto; }
  .item .add { grid-column: 2; grid-row: 1 / span 2; }
  .item__price { grid-column: 1; }
  .foot__grid { grid-template-columns: 1fr; }
  .fab { display: none; }
  .toast { bottom: 88px; }
  .mbar {
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
    display: grid; grid-template-columns: 1fr 1fr 1.3fr;
    background: var(--panna); border-top: 1px solid var(--line);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    gap: 6px;
  }
  .mbar a { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; font-weight: 700; text-decoration: none; padding: 6px; border-radius: 12px; color: var(--cacao); }
  .mbar svg { width: 21px; height: 21px; }
  .mbar__main { background: var(--cacao); color: var(--panna) !important; flex-direction: row !important; justify-content: center; font-size: 14px !important; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
