/* =========================================================
   FEATURES / USP — sekcja "Poznaj nasze atuty"
   Plik: assets/css/features.css
   Bazuje na: config.css (section, container, section-label, section-title, btn)
   ========================================================= */

.features .section-title{
	margin-top: 10px; /* ✅ spacing: label -> title */
}

/* ✅ Grid: 3 równe kolumny jak na design */
.features__grid{
	margin-top: 40px; /* delikatny oddech po tytule */
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 40px; /* ✅ odstęp między sekcjami z ikonami */
}

/* ✅ Pojedynczy USP */
.features__item{
	display: flex;
	align-items: center;
	gap: 15px; /* ✅ ikona <-> (title+opis) */
}

/* ✅ Ikona (dopasowanie do SVG) */
.features__icon{
	flex: 0 0 auto;
	display: flex;
	align-items: flex-start;
	justify-content: flex-start;
}

.features__icon img{
	width: 52px;
	height: auto;
	max-width: 52px;
}

/* ✅ Teksty */
.features__content{
	min-width: 0;
}

.features__title{
	margin: 0;
	font-family: var(--font-family-base);
	font-weight: 700;
	font-size: 16px;
	line-height: 145%;
	letter-spacing: 0;
	color: var(--color-primary);
}

/* ✅ padding między title a opisem */
.features__desc{
	margin: 5px 0 0;
	font-family: var(--font-family-base);
	font-weight: 400;
	font-size: 14px;
	line-height: 155%;
	letter-spacing: 0;
	color: var(--color-grey);
}

/* ✅ Przycisk */
.features__cta{
	margin-top: 80px; /* ✅ padding: między ikonami a przyciskiem */
	display: flex;
	justify-content: center;
}

/* =========================================================
   Responsive
   ========================================================= */

@media (max-width: 1024px){
	.features__grid{
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px){
	.features__grid{
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.features__icon img{
		width: 48px;
		max-width: 48px;
	}
}


/* =========================================================
   FEATURES — icon hover (trigger na całym boxie)
   ========================================================= */

.features__icon,
.features__icon img {
	transition: transform 220ms ease, opacity 220ms ease;
}

.features__item:hover .features__icon,
.features__item:hover .features__icon img {
	transform: translateY(-6px);
}