/* ==========================================================
   Home page – restyling (solo prima pagina)
   ========================================================== */
.ala-eyebrow {
	display: inline-block; margin-bottom: 6px;
	font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
	color: var(--ala-green-dark);
}
.ala-home-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.ala-home-head h2 { margin: 0; font-size: clamp(28px, 3.2vw, 38px); line-height: 1.15; color: var(--ala-ink); }
.ala-home-head--center { justify-content: center; text-align: center; }
.ala-link-arrow {
	display: inline-flex; align-items: center; gap: 6px;
	font-weight: 700; font-size: 15px; color: var(--ala-green-dark) !important; text-decoration: none;
}
.ala-link-arrow span { transition: transform .15s ease; }
.ala-link-arrow:hover span { transform: translateX(4px); }
.ala-chip {
	display: inline-block; padding: 4px 10px; border-radius: 999px;
	background: #ecf7e6; color: var(--ala-green-darker); font-size: 12px; font-weight: 700; letter-spacing: .02em;
}

/* ---------- Intro: da cerchi a schede ---------- */
html body .intro { padding: 72px 0 80px; background-size: auto 100%; background-position: 50% 0; }
html body .intro .header { margin-bottom: 40px; }
html body .intro .header .main-title { font-size: clamp(32px, 4vw, 46px); letter-spacing: -.01em; }
html body .intro .row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin: 0; }
html body .intro .row::before, html body .intro .row::after { display: none; }
html body .intro .columns-3 {
	width: auto; float: none; margin: 0; padding: 0 0 26px;
	background: #fff; border-radius: 20px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(30, 51, 24, .06), 0 14px 34px rgba(30, 51, 24, .10);
	transition: transform .2s ease, box-shadow .2s ease;
}
html body .intro .columns-3:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(30, 51, 24, .06), 0 22px 44px rgba(30, 51, 24, .16); }
html body .intro .columns-3 .img-holder { width: 100%; height: auto; margin: 0 0 20px; border-radius: 0; border: 0; aspect-ratio: 4 / 3; overflow: hidden; }
html body .intro .columns-3 .img-holder img { width: 100%; height: 100%; object-fit: cover; border-radius: 0; }
html body .intro .columns-3 .icon-holder { display: none; }
html body .intro .columns-3 .text-holder { padding: 0 24px; }
html body .intro .columns-3 .title { display: block; margin-bottom: 14px; font-size: 21px; }

/* ---------- Ultime notizie ---------- */
.ala-home-news { padding: 80px 0; background: #f6f8f3; }
.ala-news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.ala-news-card {
	display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden;
	box-shadow: 0 1px 2px rgba(30, 51, 24, .06), 0 10px 28px rgba(30, 51, 24, .08);
	transition: transform .2s ease, box-shadow .2s ease;
}
.ala-news-card:hover { transform: translateY(-4px); box-shadow: 0 2px 4px rgba(30, 51, 24, .06), 0 20px 40px rgba(30, 51, 24, .14); }
.ala-news-card__img { display: block; aspect-ratio: 16 / 9; background: #e9eee4; overflow: hidden; }
.ala-news-card__img img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.ala-news-card:hover .ala-news-card__img img { transform: scale(1.04); }
.ala-news-card__body { display: flex; flex-direction: column; gap: 10px; flex: 1; padding: 20px 22px 22px; }
.ala-news-card__meta { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--ala-muted); }
.ala-news-card h3 { margin: 0; font-size: 20px; line-height: 1.3; }
.ala-news-card h3 a { color: var(--ala-ink) !important; text-decoration: none; }
.ala-news-card h3 a:hover { color: var(--ala-green-dark) !important; }
.ala-news-card p { margin: 0; flex: 1; font-size: 15px; line-height: 1.6; color: var(--ala-muted); }

/* ---------- Numeri ---------- */
html body .ala-home-stats { padding: 56px 0; background: var(--ala-head); }
html body .ala-home-stats .row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin: 0; }
html body .ala-home-stats .row::before, html body .ala-home-stats .row::after { display: none; }
html body .ala-home-stats .columns-4 { width: auto; float: none; padding: 0; margin: 0; text-align: center; }
html body .ala-home-stats .number { color: #fff; font-size: clamp(34px, 4vw, 48px); line-height: 1; margin-bottom: 10px; }
html body .ala-home-stats .number::after { display: none; }
html body .ala-home-stats .columns-4 span { color: rgba(255, 255, 255, .85); font-size: 13px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }

/* ---------- Come aiutarci ---------- */
.ala-home-help { padding: 84px 0 92px; background: #fff; }
.ala-help-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.ala-help-card {
	display: flex; flex-direction: column; gap: 12px; padding: 30px 28px;
	border: 1px solid var(--ala-line); border-radius: 18px; background: #fff;
	transition: border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}
.ala-help-card:hover { border-color: #cfe6c2; box-shadow: 0 18px 40px rgba(30, 51, 24, .10); transform: translateY(-3px); }
.ala-help-card--accent { background: #f3faee; border-color: #d6ecca; }
.ala-help-card__icon {
	display: inline-flex; align-items: center; justify-content: center;
	width: 52px; height: 52px; border-radius: 14px; background: var(--ala-green); color: #fff;
}
.ala-help-card__icon .ala-ico { width: 26px; height: 26px; }
.ala-help-card h3 { margin: 6px 0 0; font-size: 22px; color: var(--ala-ink); }
.ala-help-card p { margin: 0; flex: 1; font-size: 15px; line-height: 1.6; color: var(--ala-muted); }
.ala-help-card__code {
	align-self: flex-start; padding: 8px 12px; border-radius: 10px;
	background: #f2f5ef; border: 1px dashed #c9d8bf;
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 13px; color: var(--ala-ink);
}

/* ---------- Telefono e tablet ---------- */
@media (max-width: 960px) {
	html body .intro .row, .ala-news-grid, .ala-help-grid { grid-template-columns: 1fr 1fr; }
	html body .ala-home-stats .row { grid-template-columns: 1fr 1fr; row-gap: 32px; }
}
@media (max-width: 640px) {
	html body .intro { padding: 48px 0 56px; }
	html body .intro .row, .ala-news-grid, .ala-help-grid { grid-template-columns: 1fr; }
	.ala-home-news, .ala-home-help { padding: 56px 0; }
	.ala-home-head { flex-direction: column; align-items: flex-start; }
	.ala-home-head--center { align-items: center; }
}
.ala-news-card__meta .ala-chip { max-width: 60%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ala-news-card__meta time { white-space: nowrap; }
