/* ==========================================================
   Karma — Ristorante di pesce e cocktail bar, Piscine di Albaro
   ========================================================== */

@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces.woff2") format("woff2");
  font-weight: 300 600;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Fraunces";
  src: url("../fonts/fraunces-italic.woff2") format("woff2");
  font-weight: 300 600;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #170e14;
  --ink-2: #221420;
  --ink-3: #321f2c;
  --cream: #fbf6f0;
  --sand: #f4e9df;
  --blush: #fbe3ee;
  --pink: #fd66c3;          /* il rosa del logo */
  --pink-soft: #ffb3e0;
  --pink-deep: #b0227a;     /* rosa leggibile su fondo chiaro */
  --text: #2b1d25;
  --muted: #74606a;
  --line: rgba(43, 29, 37, 0.14);
  --on-dark: #f9eff4;
  --on-dark-muted: #cbb5c1;
  --line-dark: rgba(255, 228, 242, 0.16);

  --serif: "Fraunces", Georgia, "Times New Roman", serif;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;

  --container: 1200px;
  --gutter: clamp(16px, 4vw, 40px);
  --radius: 22px;
  --arch: 999px 999px 24px 24px;
  --shadow: 0 30px 60px -28px rgba(23, 14, 20, 0.5);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after { box-sizing: border-box; }

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

body {
  margin: 0;
  background: var(--cream);
  color: var(--text);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
figure { margin: 0; }
button, input, select, textarea { font: inherit; color: inherit; }

h1, h2, h3, h4 {
  font-family: var(--serif);
  font-weight: 400;
  line-height: 1.05;
  letter-spacing: -0.015em;
  margin: 0;
  font-optical-sizing: auto;
  text-wrap: balance;
}
h1 em, h2 em, h3 em { font-style: italic; color: var(--pink-deep); font-weight: 350; }
.dark h1 em, .dark h2 em, .dark h3 em { color: var(--pink); }

p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }

.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;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--pink); color: var(--ink); padding: 10px 16px; border-radius: 999px;
  font-weight: 700; text-decoration: none; transition: top .2s;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--gutter); }

.dark { background: var(--ink); color: var(--on-dark); }

/* ---------- Elementi base ---------- */

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--pink-deep); margin: 0 0 18px;
}
.dark .eyebrow { color: var(--pink-soft); }
.fiore { width: 16px; height: 16px; flex: none; color: var(--pink); }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 15.5px; letter-spacing: 0.01em; text-decoration: none;
  border: 1.5px solid transparent; cursor: pointer;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn-pink { background: var(--pink); color: var(--ink); box-shadow: 0 14px 30px -14px rgba(253, 102, 195, 0.75); }
.btn-pink:hover { background: #ff7fce; box-shadow: 0 18px 36px -14px rgba(253, 102, 195, 0.9); }
.btn-ghost { border-color: var(--line-dark); color: var(--on-dark); }
.btn-ghost:hover { border-color: var(--pink-soft); color: var(--pink-soft); }
.btn-ink { background: var(--ink); color: var(--on-dark); }
.btn-ink:hover { background: var(--ink-3); }
.btn-line { border-color: var(--line); color: var(--text); background: transparent; }
.btn-line:hover { border-color: var(--pink-deep); color: var(--pink-deep); }

.link-arrow {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; text-decoration: none;
  border-bottom: 1.5px solid currentColor; padding-bottom: 2px;
}
.link-arrow svg { width: 16px; height: 16px; transition: transform .3s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }

.section { padding-block: clamp(80px, 11vw, 140px); position: relative; }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2, .h2 { font-size: clamp(38px, 5.6vw, 68px); }
.section-head p.lead { margin-top: 20px; }
.lead { font-size: clamp(17px, 1.6vw, 19.5px); color: var(--muted); max-width: 60ch; }
.dark .lead { color: var(--on-dark-muted); }

/* ---------- Header ---------- */

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  color: var(--on-dark);
}
/* Lo sfondo sfocato sta su un livello a parte: un backdrop-filter sulla testata stessa farebbe
   da contenitore al menu del telefono, che resterebbe alto quanto la testata invece che a tutto
   schermo, con le voci chiare sopra le sezioni chiare. */
.site-header::before {
  content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: rgba(23, 14, 20, 0.84);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  backdrop-filter: blur(14px) saturate(140%);
  box-shadow: 0 1px 0 var(--line-dark);
  opacity: 0; transition: opacity .35s;
}
.site-header.is-scrolled::before { opacity: 1; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; height: 76px; }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { width: 44px; height: 44px; border-radius: 50%; box-shadow: 0 0 0 3px rgba(253, 102, 195, 0.25); }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--serif); font-size: 26px; font-style: italic; letter-spacing: -0.01em; }
.brand-sub { font-size: 10.5px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--on-dark-muted); margin-top: 5px; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a:not(.btn) {
  text-decoration: none; font-size: 15px; font-weight: 600; padding: 10px 14px; border-radius: 999px;
  color: var(--on-dark-muted); transition: color .2s, background-color .2s;
}
.main-nav a:not(.btn):hover { color: var(--on-dark); background: rgba(255, 255, 255, 0.06); }
.main-nav .btn { min-height: 44px; padding: 0 22px; margin-left: 10px; font-size: 14.5px; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 50%;
  border: 1.5px solid var(--line-dark); background: transparent; cursor: pointer; position: relative;
}
.nav-toggle span:not(.sr-only) {
  position: absolute; left: 13px; right: 13px; height: 1.5px; background: var(--on-dark);
  transition: transform .35s var(--ease), top .35s var(--ease);
}
.nav-toggle span:nth-child(1) { top: 18px; }
.nav-toggle span:nth-child(2) { top: 26px; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { top: 22px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { top: 22px; transform: rotate(-45deg); }

/* ---------- Hero ---------- */

.hero {
  position: relative; overflow: hidden;
  background: var(--ink); color: var(--on-dark);
  padding-top: 132px; padding-bottom: clamp(70px, 9vw, 120px);
}
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 50% at 80% 30%, rgba(253, 102, 195, 0.22), transparent 70%),
    radial-gradient(35% 45% at 8% 92%, rgba(253, 102, 195, 0.12), transparent 70%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.hero h1 { font-size: clamp(46px, 7.4vw, 98px); line-height: 0.98; letter-spacing: -0.025em; }
.hero h1 em { display: block; }
.hero .lead { margin-top: 28px; font-size: clamp(17px, 1.7vw, 20px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 36px; }

.hero-facts {
  list-style: none; padding: 0; margin: 44px 0 0;
  display: flex; flex-wrap: wrap; gap: 10px 28px;
  font-size: 14px; color: var(--on-dark-muted);
}
.hero-facts li { display: flex; align-items: center; gap: 10px; }
.hero-facts li + li::before { content: ""; width: 4px; height: 4px; border-radius: 50%; background: var(--pink); margin-right: 18px; margin-left: -18px; }

.status { display: inline-flex; align-items: center; gap: 9px; color: var(--on-dark); font-weight: 600; }
.status .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--on-dark-muted); position: relative; }
.status.is-open .dot { background: #5fe3a1; }
.status.is-open .dot::after {
  content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 1.5px solid #5fe3a1; opacity: 0;
  animation: ping 2.2s var(--ease) infinite;
}
.status.is-closed .dot { background: var(--pink); }
@keyframes ping { 0% { transform: scale(.4); opacity: .9; } 100% { transform: scale(1.4); opacity: 0; } }

.hero-visual { position: relative; padding: 0 0 70px 60px; }
.hero-arch { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5.2; box-shadow: var(--shadow); }
.hero-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 40%; }
.hero-round {
  position: absolute; left: 0; bottom: 0; width: 44%; aspect-ratio: 1;
  border-radius: 50%; overflow: hidden; border: 6px solid var(--ink); box-shadow: var(--shadow);
}
.hero-round img { width: 100%; height: 100%; object-fit: cover; }

.badge {
  position: absolute; top: -28px; right: -24px; width: 150px; height: 150px; display: grid; place-items: center;
  border-radius: 50%; background: var(--ink); box-shadow: 0 0 0 1px rgba(253, 102, 195, 0.35), var(--shadow);
}
.badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 28s linear infinite; }
.badge text { fill: var(--on-dark); font-family: var(--sans); font-size: 13.5px; font-weight: 700; letter-spacing: 0.3em; text-transform: uppercase; }
.badge img { width: 74px; height: 74px; border-radius: 50%; box-shadow: 0 0 0 6px var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* ---------- Striscia scorrevole ---------- */

.marquee { background: var(--pink); color: var(--ink); overflow: hidden; padding: 18px 0; }
.marquee-track { display: flex; width: max-content; animation: scorri 38s linear infinite; }
.marquee-track span {
  display: inline-flex; align-items: center; gap: 28px; padding-right: 28px;
  font-family: var(--serif); font-style: italic; font-size: clamp(22px, 2.6vw, 30px); white-space: nowrap;
}
.marquee-track svg { width: 18px; height: 18px; color: var(--ink); }
@keyframes scorri { to { transform: translateX(-50%); } }

/* ---------- Il locale ---------- */

.about-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.about-visual { position: relative; padding-bottom: 90px; }
.about-main { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 11; box-shadow: var(--shadow); }
.about-main img { width: 100%; height: 100%; object-fit: cover; }
.about-small {
  position: absolute; right: -6%; bottom: 0; width: 46%; aspect-ratio: 3 / 4;
  border-radius: var(--arch); overflow: hidden; border: 6px solid var(--cream); box-shadow: var(--shadow);
}
.about-small img { width: 100%; height: 100%; object-fit: cover; }
.about-note {
  position: absolute; left: 6%; bottom: 18px; max-width: 220px;
  font-family: var(--serif); font-style: italic; font-size: 20px; line-height: 1.25; color: var(--pink-deep);
}
.about-copy h2 { font-size: clamp(38px, 5vw, 62px); margin-bottom: 28px; }
.about-copy p { color: var(--muted); }

.features { list-style: none; padding: 0; margin: 40px 0 0; display: grid; gap: 22px; }
.features li { display: grid; grid-template-columns: 48px 1fr; gap: 18px; align-items: start; padding-top: 22px; border-top: 1px solid var(--line); }
.features .ico { width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center; background: var(--blush); color: var(--pink-deep); }
.features .ico svg { width: 22px; height: 22px; }
.features h3 { font-size: 22px; margin-bottom: 4px; }
.features p { font-size: 15.5px; margin: 0; }

/* ---------- Piatti ---------- */

.section-sand { background: var(--sand); }
.dishes { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.dish { display: flex; flex-direction: column; }
.dish:nth-child(even) { margin-top: 56px; }
.dish figure { border-radius: var(--arch); overflow: hidden; aspect-ratio: 4 / 5; background: var(--blush); }
.dish img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.dish:hover img { transform: scale(1.05); }
.dish-body { padding: 22px 4px 0; }
.dish-top { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 8px; }
.dish h3 { font-size: 24px; line-height: 1.12; }
.price { font-family: var(--serif); font-size: 21px; color: var(--pink-deep); white-space: nowrap; }
.dish p { color: var(--muted); font-size: 15.5px; }

/* ---------- Menu (tab) ---------- */

.menu-head { display: flex; align-items: end; justify-content: space-between; gap: 32px; flex-wrap: wrap; margin-bottom: 40px; }
.menu-head .section-head { margin-bottom: 0; }

.tabs { display: flex; gap: 6px; padding: 6px; border-radius: 999px; background: var(--sand); width: max-content; max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab {
  border: 0; background: transparent; cursor: pointer; white-space: nowrap;
  padding: 12px 24px; border-radius: 999px; font-weight: 700; font-size: 15px; color: var(--muted);
  transition: background-color .25s, color .25s;
}
.tab:hover { color: var(--text); }
.tab[aria-selected="true"] { background: var(--ink); color: var(--on-dark); }

.menu-panel { animation: entra .5s var(--ease); }
.menu-panel[hidden] { display: none; }
@keyframes entra { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.menu-intro { font-family: var(--serif); font-style: italic; font-size: clamp(20px, 2.2vw, 26px); color: var(--pink-deep); margin-bottom: 36px; max-width: 40ch; }
.menu-cols { columns: 2; column-gap: clamp(40px, 6vw, 90px); }
.menu-group { break-inside: avoid; margin-bottom: 44px; }
.menu-group h3 {
  font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--muted); padding-bottom: 14px; margin-bottom: 8px; border-bottom: 1px solid var(--line);
}

.voci { list-style: none; margin: 0; padding: 0; }
.voce { padding: 14px 0; border-bottom: 1px dashed var(--line); }
.voce:last-child { border-bottom: 0; }
.voce-riga { display: flex; align-items: baseline; gap: 12px; }
.voce-nome { font-family: var(--serif); font-size: 21px; line-height: 1.25; }
.voce-punti { flex: 1; min-width: 20px; border-bottom: 1.5px dotted rgba(43, 29, 37, 0.25); transform: translateY(-5px); }
.voce-prezzo { font-family: var(--serif); font-size: 19px; color: var(--pink-deep); white-space: nowrap; }
.voce-prezzo small { font-family: var(--sans); font-size: 12.5px; color: var(--muted); margin-left: 4px; }
.voce-desc { margin: 2px 0 0; font-size: 15px; color: var(--muted); }

.menu-foot {
  margin-top: 16px; padding: 26px 30px; border-radius: var(--radius); background: var(--blush);
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 30px;
}
.menu-foot ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 4px; font-size: 15px; color: var(--text); }
.menu-foot strong { font-weight: 700; }

/* ---------- Bar ---------- */

.bar-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: clamp(48px, 7vw, 110px); align-items: center; }
.bar-visual { position: relative; }
.bar-visual figure { border-radius: var(--arch); overflow: hidden; aspect-ratio: 3 / 4; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.7); }
.bar-visual img { width: 100%; height: 100%; object-fit: cover; }
.bar-visual .orari-bar {
  position: absolute; right: -24px; bottom: 40px; background: var(--pink); color: var(--ink);
  padding: 18px 22px; border-radius: 18px; box-shadow: var(--shadow); line-height: 1.25;
}
.orari-bar strong { display: block; font-family: var(--serif); font-size: 30px; font-weight: 400; }
.orari-bar span { font-size: 13px; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; }

.cocktails { list-style: none; padding: 0; margin: 40px 0 0; }
.cocktail { display: grid; grid-template-columns: auto 1fr auto; gap: 6px 22px; align-items: baseline; padding: 22px 0; border-top: 1px solid var(--line-dark); }
.cocktail:last-child { border-bottom: 1px solid var(--line-dark); }
.cocktail .n { font-family: var(--serif); font-style: italic; color: var(--pink); font-size: 18px; }
.cocktail h3 { font-size: clamp(26px, 3vw, 34px); }
.cocktail .p { font-family: var(--serif); font-size: 22px; color: var(--pink-soft); }
.cocktail p { grid-column: 2 / -1; margin: 0; color: var(--on-dark-muted); font-size: 15.5px; }
.bar-extra { margin-top: 28px; color: var(--on-dark-muted); font-size: 15.5px; }
.bar-extra strong { color: var(--on-dark); font-weight: 600; }

/* ---------- Serate ---------- */

.serate { background: var(--ink-2); }
.serate-grid { display: grid; grid-template-columns: 0.95fr 1.05fr; gap: clamp(48px, 6vw, 90px); align-items: center; }
.serate-photos { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.serate-photos figure { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4 / 5; }
.serate-photos figure:nth-child(2) { margin-top: 70px; }
.serate-photos img { width: 100%; height: 100%; object-fit: cover; }
.serate-copy .h2 { margin-bottom: 26px; }
.serate-copy .btn { margin-top: 12px; }

.private {
  margin-top: 48px; padding: 30px; border-radius: var(--radius);
  background: linear-gradient(140deg, rgba(253, 102, 195, 0.16), rgba(253, 102, 195, 0.04));
  border: 1px solid rgba(253, 102, 195, 0.3);
}
.private h3 { font-size: 28px; margin-bottom: 10px; }
.private p { color: var(--on-dark-muted); font-size: 15.5px; }
.private .link-arrow { color: var(--pink-soft); margin-top: 6px; }

/* ---------- Instagram ---------- */

.insta-head { display: flex; align-items: end; justify-content: space-between; gap: 24px; flex-wrap: wrap; margin-bottom: 36px; }
.insta-head h2 { font-size: clamp(34px, 4.6vw, 56px); }
.insta-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.insta-grid a { position: relative; display: block; border-radius: 16px; overflow: hidden; aspect-ratio: 1; }
.insta-grid img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.insta-grid a::after {
  content: ""; position: absolute; inset: 0; background: rgba(253, 102, 195, 0.35); opacity: 0; transition: opacity .3s;
}
.insta-grid a:hover img { transform: scale(1.06); }
.insta-grid a:hover::after { opacity: 1; }

/* ---------- Prenota ---------- */

.prenota { background: var(--blush); }
.prenota-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: start; }
.prenota-copy .h2 { margin-bottom: 24px; }
.prenota-copy .lead { color: var(--text); opacity: 0.8; }

.contatti-rapidi { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 12px; }
.contatti-rapidi a {
  display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: 18px;
  background: rgba(255, 255, 255, 0.6); text-decoration: none; transition: background-color .25s, transform .35s var(--ease);
}
.contatti-rapidi a:hover { background: #fff; transform: translateX(4px); }
.contatti-rapidi .ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--pink); flex: none; }
.contatti-rapidi .ico svg { width: 20px; height: 20px; }
.contatti-rapidi small { display: block; font-size: 12.5px; color: var(--muted); font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; }
.contatti-rapidi strong { font-family: var(--serif); font-weight: 400; font-size: 21px; }

.form-card { background: #fff; border-radius: 28px; padding: clamp(26px, 4vw, 44px); box-shadow: 0 40px 80px -40px rgba(120, 30, 80, 0.35); }
.form-card h3 { font-size: 30px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 15px; margin-bottom: 26px; }
.campi { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.campo { display: flex; flex-direction: column; gap: 7px; }
.campo-wide { grid-column: 1 / -1; }
.campo label { font-size: 13px; font-weight: 700; letter-spacing: 0.04em; color: var(--text); }
.campo label span { color: var(--muted); font-weight: 500; }
.campo input, .campo select, .campo textarea {
  width: 100%; min-height: 52px; padding: 13px 16px; border-radius: 14px;
  border: 1.5px solid var(--line); background: var(--cream); font-size: 16px;
  transition: border-color .2s, background-color .2s, box-shadow .2s;
}
.campo textarea { min-height: 96px; resize: vertical; }
.campo select {
  appearance: none; -webkit-appearance: none; padding-right: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232b1d25' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; background-size: 18px;
}
.campo input:focus, .campo select:focus, .campo textarea:focus {
  outline: none; border-color: var(--pink); background-color: #fff; box-shadow: 0 0 0 4px rgba(253, 102, 195, 0.18);
}
.campo input[aria-invalid="true"] { border-color: #d0336f; }
.form-errore { grid-column: 1 / -1; margin: 0; color: #b3194f; font-size: 14.5px; font-weight: 600; }
.form-errore:empty { display: none; }
.form-card .btn { width: 100%; margin-top: 22px; }
.form-privacy { margin-top: 14px; font-size: 13px; color: var(--muted); text-align: center; }
.form-ok {
  display: none; margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #eafaf1; color: #145c38; font-size: 15px; font-weight: 600;
}
.form-ok.is-visible { display: block; }

/* ---------- Dove siamo ---------- */

.dove-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 90px); align-items: stretch; }
.dove-info .h2 { margin-bottom: 28px; }
.indirizzo { font-family: var(--serif); font-size: clamp(24px, 2.4vw, 30px); line-height: 1.25; margin-bottom: 8px; }
.indirizzo-sub { color: var(--muted); margin-bottom: 32px; }

.orari { width: 100%; border-collapse: collapse; font-size: 16px; }
.orari caption { text-align: left; font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); padding-bottom: 12px; }
.orari th, .orari td { padding: 12px 0; border-bottom: 1px solid var(--line); text-align: left; font-weight: 500; }
.orari td { text-align: right; color: var(--muted); font-variant-numeric: tabular-nums; }
.orari tr.oggi th, .orari tr.oggi td { color: var(--pink-deep); font-weight: 700; }
.orari tr.oggi th::after { content: "oggi"; margin-left: 10px; font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; background: var(--blush); padding: 3px 8px; border-radius: 999px; }
.dove-azioni { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }

.mappa {
  position: relative; border-radius: 28px; overflow: hidden; min-height: 460px; background: var(--ink);
  display: grid; place-items: center; text-align: center; color: var(--on-dark);
}
.mappa-sfondo { position: absolute; inset: 0; opacity: 0.45; }
.mappa-sfondo img { width: 100%; height: 100%; object-fit: cover; filter: saturate(0.8); }
.mappa::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(23,14,20,.35), rgba(23,14,20,.85)); z-index: 1; }
.mappa-box { position: relative; z-index: 2; padding: 32px; max-width: 380px; }
.mappa-pin { width: 64px; height: 64px; border-radius: 50%; background: var(--pink); color: var(--ink); display: grid; place-items: center; margin: 0 auto 20px; box-shadow: 0 0 0 10px rgba(253, 102, 195, 0.18); }
.mappa-pin svg { width: 28px; height: 28px; }
.mappa-box h3 { font-size: 30px; margin-bottom: 10px; }
.mappa-box p { color: var(--on-dark-muted); font-size: 15px; }
.mappa-box .btn { margin-top: 14px; }
.mappa-box small { display: block; margin-top: 14px; font-size: 12.5px; color: var(--on-dark-muted); }
.mappa iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; z-index: 3; }

/* ---------- Footer ---------- */

.site-footer { background: var(--ink); color: var(--on-dark-muted); padding: 80px 0 40px; font-size: 15px; }
.footer-top { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 56px; border-bottom: 1px solid var(--line-dark); }
.footer-brand .brand-name { font-size: 44px; color: var(--on-dark); }
.footer-brand p { margin-top: 14px; max-width: 30ch; }
.site-footer h4 { font-family: var(--sans); font-size: 12.5px; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--on-dark); margin-bottom: 16px; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.site-footer a { text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: var(--pink); }
.social { display: flex; gap: 10px; margin-top: 22px; }
.social a { width: 44px; height: 44px; border-radius: 50%; border: 1.5px solid var(--line-dark); display: grid; place-items: center; color: var(--on-dark); transition: border-color .2s, color .2s, background-color .2s; }
.social a:hover { border-color: var(--pink); background: var(--pink); color: var(--ink); }
.social svg { width: 19px; height: 19px; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 13.5px; }

/* ---------- Barra mobile ---------- */

.mobile-bar { display: none; }

/* ---------- Animazioni in entrata ---------- */

.js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.js .reveal.is-in { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }

/* ==========================================================
   Pagina menu (QR ai tavoli)
   ========================================================== */

.mp-header { background: var(--ink); color: var(--on-dark); padding: 22px 0 0; position: relative; overflow: hidden; }
.mp-header .hero-glow { opacity: 0.9; }
.mp-top { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.mp-top .btn { min-height: 42px; padding: 0 18px; font-size: 14px; }
.mp-title { position: relative; padding: 48px 0 36px; }
.mp-title h1 { font-size: clamp(54px, 12vw, 104px); line-height: 0.95; }
.mp-title p { color: var(--on-dark-muted); margin-top: 14px; max-width: 46ch; }

.mp-nav { position: sticky; top: 0; z-index: 40; background: rgba(251, 246, 240, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.mp-nav .container { position: relative; display: flex; gap: 8px; overflow-x: auto; padding-block: 12px; scrollbar-width: none; }
.mp-nav .container::-webkit-scrollbar { display: none; }
.mp-nav a {
  flex: none; text-decoration: none; padding: 9px 16px; border-radius: 999px; font-size: 14px; font-weight: 700;
  color: var(--muted); border: 1.5px solid var(--line); transition: all .2s;
}
.mp-nav a.is-active, .mp-nav a:hover { background: var(--ink); border-color: var(--ink); color: var(--on-dark); }

.mp-body { padding: 40px 0 120px; }
.mp-cat { padding-top: 36px; }
.mp-cat > header { display: flex; align-items: baseline; gap: 16px; flex-wrap: wrap; margin-bottom: 8px; }
.mp-cat > header h2 { font-size: clamp(44px, 8vw, 72px); }
.mp-cat > header p { font-family: var(--serif); font-style: italic; color: var(--pink-deep); font-size: 19px; margin: 0; }
.mp-cat .menu-group { margin: 32px 0 0; }
.mp-body .menu-foot { margin-top: 56px; }

/* ==========================================================
   Responsive
   ========================================================== */

@media (max-width: 1080px) {
  .dishes { grid-template-columns: repeat(2, 1fr); gap: 26px 20px; }
  .dish:nth-child(even) { margin-top: 0; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .insta-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 920px) {
  .main-nav {
    position: fixed; inset: 0; z-index: -1; flex-direction: column; justify-content: center; align-items: stretch; gap: 4px;
    padding: 100px 28px 40px; background: var(--ink);
    opacity: 0; visibility: hidden; transition: opacity .35s var(--ease), visibility .35s;
  }
  .main-nav.is-open { opacity: 1; visibility: visible; }
  .main-nav a:not(.btn) { font-family: var(--serif); font-size: 40px; font-weight: 400; color: var(--on-dark); padding: 8px 0; border-radius: 0; }
  .main-nav a:not(.btn):hover { background: none; color: var(--pink); }
  .main-nav .btn { margin: 28px 0 0; min-height: 56px; font-size: 16px; }
  .nav-toggle { display: block; }
  body.nav-open { overflow: hidden; }

  .hero { padding-top: 112px; }
  .hero-grid, .about-grid, .bar-grid, .serate-grid, .prenota-grid, .dove-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 520px; width: 100%; margin-inline: auto; padding: 0 0 56px 48px; }
  .badge { width: 120px; height: 120px; top: -20px; right: -6px; }
  .badge img { width: 58px; height: 58px; }
  .about-visual { max-width: 560px; }
  .about-small { right: 0; }
  .bar-visual { max-width: 460px; }
  .bar-visual .orari-bar { right: -8px; }
  .menu-cols { columns: 1; }
  .mappa { min-height: 380px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; padding-bottom: 76px; }
  .header-inner { height: 68px; }
  .brand img { width: 40px; height: 40px; }
  .brand-name { font-size: 23px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .hero-facts { gap: 8px 20px; margin-top: 36px; }
  .hero-facts li:first-child { flex-basis: 100%; }
  .hero-facts li:nth-child(2)::before { display: none; }
  .hero-facts li + li::before { margin-right: 10px; margin-left: -10px; }
  .hero-visual { padding: 0 0 46px 30px; }
  .hero-round { border-width: 4px; }

  .about-note { display: none; }
  .about-visual { padding-bottom: 70px; }

  .dishes { grid-template-columns: 1fr 1fr; gap: 22px 14px; }
  .dish h3 { font-size: 19px; }
  .price { font-size: 17px; }
  .dish-top { flex-direction: column; gap: 2px; }
  .dish p { font-size: 14px; }
  .dish-body { padding-top: 14px; }

  .tabs { width: 100%; }
  .tab { padding: 11px 18px; flex: 1; }
  .voce-nome { font-size: 19px; }
  .menu-foot { padding: 22px; }

  .cocktail { grid-template-columns: 1fr auto; }
  .cocktail .n { display: none; }
  .cocktail p { grid-column: 1 / -1; }

  .serate-photos { gap: 12px; }
  .serate-photos figure:nth-child(2) { margin-top: 40px; }
  .private { padding: 24px; }

  .insta-grid { gap: 8px; }
  .insta-grid a { border-radius: 12px; }

  .campi { grid-template-columns: 1fr; }
  .form-card { border-radius: 22px; }

  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .site-footer { padding-top: 60px; }

  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px;
    position: fixed; left: 0; right: 0; bottom: 0; z-index: 45;
    padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
    background: rgba(23, 14, 20, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
    border-top: 1px solid var(--line-dark);
  }
  .mobile-bar .btn { min-height: 50px; padding: 0 14px; font-size: 15px; }
  .mobile-bar .btn-ghost { color: var(--on-dark); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; }
  .reveal { opacity: 1; transform: none; }
}

/* ---------- Parti che cambiano dal pannello ---------- */

[hidden] { display: none !important; }

/* Avviso di chiusura sopra il titolo */
.avviso {
  display: inline-flex; align-items: center; gap: 10px; margin: 0 0 22px; padding: 9px 16px 9px 12px;
  border-radius: 999px; background: rgba(253, 102, 195, 0.16); border: 1px solid rgba(253, 102, 195, 0.45);
  color: var(--on-dark); font-size: 14.5px; font-weight: 600; line-height: 1.35;
}

/* Piatto terminato: resta nel menu, barrato e segnato */
.voce-terminato {
  display: inline-block; margin-left: 10px; padding: 3px 9px; border-radius: 999px; vertical-align: 3px;
  font-family: var(--sans); font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  background: var(--ink); color: var(--on-dark);
}
.voce.is-terminato .voce-nome, .voce.is-terminato .voce-desc { opacity: 0.55; }
.voce.is-terminato .voce-nome .voce-terminato { opacity: 1; }
.voce.is-terminato .voce-prezzo { text-decoration: line-through; opacity: 0.5; }
.cocktail .voce-terminato { background: var(--pink); color: var(--ink); vertical-align: 6px; }
.cocktail.is-terminato .p { text-decoration: line-through; opacity: 0.5; }

/* Meno di quattro piatti in evidenza: la griglia si stringe invece di lasciare buchi */
@media (min-width: 1081px) {
  .dishes[data-n="3"] { grid-template-columns: repeat(3, 1fr); }
  .dishes[data-n="2"] { grid-template-columns: repeat(2, minmax(0, 340px)); justify-content: center; }
  .dishes[data-n="1"] { grid-template-columns: minmax(0, 340px); justify-content: center; }
}

/* Credito in fondo: discreto, ma riconoscibile come link */
.credito a { text-decoration: underline; text-decoration-color: rgba(253, 102, 195, 0.6); text-underline-offset: 3px; }
