/* ==========================================================================
   Fino a Ulaanbaatar – stili del sito
   Layout: apertura con foto e mappa a tutta larghezza, poi fasce su nero
   caldo; griglia centrata max 1180 px.
   ========================================================================== */

/* Font locali (niente chiamate a Google: meglio per privacy e velocità) */
@font-face { font-family: "Big Shoulders Display"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/big-shoulders-display-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/big-shoulders-display-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Big Shoulders Display"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/big-shoulders-display-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/ibm-plex-mono-latin-500-normal.woff2") format("woff2"); }

:root {
	--bg: #0c0a0a;
	--surface: #171313;
	--surface-2: #211a1a;
	--line: #2f2626;
	--line-2: #4a3a3a;
	--text: #f2ecea;
	--text-2: #d6ccca;
	--muted: #a39391;
	--red: #e5222d;          /* sovrascritto dal Personalizza */
	--red-rgb: 229, 34, 45;
	--red-dark: #a3131c;
	--return: #cfc4c2;
	--light-tile: #f2ecea;
	--land: #1d1818;
	--land-route: #2b2020;
	--ok: #4fbf7a;

	--f-display: "Big Shoulders Display", "Oswald", "Arial Narrow", Impact, sans-serif;
	--f-body: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--f-mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;

	--maxw: 1180px;
	--gutter-l: max(16px, env(safe-area-inset-left, 0px));
	--gutter-r: max(16px, env(safe-area-inset-right, 0px));
	--header-h: 64px;
	--radius: 18px;
	color-scheme: dark;
}

/* Base ------------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); -webkit-text-size-adjust: 100%; -webkit-tap-highlight-color: transparent; }
/* Niente riquadri azzurri al tocco sul telefono. */
a, button, input, select, textarea, summary, label, .btn, .menu-toggle, .logo, .tier-ask { -webkit-tap-highlight-color: transparent; }
.btn, .menu-toggle, .drawer a, .logo, .copy { -webkit-user-select: none; user-select: none; }
:focus:not(:focus-visible) { outline: none; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--text);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--red); outline-offset: 3px; border-radius: 4px; }
::selection { background: rgba(var(--red-rgb), .45); color: #fff; }
.screen-reader-text { position: absolute !important; 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; padding: 10px 16px; border-radius: 8px; background: var(--red); color: #fff; text-decoration: none; font-weight: 600; }
.skip-link:focus { top: 12px; }
body.admin-bar { --wpadmin: 32px; }
@media (max-width: 782px) { body.admin-bar { --wpadmin: 46px; } }

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

.wrap { max-width: var(--maxw); margin: 0 auto; padding-left: var(--gutter-l); padding-right: var(--gutter-r); }

/* Tipografia condivisa ---------------------------------------------------- */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--red); }
h1, h2, h3 { text-wrap: balance; }
h2 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(38px, 5vw, 62px); line-height: .92; margin: 10px 0 20px; letter-spacing: .005em; }
h2 em, h1 em { font-style: normal; color: var(--red); }
.lead { font-size: 19px; line-height: 1.5; color: var(--text); }

/* Pulsanti ---------------------------------------------------------------- */
.btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	font-family: var(--f-body); font-weight: 600; font-size: 15px; line-height: 1.2;
	text-decoration: none; border: 0; cursor: pointer; border-radius: 999px;
	padding: 13px 22px; min-height: 46px;
	transition: transform .15s, background-color .2s, color .2s, box-shadow .2s;
}
.btn svg { width: 18px; height: 18px; flex: none; }
.btn-red { background: var(--red); color: #fff; }
.btn-red:hover { background: color-mix(in srgb, var(--red) 82%, #fff); transform: translateY(-1px); box-shadow: 0 8px 24px -8px rgba(var(--red-rgb), .7); }
.btn-ghost { background: transparent; color: var(--text); box-shadow: inset 0 0 0 1.5px var(--line-2); }
.btn-ghost:hover { box-shadow: inset 0 0 0 1.5px var(--red); color: #fff; background: rgba(var(--red-rgb), .1); }
.btn-sm { padding: 9px 18px; min-height: 40px; font-size: 14px; }

/* Intestazione ------------------------------------------------------------ */
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 60; background: var(--bg); }
.top { position: sticky; top: calc(env(safe-area-inset-top, 0px) + var(--wpadmin, 0px)); z-index: 50; background: rgba(12, 10, 10, .82); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); border-bottom: 1px solid var(--line); }
.top-in { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 10px; min-width: 0; text-decoration: none; font-family: var(--f-display); font-weight: 800; font-size: 22px; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
.brand-name { overflow: hidden; text-overflow: ellipsis; }
.brand .plate { flex: none; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .08em; padding: 3px 7px; border: 1.5px solid var(--red); color: var(--red); border-radius: 3px; }
.brand-logo img { display: block; max-height: 44px; width: auto; }
.nav { margin-left: auto; }
.nav-list { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.nav-list a { text-decoration: none; font-size: 14px; font-weight: 500; color: var(--muted); transition: color .2s; }
.nav-list a:hover, .nav-list .current-menu-item > a { color: var(--text); }
.top-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; border: 1px solid var(--line); border-radius: 12px; background: transparent; color: var(--text); cursor: pointer; }
.menu-toggle .bars, .menu-toggle .bars::before, .menu-toggle .bars::after { display: block; width: 18px; height: 2px; margin: 0 auto; background: currentColor; border-radius: 2px; transition: transform .25s, opacity .2s; content: ""; }
.menu-toggle .bars { position: relative; }
.menu-toggle .bars::before { position: absolute; top: -6px; }
.menu-toggle .bars::after { position: absolute; top: 6px; }
.menu-open .menu-toggle .bars { background: transparent; }
.menu-open .menu-toggle .bars::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-toggle .bars::after { transform: translateY(-6px) rotate(-45deg); }

/* Menu laterale su telefono: si apre da destra (come su loshop3d.com). */
.drawer { display: none; }
@media (max-width: 860px) {
	.menu-toggle { display: block; border: 0; position: relative; z-index: 2; }
	.nav { display: none; }
	.brand { font-size: 19px; }
	.drawer {
		position: fixed; top: 0; right: 0; z-index: 45;
		display: flex; flex-direction: column;
		width: min(340px, 86vw); height: 100dvh;
		padding: calc(var(--header-h) + env(safe-area-inset-top, 0px) + 18px) max(26px, env(safe-area-inset-right, 0px)) calc(26px + env(safe-area-inset-bottom, 0px)) 26px;
		background: var(--surface); border-left: 1px solid var(--line);
		transform: translateX(100%); visibility: hidden;
		transition: transform .34s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .34s;
		overflow-y: auto; overscroll-behavior: contain;
	}
	.menu-open .drawer { transform: translateX(0); visibility: visible; transition: transform .34s cubic-bezier(.4, 0, .2, 1); box-shadow: -24px 0 60px rgba(0, 0, 0, .45); }
	.drawer nav { display: flex; flex-direction: column; }
	.drawer nav a { padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font: 800 26px/1.1 var(--f-display); text-transform: uppercase; letter-spacing: .02em; }
	.drawer nav a:hover { color: var(--red); }
	.drawer-cta { display: flex; flex-direction: column; gap: 11px; margin-top: 26px; }
	.drawer-cta .btn { justify-content: center; width: 100%; }
	.drawer-foot { margin-top: auto; padding-top: 24px; color: var(--muted); font-size: 13px; line-height: 1.9; }
	.drawer-foot a { color: var(--muted); text-decoration: none; }
	.drawer-foot a:hover { color: var(--red); }
	.drawer-scrim { position: fixed; inset: 0; z-index: 44; background: rgba(0, 0, 0, .55); opacity: 0; visibility: hidden; transition: opacity .3s, visibility 0s linear .3s; }
	.menu-open .drawer-scrim { opacity: 1; visibility: visible; transition: opacity .3s; }
	body.menu-open { overflow: hidden; }
}
@media (max-width: 420px) {
	.brand .plate { display: none; }
	.top-actions .btn-sm { padding: 9px 14px; }
}

/* Apertura ---------------------------------------------------------------- */
.hero { position: relative; padding-block: 48px 28px; }
.hero::before { content: ""; position: absolute; inset: 0 0 auto; height: 900px; z-index: -2; pointer-events: none; background: radial-gradient(900px 520px at 75% 30%, rgba(var(--red-rgb), .14), transparent 70%); }
.hero-head { position: relative; isolation: isolate; margin-bottom: 22px; }
.hero-text { position: relative; width: fit-content; max-width: 100%; }
.shot {
	position: absolute; z-index: -1; pointer-events: none;
	top: -140px; bottom: -40px; left: 36%; right: calc(50% - 50vw);
	background: var(--hero-img) var(--hero-x, 72%) var(--hero-y, 74%) / auto 245% no-repeat;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, #000 72%, transparent);
	-webkit-mask-composite: source-in;
	mask-image: linear-gradient(90deg, transparent, #000 38%), linear-gradient(180deg, #000 72%, transparent);
	mask-composite: intersect;
	animation: shot-in 2.2s cubic-bezier(.2, .7, .2, 1) both;
}
.shot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(12, 10, 10, .65), rgba(12, 10, 10, 0) 35%), radial-gradient(60% 55% at 70% 75%, rgba(var(--red-rgb), .18), transparent 70%); }
@keyframes shot-in { from { opacity: 0; transform: scale(1.06); } to { opacity: 1; transform: none; } }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--red); box-shadow: 0 0 0 0 rgba(var(--red-rgb), .6); animation: ping 1.6s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 8px rgba(var(--red-rgb), 0); } 100% { box-shadow: 0 0 0 0 rgba(var(--red-rgb), 0); } }

h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(52px, 10vw, 138px); line-height: .88; letter-spacing: .005em; margin: 12px 0 0; text-shadow: 0 0 60px rgba(var(--red-rgb), .25); }
h1 .arrow { display: inline-block; color: var(--red); animation: ride 2.4s ease-in-out infinite; }
@keyframes ride { 50% { transform: translateX(.12em); } }
h1 small { display: block; font-size: .42em; font-weight: 700; color: var(--muted); letter-spacing: .03em; margin-top: .35em; line-height: 1; text-shadow: none; }
.hero-cta { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }

@media (max-width: 760px) {
	.hero-head { padding-bottom: 46vw; }
	.shot {
		left: calc(-1 * var(--gutter-l)); right: calc(-1 * var(--gutter-r)); top: 36%; bottom: -30px;
		background-size: cover; background-position: 58% 64%;
		-webkit-mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent);
		-webkit-mask-composite: source-over;
		mask-image: linear-gradient(180deg, transparent, #000 22%, #000 80%, transparent);
		mask-composite: add;
	}
	.shot::after { background: linear-gradient(180deg, rgba(12, 10, 10, .6) 0%, rgba(12, 10, 10, .1) 40%, rgba(12, 10, 10, .3) 100%); }
}

/* Mappa ------------------------------------------------------------------- */
.mapcard { position: relative; border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(180deg, rgba(20, 15, 15, .88), rgba(12, 10, 10, .94)); -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px); box-shadow: 0 30px 80px -30px rgba(0, 0, 0, .8); overflow: hidden; }
.map-scroll { overflow-x: auto; overflow-y: hidden; scrollbar-width: thin; scrollbar-color: var(--line-2) transparent; -webkit-overflow-scrolling: touch; }
.map-svg { display: block; width: 100%; height: auto; }
@media (max-width: 760px) { .map-svg { width: 860px; max-width: none; } }
.land-o { fill: var(--land); stroke: #2a2222; stroke-width: .6; }
.land-r { fill: var(--land-route); stroke: #4a2a2b; stroke-width: .7; }
.graticule { stroke: rgba(242, 236, 234, .05); stroke-width: 1; fill: none; }
.r-live { fill: none; stroke: var(--red); stroke-width: 3.2; stroke-linecap: round; stroke-linejoin: round; filter: drop-shadow(0 0 6px rgba(var(--red-rgb), .55)); }
.r-past { fill: none; stroke: var(--return); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; opacity: .7; }
@keyframes flow { to { stroke-dashoffset: -18; } }
.city circle { fill: var(--bg); stroke: var(--text); stroke-width: 1.6; }
.city text { font-family: var(--f-mono); font-size: 12.5px; fill: var(--text); paint-order: stroke; stroke: var(--bg); stroke-width: 4px; stroke-linejoin: round; }
.city.minor text { fill: var(--muted); font-size: 11px; }
.city.end circle, .city.start circle { stroke: var(--red); stroke-width: 2.6; }
.city.start text, .city.end text { font-size: 13px; font-weight: 500; }
.sea-label { font-family: var(--f-mono); font-size: 11px; fill: rgba(163, 147, 145, .4); letter-spacing: .3em; text-transform: uppercase; font-style: italic; }
.me .halo { fill: var(--red); }
.me .core { fill: var(--red); stroke: #fff; stroke-width: 2.5; }
.me .tag rect, .me .tag path { fill: var(--red); }
.me .tag text { font-family: var(--f-display); font-weight: 800; font-size: 15px; letter-spacing: .06em; fill: #fff; text-transform: uppercase; }

.legend { position: absolute; left: 16px; top: 14px; z-index: 1; display: flex; flex-wrap: wrap; gap: 6px 16px; font-family: var(--f-mono); font-size: 11px; color: var(--muted); background: rgba(12, 10, 10, .72); padding: 7px 12px; border-radius: 8px; border: 1px solid var(--line); }
.legend i { display: inline-block; width: 22px; height: 0; border-top: 3px solid var(--red); vertical-align: middle; margin-right: 6px; }
.legend i.past { border-top-color: var(--return); opacity: .8; }
.legend i.pin { width: 10px; height: 10px; border: 2px solid var(--red); border-radius: 50%; background: var(--bg); }
@media (max-width: 760px) { .legend { position: static; border: 0; border-bottom: 1px solid var(--line); border-radius: 0; background: transparent; } }

.dash { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 0; border-top: 1px solid var(--line); }
.dash > div { padding: 16px 20px; border-left: 1px solid var(--line); min-width: 0; }
.dash > div:first-child { border-left: 0; }
.dash dt { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.dash dd { margin: 4px 0 0; font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1.05; font-variant-numeric: tabular-nums; overflow-wrap: anywhere; }
.dash dd span { font-size: 15px; color: var(--muted); font-weight: 700; }
.dash .dd-text { text-transform: none; }
.dash .sub { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); margin-top: 2px; }
.progress { height: 4px; background: var(--line); border-radius: 4px; margin-top: 10px; overflow: hidden; }
.progress b { display: block; height: 100%; background: linear-gradient(90deg, var(--red-dark), var(--red)); border-radius: 4px; }
@media (max-width: 760px) {
	.dash { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.dash > div { padding: 14px 16px; }
	.dash > div:nth-child(3) { border-left: 0; }
	.dash > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.dash dd { font-size: 25px; }
}
.map-note { font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin: 10px 0 0; }

/* Carosello sponsor -------------------------------------------------------
   Il nastro ha spazio sopra e sotto (padding) così il logo che si solleva al
   passaggio del mouse e la sua ombra non vengono tagliati dal contenitore. */
.sponsors { padding-block: 40px 22px; }
.sec-label { display: flex; align-items: center; gap: 14px; margin: 0 0 8px; font-family: var(--f-mono); font-weight: 400; font-size: 12px; line-height: 1.4; letter-spacing: .16em; text-transform: uppercase; color: var(--muted); }
.sec-label::after { content: ""; flex: 1; height: 1px; background: var(--line); }

.marquee {
	position: relative;
	overflow: hidden;
	padding-block: 18px 26px;
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
	mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
}
.track { display: flex; gap: 16px; width: max-content; margin: 0; padding: 0 0 0 16px; list-style: none; }
.track > li { flex: none; }
.marquee.is-running .track { animation: marquee var(--dur, 40s) linear infinite; }
.marquee.is-running:hover .track,
.marquee.is-running:focus-within .track,
.marquee.is-paused .track { animation-play-state: paused; }
@keyframes marquee { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(calc(-1 * var(--shift, 50%)), 0, 0); } }
.marquee.is-static { -webkit-mask-image: none; mask-image: none; }
.marquee.is-static .track { margin-inline: auto; padding: 0 16px; }
@media (prefers-reduced-motion: reduce) {
	.marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
	.marquee.is-running .track { animation: none; }
}

.logo {
	display: flex; align-items: center; justify-content: center;
	width: 220px; height: 96px; padding: 16px 24px;
	border: 1px solid var(--line); border-radius: 14px;
	background: rgba(23, 19, 19, .85);
	text-decoration: none; color: var(--muted);
	transition: color .25s, border-color .25s, background-color .25s, transform .25s, box-shadow .25s;
}
a.logo:hover, a.logo:focus-visible { color: var(--text); border-color: var(--red); background: var(--surface-2); transform: translateY(-4px); box-shadow: 0 14px 30px -14px rgba(var(--red-rgb), .55); }
.logo img { display: block; max-width: 100%; max-height: 56px; width: auto; height: auto; object-fit: contain; }
.logo.has-img { padding: 0; overflow: hidden; }
.logo.has-img img { width: 100%; height: 100%; max-height: none; object-fit: cover; }
.logo.is-light { background: var(--light-tile); border-color: var(--light-tile); }
a.logo.is-light:hover, a.logo.is-light:focus-visible { background: #fff; border-color: var(--red); }
.logo .w { font-family: var(--f-display); font-weight: 800; font-size: 24px; letter-spacing: .04em; text-transform: uppercase; line-height: .95; text-align: center; overflow-wrap: anywhere; }
.logo.is-light .w { color: #1b1515; }
.logo .w small { display: block; font-family: var(--f-mono); font-weight: 400; font-size: 10px; letter-spacing: .2em; margin-top: 5px; color: inherit; opacity: .8; }
.logo.slot { border-style: dashed; border-color: rgba(var(--red-rgb), .6); color: var(--red); background: rgba(var(--red-rgb), .05); }
.logo.slot .w { font-size: 20px; }
.logo.slot:hover { color: #fff; }
.slot-first { width: 100%; max-width: 420px; margin: 18px 0 8px; }

/* Il viaggio -------------------------------------------------------------- */
.about { padding-block: 56px; }
.about-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 56px; align-items: center; }
.photo { position: relative; margin: 0; aspect-ratio: 4 / 5; max-width: 100%; border-radius: var(--radius); overflow: hidden; background: repeating-linear-gradient(135deg, #1a1515 0 14px, #151111 14px 28px); border: 1px solid var(--line); }
.photo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.photo .ph { position: absolute; inset: 0; display: grid; place-items: center; padding: 24px; text-align: center; color: var(--muted); font-family: var(--f-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; }
.photo .ph svg { display: block; width: 96px; height: 96px; margin: 0 auto 12px; opacity: .6; }
.photo::after { content: ""; position: absolute; inset: auto 0 0; height: 45%; background: linear-gradient(transparent, rgba(12, 10, 10, .88)); pointer-events: none; }
.photo .stamp { position: absolute; left: 18px; bottom: 16px; right: 18px; z-index: 1; font-family: var(--f-mono); font-size: 11px; color: var(--text); }
.photo .stamp b { display: block; font-family: var(--f-display); font-size: 28px; font-weight: 800; text-transform: uppercase; letter-spacing: .03em; line-height: 1; margin-bottom: 4px; }
.about-text { min-width: 0; }
.about-text p { color: var(--text-2); max-width: 62ch; margin: 0 0 16px; }
.about-text p.lead { color: var(--text); }
.facts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin-top: 28px; border-block: 1px solid var(--line); }
.facts div { padding: 14px 0 14px 16px; border-left: 1px solid var(--line); min-width: 0; }
.facts div:first-child { border-left: 0; padding-left: 0; }
.facts b { display: block; font-family: var(--f-display); font-weight: 800; font-size: 30px; line-height: 1; font-variant-numeric: tabular-nums; }
.facts span { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
@media (max-width: 860px) {
	.about-grid { grid-template-columns: 1fr; gap: 32px; }
	.photo { max-width: 420px; width: 100%; }
}
@media (max-width: 520px) {
	.facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.facts div:nth-child(3) { border-left: 0; padding-left: 0; }
	.facts div:nth-child(n+3) { border-top: 1px solid var(--line); }
}

/* Pacchetti --------------------------------------------------------------- */
.packs { padding-block: 56px; }
.packs-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 34px; }
.packs-head h2 { margin-bottom: 0; }
.packs-head p { color: var(--muted); max-width: 46ch; margin: 0; }
.tiers { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; align-items: stretch; padding-top: 12px; }
.tiers-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.tiers-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); max-width: 760px; }
.tiers-1 { grid-template-columns: minmax(0, 420px); }
.tier { position: relative; display: flex; flex-direction: column; min-width: 0; padding: 26px 22px 22px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(23, 19, 19, .85); transition: border-color .25s, transform .25s; }
.tier:hover { border-color: var(--line-2); transform: translateY(-4px); }
.tier .lvl { font-family: var(--f-mono); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.tier h3 { font-family: var(--f-display); font-weight: 800; font-size: 28px; text-transform: uppercase; margin: 6px 0 14px; letter-spacing: .02em; line-height: 1; }
.price { display: flex; align-items: flex-start; gap: 4px; font-family: var(--f-display); font-weight: 900; font-size: 68px; line-height: .9; font-variant-numeric: tabular-nums; }
.price sup { font-size: 26px; margin-top: 8px; color: var(--red); }
.price-note { font-family: var(--f-mono); font-size: 11.5px; color: var(--muted); margin: 8px 0 20px; min-height: 1em; }
.tier ul { list-style: none; margin: 0 0 24px; padding: 0; display: grid; gap: 11px; align-content: start; flex: 1; }
.tier li { display: grid; grid-template-columns: 20px 1fr; gap: 10px; font-size: 14.5px; color: var(--text-2); line-height: 1.45; }
.tier li svg { width: 19px; height: 19px; margin-top: 1px; stroke: var(--red); }
.tier li.inherit { color: var(--muted); }
.tier li.inherit svg { stroke: var(--muted); }
.tier-actions { display: grid; gap: 10px; }
.tier-actions .btn { width: 100%; }
.tier-ask { justify-self: center; font-size: 13px; color: var(--muted); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }
.tier-ask:hover { color: var(--text); text-decoration-color: var(--red); }
.tier.featured { border-color: var(--red); background: linear-gradient(180deg, rgba(var(--red-rgb), .1), rgba(23, 19, 19, .9) 42%); }
.badge { position: absolute; top: -12px; right: 18px; background: var(--red); color: #fff; font-family: var(--f-mono); font-size: 11px; font-weight: 500; letter-spacing: .1em; text-transform: uppercase; padding: 4px 10px; border-radius: 999px; }
.after-pay { margin: 22px 0 0; font-size: 14px; color: var(--muted); max-width: 72ch; }
@media (max-width: 1100px) { .tiers, .tiers-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 620px) { .tiers, .tiers-2, .tiers-3 { grid-template-columns: minmax(0, 1fr); max-width: 520px; } }

.funds { margin-top: 44px; padding: 30px; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface); }
.funds-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 40px; align-items: center; }
.funds-grid > div { min-width: 0; }
.funds h3 { font-family: var(--f-display); font-weight: 800; font-size: 34px; text-transform: uppercase; margin: 0 0 10px; line-height: 1; }
.funds p { color: var(--text-2); margin: 0; max-width: 52ch; }
.bar { display: flex; height: 16px; border-radius: 999px; overflow: hidden; gap: 3px; }
.bar span { display: block; height: 100%; }
.keys { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 18px; margin-top: 16px; }
.keys div { display: flex; align-items: baseline; gap: 8px; min-width: 0; font-size: 13.5px; color: var(--text-2); }
.keys i { flex: none; width: 10px; height: 10px; border-radius: 3px; transform: translateY(1px); }
.keys b { font-family: var(--f-mono); font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }
.funds small { display: block; font-family: var(--f-mono); font-size: 11px; color: var(--muted); margin-top: 14px; }
@media (max-width: 860px) { .funds-grid { grid-template-columns: 1fr; gap: 24px; } .keys { grid-template-columns: repeat(2, minmax(0, 1fr)); } .funds { padding: 22px; } }

/* Contatti ---------------------------------------------------------------- */
.contact { padding-block: 56px 70px; }
.contact-grid { display: grid; grid-template-columns: 5fr 7fr; gap: 48px; align-items: start; }
.contact-grid > * { min-width: 0; }
.contact p { color: var(--text-2); max-width: 44ch; }
.channels { display: grid; gap: 12px; margin-top: 26px; }
.ch { display: grid; grid-template-columns: 42px minmax(0, 1fr) auto; gap: 14px; align-items: center; padding: 14px 16px; border: 1px solid var(--line); border-radius: 14px; background: rgba(23, 19, 19, .8); }
.ch > svg { width: 22px; height: 22px; stroke: var(--red); margin: auto; }
.ch .k { font-family: var(--f-mono); font-size: 11px; color: var(--muted); letter-spacing: .1em; text-transform: uppercase; }
.ch .v { display: block; font-weight: 600; text-decoration: none; overflow-wrap: anywhere; }
.ch .v:hover { color: var(--red); }
.copy { font-family: var(--f-mono); font-size: 11px; background: transparent; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 7px 11px; cursor: pointer; text-decoration: none; white-space: nowrap; }
.copy:hover { color: var(--red); border-color: var(--red); }

.contact-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; padding: 28px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.field { display: grid; gap: 6px; min-width: 0; }
.field.full { grid-column: 1 / -1; }
.contact-form label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.contact-form input, .contact-form select, .contact-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; transition: border-color .2s; }
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(var(--red-rgb), .2); }
.contact-form textarea { min-height: 130px; resize: vertical; }
.contact-form .check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-family: var(--f-body); font-size: 13.5px; letter-spacing: 0; text-transform: none; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.contact-form .check input { width: 18px; height: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--red); }
.contact-form .check a { color: var(--text); }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.form-foot small { font-family: var(--f-mono); font-size: 11px; color: var(--muted); }
.notice-box { grid-column: 1 / -1; padding: 12px 14px; border-radius: 10px; font-size: 14px; }
.notice-box.is-ok { background: rgba(79, 191, 122, .1); border: 1px solid rgba(79, 191, 122, .45); }
.notice-box.is-err { background: rgba(var(--red-rgb), .1); border: 1px solid rgba(var(--red-rgb), .45); }
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 32px; } }
@media (max-width: 560px) { .contact-form { grid-template-columns: minmax(0, 1fr); padding: 20px; } }

/* Piè di pagina ----------------------------------------------------------- */
.site-footer { border-top: 1px solid var(--line); padding-block: 26px calc(26px + env(safe-area-inset-bottom, 0px)); }
.foot-in { display: flex; justify-content: space-between; gap: 10px 24px; flex-wrap: wrap; font-family: var(--f-mono); font-size: 12px; color: var(--muted); }
.foot-in a { color: var(--muted); }
.foot-in a:hover { color: var(--text); }
.foot-legal { white-space: nowrap; }

/* Avviso sui cookie */
.ck-bar {
	position: fixed; z-index: 70; left: 50%; bottom: calc(14px + env(safe-area-inset-bottom, 0px));
	width: min(560px, calc(100% - 24px));
	display: flex; align-items: center; gap: 14px;
	padding: 14px 14px 14px 18px; border-radius: 14px;
	background: var(--surface); border: 1px solid var(--line-2);
	box-shadow: 0 14px 40px rgba(0, 0, 0, .5);
	transform: translate(-50%, 16px); opacity: 0; transition: transform .25s ease, opacity .25s ease;
}
.ck-bar[hidden] { display: none; }
.ck-bar.is-in { transform: translate(-50%, 0); opacity: 1; }
.ck-bar p { margin: 0; flex: 1; min-width: 0; font-size: 14px; line-height: 1.45; color: var(--text-2); }
.ck-bar a { color: var(--red); text-underline-offset: 3px; }
.ck-bar .btn { flex: none; min-width: 64px; justify-content: center; }
@media (prefers-reduced-motion: reduce) { .ck-bar { transition: none; } }

/* Pagine privacy e cookie */
.legal-text h1 { font-family: var(--f-display); font-weight: 900; text-transform: uppercase; font-size: clamp(40px, 8vw, 72px); line-height: .95; margin: .3em 0 .6em; color: var(--text); }
.legal-text ul { padding-left: 1.2em; }
.legal-text li { margin: .35em 0; }
.legal-text strong { color: var(--text); }
.legal-text h3 { font-size: 24px; }

/* Diario, pagine, articoli ------------------------------------------------ */
.page-main { padding-block: 56px 72px; min-height: 60vh; }
.page-main > .wrap { max-width: 860px; }
.entry-head { margin-bottom: 28px; }
.entry-title { font-size: clamp(40px, 7vw, 84px); text-shadow: none; }
.entry-cover { margin: 0 0 28px; border-radius: var(--radius); overflow: hidden; }
.entry-cover img { display: block; width: 100%; }
.page-extra { padding-block: 24px; }
.prose { color: var(--text-2); font-size: 17px; line-height: 1.7; }
.prose > * { max-width: 68ch; }
.prose h2, .prose h3 { color: var(--text); }
.prose h2 { font-size: clamp(30px, 4vw, 44px); margin-top: 1.6em; }
.prose h3 { font-family: var(--f-display); font-weight: 800; font-size: 26px; text-transform: uppercase; margin: 1.6em 0 .4em; }
.prose a { color: var(--text); text-decoration-color: var(--red); text-underline-offset: 3px; }
.prose img, .prose figure { max-width: 100%; border-radius: 12px; }
.prose figure { margin: 1.6em 0; }
.prose figcaption { font-family: var(--f-mono); font-size: 12px; color: var(--muted); margin-top: 8px; }
.prose blockquote { margin: 1.6em 0; padding-left: 18px; border-left: 3px solid var(--red); color: var(--text); font-size: 19px; }
.prose .alignwide, .prose .alignfull { max-width: none; }
.prose pre { overflow-x: auto; }
.posts { display: grid; gap: 18px; }
.post-link { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 22px; align-items: center; padding: 14px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); text-decoration: none; transition: border-color .2s; }
.post-link:hover { border-color: var(--red); }
.post-img img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 12px; }
.post-body { display: grid; gap: 6px; min-width: 0; }
.post-title { font-family: var(--f-display); font-weight: 800; font-size: 28px; text-transform: uppercase; line-height: 1; }
.post-excerpt { color: var(--muted); font-size: 15px; }
.post-link:not(:has(.post-img)) { grid-template-columns: 1fr; }
@media (max-width: 620px) { .post-link { grid-template-columns: 1fr; } }
.nav-links { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-top: 36px; font-family: var(--f-mono); font-size: 13px; }
.nav-links a { color: var(--text); }
.page-numbers { padding: 6px 10px; border-radius: 8px; text-decoration: none; }
.page-numbers.current { background: var(--red); color: #fff; }

/* Contagiri della raccolta ----------------------------------------------- */
:root { --wa: #25d366; --go: #4fbf7a; --wait: #f2b33d; }
.gauge { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 40px; align-items: center; margin: 0 0 40px; padding: 30px 34px; border: 1px solid var(--line); border-radius: var(--radius); background: radial-gradient(120% 90% at 20% 100%, rgba(var(--red-rgb), .10), transparent 60%), var(--surface); }
.gauge-dial { min-width: 0; max-width: 520px; width: 100%; justify-self: center; }
.gauge-svg { display: block; width: 100%; height: auto; overflow: visible; }
.g-face { fill: url(#g-face); stroke: var(--line); stroke-width: 1.5; }
.g-track { fill: none; stroke: #2a2121; stroke-width: 22; stroke-linecap: butt; }
.g-fill { fill: none; stroke: var(--red); stroke-width: 22; stroke-linecap: butt; filter: drop-shadow(0 0 10px rgba(var(--red-rgb), .65)); }
.g-zone { fill: none; stroke: var(--red); stroke-width: 4; opacity: .45; stroke-linecap: round; }
.tk-major { stroke: var(--text); stroke-width: 3; stroke-linecap: round; }
.tk-minor { stroke: var(--muted); stroke-width: 1.5; stroke-linecap: round; opacity: .7; }
.tk-num { font-family: var(--f-display); font-weight: 800; font-size: 26px; fill: var(--text); }
.g-unit { font-family: var(--f-mono); font-size: 11px; letter-spacing: .14em; fill: var(--muted); }
.g-min path { stroke: #fff; stroke-width: 3; stroke-linecap: round; }
.g-min-label { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .16em; text-transform: uppercase; fill: var(--text); }
.g-min-value { font-family: var(--f-display); font-weight: 800; font-size: 15px; fill: var(--text); }
.g-needle path { fill: var(--text); }
.g-needle .g-needle-tip { fill: var(--red); }
.g-needle { filter: drop-shadow(0 2px 4px rgba(0, 0, 0, .6)); }
.g-hub { fill: var(--surface-2); stroke: var(--red); stroke-width: 3; }
.g-hub-dot { fill: var(--text); }
.g-value { font-family: var(--f-display); font-weight: 900; font-size: 46px; fill: var(--text); font-variant-numeric: tabular-nums; }
.g-value .g-num { fill: var(--text); }
.g-of { font-family: var(--f-mono); font-size: 12px; letter-spacing: .08em; fill: var(--muted); }

.gauge-info { min-width: 0; }
.gauge-info h3 { font-family: var(--f-display); font-weight: 900; font-size: clamp(32px, 3.6vw, 46px); text-transform: uppercase; line-height: .95; margin: 8px 0 14px; }
.gauge-info h3 em { font-style: normal; color: var(--red); }
.gauge-info p { color: var(--text-2); margin: 0 0 18px; max-width: 48ch; }
.g-state { display: inline-flex; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; font-size: 14px; font-weight: 600; border: 1px solid; }
.g-state::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.g-state.is-wait { color: var(--wait); border-color: rgba(242, 179, 61, .45); background: rgba(242, 179, 61, .08); }
.g-state.is-go, .g-state.is-ok { color: var(--go); border-color: rgba(79, 191, 122, .45); background: rgba(79, 191, 122, .08); }
.g-stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); margin: 20px 0 22px; border-block: 1px solid var(--line); }
.g-stats > div { padding: 12px 0 12px 14px; border-left: 1px solid var(--line); min-width: 0; }
.g-stats > div:first-child { border-left: 0; padding-left: 0; }
.g-stats dt { font-family: var(--f-mono); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.g-stats dd { margin: 2px 0 0; font-family: var(--f-display); font-weight: 800; font-size: 24px; line-height: 1.1; font-variant-numeric: tabular-nums; }
@media (max-width: 960px) {
	.gauge { grid-template-columns: minmax(0, 1fr); gap: 18px; padding: 22px; }
	.gauge-dial { max-width: 460px; }
}
@media (max-width: 520px) {
	.gauge { padding: 16px 14px 20px; }
	.g-stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.g-stats > div:nth-child(3) { border-left: 0; padding-left: 0; }
	.g-stats > div:nth-child(n+3) { border-top: 1px solid var(--line); }
	.gauge-info .btn { width: 100%; }
}

/* Come funziona: codice prima del pagamento -------------------------------- */
.donor { margin-top: 36px; padding: 28px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(135deg, rgba(var(--red-rgb), .08), transparent 55%), var(--surface); scroll-margin-top: calc(var(--header-h) + 24px); }
.donor-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 32px; align-items: start; }
.donor-icon { display: inline-grid; place-items: center; width: 52px; height: 52px; border-radius: 16px; background: var(--red); color: #fff; }
.donor-icon svg { width: 28px; height: 28px; stroke: currentColor; }
.donor h3 { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 3.2vw, 40px); text-transform: uppercase; line-height: .95; margin: 14px 0 10px; text-wrap: balance; }
.donor h3 em { font-style: normal; color: var(--red); }
.donor-intro p { color: var(--text-2); margin: 0; max-width: 40ch; }
.pl-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; counter-reset: none; }
.pl-steps li { display: grid; gap: 12px; align-content: start; padding: 18px; border-radius: 14px; background: var(--bg); border: 1px solid var(--line); }
.pl-n { display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; font-family: var(--f-mono); font-size: 14px; color: var(--red); border: 1.5px solid var(--red); }
.pl-steps b { display: block; font-size: 16px; margin-bottom: 4px; }
.pl-steps span:not(.pl-n) { display: block; color: var(--muted); font-size: 14px; line-height: 1.5; }
.how { margin: 0 0 30px; display: grid; gap: 20px; }
.how-head { display: flex; flex-wrap: wrap; align-items: end; justify-content: space-between; gap: 8px 32px; }
.how-head h3 { margin: 0; }
.how-head p { margin: 0; color: var(--text-2); max-width: 52ch; }
.how-note { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 14px; padding: 12px 16px; border-radius: 12px; border: 1px dashed rgba(var(--red-rgb), .55); background: var(--bg); }
.how-note-k { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.how-note-v { font-family: var(--f-mono); font-size: 15px; color: var(--text); overflow-wrap: anywhere; min-width: 0; }
.donor-err { margin: 0; color: #ff8a8f; font-size: 14px; }
@media (max-width: 960px) { .donor-grid { grid-template-columns: minmax(0, 1fr); gap: 20px; } }
@media (max-width: 640px) { .donor { padding: 20px; } .pl-steps { grid-template-columns: minmax(0, 1fr); } .pl-steps li { grid-template-columns: 34px minmax(0, 1fr); padding: 14px; } }

/* Finestra: dati del sostenitore e codice */
.pledge { width: min(560px, calc(100% - 24px)); max-height: calc(100dvh - 24px); margin: auto; padding: 0; border: 1px solid var(--line-2); border-radius: var(--radius); background: var(--surface); color: var(--text); box-shadow: 0 30px 80px -20px rgba(0, 0, 0, .95); overflow: auto; overscroll-behavior: contain; }
.pledge::backdrop { background: rgba(8, 6, 6, .78); -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.pledge[open] { animation: pl-in .35s cubic-bezier(.2, .8, .2, 1); }
@keyframes pl-in { from { opacity: 0; transform: translateY(18px) scale(.98); } }
.pl-step { padding: 28px; display: grid; gap: 10px; }
.pl-step[hidden] { display: none; }
.pl-x { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 26px; line-height: 1; cursor: pointer; z-index: 2; }
.pl-x:hover { color: var(--text); background: var(--surface-2); }
.pledge h3 { font-family: var(--f-display); font-weight: 900; font-size: clamp(30px, 6vw, 40px); text-transform: uppercase; line-height: .95; margin: 0; padding-right: 36px; text-wrap: balance; }
.pledge h3 em { font-style: normal; color: var(--red); }
.pl-lead { margin: 0 0 6px; color: var(--text-2); }
.pl-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.pl-form .full { grid-column: 1 / -1; }
.pl-form label { font-family: var(--f-mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.pl-form input, .pl-form textarea { width: 100%; font: inherit; font-size: 16px; color: var(--text); background: var(--bg); border: 1px solid var(--line); border-radius: 10px; padding: 12px 14px; }
.pl-form input:focus, .pl-form textarea:focus { outline: none; border-color: var(--red); box-shadow: 0 0 0 3px rgba(var(--red-rgb), .2); }
.pl-form textarea { min-height: 96px; resize: vertical; }
.pl-form .field small { color: var(--muted); font-size: 12.5px; }
.pl-form .check { display: grid; grid-template-columns: 20px 1fr; gap: 10px; align-items: start; font-family: var(--f-body); font-size: 13.5px; letter-spacing: 0; text-transform: none; color: var(--text-2); line-height: 1.5; cursor: pointer; }
.pl-form .check input { width: 18px; height: 18px; margin: 1px 0 0; padding: 0; accent-color: var(--red); }
.pl-form .check a { color: var(--text); }
.pl-form .form-foot .btn { width: 100%; }
.pl-form.is-busy .pl-submit { opacity: .7; pointer-events: none; }
.pl-code { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px 18px 18px 22px; border-radius: 14px; background: var(--bg); border: 1.5px dashed rgba(var(--red-rgb), .7); }
.pl-code-v { font-family: var(--f-mono); font-weight: 500; font-size: clamp(30px, 8vw, 42px); letter-spacing: .08em; color: #fff; }
.pl-copy { padding: 10px 14px; font-size: 12px; }
.pl-todo { margin: 8px 0 4px; padding-left: 22px; display: grid; gap: 8px; color: var(--text-2); }
.pl-todo b { color: #fff; font-family: var(--f-mono); font-weight: 500; }
.pl-pay { width: 100%; margin-top: 6px; }
.pl-small { margin: 4px 0 0; color: var(--muted); font-size: 13px; }
@media (max-width: 520px) { .pl-step { padding: 22px 18px; } .pl-form { grid-template-columns: minmax(0, 1fr); } }

/* Promemoria al ritorno da PayPal */
.pay-toast { position: fixed; z-index: 70; left: 50%; bottom: calc(18px + env(safe-area-inset-bottom, 0px)); transform: translate(-50%, 140%); width: min(560px, calc(100% - 32px)); display: flex; align-items: center; gap: 12px; padding: 12px 12px 12px 16px; border-radius: 16px; background: #141010; border: 1px solid rgba(var(--red-rgb), .6); box-shadow: 0 18px 50px -12px rgba(0, 0, 0, .9); transition: transform .45s cubic-bezier(.2, .8, .2, 1); }
.pay-toast.is-in { transform: translate(-50%, 0); }
.pay-toast p { margin: 0; flex: 1; font-size: 14px; line-height: 1.35; min-width: 0; }
.pay-toast p b { font-family: var(--f-mono); font-weight: 500; color: #fff; }
.pay-toast .btn { padding: 10px 14px; min-height: 40px; font-size: 14px; flex: none; }
.pay-toast .x { flex: none; width: 34px; height: 34px; border: 0; border-radius: 50%; background: transparent; color: var(--muted); font-size: 22px; line-height: 1; cursor: pointer; }
.pay-toast .x:hover { color: var(--text); background: var(--surface-2); }
@media (max-width: 520px) { .pay-toast { flex-wrap: wrap; } .pay-toast p { flex-basis: calc(100% - 46px); } .pay-toast .btn { width: 100%; order: 3; } }

/* Modulo contatti via WhatsApp (1.4) */
.btn-wa { background: var(--wa); color: #06210f; border-color: var(--wa); }
.btn-wa:hover { background: #1fb457; color: #06210f; }
.btn-wa svg { width: 20px; height: 20px; flex: none; }
.wa-note { margin: 0; font-size: 13.5px; line-height: 1.5; color: var(--muted); }
.wa-note a { color: var(--text-2); }
