/* Agenzia Connessa: colori e misure in :root. Presi dal logo: blu #0f73a1 (A), verde acqua #1ab19f (C), ciano #1acfdd (linea). */
@font-face { font-family: "Glacial Indifference"; src: url("../font/GlacialIndifference-Regular.otf") format("opentype"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Glacial Indifference"; src: url("../font/GlacialIndifference-Bold.otf") format("opentype"); font-weight: 700; font-display: swap; }
:root {
	--ac-blu: #0c3a57;
	--ac-blu-2: #0f73a1;
	--ac-verde: #12998a;
	--ac-verde-scuro: #0d7f73;
	--ac-verde-logo: #1ab19f;
	--ac-ciano: #1acfdd;
	--ac-verde-chiaro: #e1f5f2;
	--ac-sabbia: #f2f7f8;
	--ac-testo: #1b2633;
	--ac-testo-2: #556373;
	--ac-bordo: #e3e7ec;
	--ac-bianco: #fff;
	--ac-raggio: 18px;
	--ac-raggio-piccolo: 10px;
	--ac-ombra: 0 1px 2px rgba(12, 58, 87, .06), 0 8px 28px rgba(12, 58, 87, .08);
	--ac-ombra-forte: 0 2px 6px rgba(12, 58, 87, .08), 0 24px 60px rgba(12, 58, 87, .18);
	--ac-larghezza: 1180px;
	--ac-font: "Segoe UI Variable Text", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
	--ac-font-titoli: "Segoe UI Variable Display", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
	margin: 0;
	background: var(--ac-bianco);
	color: var(--ac-testo);
	font: 400 17px/1.6 var(--ac-font);
	-webkit-font-smoothing: antialiased;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: var(--ac-blu-2); }
h1, h2, h3 { font-family: var(--ac-font-titoli); color: var(--ac-blu); line-height: 1.15; letter-spacing: -.02em; margin: 0 0 .5em; }
h2 { font-size: clamp(1.75rem, 1.2rem + 2vw, 2.6rem); font-weight: 750; }
h3 { font-size: 1.2rem; font-weight: 700; }
p { margin: 0 0 1em; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ac-salta { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--ac-blu); color: #fff; padding: 10px 16px; border-radius: 8px; }
.ac-salta:focus { top: 12px; }
:focus-visible { outline: 3px solid var(--ac-verde); outline-offset: 3px; }

.ac-ico { width: 1.25em; height: 1.25em; flex: none; }
.ac-contenitore { width: min(100% - 32px, var(--ac-larghezza)); margin-inline: auto; }
.ac-contenitore--stretto { width: min(100% - 32px, 820px); }
.ac-contenitore--testo { width: min(100% - 32px, 760px); }

/* ---------------------------------------------------------------- Pulsanti */
.ac-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	padding: .85em 1.4em; border-radius: 999px; border: 2px solid transparent;
	background: var(--ac-verde); color: #fff; font-weight: 650; font-size: 1rem; line-height: 1.2;
	text-decoration: none; cursor: pointer;
	transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
	box-shadow: 0 6px 18px rgba(18, 153, 138, .3);
}
.ac-btn:hover { background: var(--ac-verde-scuro); transform: translateY(-2px); }
.ac-btn .ac-ico { transition: transform .2s ease; }
.ac-btn:hover .ac-ico { transform: translateX(3px); }
.ac-btn--chiaro { background: var(--ac-bianco); color: var(--ac-blu); border-color: var(--ac-bordo); box-shadow: none; }
.ac-btn--chiaro:hover { background: var(--ac-bianco); border-color: var(--ac-blu-2); }
.ac-btn--bianco { background: #fff; color: var(--ac-blu); box-shadow: 0 10px 30px rgba(0, 0, 0, .2); }
.ac-btn--bianco:hover { background: var(--ac-verde-chiaro); }
.ac-btn--trasparente { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .45); box-shadow: none; }
.ac-btn--trasparente:hover { background: rgba(255, 255, 255, .1); }
.ac-btn--piccolo { padding: .6em 1.1em; font-size: .92rem; box-shadow: none; }
.ac-azioni { display: flex; flex-wrap: wrap; gap: 12px; }
.ac-azioni--centro { justify-content: center; }

/* ----------------------------------------------------------------- Testata */
.ac-testata {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, .86); backdrop-filter: saturate(1.4) blur(12px); -webkit-backdrop-filter: saturate(1.4) blur(12px);
	border-bottom: 1px solid transparent; transition: border-color .25s ease, box-shadow .25s ease;
}
.admin-bar .ac-testata { top: 32px; }
.ac-testata.is-scorrendo { border-color: var(--ac-bordo); box-shadow: 0 6px 24px rgba(12, 58, 87, .06); }
.ac-testata__riga { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: 72px; }
.ac-marchio { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ac-blu); margin: 0; }
.ac-marchio__logo { max-height: 48px; width: auto; }
.ac-marchio__segno { width: 64px; height: auto; flex: none; transition: transform .3s ease; }
.ac-marchio:hover .ac-marchio__segno { transform: translateY(-1px) scale(1.03); }
.ac-marchio__testo { display: flex; flex-direction: column; gap: 4px; }
.ac-marchio__nome { font: 400 1.42rem/1 "Glacial Indifference", var(--ac-font-titoli); text-transform: uppercase; letter-spacing: .06em; color: #10202e; }
.ac-marchio__motto { font: 400 .62rem/1 "Glacial Indifference", var(--ac-font); text-transform: uppercase; letter-spacing: .05em; color: var(--ac-testo-2); white-space: nowrap; }
.ac-marchio--chiaro .ac-marchio__nome { color: #fff; }
.ac-marchio--chiaro .ac-marchio__motto { color: rgba(255, 255, 255, .6); }
@media (max-width: 480px) {
	.ac-marchio__segno { width: 48px; }
	.ac-marchio__nome { font-size: 1.1rem; }
	.ac-testata .ac-marchio__motto { display: none; }
}
.ac-nav { display: flex; align-items: center; gap: 28px; }
.ac-menu { display: flex; gap: 26px; list-style: none; margin: 0; padding: 0; }
.ac-menu a { color: var(--ac-testo); text-decoration: none; font-weight: 550; font-size: .97rem; position: relative; }
.ac-menu a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--ac-verde); transform: scaleX(0); transition: transform .2s ease; }
.ac-menu a:hover::after { transform: scaleX(1); }
.ac-hamburger { display: none; }

@media (max-width: 900px) {
	.admin-bar .ac-testata { top: 46px; }
	.ac-hamburger { display: grid; gap: 5px; place-content: center; width: 44px; height: 44px; border: 0; background: transparent; cursor: pointer; padding: 0; }
	.ac-hamburger span:not(.screen-reader-text) { display: block; width: 24px; height: 2px; background: var(--ac-blu); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }
	.ac-hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
	.ac-hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
	.ac-hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
	.ac-nav {
		position: absolute; left: 0; right: 0; top: 100%;
		flex-direction: column; align-items: stretch; gap: 8px; padding: 12px 16px 20px;
		background: #fff; border-bottom: 1px solid var(--ac-bordo); box-shadow: 0 20px 30px rgba(12, 58, 87, .08);
		visibility: hidden; opacity: 0; transform: translateY(-8px); transition: opacity .2s ease, transform .2s ease, visibility .2s;
	}
	.ac-nav.is-aperto { visibility: visible; opacity: 1; transform: none; }
	.ac-menu { flex-direction: column; gap: 0; }
	.ac-menu a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--ac-bordo); }
	.ac-menu a::after { display: none; }
	.ac-nav .ac-btn { margin-top: 8px; }
}

/* ----------------------------------------------------------------- Apertura */
.ac-apertura { position: relative; overflow: hidden; padding: clamp(40px, 6vw, 90px) 0 clamp(56px, 7vw, 100px); }
.ac-apertura__sfondo {
	position: absolute; inset: 0; z-index: -1;
	background:
		radial-gradient(60% 60% at 85% 20%, rgba(26, 177, 159, .18), transparent 70%),
		radial-gradient(50% 60% at 10% 90%, rgba(15, 115, 161, .12), transparent 70%),
		linear-gradient(180deg, #fff, var(--ac-sabbia));
}
.ac-apertura__sfondo::after {
	content: ""; position: absolute; inset: 0;
	background-image: radial-gradient(rgba(12, 58, 87, .09) 1px, transparent 1px); background-size: 22px 22px;
	mask-image: linear-gradient(180deg, transparent, #000 30%, #000 70%, transparent);
}
.ac-apertura__griglia { display: grid; grid-template-columns: 1.02fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ac-occhiello { display: inline-block; margin: 0 0 14px; color: var(--ac-verde-scuro); font-weight: 700; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; }
.ac-apertura__titolo { font-size: clamp(2.3rem, 1.4rem + 3.6vw, 4rem); font-weight: 800; margin-bottom: .4em; }
.ac-evidenzia { background: linear-gradient(100deg, var(--ac-blu-2) 0%, var(--ac-verde-logo) 60%, #17bfc9 100%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.ac-apertura__sottotitolo { font-size: clamp(1.05rem, 1rem + .3vw, 1.2rem); color: var(--ac-testo-2); max-width: 34em; margin-bottom: 28px; }
.ac-garanzie { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; margin: 26px 0 0; padding: 0; color: var(--ac-testo-2); font-size: .95rem; }
.ac-garanzie li { display: flex; align-items: center; gap: 6px; }
.ac-garanzie .ac-ico { color: var(--ac-verde); }
.ac-video { border-radius: var(--ac-raggio); overflow: hidden; box-shadow: var(--ac-ombra-forte); background: var(--ac-blu); aspect-ratio: 16 / 9; }
.ac-video video { display: block; width: 100%; height: 100%; object-fit: cover; }

@media (max-width: 900px) {
	.ac-apertura__griglia { grid-template-columns: 1fr; }
}

/* ------------------------------------------------- Scena animata (hero) */
.ac-scena { position: relative; aspect-ratio: 1.12; max-width: 600px; margin-inline: auto; width: 100%; }
.ac-scena__monitor { position: absolute; left: 0; top: 4%; width: 84%; animation: ac-galleggia 7s ease-in-out infinite; }
.ac-scena__schermo { background: #0b1520; border-radius: 14px; padding: 10px; box-shadow: var(--ac-ombra-forte); aspect-ratio: 16 / 9.4; }
.ac-scena__piede { width: 26%; height: 22px; margin: 0 auto; background: linear-gradient(#c7ced6, #aab3bd); clip-path: polygon(20% 0, 80% 0, 100% 100%, 0 100%); }
.ac-slide { display: grid; grid-template-columns: 1fr 1.15fr; /* dati a sinistra: a destra il telefono copre solo la foto */ height: 100%; border-radius: 6px; overflow: hidden; background: var(--ac-blu); }
.ac-slide__foto {
	background:
		linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.35)),
		linear-gradient(160deg, #9fc6e8 0%, #cfe3f2 38%, transparent 38.2%),
		linear-gradient(180deg, transparent 38%, #e9dcc6 38%, #d9c6a6 70%, #7c9a6b 70%, #5f7f52 100%);
	position: relative;
	animation: ac-zoom 14s ease-in-out infinite alternate;
}
.ac-slide__foto::before { /* la casa disegnata */
	content: ""; position: absolute; left: 18%; bottom: 22%; width: 58%; height: 42%;
	background: linear-gradient(90deg, #fff 0 46%, #f1ece4 46%);
	box-shadow: inset 0 -8px 0 rgba(0,0,0,.05);
	clip-path: polygon(0 32%, 46% 0, 100% 32%, 100% 100%, 0 100%);
}
.ac-slide__foto::after { content: ""; position: absolute; left: 30%; bottom: 22%; width: 10%; height: 18%; background: #3a5a7a; box-shadow: 130% -60% 0 -2px #8fb4d6, 260% -60% 0 -2px #8fb4d6; }
.ac-slide__dati { order: -1; display: flex; flex-direction: column; justify-content: center; gap: 4px; padding: 6% 7%; color: #fff; font-size: clamp(8px, 1.15vw, 13px); }
.ac-slide__etichetta { align-self: flex-start; background: var(--ac-verde); padding: .15em .6em; border-radius: 4px; font-weight: 700; font-size: .85em; text-transform: uppercase; letter-spacing: .06em; }
.ac-slide__titolo { font-weight: 800; font-size: 1.5em; line-height: 1.15; margin-top: .3em; }
.ac-slide__zona { opacity: .75; }
.ac-slide__prezzo { font-weight: 800; font-size: 1.7em; color: #7fe7ef; margin-top: .2em; }
.ac-slide__icone { display: flex; flex-wrap: wrap; gap: 4px; margin-top: .4em; }
.ac-slide__icone i { font-style: normal; font-size: .8em; background: rgba(255,255,255,.12); padding: .15em .5em; border-radius: 4px; }

.ac-scena__telefono {
	position: absolute; right: 2%; bottom: 0; width: 38%; aspect-ratio: 9 / 18.5;
	background: #efe7dc; border: 7px solid #0b1520; border-radius: 30px; overflow: hidden;
	box-shadow: var(--ac-ombra-forte); display: flex; flex-direction: column;
	animation: ac-galleggia 6s ease-in-out -2s infinite;
}
.ac-tel__barra { display: flex; align-items: center; gap: 8px; padding: 16% 8% 5%; background: #075e54; color: #fff; font-size: clamp(8px, 1vw, 11.5px); line-height: 1.2; }
.ac-tel__barra small { display: block; opacity: .8; font-size: .85em; }
.ac-tel__avatar { width: 2.4em; height: 2.4em; border-radius: 50%; background: linear-gradient(140deg, var(--ac-verde), var(--ac-blu-2)); flex: none; }
.ac-tel__chat { flex: 1; display: flex; flex-direction: column; gap: 6px; padding: 8% 6%; font-size: clamp(7.5px, .95vw, 11px); line-height: 1.35; }
.ac-bolla { position: relative; max-width: 88%; background: #fff; padding: .55em .7em; border-radius: 9px 9px 9px 2px; box-shadow: 0 1px 1px rgba(0,0,0,.08); color: #1b2633; opacity: 0; transform: translateY(10px) scale(.96); animation: ac-bolla 9s ease infinite; }
.ac-bolla--io { align-self: flex-end; background: #d9fdd3; border-radius: 9px 9px 2px 9px; }
.ac-bolla--1 { animation-delay: .4s; }
.ac-bolla--2 { animation-delay: 1.6s; }
.ac-bolla--3 { animation-delay: 2.8s; }
.ac-bolla__foto { display: block; height: 4.2em; margin: -.2em -.25em .45em; border-radius: 6px; background: linear-gradient(160deg, #9fc6e8 0 45%, #e9dcc6 45% 75%, #7c9a6b 75%); }
.ac-bolla__pulsante { display: block; margin: .5em -.7em -.55em; padding: .5em; border-top: 1px solid #eef0f2; text-align: center; color: #0a7cbd; font-weight: 600; }

.ac-avviso {
	position: absolute; display: flex; align-items: center; gap: 10px;
	background: #fff; border-radius: 14px; padding: 10px 14px; box-shadow: var(--ac-ombra-forte);
	font-size: clamp(11px, 1.1vw, 13.5px); line-height: 1.25; white-space: nowrap;
	opacity: 0; animation: ac-avviso 9s ease infinite;
}
.ac-avviso .ac-ico { width: 30px; height: 30px; padding: 6px; border-radius: 9px; background: var(--ac-verde-chiaro); color: var(--ac-verde-scuro); }
.ac-avviso b { display: block; color: var(--ac-blu); }
.ac-avviso small { color: var(--ac-testo-2); }
.ac-avviso--1 { left: 4%; bottom: 30%; animation-delay: 1s; }
.ac-avviso--2 { left: 10%; bottom: 8%; animation-delay: 3.6s; }
.ac-avviso--3 { right: 30%; top: -2%; animation-delay: 5.6s; }

@keyframes ac-galleggia { 50% { transform: translateY(-10px); } }
@keyframes ac-zoom { to { transform: scale(1.08); } }
@keyframes ac-bolla {
	0% { opacity: 0; transform: translateY(10px) scale(.96); }
	6%, 88% { opacity: 1; transform: none; }
	96%, 100% { opacity: 0; transform: translateY(-4px); }
}
@keyframes ac-avviso {
	0% { opacity: 0; transform: translateY(12px) scale(.95); }
	5%, 30% { opacity: 1; transform: none; }
	36%, 100% { opacity: 0; transform: translateY(-8px); }
}

/* ---------------------------------------------------------------- Canali */
.ac-canali { background: var(--ac-blu); color: #fff; padding: 34px 0; }
.ac-canali__titolo { text-align: center; margin: 0 0 18px; color: rgba(255,255,255,.7); font-size: .9rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 600; }
.ac-canali__lista { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 14px; list-style: none; margin: 0; padding: 0; counter-reset: canale; }
.ac-canali__lista li { display: flex; align-items: center; gap: 10px; padding: 10px 18px 10px 10px; border-radius: 999px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-weight: 600; }
.ac-canali__ico { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ac-verde); }
.ac-canali__ico .ac-ico { width: 18px; height: 18px; }

/* ---------------------------------------------------------------- Sezioni */
.ac-sezione { padding: clamp(64px, 8vw, 112px) 0; }
.ac-sezione--tinta { background: var(--ac-sabbia); }
.ac-sezione--scura { background: linear-gradient(160deg, var(--ac-blu) 0%, #0f5378 100%); color: rgba(255,255,255,.85); }
.ac-sezione--scura h2 { color: #fff; }
.ac-sezione--scura .ac-occhiello { color: #7fe7ef; }
.ac-intestazione { text-align: center; max-width: 720px; margin: 0 auto clamp(36px, 5vw, 56px); }
.ac-intestazione > p:not(.ac-occhiello) { color: var(--ac-testo-2); font-size: 1.08rem; }
.ac-sezione--scura .ac-intestazione > p:not(.ac-occhiello) { color: rgba(255,255,255,.75); }
.ac-intestazione--sinistra { text-align: left; margin: 0; }

/* Strumenti */
.ac-strumenti { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.ac-strumento {
	position: relative; padding: 30px 28px; border-radius: var(--ac-raggio); background: #fff;
	border: 1px solid var(--ac-bordo); box-shadow: var(--ac-ombra);
	transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.ac-strumento:hover { transform: translateY(-4px); box-shadow: var(--ac-ombra-forte); border-color: transparent; }
.ac-strumento__ico { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 15px; margin-bottom: 18px; background: var(--ac-verde-chiaro); color: var(--ac-verde-scuro); transition: transform .3s ease; }
.ac-strumento:hover .ac-strumento__ico { transform: rotate(-6deg) scale(1.06); }
.ac-strumento__ico .ac-ico { width: 26px; height: 26px; }
.ac-strumento > p { color: var(--ac-testo-2); font-size: .98rem; }
.ac-spunte { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; font-size: .94rem; }
.ac-spunte li { display: flex; gap: 8px; align-items: flex-start; }
.ac-spunte .ac-ico { color: var(--ac-verde); margin-top: .15em; width: 1.1em; height: 1.1em; }
.ac-strumento--invito { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; background: linear-gradient(150deg, var(--ac-blu-2), var(--ac-blu)); border: 0; color: rgba(255,255,255,.82); }
.ac-strumento--invito h3 { color: #fff; font-size: 1.4rem; }
.ac-strumento--invito .ac-btn { margin-top: 8px; }
@media (max-width: 1000px) { .ac-strumenti { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .ac-strumenti { grid-template-columns: 1fr; } }

/* Passi */
.ac-passi { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; list-style: none; margin: 0; padding: 0; position: relative; }
.ac-passi::before { content: ""; position: absolute; top: 28px; left: 16%; right: 16%; height: 2px; background: repeating-linear-gradient(90deg, var(--ac-verde) 0 8px, transparent 8px 16px); opacity: .5; }
.ac-passi li { position: relative; text-align: center; padding: 0 10px; }
.ac-passi__numero { position: relative; display: grid; place-items: center; width: 58px; height: 58px; margin: 0 auto 18px; border-radius: 50%; background: #fff; color: var(--ac-verde-scuro); border: 2px solid var(--ac-verde); font: 800 1.4rem/1 var(--ac-font-titoli); box-shadow: 0 0 0 8px var(--ac-sabbia); }
.ac-passi p { color: var(--ac-testo-2); }
@media (max-width: 800px) {
	.ac-passi { grid-template-columns: 1fr; gap: 34px; }
	.ac-passi::before { display: none; }
}

/* Demo */
.ac-demo { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.ac-demo__scheda {
	display: flex; flex-direction: column; gap: 10px; padding: 30px 28px; border-radius: var(--ac-raggio);
	background: var(--ac-sabbia); color: var(--ac-testo); text-decoration: none;
	border: 1px solid transparent; transition: transform .25s ease, border-color .25s ease, background-color .25s ease;
}
a.ac-demo__scheda:hover { transform: translateY(-4px); border-color: var(--ac-verde); background: #fff; }
.ac-demo__scheda--piena { background: var(--ac-verde-chiaro); }
.ac-demo__ico { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: #fff; color: var(--ac-blu-2); box-shadow: var(--ac-ombra); }
.ac-demo__titolo { font: 750 1.25rem/1.2 var(--ac-font-titoli); color: var(--ac-blu); margin-top: 6px; }
.ac-demo__testo { color: var(--ac-testo-2); flex: 1; }
.ac-demo__vai { display: inline-flex; align-items: center; gap: 6px; color: var(--ac-verde-scuro); font-weight: 700; text-decoration: none; }

/* Fiducia */
.ac-fiducia { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
.ac-fiducia__lista { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; list-style: none; margin: 0; padding: 0; }
.ac-fiducia__lista li { display: flex; gap: 14px; padding: 22px; border-radius: var(--ac-raggio); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1); }
.ac-fiducia__lista .ac-ico { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: rgba(26,207,221,.16); color: #7fe7ef; }
.ac-fiducia__lista strong { display: block; color: #fff; margin-bottom: 4px; }
.ac-fiducia__lista span { font-size: .94rem; color: rgba(255,255,255,.7); }
@media (max-width: 900px) {
	.ac-fiducia { grid-template-columns: 1fr; }
	.ac-fiducia__lista { grid-template-columns: 1fr; }
}

/* Domande */
.ac-domande { display: grid; gap: 12px; }
.ac-domanda { border: 1px solid var(--ac-bordo); border-radius: var(--ac-raggio-piccolo); background: #fff; transition: border-color .2s ease, box-shadow .2s ease; }
.ac-domanda[open] { border-color: var(--ac-verde); box-shadow: var(--ac-ombra); }
.ac-domanda summary { position: relative; list-style: none; cursor: pointer; padding: 18px 56px 18px 22px; font-weight: 650; color: var(--ac-blu); }
.ac-domanda summary::-webkit-details-marker { display: none; }
.ac-domanda summary::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 2px solid var(--ac-verde-scuro); border-bottom: 2px solid var(--ac-verde-scuro); transform: translateY(-70%) rotate(45deg); transition: transform .25s ease; }
.ac-domanda[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.ac-domanda p { margin: 0; padding: 0 22px 20px; color: var(--ac-testo-2); }

/* Chiusura */
.ac-chiusura { padding: 0 0 clamp(64px, 8vw, 112px); }
.ac-chiusura__riquadro {
	position: relative; overflow: hidden; text-align: center; padding: clamp(44px, 6vw, 80px) clamp(22px, 5vw, 64px);
	border-radius: 28px; color: rgba(255,255,255,.85);
	background: radial-gradient(70% 90% at 90% 0%, rgba(26,207,221,.35), transparent 60%), linear-gradient(140deg, var(--ac-verde-scuro), var(--ac-blu-2) 70%, var(--ac-blu));
}
.ac-chiusura__riquadro h2 { color: #fff; max-width: 18em; margin-inline: auto; }
.ac-chiusura__riquadro > p { font-size: 1.1rem; margin-bottom: 28px; }
.ac-avviso-admin { margin: 22px auto 0; max-width: 40em; font-size: .9rem; background: rgba(0,0,0,.25); padding: 10px 14px; border-radius: 8px; }

/* ------------------------------------------------------- Pagine generiche */
.ac-pagina { padding: clamp(40px, 6vw, 80px) 0; min-height: 50vh; }
.ac-pagina__titolo { font-size: clamp(2rem, 1.4rem + 2vw, 2.8rem); }
.ac-testo > * + * { margin-top: 1em; }

/* -------------------------------------------------------------- Piè di pagina */
.ac-piede { background: #082a40; color: rgba(255,255,255,.7); padding: 64px 0 26px; font-size: .95rem; }
.ac-piede__griglia { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; }
.ac-piede__testo { margin-top: 16px; max-width: 26em; }
.ac-piede__titolo { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 14px; }
.ac-piede__lista { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.ac-piede a { color: rgba(255,255,255,.8); text-decoration: none; }
.ac-piede a:hover { color: #7fe7ef; }
.ac-piede__fondo { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); font-size: .85rem; color: rgba(255,255,255,.5); }
@media (max-width: 760px) { .ac-piede__griglia { grid-template-columns: 1fr; gap: 28px; } }

/* ------------------------------------------- Pagine dei plugin nel tema */
.ci-page .ac-contenuto, .coa-page-single { background: var(--ac-bianco); }
/* Il plugin lascia spazio a una testata trasparente (The7); la nostra è già nel flusso. */
body { --ci-header-offset: 0px; }

/* --------------------------------------------- Comparsa allo scorrimento */
.ac-js .ac-rivela { opacity: 0; transform: translateY(22px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--ritardo, 0ms); }
.ac-js .ac-rivela.is-visibile { opacity: 1; transform: none; }
/* L'apertura entra da sola al caricamento: è il primo colpo d'occhio, non deve aspettare lo script. */
.ac-js .ac-apertura .ac-rivela { opacity: 1; transform: none; transition: none; animation: ac-entra .8s cubic-bezier(.2, .7, .2, 1) both; }
.ac-js .ac-apertura .ac-rivela:nth-child(2) { animation-delay: .08s; }
.ac-js .ac-apertura .ac-rivela:nth-child(3) { animation-delay: .16s; }
.ac-js .ac-apertura .ac-rivela:nth-child(4) { animation-delay: .24s; }
.ac-js .ac-apertura .ac-rivela:nth-child(5) { animation-delay: .32s; }
.ac-js .ac-apertura__visivo.ac-rivela { animation-delay: .2s; }
@keyframes ac-entra { from { opacity: 0; transform: translateY(22px); } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation: none !important; transition: none !important; }
	.ac-js .ac-rivela { opacity: 1; transform: none; }
	.ac-bolla, .ac-avviso { opacity: 1; transform: none; }
	.ac-avviso--3 { display: none; }
}
