.qms-why,
.qms-why * {
	box-sizing: border-box;
}

.qms-why {
	--qms-why-pink: #c4005f;
	--qms-why-pink-light: #fff0f6;
	--qms-why-dark: #171717;
	--qms-why-text: #535353;
	--qms-why-border: #eee;

	width: 80%;
	max-width: 1440px;
	margin: 0 auto;
	padding: 64px 24px;
	font-family: Inter, "Work Sans", Arial, sans-serif;
}

.qms-why__header {
	max-width: 850px;
	margin: 0 auto 34px;
	text-align: center;
}

.qms-why__header h2 {
	margin: 0;
	color: var(--qms-why-dark);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(30px, 3vw, 44px);
	font-weight: 700;
	line-height: 1.15;
}

.qms-why__header h2 strong {
	color: var(--qms-why-pink);
	font-weight: 700;
}

.qms-why__line {
	display: block;
	width: 48px;
	height: 3px;
	margin: 18px auto 15px;
	background: var(--qms-why-pink);
	border-radius: 99px;
}

.qms-why__header p {
	max-width: 720px;
	margin: 0 auto;
	color: #666;
	font-size: 15px;
	font-weight: 400;
	line-height: 1.55;
}

.qms-why__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 18px;
}

.qms-why-card {
	position: relative;
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	align-items: start;
	gap: 22px;
	min-height: 220px;
	padding: 28px;
	overflow: hidden;
	background: linear-gradient(135deg, #fff, rgba(255, 248, 251, 0.72));
	border: 1px solid var(--qms-why-border);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(20, 20, 20, 0.06), 0 2px 8px rgba(196, 0, 95, 0.025);
	transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

@media (hover: hover) and (pointer: fine) {
	.qms-why-card:hover {
		transform: translateY(-4px);
		border-color: rgba(196, 0, 95, 0.22);
		box-shadow: 0 18px 38px rgba(20, 20, 20, 0.09), 0 5px 16px rgba(196, 0, 95, 0.07);
	}

	.qms-why-cta__button:hover {
		color: var(--qms-why-pink);
		background: #fff;
		transform: translateY(-2px);
	}
}

.qms-why-card:focus-visible {
	transform: translateY(-4px);
	border-color: rgba(196, 0, 95, 0.35);
	outline: 3px solid rgba(196, 0, 95, 0.34);
	outline-offset: 3px;
	box-shadow: 0 18px 38px rgba(20, 20, 20, 0.09), 0 5px 16px rgba(196, 0, 95, 0.07);
}

.qms-why-card__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 82px;
	height: 82px;
	color: var(--qms-why-pink);
	background: var(--qms-why-pink-light);
	border-radius: 50%;
}

.qms-why-card__icon svg {
	width: 50px;
	height: 50px;
	fill: none;
	stroke: currentcolor;
	stroke-width: 2.6;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.qms-why-card__content {
	min-width: 0;
}

.qms-why-card__content h3 {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	margin: 4px 0 0;
	color: var(--qms-why-dark);
	font-size: 21px;
	font-weight: 800;
	line-height: 1.15;
}

.qms-why-card__content h3 strong {
	color: var(--qms-why-pink);
	font-size: 24px;
	font-weight: 850;
}

.qms-why-card__content h3 span {
	color: var(--qms-why-dark);
}

.qms-why-card:nth-child(2) h3 strong,
.qms-why-card:nth-child(3) h3 strong {
	color: var(--qms-why-dark);
}

.qms-why-card:nth-child(2) .qms-why-card__highlight,
.qms-why-card:nth-child(3) h3 strong + span {
	color: var(--qms-why-pink);
}

.qms-why-card__line {
	display: block;
	width: 38px;
	height: 2px;
	margin: 16px 0 13px;
	background: var(--qms-why-pink);
	border-radius: 99px;
}

.qms-why-card__content p {
	margin: 0;
	color: var(--qms-why-text);
	font-size: 13px;
	font-weight: 430;
	line-height: 1.55;
}

.qms-why-card__content .qms-why-card__highlight {
	margin-bottom: 5px;
	color: var(--qms-why-pink);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
}

.qms-why-cta {
	display: grid;
	grid-template-columns: minmax(250px, 1.15fr) minmax(480px, 2fr) auto;
	align-items: center;
	gap: 22px;
	margin-top: 20px;
	padding: 18px 20px;
	background: linear-gradient(135deg, rgba(255, 244, 249, 0.96), rgba(255, 255, 255, 0.96));
	border: 1px solid rgba(196, 0, 95, 0.1);
	border-radius: 12px;
	box-shadow: 0 8px 26px rgba(20, 20, 20, 0.04);
}

.qms-why-cta__intro {
	display: flex;
	align-items: center;
	gap: 14px;
}

.qms-why-cta__main-icon {
	display: flex;
	flex: 0 0 58px;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	color: var(--qms-why-pink);
	background: #fff;
	border: 1px solid rgba(196, 0, 95, 0.1);
	border-radius: 50%;
}

.qms-why-cta__main-icon svg {
	width: 34px;
	height: 34px;
	fill: none;
	stroke: currentcolor;
	stroke-width: 2.4;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.qms-why-cta__intro > div:last-child {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.qms-why-cta__intro strong {
	color: var(--qms-why-dark);
	font-size: 15px;
	font-weight: 800;
	line-height: 1.2;
}

.qms-why-cta__intro span {
	color: var(--qms-why-text);
	font-size: 11px;
	line-height: 1.45;
}

.qms-why-cta__benefits {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
}

.qms-why-cta__benefit {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	min-height: 54px;
	padding: 0 15px;
	border-left: 1px solid rgba(196, 0, 95, 0.11);
}

.qms-why-cta__benefit svg {
	flex: 0 0 27px;
	width: 27px;
	height: 27px;
	fill: none;
	stroke: var(--qms-why-pink);
	stroke-width: 2.5;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.qms-why-cta__benefit span {
	color: #333;
	font-size: 11px;
	font-weight: 700;
	line-height: 1.3;
}

.qms-why-cta__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-width: 215px;
	min-height: 48px;
	padding: 12px 20px;
	color: #fff;
	background: var(--qms-why-pink);
	border: 2px solid var(--qms-why-pink);
	border-radius: 7px;
	font-size: 12px;
	font-weight: 850;
	line-height: 1.1;
	text-decoration: none;
	text-transform: uppercase;
	transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.qms-why-cta__button:focus-visible {
	outline: 3px solid rgba(196, 0, 95, 0.34);
	outline-offset: 3px;
}

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

	.qms-why-card__content p {
		letter-spacing: 0.01em;
	}

	.qms-why-cta {
		grid-template-columns: 1fr auto;
	}

	.qms-why-cta__benefits {
		grid-row: 2;
		grid-column: 1 / -1;
	}
}

@media (max-width: 976px) {
	.qms-why {
		width: 100%;
	}
}

@media (max-width: 850px) {
	.qms-why {
		padding: 50px 18px;
	}

	.qms-why-card {
		grid-template-columns: 70px minmax(0, 1fr);
		gap: 17px;
		padding: 24px 20px;
	}

	.qms-why-card__icon {
		width: 70px;
		height: 70px;
	}

	.qms-why-card__icon svg {
		width: 42px;
		height: 42px;
	}

	.qms-why-cta {
		grid-template-columns: 1fr;
	}

	.qms-why-cta__benefits {
		grid-row: auto;
		grid-column: auto;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.qms-why-cta__benefit {
		justify-content: flex-start;
		padding: 14px 10px;
		border-top: 1px solid rgba(196, 0, 95, 0.1);
		border-left: 0;
	}

	.qms-why-cta__button {
		width: 100%;
	}
}

@media (max-width: 620px) {
	.qms-why {
		padding: 42px 14px;
	}

	.qms-why__header {
		margin-bottom: 26px;
	}

	.qms-why__header h2 {
		font-size: 29px;
	}

	.qms-why__header p {
		font-size: 13px;
	}

	.qms-why__grid {
		grid-template-columns: 1fr;
		gap: 13px;
	}

	.qms-why-card {
		grid-template-columns: 64px minmax(0, 1fr);
		gap: 15px;
		min-height: auto;
		padding: 20px 16px;
	}

	.qms-why-card__icon {
		width: 64px;
		height: 64px;
	}

	.qms-why-card__icon svg {
		width: 38px;
		height: 38px;
	}

	.qms-why-card__content h3 {
		font-size: 18px;
	}

	.qms-why-card__content h3 strong {
		font-size: 21px;
	}

	.qms-why-card__content p {
		font-size: 12px;
		letter-spacing: normal;
	}

	.qms-why-cta {
		padding: 18px 15px;
	}

	.qms-why-cta__benefits {
		grid-template-columns: 1fr;
	}
}

@media (prefers-reduced-motion: reduce) {
	.qms-why-card,
	.qms-why-cta__button {
		transition-duration: 0.01ms;
	}
}
