/* ==========================================================================
   Why you should choose Cybronet — benefits section
   --brand-blue / --font-manrope imported from style.css :root, not redefined
   ========================================================================== */
.benefits {
	position: relative;
	background: #f8f9fb;
	padding: 110px 0;
	overflow: hidden;
	font-family: var(--font-manrope);
}

.benefits__dots {
	position: absolute;
	width: 420px;
	height: 420px;
	background-image: radial-gradient(#d9d6cf 2.5px, transparent 2.5px);
	background-size: 22px 22px;
	pointer-events: none;
	z-index: 0;
}
.benefits__dots--tr {
	top: 0;
	right: 0;
	mask-image: radial-gradient(circle at 100% 0%, black 0%, black 35%, transparent 72%);
	-webkit-mask-image: radial-gradient(circle at 100% 0%, black 0%, black 35%, transparent 72%);
}
.benefits__dots--bl {
	bottom: 0;
	left: 0;
	mask-image: radial-gradient(circle at 0% 100%, black 0%, black 35%, transparent 72%);
	-webkit-mask-image: radial-gradient(circle at 0% 100%, black 0%, black 35%, transparent 72%);
}

.benefits__container {
	position: relative;
	z-index: 1;
	max-width: 1480px;
	margin: 0 auto;
	padding: 0 24px;
}

/* ==========================================================================
   Header
   ========================================================================== */
.benefits__header {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	max-width: 800px;
	margin: 0 auto 56px;
}
.benefits__eyebrow {
	display: block;
	font-size: 14px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 2px;
	color: var(--brand-blue);
	margin-bottom: 16px;
}
.benefits__headline {
	font-size: clamp(36px, 3.6vw, 56px);
	font-weight: 800;
	line-height: 1.2;
	color: #2b2b33;
	letter-spacing: -1px;
	margin: 0;
}
.benefits__intro {
	font-size: 17px;
	font-weight: 400;
	line-height: 1.85;
	color: #7b7b85;
	margin: 24px 0 0;
}

/* ==========================================================================
   Card grid
   ========================================================================== */
.benefits__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
	overflow: visible;
}

.benefit-card {
	position: relative;
	background: #fff;
	border-radius: 12px;
	padding: 32px 28px;
	display: flex;
	align-items: center;
	text-align: left;
	gap: 24px;
	cursor: pointer;
	box-shadow: 0 4px 16px rgba(9, 38, 122, 0.04);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
	border: 1px solid transparent;
}
.benefit-card::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	border-radius: 16px;
	background: linear-gradient(135deg,
		#2f87ff 0%, #2f87ff 48%,
		#0b63f6 48.15%, #0b63f6 100%);
	opacity: 0;
	transition: opacity .3s ease;
}
.benefit-card:hover::before,
.benefit-card.is-active::before {
	opacity: 1;
}

.benefit-card:hover,
.benefit-card.is-active {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(11, 99, 246, .12);
	border-color: #0060f0;
	z-index: 2;
}

.benefit-card__icon {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 64px;
	height: 64px;
	margin: 0;
	color: #0060f0;
	background: #eef4ff;
	border-radius: 12px;
	padding: 14px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.5;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: background .3s ease, color .3s ease;
}
.benefit-card__label {
	position: relative;
	z-index: 1;
	font-size: 20px;
	font-weight: 700;
	color: #2b2b33;
	margin: 0;
	transition: color .3s ease;
}

.benefit-card:hover .benefit-card__icon,
.benefit-card.is-active .benefit-card__icon {
	color: #fff;
	background: #0060f0;
}
.benefit-card:hover .benefit-card__label,
.benefit-card.is-active .benefit-card__label {
	color: #0060f0;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1024px) {
	.benefits { padding: 80px 0; }
	.benefits__header { margin-bottom: 40px; }
	.benefits__dots { width: 300px; height: 300px; }
}

@media (max-width: 768px) {
	.benefits__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
	.benefits { padding: 56px 0; }
	.benefits__grid { grid-template-columns: 1fr; }
	.benefit-card { padding: 24px 20px; }
	.benefit-card__icon { width: 56px; height: 56px; padding: 12px; margin-bottom: 0; }
	.benefit-card__label { font-size: 18px; }
	.benefits__dots { width: 200px; height: 200px; }
}

/* ==========================================================================
   Desktop refinements (>=1024px only — mobile/tablet untouched)
   The 800px header sat ~316px short of the card grid on each side; widening
   removing it lets the headline and intro run out to the same edges the
   cards already use, still centred.
   ========================================================================== */
@media (min-width: 1024px) {
	.benefits__headline { font-size: clamp(38px, calc(3.6vw + 2px), 58px); }
	.benefit-card__label { font-size: 22px; }
	.benefits__header { max-width: none; }
	.benefits__intro { font-size: 19px; }
}
