/* =========================================
   ROK CORE - FEATURES
========================================= */

.rok-features {
	width: 100%;
	background: #ffffff;
}

.rok-features *,
.rok-features *::before,
.rok-features *::after {
	box-sizing: border-box;
}

.rok-features__inner {
	width: 100%;
	max-width: 1340px;
	margin: 0 auto;
}


/* =========================================
   EYEBROW
========================================= */

.rok-features__eyebrow-wrap {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-bottom: 14px;
}

.rok-features__eyebrow {
	font-size: 12px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: 1.5px;
	color: #fe7d02;
	white-space: nowrap;
}

.rok-features__eyebrow-line {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 20px;
	background: #fe7d02;
}


/* =========================================
   HEADER
========================================= */

.rok-features__header {
	max-width: 850px;
	margin: 0 auto;
}

.rok-features__title {
	margin: 0 0 8px;

	font-size: clamp(30px, 3.2vw, 42px);
	font-weight: 800;
	line-height: 1.15;
	letter-spacing: -1.2px;

	color: #12376b;
}

.rok-features__highlight {
	color: #fe7d02;
}

.rok-features__description {
	max-width: 780px;
	margin: 0 auto;

	font-size: 13px;
	font-weight: 400;
	line-height: 1.5;

	color: #68778f;
}


/* =========================================
   FEATURES GRID
========================================= */

.rok-features__grid {
	display: grid;

	grid-template-columns: repeat(3, minmax(0, 1fr));

	gap: 14px;

	margin-top: 24px;
}


/* =========================================
   FEATURE CARD
========================================= */

.rok-feature-card {
	display: flex;
	align-items: center;

	min-width: 0;

	padding: 18px 20px;

	background: #ffffff;

	border: 1px solid #eef2f8;
	border-radius: 9px;

	box-shadow:
		0 5px 18px rgba(26, 67, 120, 0.08);

	/*
	 * Scroll animation
	 */
	opacity: 0;
	transform: translateY(35px);

	transition:
		opacity 0.6s ease,
		transform 0.6s ease,
		box-shadow 0.3s ease;

	/*
	 * JavaScript automatically sets:
	 * --rok-feature-delay
	 */
	transition-delay: var(--rok-feature-delay, 0s);
}

.rok-feature-card.rok-feature-visible {
	opacity: 1;
	transform: translateY(0);
}


/* =========================================
   HOVER
========================================= */

.rok-feature-card:hover {
	box-shadow:
		0 10px 28px rgba(26, 67, 120, 0.12);
}


/* =========================================
   ICON
========================================= */

.rok-feature-card__icon-wrap {
	flex: 0 0 60px;

	width: 60px;
	height: 60px;

	display: flex;
	align-items: center;
	justify-content: center;

	margin-right: 15px;

	border-radius: 50%;

	background: #fff1e7;

	transition: transform 0.3s ease;
}

.rok-feature-card:hover .rok-feature-card__icon-wrap {
	transform: scale(1.06);
}

.rok-feature-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;

	font-size: 30px;
	line-height: 1;

	color: #fe7d02;
}

.rok-feature-card__icon svg {
	width: 30px;
	height: 30px;

	fill: currentColor;
}


/* =========================================
   CONTENT
========================================= */

.rok-feature-card__content {
	flex: 1 1 auto;
	min-width: 0;
}

.rok-feature-card__title {
	margin: 0 0 4px;

	font-size: 15px;
	font-weight: 700;
	line-height: 1.25;

	color: #173d70;
}

.rok-feature-card__description {
	font-size: 11px;
	font-weight: 400;
	line-height: 1.45;

	color: #68778f;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1024px) {

	.rok-features {
		padding: 60px 20px;
	}

	.rok-features__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 767px) {

	.rok-features {
		padding: 50px 16px;
	}

	.rok-features__eyebrow {
		font-size: 10px;
		letter-spacing: 1.2px;
	}

	.rok-features__title {
		font-size: 30px;
	}

	.rok-features__description {
		font-size: 14px;
	}

	.rok-features__grid {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-top: 25px;
	}

	.rok-feature-card {
		padding: 16px;
	}

}


/* =========================================
   SMALL MOBILE
========================================= */

@media (max-width: 480px) {

	.rok-features__eyebrow-line {
		width: 16px;
	}

	.rok-features__title {
		font-size: 27px;
	}

	.rok-feature-card__icon-wrap {
		flex-basis: 54px;
		width: 54px;
		height: 54px;
	}

	.rok-feature-card__icon {
		font-size: 26px;
	}

	.rok-feature-card__icon svg {
		width: 26px;
		height: 26px;
	}

}


/* =========================================
   REDUCED MOTION
========================================= */

@media (prefers-reduced-motion: reduce) {

	.rok-feature-card {
		opacity: 1;
		transform: none;
		transition: none;
	}

}