/*
 * AB Media - Joomla 6 template
 * Dark tech: notte profonda, viola elettrico e ciano, griglia a puntini, dettagli monospace.
 */

/* ---------- Font locali ---------- */
@font-face { font-family: "Space Grotesk"; font-weight: 500; font-display: swap; src: url("../fonts/space-grotesk-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Space Grotesk"; font-weight: 700; font-display: swap; src: url("../fonts/space-grotesk-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 400; font-style: italic; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-400-italic.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 500; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "IBM Plex Sans"; font-weight: 600; font-display: swap; src: url("../fonts/ibm-plex-sans-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 400; font-display: swap; src: url("../fonts/jetbrains-mono-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "JetBrains Mono"; font-weight: 600; font-display: swap; src: url("../fonts/jetbrains-mono-latin-600-normal.woff2") format("woff2"); }

/* ---------- Token ---------- */
:root {
	--bg: #07080d;
	--bg-2: #0b0d14;
	--surface: #10131c;
	--surface-2: #161a26;
	--line: #222839;
	--line-2: #2f364a;
	--text: #e9ecf4;
	--muted: #8f98ad;
	--faint: #5d667c;

	--violet: #8b7bff;
	--violet-2: #6a57ff;
	--cyan: #39e1f0;
	--mint: #5ef2b0;
	--amber: #ffbe55;
	--rose: #ff6b8b;
	--grad: linear-gradient(100deg, var(--violet) 0%, #a98bff 35%, var(--cyan) 100%);

	--display: "Space Grotesk", "Segoe UI", system-ui, sans-serif;
	--body: "IBM Plex Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--mono: "JetBrains Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--wrap: 1180px;
	--gutter: clamp(16px, 4vw, 36px);
	--header-h: 72px;
	--section: clamp(72px, 10vw, 128px);
	--radius: 14px;
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body {
	margin: 0;
	min-height: 100vh;
	background:
		radial-gradient(1200px 600px at 85% -10%, rgba(106, 87, 255, .14), transparent 60%),
		radial-gradient(900px 500px at -10% 30%, rgba(57, 225, 240, .06), transparent 60%),
		var(--bg);
	color: var(--text);
	font-family: var(--body);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}
body::before {
	content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
	background-image: radial-gradient(rgba(143, 152, 173, .13) 1px, transparent 1px);
	background-size: 24px 24px;
	mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 50%, transparent 100%);
	-webkit-mask-image: linear-gradient(180deg, #000 0%, rgba(0, 0, 0, .5) 50%, transparent 100%);
}
img, svg, video { max-width: 100%; height: auto; }
img { display: block; }
a { color: inherit; }
button { font: inherit; color: inherit; cursor: pointer; }
:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; border-radius: 4px; }
::selection { background: var(--violet); color: #fff; }
#abm-main { overflow-x: clip; }

.abm-container { width: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.abm-section { padding-block: var(--section) 0; }
.abm-ico { width: 1.1em; height: 1.1em; flex: none; }
.abm-ico--flip { transform: rotate(180deg); }

.abm-skip { position: absolute; left: 12px; top: -60px; z-index: 300; background: var(--violet); color: #fff; padding: 10px 16px; border-radius: 8px; font-weight: 600; text-decoration: none; }
.abm-skip:focus { top: 12px; }
.visually-hidden, .sr-only, .element-invisible {
	position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important;
	overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important;
}

/* ---------- Tipografia ---------- */
h1, h2, h3, h4, h5, h6 { font-family: var(--display); font-weight: 700; line-height: 1.08; letter-spacing: -.02em; margin: 0 0 .5em; text-wrap: balance; }
.abm-kicker {
	display: inline-flex; align-items: center; gap: 10px; margin: 0 0 16px;
	font-family: var(--mono); font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--cyan);
	text-decoration: none;
}
.abm-kicker--link:hover { color: var(--text); }
.abm-kicker__count { color: var(--faint); }
.abm-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--mint); box-shadow: 0 0 0 4px rgba(94, 242, 176, .15), 0 0 14px rgba(94, 242, 176, .8); }
.abm-h2 { font-size: clamp(32px, 4.6vw, 52px); margin: 0; }
.abm-h3 { font-size: clamp(22px, 2.4vw, 28px); }
.abm-lead { font-size: clamp(16px, 1.5vw, 18.5px); line-height: 1.7; color: var(--muted); margin: 0 0 28px; max-width: 58ch; }
.abm-grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.abm-meta { margin: 0 0 8px; font-family: var(--mono); font-size: 12px; letter-spacing: .02em; color: var(--muted); }
.abm-meta span { color: var(--faint); }

.abm-head { margin-bottom: 40px; max-width: 760px; }
.abm-head--row { max-width: none; display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }

/* ---------- Pulsanti ---------- */
.abm-btn, .btn, .readmore a, button.button, input[type="submit"] {
	display: inline-flex; align-items: center; justify-content: center; gap: 9px;
	padding: 12px 20px; border: 1px solid transparent; border-radius: 999px;
	font-family: var(--body); font-size: 14.5px; font-weight: 600; line-height: 1.1; text-decoration: none; white-space: nowrap;
	transition: background .2s, color .2s, border-color .2s, box-shadow .25s, transform .2s var(--ease);
}
.abm-btn .abm-ico { width: 16px; height: 16px; transition: transform .2s var(--ease); }
.abm-btn:hover .abm-ico { transform: translate(2px, -2px); }
.abm-btn--primary, .btn-primary, .readmore a, input[type="submit"] {
	background: var(--violet-2); color: #fff;
	background-image: linear-gradient(135deg, var(--violet-2), var(--violet) 55%, #a68cff);
	box-shadow: 0 8px 30px -10px rgba(106, 87, 255, .8), inset 0 1px 0 rgba(255, 255, 255, .2);
}
.abm-btn--primary:hover, .btn-primary:hover, .readmore a:hover { transform: translateY(-2px); box-shadow: 0 14px 36px -10px rgba(106, 87, 255, .95), inset 0 1px 0 rgba(255, 255, 255, .25); }
.abm-btn--ghost, .btn-secondary, .btn-outline-secondary, .btn-outline-primary { background: rgba(255, 255, 255, .02); color: var(--text); border-color: var(--line-2); }
.abm-btn--ghost:hover, .btn-secondary:hover { border-color: var(--cyan); color: var(--cyan); }
.abm-btn--lg { padding: 15px 26px; font-size: 15.5px; }
.abm-btn--block { width: 100%; }
.btn-success { background: #19a874; color: #fff; }
.btn-danger { background: #e0445f; color: #fff; }
.btn-sm { padding: 7px 12px; font-size: 13px; }
.abm-actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- Header ---------- */
.abm-header { position: sticky; top: 0; z-index: 70; height: var(--header-h); transition: background .3s, border-color .3s, backdrop-filter .3s; border-bottom: 1px solid transparent; }
.abm-header.is-scrolled, .is-inner .abm-header { background: rgba(7, 8, 13, .78); backdrop-filter: blur(14px) saturate(140%); -webkit-backdrop-filter: blur(14px) saturate(140%); border-color: rgba(255, 255, 255, .06); }
.abm-header__inner { height: 100%; max-width: calc(var(--wrap) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); display: flex; align-items: center; gap: 28px; }

.abm-logo { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; color: var(--text); flex: none; }
.abm-logo__mark {
	display: grid; place-items: center; width: 38px; height: 38px; border-radius: 11px;
	font-family: var(--display); font-weight: 700; font-size: 15px; letter-spacing: -.02em; color: #fff;
	background: linear-gradient(140deg, var(--violet-2), var(--cyan));
	box-shadow: 0 6px 20px -6px rgba(106, 87, 255, .9), inset 0 1px 0 rgba(255, 255, 255, .3);
}
.abm-logo__text { display: grid; line-height: 1; }
.abm-logo__text b { font-family: var(--display); font-size: 19px; font-weight: 700; letter-spacing: -.02em; }
.abm-logo__text small { margin-top: 5px; font-family: var(--mono); font-size: 10px; letter-spacing: .06em; color: var(--faint); text-transform: lowercase; }
.abm-logo__img { height: 40px; width: auto; }

.abm-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: 16px; }
.abm-header__cta { margin-left: auto; padding: 10px 16px; font-size: 13.5px; }

/* Menu Joomla */
.abm-nav ul { list-style: none; margin: 0; padding: 0; }
.abm-nav .mod-menu, .abm-nav .mod-menu_dropdown-metismenu { display: flex; align-items: center; gap: 2px; flex-wrap: nowrap; justify-content: center; }
.abm-nav .mod-menu > li { position: relative; flex: none; }
.abm-nav .mod-menu > li > a,
.abm-nav .mod-menu > li > span {
	display: inline-flex; align-items: center; gap: 7px; padding: 9px 13px; border-radius: 999px;
	font-size: 14.5px; font-weight: 500; color: var(--muted); text-decoration: none; white-space: nowrap; cursor: pointer;
	transition: color .2s, background .2s;
}
.abm-nav .mod-menu > li.parent > a::after,
.abm-nav .mod-menu > li.parent > span::after { content: ""; width: 6px; height: 6px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: rotate(45deg) translateY(-2px); opacity: .7; transition: transform .2s; }
.abm-nav .mod-menu > li.parent:hover > a::after, .abm-nav .mod-menu > li.parent:hover > span::after,
.abm-nav .mod-menu > li.parent.is-open > a::after, .abm-nav .mod-menu > li.parent.is-open > span::after { transform: rotate(225deg) translate(-2px, -1px); }
.abm-nav .mod-menu > li:hover > a, .abm-nav .mod-menu > li:hover > span, .abm-nav .mod-menu > li.is-open > a, .abm-nav .mod-menu > li.is-open > span { color: var(--text); background: rgba(255, 255, 255, .05); }
.abm-nav .mod-menu > li.current > a, .abm-nav .mod-menu > li.active > a, .abm-nav .mod-menu > li.active > span { color: var(--text); }
.abm-nav .mod-menu > li.current > a::before, .abm-nav .mod-menu > li.active > a::before, .abm-nav .mod-menu > li.active > span::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: var(--cyan); box-shadow: 0 0 10px var(--cyan); }

/* Pulsanti dei layout di Joomla prima della conversione */
.abm-nav a + .mod-menu__toggle-sub, .abm-nav button.mm-toggler-link { display: none; }
.abm-nav button.mod-menu__toggle-sub, .abm-nav button.mm-toggler { background: none; border: 0; padding: 9px 13px; color: var(--muted); font: inherit; font-size: 14.5px; cursor: pointer; }
.abm-nav .mod-menu__toggle-sub .icon-chevron-down { display: none; }
.abm-nav .abm-subtoggle { display: none; }

@media (min-width: 1024px) {
	.abm-nav .mod-menu .mod-menu__sub,
	.abm-nav .mod-menu .mod-menu__sub[aria-hidden] { display: block; }
	.abm-nav .mod-menu > li > .mod-menu__sub {
		position: absolute; left: var(--abm-sub-left, 0px); top: calc(100% + 10px);
		min-width: 240px; max-width: min(560px, calc(100vw - 32px)); padding: 8px;
		background: rgba(16, 19, 28, .96); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
		border: 1px solid var(--line-2); border-radius: var(--radius);
		box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .7), 0 0 0 1px rgba(139, 123, 255, .08);
		opacity: 0; visibility: hidden; transform: translateY(6px);
		transition: opacity .18s, transform .18s var(--ease), visibility 0s linear .18s;
		z-index: 10;
	}
	.abm-nav .mod-menu > li > .mod-menu__sub::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
	.abm-nav .mod-menu > li:hover > .mod-menu__sub,
	.abm-nav .mod-menu > li:focus-within > .mod-menu__sub,
	.abm-nav .mod-menu > li.is-open > .mod-menu__sub { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
	.abm-nav .mod-menu > li.is-closed > .mod-menu__sub { opacity: 0; visibility: hidden; }
	.abm-nav .mod-menu > li > .mod-menu__sub.is-cols { columns: 2; column-gap: 4px; min-width: 460px; }
	.abm-nav .mod-menu__sub.is-cols > li { break-inside: avoid; }
	.abm-nav .mod-menu__sub a, .abm-nav .mod-menu__sub .mod-menu__heading { display: block; padding: 9px 14px; border-radius: 9px; font-size: 14.5px; color: var(--text); text-decoration: none; }
	.abm-nav .mod-menu__sub .mod-menu__heading { font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; color: var(--faint); }
	.abm-nav .mod-menu__sub a:hover, .abm-nav .mod-menu__sub a:focus-visible, .abm-nav .mod-menu__sub li.current > a { background: rgba(139, 123, 255, .12); color: #fff; }
	.abm-nav .mod-menu__sub > li.parent > a { font-weight: 600; }
	.abm-nav .mod-menu__sub .mod-menu__sub { position: static; margin: 0 0 6px 14px; padding-left: 8px; border-left: 1px solid var(--line-2); }
	.abm-nav .mod-menu__sub .mod-menu__sub a { padding: 6px 10px; font-size: 13.5px; color: var(--muted); }
}

.abm-burger { display: none; margin-left: 4px; width: 44px; height: 44px; border-radius: 12px; background: rgba(255, 255, 255, .04); border: 1px solid var(--line-2); position: relative; }
.abm-burger__bar, .abm-burger__bar::before, .abm-burger__bar::after { position: absolute; left: 12px; right: 12px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .25s var(--ease), background .2s; }
.abm-burger__bar { top: 50%; margin-top: -1px; }
.abm-burger__bar::before, .abm-burger__bar::after { content: ""; left: 0; right: 0; }
.abm-burger__bar::before { top: -6px; }
.abm-burger__bar::after { top: 6px; }
.nav-open .abm-burger__bar { background: transparent; }
.nav-open .abm-burger__bar::before { transform: translateY(6px) rotate(45deg); }
.nav-open .abm-burger__bar::after { transform: translateY(-6px) rotate(-45deg); }

/* ---------- Hero ---------- */
.abm-hero { position: relative; margin-top: calc(-1 * var(--header-h)); padding-top: calc(var(--header-h) + clamp(48px, 8vw, 110px)); isolation: isolate; }
.abm-hero__glow { position: absolute; inset: -10% -10% auto; height: 760px; z-index: -1; pointer-events: none;
	background:
		radial-gradient(40% 50% at 70% 30%, rgba(106, 87, 255, .32), transparent 70%),
		radial-gradient(30% 40% at 90% 60%, rgba(57, 225, 240, .16), transparent 70%); filter: blur(10px); }
.abm-hero__grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr); gap: clamp(32px, 5vw, 72px); align-items: center; }
.abm-hero__title { font-size: clamp(42px, 6.4vw, 82px); line-height: 1.02; letter-spacing: -.035em; margin: 0 0 24px; }
.abm-hero__title span { display: block; }
.abm-stats { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 44px 0 0; padding-top: 26px; border-top: 1px solid var(--line); }
.abm-stats div { display: grid; }
.abm-stats dt { font-family: var(--display); font-size: 34px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.abm-stats dd { margin: 6px 0 0; font-family: var(--mono); font-size: 11.5px; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }

.abm-term {
	position: relative; border-radius: 16px; overflow: hidden;
	background: linear-gradient(180deg, rgba(22, 26, 38, .92), rgba(12, 14, 21, .96));
	border: 1px solid var(--line-2);
	box-shadow: 0 50px 100px -40px rgba(0, 0, 0, .9), 0 0 0 1px rgba(139, 123, 255, .12), 0 0 80px -30px rgba(106, 87, 255, .55);
	transform: perspective(1200px) rotateY(-6deg) rotateX(2deg);
	transition: transform .6s var(--ease);
}
.abm-term:hover { transform: perspective(1200px) rotateY(-2deg) rotateX(1deg); }
.abm-term__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; border-bottom: 1px solid var(--line); background: rgba(255, 255, 255, .02); }
.abm-term__bar i { width: 11px; height: 11px; border-radius: 50%; background: #ff5f57; }
.abm-term__bar i:nth-child(2) { background: #febc2e; }
.abm-term__bar i:nth-child(3) { background: #28c840; }
.abm-term__bar span { margin-left: 10px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.abm-term__body { margin: 0; padding: 22px 22px 26px; min-height: 292px; font-family: var(--mono); font-size: 13.5px; line-height: 1.85; white-space: normal; word-break: break-word; color: var(--text); }
.abm-term__body span { white-space: pre-wrap; }
.abm-term__body span { display: block; }
.abm-term__body span[hidden] { display: none; }
.abm-term__body .is-cmd { color: var(--text); }
.abm-term__body .is-cmd::first-letter { color: var(--mint); }
.abm-term__body .is-out { color: var(--muted); padding-bottom: 6px; }
.abm-term__cursor { display: inline-block !important; width: 9px; height: 17px; vertical-align: -3px; background: var(--cyan); animation: abm-blink 1s steps(2, start) infinite; }
@keyframes abm-blink { to { visibility: hidden; } }

.abm-stack { margin-top: clamp(56px, 8vw, 96px); border-block: 1px solid var(--line); overflow: hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.abm-stack__track { display: flex; gap: 46px; width: max-content; padding: 18px 0; animation: abm-marquee 40s linear infinite; }
.abm-stack__track span { font-family: var(--mono); font-size: 13px; color: var(--muted); white-space: nowrap; letter-spacing: .02em; display: inline-flex; align-items: center; gap: 46px; }
.abm-stack__track span::after { content: "◆"; font-size: 8px; color: var(--violet); }
@keyframes abm-marquee { to { transform: translateX(-50%); } }

/* ---------- Servizi ---------- */
.abm-services__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 250px), 1fr)); gap: 16px; }
.abm-service { position: relative; padding: 28px 24px 26px; border-radius: var(--radius); background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.abm-service::before { content: ""; position: absolute; inset: 0; background: radial-gradient(240px 160px at var(--mx, 80%) 0%, rgba(139, 123, 255, .18), transparent 70%); opacity: 0; transition: opacity .3s; }
.abm-service:hover { border-color: var(--line-2); transform: translateY(-3px); }
.abm-service:hover::before { opacity: 1; }
.abm-service__num { position: absolute; top: 22px; right: 22px; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.abm-service__ico { position: relative; width: 44px; height: 44px; padding: 10px; border-radius: 12px; color: var(--cyan); background: rgba(57, 225, 240, .08); border: 1px solid rgba(57, 225, 240, .2); }
.abm-service h3 { position: relative; margin: 22px 0 8px; font-size: 20px; }
.abm-service p { position: relative; margin: 0; color: var(--muted); font-size: 15px; }

/* ---------- Schede comuni ---------- */
.abm-stretched::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.abm-chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; margin: 0; padding: 0; }
.abm-chips li { font-family: var(--mono); font-size: 11.5px; padding: 4px 9px; border-radius: 999px; border: 1px solid var(--line-2); color: var(--muted); background: rgba(255, 255, 255, .02); }
.abm-chips--j li { color: var(--mint); border-color: rgba(94, 242, 176, .3); background: rgba(94, 242, 176, .06); }
.abm-badge { display: inline-flex; align-items: center; padding: 5px 10px; border-radius: 999px; font-family: var(--mono); font-size: 11.5px; font-weight: 600; letter-spacing: .02em; color: #fff; background: rgba(139, 123, 255, .22); border: 1px solid rgba(139, 123, 255, .45); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); }
.abm-badge--ver { color: var(--cyan); background: rgba(57, 225, 240, .1); border-color: rgba(57, 225, 240, .35); }

/* Portfolio */
.abm-projects { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 340px), 1fr)); gap: 28px 24px; }
.abm-project { position: relative; display: flex; flex-direction: column; }
.abm-project__frame { border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--line); box-shadow: 0 30px 60px -36px rgba(0, 0, 0, .9); transition: transform .4s var(--ease), border-color .3s, box-shadow .4s; }
.abm-project:hover .abm-project__frame { transform: translateY(-4px); border-color: rgba(139, 123, 255, .5); box-shadow: 0 40px 70px -36px rgba(0, 0, 0, .9), 0 0 50px -20px rgba(106, 87, 255, .6); }
.abm-project__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; border-bottom: 1px solid var(--line); background: var(--surface-2); }
.abm-project__bar i { width: 9px; height: 9px; border-radius: 50%; background: var(--line-2); }
.abm-project__bar span { flex: 1; margin-left: 8px; padding: 3px 10px; border-radius: 6px; background: rgba(0, 0, 0, .35); font-family: var(--mono); font-size: 11px; color: var(--faint); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.abm-project__shot { aspect-ratio: 16 / 10; overflow: hidden; background: var(--bg-2); }
.abm-project__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 1.2s var(--ease), object-position 3s ease; }
.abm-project:hover .abm-project__shot img { transform: scale(1.03); }
.abm-project__shot.is-empty { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, rgba(139, 123, 255, .35), transparent 60%), var(--bg-2); }
.abm-project__shot.is-empty span { font-family: var(--display); font-size: 64px; font-weight: 700; color: rgba(255, 255, 255, .15); }
.abm-project__body { padding: 18px 2px 0; display: flex; flex-direction: column; gap: 10px; }
.abm-project__body .abm-meta { margin: 0; color: var(--cyan); }
.abm-project__title { margin: 0; font-size: 22px; }
.abm-project__title a { text-decoration: none; }
.abm-project__visit { position: relative; z-index: 2; align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 13.5px; font-weight: 500; color: var(--muted); text-decoration: none; }
.abm-project__visit:hover { color: var(--cyan); }
.abm-project__visit .abm-ico { width: 14px; height: 14px; }

/* Store */
.abm-products { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.abm-product { position: relative; display: flex; flex-direction: column; border-radius: 16px; overflow: hidden; background: linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line); transition: transform .35s var(--ease), border-color .3s, box-shadow .35s; }
.abm-product[hidden] { display: none; }
.abm-product:hover { transform: translateY(-4px); border-color: rgba(139, 123, 255, .5); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .85), 0 0 60px -26px rgba(106, 87, 255, .7); }
.abm-product__media { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--bg-2); border-bottom: 1px solid var(--line); }
.abm-product__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.abm-product:hover .abm-product__media img { transform: scale(1.04); }
.abm-product__media.is-empty { display: grid; place-items: center;
	background:
		radial-gradient(60% 80% at 20% 10%, rgba(106, 87, 255, .45), transparent 60%),
		radial-gradient(50% 70% at 90% 90%, rgba(57, 225, 240, .3), transparent 60%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 22px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, .03) 0 1px, transparent 1px 22px),
		var(--bg-2); }
.abm-product__glyph { width: 64px; height: 64px; color: #fff; opacity: .9; filter: drop-shadow(0 6px 20px rgba(106, 87, 255, .8)); }
.abm-product__media .abm-badge { position: absolute; top: 12px; left: 12px; }
.abm-product__media .abm-badge--ver { left: auto; right: 12px; }
.abm-product__body { padding: 20px 20px 18px; display: flex; flex-direction: column; flex: 1; }
.abm-product__title { margin: 0 0 8px; font-size: 21px; }
.abm-product__title a { text-decoration: none; }
.abm-product__body p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; flex: 1; }
.abm-product__foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 14px; border-top: 1px dashed var(--line-2); }
.abm-price { font-family: var(--display); font-size: 22px; font-weight: 700; letter-spacing: -.02em; white-space: nowrap; }
.abm-price.is-free { color: var(--mint); }
.abm-filter { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 28px; }
.abm-filter button { padding: 8px 15px; border-radius: 999px; border: 1px solid var(--line-2); background: rgba(255, 255, 255, .02); color: var(--muted); font-size: 14px; font-weight: 500; transition: all .2s; }
.abm-filter button:hover { color: var(--text); border-color: var(--muted); }
.abm-filter button.is-active { color: #fff; background: rgba(139, 123, 255, .2); border-color: rgba(139, 123, 255, .6); }
.abm-store-note { display: flex; align-items: center; gap: 10px; margin: 32px 0 0; padding: 14px 18px; border-radius: 12px; border: 1px solid var(--line); background: var(--surface); color: var(--muted); font-size: 14.5px; }
.abm-store-note .abm-ico { color: var(--mint); }

/* Articoli */
.abm-posts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 20px; }
.abm-post { position: relative; display: flex; flex-direction: column; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); overflow: hidden; transition: border-color .3s, transform .3s var(--ease); }
.abm-post:hover { border-color: var(--line-2); transform: translateY(-3px); }
.abm-post__img { aspect-ratio: 16 / 9; overflow: hidden; border-bottom: 1px solid var(--line); }
.abm-post__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.abm-post:hover .abm-post__img img { transform: scale(1.04); }
.abm-post__body { padding: 22px 22px 20px; display: flex; flex-direction: column; flex: 1; }
.abm-post__title { margin: 4px 0 10px; font-size: 20px; line-height: 1.25; }
.abm-post__title a { text-decoration: none; }
.abm-post__body p { margin: 0 0 18px; color: var(--muted); font-size: 14.5px; flex: 1; }
.abm-post__more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--violet); }
.abm-post__more .abm-ico { transition: transform .2s var(--ease); }
.abm-post:hover .abm-post__more .abm-ico { transform: translateX(4px); }
.abm-posts--list .abm-post.is-wide { grid-column: 1 / -1; flex-direction: row; }
.abm-posts--list .abm-post.is-wide .abm-post__img { flex: 0 0 48%; aspect-ratio: auto; border-bottom: 0; border-right: 1px solid var(--line); }
.abm-posts--list .abm-post.is-wide .abm-post__body { padding: clamp(24px, 4vw, 40px); justify-content: center; }
.abm-posts--list .abm-post.is-wide .abm-post__title { font-size: clamp(24px, 3vw, 34px); }
.abm-posts--list .abm-post.is-wide:not(.has-img) .abm-post__body { padding: clamp(24px, 4vw, 44px); }

/* ---------- CTA contatti ---------- */
.abm-cta { margin-top: var(--section); }
.abm-cta__inner { position: relative; display: grid; grid-template-columns: 1.2fr 1fr; gap: 32px; align-items: center; padding-block: clamp(40px, 6vw, 64px); }
.abm-cta__inner::before { content: ""; position: absolute; inset: 0 var(--gutter); z-index: -1; border-radius: 22px; border: 1px solid rgba(139, 123, 255, .35);
	background: radial-gradient(70% 120% at 0% 0%, rgba(106, 87, 255, .25), transparent 60%), radial-gradient(60% 120% at 100% 100%, rgba(57, 225, 240, .14), transparent 60%), var(--surface); }
.abm-cta__inner > div:first-child { padding-left: clamp(24px, 4vw, 48px); }
.abm-cta .abm-lead { margin: 14px 0 0; }
.abm-cta__actions { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding-right: clamp(24px, 4vw, 48px); }
.abm-contact { display: inline-flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; font-size: 15px; }
.abm-contact .abm-ico { width: 18px; height: 18px; color: var(--cyan); }
.abm-contact:hover { color: var(--cyan); }

/* ---------- Pagine interne ---------- */
.abm-inner { padding: clamp(28px, 5vw, 56px) 0 0; }
.abm-crumbs { margin-bottom: 26px; }
.breadcrumb, ol.mod-breadcrumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; font-family: var(--mono); font-size: 12px; color: var(--faint); }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--cyan); }
.breadcrumb-item + .breadcrumb-item::before { content: "/"; margin-right: 6px; color: var(--line-2); }
.mod-breadcrumbs__here { display: none; }
.mod-breadcrumbs__divider { display: none; }
.abm-layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: 48px; }
.abm-layout.has-right { grid-template-columns: minmax(0, 1fr) 300px; }
.abm-aside .moduletable { margin-bottom: 24px; padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.abm-aside h3 { font-size: 18px; }
.abm-modules .moduletable + .moduletable { margin-top: 32px; }

.abm-pagehead { margin-bottom: 44px; max-width: 820px; }
.abm-pagehead__title { font-size: clamp(38px, 5.4vw, 64px); letter-spacing: -.03em; margin: 0 0 16px; }
.abm-pagehead__desc { color: var(--muted); font-size: 17.5px; max-width: 62ch; }
.abm-pagehead__desc p { margin: 0 0 .8em; }
.abm-empty { padding: 40px; text-align: center; border-radius: var(--radius); border: 1px dashed var(--line-2); color: var(--muted); }
.abm-morelinks { margin-top: 56px; }
.abm-morelinks ul { padding-left: 1.1em; color: var(--muted); }
.abm-morelinks a { color: var(--text); }
.abm-back { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 26px; font-family: var(--mono); font-size: 12.5px; color: var(--muted); text-decoration: none; }
.abm-back:hover { color: var(--cyan); }

/* Scheda prodotto */
.abm-productpage__grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 5vw, 64px); align-items: start; }
.abm-productpage__badges { display: flex; gap: 8px; margin-bottom: 18px; }
.abm-productpage__title { font-size: clamp(36px, 5vw, 60px); letter-spacing: -.03em; margin: 0 0 16px; }
.abm-productpage__media { margin: 32px 0; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-2); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .9), 0 0 60px -30px rgba(106, 87, 255, .6); }
.abm-productpage__media img { width: 100%; }
.abm-buybox { position: sticky; top: calc(var(--header-h) + 20px); }
.abm-buybox__card { padding: 26px; border-radius: 18px; border: 1px solid rgba(139, 123, 255, .4); background: radial-gradient(120% 70% at 100% 0%, rgba(106, 87, 255, .22), transparent 60%), var(--surface); box-shadow: 0 30px 70px -40px rgba(0, 0, 0, .9); }
.abm-buybox__price { margin: 0 0 20px; display: flex; align-items: baseline; flex-wrap: wrap; gap: 10px; }
.abm-buybox__price span { font-family: var(--display); font-size: 46px; font-weight: 700; letter-spacing: -.03em; line-height: 1; }
.abm-buybox__price.is-free span { color: var(--mint); }
.abm-buybox__price small { font-family: var(--mono); font-size: 11.5px; color: var(--faint); }
.abm-buybox__actions { display: grid; gap: 10px; }
.abm-buybox__soon { margin: 0; padding: 12px; text-align: center; border-radius: 12px; border: 1px dashed var(--line-2); color: var(--muted); }
.abm-specs { margin: 22px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 12px; }
.abm-specs div { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.abm-specs dt { font-family: var(--mono); font-size: 12px; color: var(--faint); text-transform: uppercase; letter-spacing: .05em; }
.abm-specs dd { margin: 0; text-align: right; font-size: 14.5px; }
.abm-buybox__links { display: flex; gap: 18px; margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); }
.abm-buybox__links a { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; color: var(--text); text-decoration: none; }
.abm-buybox__links a:hover { color: var(--cyan); }
.abm-buybox__links .abm-ico { color: var(--cyan); }
.abm-buybox__note { display: flex; gap: 10px; margin: 18px 0 0; font-size: 13px; color: var(--muted); }
.abm-buybox__note .abm-ico { color: var(--mint); margin-top: 2px; }
.abm-buybar { display: none; }
.abm-changelog { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--line); }
.abm-changelog h2 { display: flex; align-items: center; gap: 10px; }
.abm-changelog h2 .abm-ico { color: var(--cyan); }
.abm-changelog__list { position: relative; padding-left: 22px; border-left: 1px solid var(--line-2); }
.abm-changelog__ver { position: relative; margin-bottom: 22px; }
.abm-changelog__ver::before { content: ""; position: absolute; left: -27px; top: 7px; width: 9px; height: 9px; border-radius: 50%; background: var(--bg); border: 2px solid var(--violet); }
.abm-changelog__ver:first-child::before { background: var(--violet); box-shadow: 0 0 12px var(--violet); }
.abm-changelog__ver h3 { margin: 0 0 6px; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--text); }
.abm-changelog__ver ul { margin: 0; padding-left: 1.1em; color: var(--muted); font-size: 15px; }

/* Scheda progetto */
.abm-projectpage__head { max-width: 820px; margin-bottom: 36px; }
.abm-projectpage__facts { display: flex; flex-wrap: wrap; gap: 14px 40px; margin: 28px 0 0; padding-top: 22px; border-top: 1px solid var(--line); }
.abm-projectpage__facts dt { font-family: var(--mono); font-size: 11.5px; color: var(--faint); text-transform: uppercase; letter-spacing: .06em; }
.abm-projectpage__facts dd { margin: 4px 0 0; }
.abm-projectpage__facts a { color: var(--cyan); text-decoration: none; display: inline-flex; gap: 6px; align-items: center; }
.abm-projectpage__frame { margin-bottom: 44px; }
.abm-projectpage__frame .abm-project__shot { aspect-ratio: auto; max-height: 720px; overflow: auto; }
.abm-projectpage__frame .abm-project__shot img { height: auto; }
.abm-projectpage__cta { margin: 40px 0 0; }

/* Articolo */
.abm-article { max-width: 780px; margin-inline: auto; }
.abm-article__head { margin-bottom: 34px; }
.abm-article__title { font-size: clamp(34px, 4.8vw, 56px); letter-spacing: -.03em; margin: 0 0 18px; }
.abm-article__img { margin: 0 0 40px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.abm-article__img img { width: 100%; }
.abm-page-heading { display: block; }

/* Testo */
.abm-prose { font-size: 17.5px; line-height: 1.8; color: #d5d9e4; }
.abm-prose--narrow { max-width: 760px; }
.abm-projectpage .abm-prose--narrow { margin-inline: 0; }
.abm-prose > :first-child { margin-top: 0; }
.abm-prose h2 { font-size: clamp(26px, 3vw, 34px); margin: 1.6em 0 .55em; color: var(--text); }
.abm-prose h3 { font-size: clamp(21px, 2.4vw, 25px); margin: 1.5em 0 .5em; color: var(--text); }
.abm-prose h4 { font-size: 19px; margin: 1.4em 0 .5em; color: var(--text); }
.abm-prose p, .abm-prose ul, .abm-prose ol { margin: 0 0 1.15em; }
.abm-prose li { margin-bottom: .35em; }
.abm-prose li::marker { color: var(--violet); }
.abm-prose a { color: var(--cyan); text-decoration: underline; text-decoration-color: rgba(57, 225, 240, .4); text-underline-offset: 3px; }
.abm-prose a:hover { text-decoration-color: currentColor; }
.abm-prose strong { color: var(--text); font-weight: 600; }
.abm-prose img { height: auto; border-radius: 10px; }
.abm-prose figure { margin: 1.8em 0; }
.abm-prose figcaption { margin-top: 8px; font-size: 13.5px; color: var(--faint); text-align: center; }
.abm-prose blockquote { margin: 1.8em 0; padding: 18px 22px; border-left: 3px solid var(--violet); border-radius: 0 12px 12px 0; background: var(--surface); font-size: 1.05em; color: var(--text); }
.abm-prose blockquote p:last-child { margin-bottom: 0; }
.abm-prose hr { border: 0; height: 1px; margin: 2.4em 0; background: linear-gradient(90deg, transparent, var(--line-2), transparent); }
.abm-prose code { font-family: var(--mono); font-size: .86em; padding: 2px 7px; border-radius: 6px; background: var(--surface-2); border: 1px solid var(--line); color: var(--cyan); }
.abm-prose pre { margin: 1.6em 0; padding: 18px 20px; border-radius: 12px; background: #0a0c12; border: 1px solid var(--line); overflow-x: auto; font-family: var(--mono); font-size: 14px; line-height: 1.7; }
.abm-prose pre code { padding: 0; border: 0; background: none; color: var(--text); font-size: inherit; }
.abm-prose table, .table { width: 100%; border-collapse: collapse; margin: 1.6em 0; font-size: 15px; }
.abm-prose th, .abm-prose td, .table th, .table td { padding: 11px 14px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.abm-prose th, .table th { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); }
.abm-prose iframe { max-width: 100%; border-radius: 12px; }
.float-start, .pull-left { float: left; margin: 0 1.4em 1em 0; }
.float-end, .pull-right { float: right; margin: 0 0 1em 1.4em; }

/* Tag, icone di modifica, paginazione articolo */
.tags { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags a, .badge { display: inline-block; padding: 5px 11px; border-radius: 999px; font-family: var(--mono); font-size: 12px; background: rgba(139, 123, 255, .14); border: 1px solid rgba(139, 123, 255, .35); color: var(--text) !important; text-decoration: none !important; }
.icons { margin-top: 12px; }
.icons .dropdown-toggle, .icons a { font-size: 13px; color: var(--muted); }
.pagenavigation, .pager { margin-top: 48px; }
.pagenavigation .pagination, .pager { display: flex; justify-content: space-between; gap: 12px; list-style: none; padding: 0; }
.pagenavigation a, .pager a { display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px; border-radius: 12px; border: 1px solid var(--line-2); text-decoration: none; color: var(--text); font-size: 14.5px; }
.pagenavigation a:hover, .pager a:hover { border-color: var(--cyan); color: var(--cyan); }

/* Paginazione */
.abm-pagination { margin-top: 48px; }
.pagination { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.page-link { display: inline-flex; min-width: 42px; height: 42px; align-items: center; justify-content: center; padding: 0 13px; border-radius: 11px; border: 1px solid var(--line-2); text-decoration: none; font-family: var(--mono); font-size: 13.5px; color: var(--text); }
.page-link:hover { border-color: var(--cyan); color: var(--cyan); }
.page-item.active .page-link { background: var(--violet-2); border-color: var(--violet-2); color: #fff; }
.page-item.disabled .page-link { opacity: .35; }
.abm-pagination__counter, .counter { margin-top: 12px; font-family: var(--mono); font-size: 12.5px; color: var(--faint); }

/* Form (contatti, login, ricerca) */
.form-control, .form-select, input[type="text"], input[type="email"], input[type="password"], input[type="search"], input[type="tel"], input[type="url"], input[type="number"], textarea, select {
	width: 100%; max-width: 100%; padding: 12px 14px; border-radius: 11px;
	background: var(--bg-2); color: var(--text); border: 1px solid var(--line-2);
	font: inherit; font-size: 15px; transition: border-color .2s, box-shadow .2s;
}
.form-control:focus, .form-select:focus, input:focus, textarea:focus, select:focus { outline: none; border-color: var(--violet); box-shadow: 0 0 0 4px rgba(139, 123, 255, .2); }
::placeholder { color: var(--faint); }
label, .control-label, .form-label { display: block; margin-bottom: 6px; font-size: 14px; font-weight: 500; color: var(--text); }
.control-group, .mb-3 { margin-bottom: 18px; }
.form-check { display: flex; align-items: center; gap: 8px; }
.form-check-input { width: 18px; height: 18px; accent-color: var(--violet); }
.input-group { display: flex; align-items: stretch; gap: 8px; }
.input-group > .form-control { flex: 1; min-width: 0; }
.star, .required { color: var(--rose); }
.abm-nav__search .form-control { padding: 8px 12px; font-size: 13.5px; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; margin: 0 0 22px; }
legend { padding: 0 8px; font-family: var(--display); font-weight: 700; }

/* Utility usate dal core di Joomla */
.list-unstyled { list-style: none; padding-left: 0; }
.clearfix::after { content: ""; display: table; clear: both; }
.text-center { text-align: center; }
.text-end { text-align: right; }
.d-none { display: none !important; }
.d-flex { display: flex; }
.w-100 { width: 100%; }
.img-fluid { max-width: 100%; height: auto; }
.row { display: flex; flex-wrap: wrap; margin-inline: -12px; }
.row > [class*="col"] { padding-inline: 12px; flex: 1 0 0%; min-width: 0; }
.row > .col-12 { flex: 0 0 100%; }
.card { border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.card-header, .card-body, .card-footer { padding: 18px 20px; }
.card-header { border-bottom: 1px solid var(--line); font-weight: 600; }
.alert { padding: 14px 18px; margin-bottom: 20px; border-radius: 12px; border: 1px solid rgba(57, 225, 240, .35); background: rgba(57, 225, 240, .08); }
.alert-warning { border-color: rgba(255, 190, 85, .4); background: rgba(255, 190, 85, .08); }
.alert-danger, .alert-error { border-color: rgba(255, 107, 139, .45); background: rgba(255, 107, 139, .08); }
.alert-success { border-color: rgba(94, 242, 176, .4); background: rgba(94, 242, 176, .08); }
#system-message-container { max-width: calc(var(--wrap) + 2 * var(--gutter)); margin: 0 auto; padding-inline: var(--gutter); }
.is-home #system-message-container:not(:empty) { padding-top: 28px; }

/* Contatti Joomla (com_contact) */
.com-contact .contact-miscinfo, .com-contact dl { color: var(--muted); }
.com-contact h2, .com-contact h3 { font-size: 24px; }

/* ---------- Footer ---------- */
.abm-footer { margin-top: var(--section); padding: 56px 0 26px; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(16, 19, 28, .6), var(--bg)); font-size: 14.5px; }
.abm-footer__top { display: grid; grid-template-columns: 1.2fr 1fr; gap: 40px; padding-bottom: 36px; }
.abm-footer__brand p { max-width: 42ch; margin: 18px 0 20px; color: var(--muted); }
.abm-social { display: flex; gap: 8px; }
.abm-social a { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); color: var(--muted); transition: all .2s; }
.abm-social a:hover { color: #fff; border-color: var(--violet); background: rgba(139, 123, 255, .15); }
.abm-social svg { width: 18px; height: 18px; }
.abm-footer__menu ul { list-style: none; margin: 0; padding: 0; columns: 2; column-gap: 24px; }
.abm-footer__menu li { break-inside: avoid; margin-bottom: 10px; }
.abm-footer__menu ul ul, .abm-footer__menu .mod-menu__toggle-sub { display: none; }
.abm-footer__menu a { color: var(--muted); text-decoration: none; }
.abm-footer__menu a:hover { color: var(--text); }
.abm-footer__bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 22px; border-top: 1px solid var(--line); font-family: var(--mono); font-size: 12px; color: var(--faint); }
.abm-footer__bottom a { color: var(--muted); }

/* ---------- Errore ---------- */
.abm-error { min-height: 100vh; display: grid; place-items: center; text-align: center; padding: 40px var(--gutter); }
.abm-error__code { margin: 34px 0 8px; font-family: var(--mono); font-size: clamp(96px, 20vw, 200px); font-weight: 600; line-height: 1; background: var(--grad); -webkit-background-clip: text; background-clip: text; color: transparent; }
.abm-error .abm-lead { margin-inline: auto; }
.abm-error__debug { margin-top: 32px; text-align: left; font-size: 12px; overflow: auto; }

/* ---------- Ingresso animato ---------- */
.abm-js [data-reveal] { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.abm-js [data-reveal].is-visible { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
	.abm-header__inner { gap: 16px; }
	.abm-nav .mod-menu > li > a, .abm-nav .mod-menu > li > span { padding-inline: 9px; }
	.abm-productpage__grid { grid-template-columns: minmax(0, 1fr) 320px; }
}

@media (max-width: 1023px) {
	:root { --header-h: 64px; }
	.abm-header { background: rgba(7, 8, 13, .82); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-color: rgba(255, 255, 255, .06); }
	.abm-burger { display: inline-block; }
	.abm-header__cta { margin-left: auto; }
	.abm-nav {
		position: fixed; inset: var(--abm-nav-top, var(--header-h)) 0 0 0; z-index: 69; display: block;
		padding: 20px var(--gutter) 60px; overflow-y: auto;
		background: radial-gradient(80% 50% at 100% 100%, rgba(106, 87, 255, .25), transparent 70%), var(--bg);
		opacity: 0; visibility: hidden; transform: translateY(-8px);
		transition: opacity .25s, transform .25s var(--ease), visibility .25s;
	}
	.nav-open .abm-nav { opacity: 1; visibility: visible; transform: none; }
	.nav-open { overflow: hidden; }
	.nav-open .abm-header { background: var(--bg) !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
	.abm-nav .mod-menu { display: block; }
	.abm-nav .mod-menu li { display: flex; flex-wrap: wrap; align-items: center; }
	.abm-nav .mod-menu > li { border-bottom: 1px solid var(--line); }
	.abm-nav .mod-menu > li > a, .abm-nav .mod-menu > li > span { flex: 1; padding: 16px 0; border-radius: 0; background: none !important; font-family: var(--display); font-size: 26px; font-weight: 700; letter-spacing: -.02em; color: var(--text); white-space: normal; }
	.abm-nav .mod-menu > li.parent > a::after, .abm-nav .mod-menu > li.parent > span::after { display: none; }
	.abm-nav .mod-menu > li.current > a, .abm-nav .mod-menu > li.active > a { color: var(--cyan); }
	.abm-nav .mod-menu > li.current > a::before, .abm-nav .mod-menu > li.active > a::before { display: none; }
	.abm-nav .abm-subtoggle { display: grid; place-items: center; flex: none; width: 42px; height: 42px; padding: 0; border-radius: 11px; background: none; border: 1px solid var(--line-2); color: var(--text); }
	.abm-nav .abm-subtoggle::before { content: ""; width: 8px; height: 8px; border-right: 2px solid currentColor; border-bottom: 2px solid currentColor; transform: rotate(45deg) translateY(-2px); transition: transform .2s; }
	.abm-nav li.is-open > .abm-subtoggle { border-color: var(--violet); color: var(--violet); }
	.abm-nav li.is-open > .abm-subtoggle::before { transform: rotate(225deg) translate(-2px, -2px); }
	.abm-nav .mod-menu__sub .abm-subtoggle { width: 34px; height: 34px; }
	.abm-nav .mod-menu__sub, .abm-nav .mod-menu__sub[aria-hidden] { display: none; flex-basis: 100%; padding: 0 0 14px; margin: 0; }
	.abm-nav li.is-open > .mod-menu__sub { display: block; }
	.abm-nav .mod-menu__sub > li > a, .abm-nav .mod-menu__sub > li > span { flex: 1; padding: 10px 4px; font-size: 17px; color: var(--muted); text-decoration: none; }
	.abm-nav .mod-menu__sub .mod-menu__sub { margin: 0 0 6px 6px; padding-left: 12px; border-left: 1px solid var(--line-2); }
	.abm-nav .mod-menu__sub .mod-menu__sub a { padding: 8px 4px; font-size: 15px; }
	.abm-nav__search { margin-top: 24px; }

	.abm-hero__grid { grid-template-columns: 1fr; }
	.abm-term { transform: none; max-width: 640px; }
	.abm-term:hover { transform: none; }
	.abm-head--row { flex-direction: column; align-items: flex-start; }
	.abm-productpage__grid { grid-template-columns: 1fr; }
	.abm-buybox { position: static; }
	.abm-buybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom)); background: rgba(11, 13, 20, .92); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-top: 1px solid var(--line-2); }
	.abm-buybar__price { font-family: var(--display); font-size: 24px; font-weight: 700; letter-spacing: -.02em; }
	.abm-buybar__price.is-free { color: var(--mint); }
	.abm-productpage { padding-bottom: 72px; }
	.abm-layout.has-right { grid-template-columns: 1fr; }
	.abm-cta__inner { grid-template-columns: 1fr; }
	.abm-cta__inner > div:first-child { padding-inline: clamp(24px, 4vw, 48px); }
	.abm-cta__actions { padding-inline: clamp(24px, 4vw, 48px); }
	.abm-footer__top { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
	.abm-header__cta { display: none; }
	.abm-burger { margin-left: auto; }
	.abm-logo__text small { display: none; }
	.abm-hero { padding-top: calc(var(--header-h) + 36px); }
	.abm-stats { gap: 18px 28px; }
	.abm-stats dt { font-size: 28px; }
	.abm-term__body { min-height: 0; font-size: 12.5px; padding: 18px; }
	.abm-posts--list .abm-post.is-wide { flex-direction: column; }
	.abm-posts--list .abm-post.is-wide .abm-post__img { border-right: 0; border-bottom: 1px solid var(--line); aspect-ratio: 16 / 9; }
	.abm-buybox__price span { font-size: 40px; }
	.float-start, .float-end, .pull-left, .pull-right { float: none; margin-inline: 0; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	.abm-js [data-reveal] { opacity: 1; transform: none; }
	.abm-term { transform: none; }
}

@media print {
	.abm-header, .abm-footer, .abm-cta, .abm-stack, .abm-buybox__actions { display: none !important; }
	body { background: #fff !important; color: #000 !important; }
	body::before { display: none; }
}
