/* Comune a tutte le pagine del sito: la barra in alto con il menu delle due webapp e la bandierina della lingua. */
.op-top {
	position: sticky;
	top: 0;
	z-index: 30;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	background: rgba(13, 31, 51, 0.55);
	border-bottom: 1px solid transparent;
	transition: border-color 0.3s, background 0.3s;
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}
.op-top.scrolled { border-color: rgba(248, 243, 232, 0.12); background: rgba(13, 31, 51, 0.86); }
.op-wrap { display: flex; align-items: center; gap: 10px; max-width: 1180px; height: 62px; margin: 0 auto; padding: 0 clamp(16px, 4vw, 40px); }
.op-brand { display: flex; align-items: center; gap: 10px; margin-right: auto; color: #f8f3e8; text-decoration: none; font-family: 'Iowan Old Style', 'Palatino Linotype', Palatino, Georgia, serif; font-size: 1.1rem; white-space: nowrap; }
.op-brand img { width: 36px; height: 36px; border-radius: 50%; box-shadow: 0 0 0 1px rgba(246, 185, 59, 0.35); }
.op-nav { display: flex; gap: 6px; }
.op-nav a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 7px 13px;
	border-radius: 999px;
	border: 1px solid rgba(248, 243, 232, 0.18);
	color: #f8f3e8;
	text-decoration: none;
	font-weight: 800;
	font-size: 0.9rem;
	white-space: nowrap;
	transition: background 0.2s, border-color 0.2s;
}
.op-nav a:hover { background: rgba(255, 255, 255, 0.08); }
.op-nav a[aria-current='page'] { background: #f6b93b; border-color: #f6b93b; color: #0a1726; }
.op-nav .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--dot, #7fd0dc); box-shadow: 0 0 0 3px color-mix(in srgb, var(--dot, #7fd0dc) 30%, transparent); }
.op-nav a[aria-current='page'] .dot { box-shadow: none; }

/* Bandierina della lingua, come nell'app: la bandiera della lingua in uso; toccandola, le lingue disponibili */
.op-lang { position: relative; flex: none; }
.lang-btn {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.45);
	background: rgba(255, 255, 255, 0.08);
	cursor: pointer;
}
.lang-btn svg { width: 22px; height: 15px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.5); }
.lang-btn .f-en, .lang-btn[data-lang='en'] .f-it { display: none; }
.lang-btn[data-lang='en'] .f-en { display: block; }
.lang-pop {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	width: 230px;
	padding: 10px;
	border-radius: 16px;
	background: #f8f3e8;
	color: #17324f;
	box-shadow: 0 14px 40px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(246, 185, 59, 0.4);
	text-align: left;
}
.lang-pop[hidden] { display: none; }
.lang-pop .h { margin: 0 4px 6px; font-size: 0.72rem; font-weight: 900; letter-spacing: 0.08em; text-transform: uppercase; color: #5b6b7d; }
.lang-opt {
	display: flex;
	align-items: center;
	gap: 10px;
	width: 100%;
	min-height: 44px;
	margin: 0 0 6px;
	padding: 6px 10px;
	border-radius: 12px;
	border: 1px solid rgba(23, 50, 79, 0.15);
	background: #fff;
	color: #17324f;
	font: inherit;
	font-weight: 800;
	cursor: pointer;
}
.lang-opt svg { width: 30px; height: 20px; border-radius: 3px; box-shadow: 0 0 0 1px rgba(13, 31, 51, 0.15); }
.lang-opt span { flex: 1; text-align: left; }
.lang-opt[aria-checked='true'] { border-color: #2870c8; box-shadow: inset 0 0 0 1px #2870c8; }
.lang-opt[aria-checked='true']::after { content: '✓'; color: #2870c8; }
.lang-pop .note { margin: 2px 4px 0; font-size: 0.78rem; color: #5b6b7d; }

@media (max-width: 640px) {
	.op-brand span { display: none; }
	.op-nav a { padding: 7px 10px; font-size: 0.82rem; }
	.op-nav .dot { display: none; }
}
@media (max-width: 380px) {
	.op-nav a { padding: 6px 8px; font-size: 0.76rem; }
}

/* Video e guida subito, nella prima schermata delle pagine delle app: pillole come le altre del sito, con l'icona in un
   tondo colorato (oro il video, acqua la guida, corallo la presentazione) */
.quick { display: flex; flex-wrap: wrap; gap: 10px 12px; margin-top: 18px; }
.qbtn { display: inline-flex; align-items: center; gap: 10px; padding: 6px 18px 6px 6px; border: 0; border-radius: 999px; background: rgba(255, 255, 255, 0.07); box-shadow: 0 0 0 1.5px rgba(248, 243, 232, 0.28); color: #f8f3e8; font: inherit; font-weight: 800; font-size: 1rem; line-height: 1; text-decoration: none; cursor: pointer; transition: background 0.2s, transform 0.2s, box-shadow 0.2s; }
.qbtn:hover { background: rgba(255, 255, 255, 0.13); box-shadow: 0 0 0 1.5px rgba(248, 243, 232, 0.5); transform: translateY(-2px); }
.qbtn small { position: static; vertical-align: baseline; align-self: center; font-weight: 700; font-size: 0.8rem; opacity: 0.6; margin: 1px 0 0 -2px; }
.qi { flex: none; display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; color: #0d1f33; background: #f6b93b; }
.qi svg { width: 18px; height: 18px; }
.q-play { background: linear-gradient(135deg, #ffd479, #f6b93b); box-shadow: 0 0 0 0 rgba(246, 185, 59, 0.6); animation: qpulse 2.4s ease-out infinite; }
.q-play svg { margin-left: 2px; }
.q-book { background: linear-gradient(135deg, #a6e6ee, #5fc3d1); }
.q-doc { background: linear-gradient(135deg, #ff9f7a, #f2774b); }
@keyframes qpulse { 0% { box-shadow: 0 0 0 0 rgba(246, 185, 59, 0.55); } 70%, 100% { box-shadow: 0 0 0 12px rgba(246, 185, 59, 0); } }
@media (prefers-reduced-motion: reduce) { .q-play { animation: none; } }
@media (max-width: 860px) { .quick { justify-content: center; } }
/* Icone disegnate (al posto delle emoji, che su Windows non si vedono bene) */
.dl svg { width: 18px; height: 18px; flex: none; }
.flags { display: inline-flex; align-items: center; gap: 6px; }
.flag { width: 20px; height: 13px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.25); }
/* Il video che si apre sopra la pagina */
.vbox { padding: 0; border: 0; background: transparent; max-width: none; max-height: none; overflow: visible; }
.vbox::backdrop { background: rgba(2, 10, 20, 0.86); backdrop-filter: blur(4px); }
.vbox video { display: block; height: min(86vh, 900px); width: auto; max-width: 92vw; aspect-ratio: 9 / 16; border-radius: 20px; background: #000; box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6); }
.vbox .vx { position: absolute; top: -14px; right: -14px; width: 42px; height: 42px; border-radius: 50%; border: 0; background: #f8f3e8; color: #0d1f33; font-size: 1.2rem; font-weight: 900; cursor: pointer; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4); }
