/* Menu Go Prenotazioni · pagina di presentazione */
.mgl {
	--n: #0a0e22; --n2: #10163a; --n3: #1d2a5c;
	--bone: #f4efe6; --bone2: #ebe3d4; --ink: #1d2a5c;
	--red: #ff4b2b; --red2: #e23b22; --amb: #ffb547; --ok: #3fd18f;
	--fd: 'Bricolage Grotesque', 'Segoe UI', system-ui, sans-serif;
	--fb: 'Manrope', 'Segoe UI', system-ui, sans-serif;
	--fm: 'IBM Plex Mono', ui-monospace, Consolas, monospace;
	background: var(--n); color: #f6f1e8; font-family: var(--fb); font-size: 17px; line-height: 1.6; overflow-x: clip;
	-webkit-font-smoothing: antialiased;
}
.mgl *, .mgl *::before, .mgl *::after { box-sizing: border-box; }
.mgl-wrap { width: min(1220px, 100% - 40px); margin: 0 auto; }
.mgl-sec { padding: clamp(64px, 9vw, 120px) 0; position: relative; }
.mgl-light { background: var(--bone); color: var(--ink); }
.mgl-alt { background: var(--bone2); }
.mgl-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(32px, 6vw, 90px); align-items: center; }
.mgl-split--top { align-items: start; }
.mgl-col > * + * { margin-top: 18px; }
.mgl-eb { margin: 0; font: 700 12px/1 var(--fm); letter-spacing: .16em; text-transform: uppercase; color: var(--amb); }
.mgl-light .mgl-eb { color: var(--red2); }
.mgl .mgl-h1, .mgl .mgl-h2 { margin: 0; font-family: var(--fd); font-weight: 800; letter-spacing: -.025em; color: inherit; }
.mgl .mgl-h1 { font-size: clamp(40px, 6vw, 76px); line-height: .98; }
.mgl .mgl-h2 { font-size: clamp(32px, 4.4vw, 54px); line-height: 1.02; }
.mgl-h1 em, .mgl-h2 em { font-style: normal; background: linear-gradient(100deg, var(--amb), var(--red) 55%, #ff7aa2); -webkit-background-clip: text; background-clip: text; color: transparent; }
.mgl-light .mgl-h2 em { background: linear-gradient(100deg, #ff7a2f, var(--red2) 60%, #c4122f); -webkit-background-clip: text; background-clip: text; }
.mgl-lead { margin: 0; font-size: clamp(17px, 1.5vw, 19px); color: #c4cae6; max-width: 60ch; }
.mgl-light .mgl-lead { color: #4b5478; }
.mgl-head { max-width: 760px; margin-bottom: clamp(30px, 4vw, 52px); }
.mgl-head > * + * { margin-top: 14px; }
.mgl-btns { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px !important; }
.mgl .mgl-b { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; padding: 0 26px; border-radius: 999px; font: 800 16px/1 var(--fb); text-decoration: none; transition: transform .2s, box-shadow .2s, background .2s; }
.mgl .mgl-b--red { background: linear-gradient(135deg, var(--red), var(--red2)); color: #fff; box-shadow: 0 14px 34px -12px rgba(255, 75, 43, .8); }
.mgl .mgl-b--red:hover { transform: translateY(-2px); }
.mgl .mgl-b--ghost { border: 1.5px solid rgba(244, 239, 230, .35); color: #f6f1e8; }
.mgl .mgl-b--ghost:hover { border-color: var(--amb); color: var(--amb); }
.mgl-light .mgl-b--ghost { border-color: var(--ink); color: var(--ink); }

/* Apertura: sotto l'intestazione fissa del tema, senza la fascia chiara */
body.mgp-landing .mg-main { padding-top: 0 !important; }
.mgl-hero { padding: clamp(120px, 14vw, 170px) 0 clamp(70px, 9vw, 120px); background: radial-gradient(70% 60% at 85% 20%, rgba(255, 75, 43, .22), transparent 60%), radial-gradient(60% 60% at 0% 100%, rgba(29, 42, 92, .9), transparent 70%), var(--n); }
.mgl-art { position: relative; min-height: 420px; display: grid; place-items: center; }
.mgl-tab { width: min(100%, 470px); padding: 14px; border-radius: 26px; background: #11173a; border: 1px solid rgba(244, 239, 230, .14); box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .9); transform: rotate(-2deg); }
.mgl-tab__bar { display: flex; justify-content: space-between; align-items: center; padding: 4px 6px 12px; font-weight: 800; font-size: 14px; color: #c4cae6; }
.mgl-tab__bar b { font: 800 22px/1 var(--fd); color: var(--amb); }
.mgl-plan { display: block; width: 100%; height: auto; }
.mgl-floor { fill: #0e1431; stroke: rgba(244, 239, 230, .08); }
.mgl-t circle, .mgl-t rect { fill: var(--bone); stroke: rgba(10, 14, 34, .3); stroke-width: 2; }
.mgl-t text { fill: var(--n); font: 800 20px/1 var(--fd); text-anchor: middle; }
.mgl-t--busy circle, .mgl-t--busy rect { fill: var(--red); }
.mgl-t--busy text { fill: #fff; }
.mgl-t--seat circle, .mgl-t--seat rect { fill: var(--amb); }
.mgl-t--soon circle, .mgl-t--soon rect { stroke: var(--amb); stroke-width: 5; stroke-dasharray: 8 6; }
.mgl-t--busy, .mgl-t--soon { animation: mgl-pulse 3s ease-in-out infinite; transform-box: fill-box; transform-origin: center; }
@keyframes mgl-pulse { 50% { opacity: .82; } }
.mgl-slip { position: absolute; right: -6px; bottom: 6px; width: 210px; padding: 18px 16px 14px; border-radius: 14px; background: var(--bone); color: var(--n); box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7); transform: rotate(4deg); animation: mgl-float 6s ease-in-out infinite; }
.mgl-slip b { display: block; font: 800 18px/1.1 var(--fd); margin-right: 34px; }
.mgl-slip__ok { position: absolute; top: 14px; right: 14px; width: 30px; height: 30px; border-radius: 50%; background: var(--ok); color: #fff; display: grid; place-items: center; }
.mgl-slip__ok svg { width: 18px; height: 18px; }
.mgl-slip dl { margin: 10px 0 0; }
.mgl-slip dl div { display: flex; justify-content: space-between; padding: 5px 0; border-bottom: 1px dashed rgba(10, 14, 34, .2); font-size: 14px; }
.mgl-slip dt { font: 600 11px/1.6 var(--fm); text-transform: uppercase; letter-spacing: .06em; color: rgba(10, 14, 34, .55); }
.mgl-slip dd { margin: 0; font-weight: 800; }
.mgl-slip i { display: block; margin-top: 10px; text-align: center; font: 700 12px/1 var(--fm); letter-spacing: .28em; color: var(--red2); font-style: normal; }
.mgl-pop { position: absolute; left: -10px; top: 14px; display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; border-radius: 18px; background: rgba(244, 239, 230, .96); color: var(--n); box-shadow: 0 24px 50px -18px rgba(0, 0, 0, .7); animation: mgl-float 7s ease-in-out -2s infinite; }
.mgl-pop__ic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--amb); color: var(--n); }
.mgl-pop__ic svg { width: 22px; height: 22px; }
.mgl-pop b { display: block; font-size: 14px; line-height: 1.2; }
.mgl-pop small { font-size: 13px; color: rgba(10, 14, 34, .65); }
@keyframes mgl-float { 50% { translate: 0 -10px; } }

/* Passi del cliente */
.mgl-steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mgl-steps li { counter-increment: s; position: relative; padding: 64px 22px 24px; border-radius: 22px; background: #fff; box-shadow: 0 20px 40px -30px rgba(29, 42, 92, .45); }
.mgl-steps li::before { content: counter(s); position: absolute; top: 20px; left: 22px; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--red); color: #fff; font: 800 15px/1 var(--fb); }
.mgl-steps b { text-decoration: none; display: block; font: 800 21px/1.15 var(--fd); margin-bottom: 8px; }
.mgl-steps span { color: #4b5478; font-size: 15.5px; }
.mgl-note { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 18px; }
.mgl-note p { margin: 0; padding: 20px 22px; border-radius: 20px; border: 1.5px dashed rgba(29, 42, 92, .25); color: #4b5478; }
.mgl-note b { color: var(--ink); }

/* Prova */
.mgl-demo { background: radial-gradient(60% 50% at 100% 0%, rgba(255, 181, 71, .12), transparent 60%), var(--n); }
.mgl-ticks { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 10px; }
.mgl-ticks li { position: relative; padding-left: 32px; color: #dfe3f5; font-weight: 600; }
.mgl-ticks li::before { content: ''; position: absolute; left: 0; top: 4px; width: 20px; height: 20px; border-radius: 50%; background: rgba(63, 209, 143, .18) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%233fd18f' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat; }
.mgl-demo .mgp-book { max-width: none; }

/* Funzioni */
.mgl-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.mgl-card { padding: 24px 22px; border-radius: 22px; background: #fff; box-shadow: 0 20px 40px -30px rgba(29, 42, 92, .45); }
.mgl-card__ic { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #ffe9e4; color: var(--red2); margin-bottom: 14px; }
.mgl-card__ic svg { width: 24px; height: 24px; }
.mgl .mgl-card h3 { margin: 0 0 6px; font: 800 20px/1.15 var(--fd); color: var(--ink); }
.mgl-card p { margin: 0; color: #4b5478; font-size: 15.5px; }

/* Demo sala */
#sala-demo { background: var(--n); }
#sala-demo .mgp-app { margin-top: 8px; }

/* Chiusura */
.mgl-cta { padding-top: 0; }
.mgl-ctabox { padding: clamp(36px, 6vw, 70px); border-radius: 32px; text-align: center; background: radial-gradient(80% 90% at 50% 0%, rgba(255, 75, 43, .3), transparent 65%), var(--n2); border: 1px solid rgba(244, 239, 230, .12); }
.mgl-ctabox .mgl-lead { margin: 18px auto 0; }
.mgl-ctabox .mgl-btns { justify-content: center; }

@media (max-width: 1080px) {
	.mgl-steps, .mgl-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
	.mgl-split { grid-template-columns: minmax(0, 1fr); }
	.mgl-art { min-height: 0; padding: 30px 0 10px; }
	.mgl-note { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
	.mgl-steps, .mgl-grid { grid-template-columns: 1fr; }
	.mgl-slip { width: 180px; right: 0; bottom: -20px; }
	.mgl-pop { left: 0; top: -6px; }
	.mgl .mgl-b { width: 100%; }
}
@media (prefers-reduced-motion: reduce) {
	.mgl-slip, .mgl-pop, .mgl-t--busy, .mgl-t--soon { animation: none; }
}

/* il tema lascia 115px di fondo chiaro sotto l'ultima sezione: qui l'ultima è scura */
.mg-main:has(> .mgl:last-child){padding-bottom:0!important}
