/*
 * NGENCO service-page section refinements.
 * Scoped to the shared Why Choose component to avoid affecting legacy cards.
 */

.ngenco-why-section {
	--ngenco-why-navy: #12212b;
	--ngenco-why-teal: #19adbe;
	--ngenco-why-copy: #53646f;
	--ngenco-why-line: #d8e4e7;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(64px, 7vw, 108px) 0 clamp(58px, 6vw, 92px) !important;
	background: #f4f8f9;
}

.ngenco-why-section::before {
	content: "";
	position: absolute;
	z-index: -2;
	top: -38%;
	right: -12%;
	width: min(48vw, 760px);
	aspect-ratio: 1;
	border-radius: 50%;
	background: rgba(25, 173, 190, 0.045);
}

.ngenco-why-section::after {
	content: "";
	position: absolute;
	z-index: -1;
	bottom: -210px;
	left: -150px;
	width: 520px;
	height: 520px;
	opacity: 0.45;
	transform: rotate(45deg);
	background:
		linear-gradient(90deg, transparent 0 47%, rgba(25, 173, 190, 0.13) 47% 47.4%, transparent 47.4% 100%),
		linear-gradient(0deg, transparent 0 67%, rgba(18, 33, 43, 0.08) 67% 67.4%, transparent 67.4% 100%);
	pointer-events: none;
}

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

.ngenco-why-section .ngenco-why-inner {
	position: relative;
	z-index: 1;
	width: min(92%, 1420px) !important;
	max-width: 1420px !important;
	margin-right: auto !important;
	margin-left: auto !important;
}

.ngenco-why-header {
	max-width: 960px;
	margin: 0 auto clamp(36px, 4vw, 58px);
	text-align: center;
}

.ngenco-why-eyebrow {
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	margin: 0 0 22px;
	color: var(--ngenco-why-teal);
	font-family: "Bai Jamjuree", sans-serif;
	font-size: 14px;
	font-weight: 700;
	letter-spacing: 0.28em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ngenco-why-eyebrow::after {
	content: "";
	display: block;
	width: 116px;
	height: 3px;
	background: var(--ngenco-why-teal);
}

.ngenco-why-title {
	margin: 0;
	color: var(--ngenco-why-navy) !important;
	font-family: "Bai Jamjuree", sans-serif;
	font-size: clamp(38px, 4.2vw, 64px) !important;
	font-weight: 700 !important;
	letter-spacing: -0.035em;
	line-height: 1.02 !important;
	text-transform: uppercase;
}

.ngenco-why-title span {
	color: var(--ngenco-why-teal) !important;
}

.ngenco-why-intro {
	max-width: 880px;
	margin: 18px auto 0 !important;
	color: var(--ngenco-why-copy) !important;
	font-size: clamp(17px, 1.45vw, 22px) !important;
	line-height: 1.55 !important;
	text-align: center;
	text-transform: none !important;
}

.ngenco-why-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ngenco-why-card {
	position: relative;
	min-width: 0;
	min-height: 255px;
	overflow: hidden;
	padding: 31px 28px 30px;
	border: 1px solid var(--ngenco-why-line);
	border-top: 4px solid var(--ngenco-why-teal);
	background: rgba(255, 255, 255, 0.9);
	box-shadow: 0 14px 30px rgba(18, 33, 43, 0.075);
	text-align: left;
	transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.ngenco-why-card:hover {
	transform: translateY(-5px);
	border-color: rgba(25, 173, 190, 0.55);
	box-shadow: 0 22px 44px rgba(18, 33, 43, 0.12);
}

.ngenco-why-serial {
	position: relative;
	z-index: 2;
	display: block;
	color: var(--ngenco-why-teal);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.2em;
	line-height: 1;
	text-transform: uppercase;
}

.ngenco-why-ghost {
	position: absolute;
	z-index: 1;
	top: 9px;
	right: 22px;
	color: rgba(25, 173, 190, 0.1);
	font-size: clamp(54px, 4.2vw, 68px);
	font-weight: 700;
	letter-spacing: -0.06em;
	line-height: 1;
	pointer-events: none;
}

.ngenco-why-card h3 {
	position: relative;
	z-index: 2;
	margin: 42px 0 14px;
	color: var(--ngenco-why-navy) !important;
	font-family: "Bai Jamjuree", sans-serif;
	font-size: clamp(20px, 1.55vw, 25px) !important;
	font-weight: 700 !important;
	letter-spacing: -0.025em;
	line-height: 1.08 !important;
	text-transform: none;
}

.ngenco-why-card p {
	position: relative;
	z-index: 2;
	margin: 0 !important;
	color: var(--ngenco-why-copy) !important;
	font-size: 16px !important;
	line-height: 1.48 !important;
	text-align: left !important;
	text-transform: none !important;
}

.ngenco-why-assurance {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
	margin-top: clamp(48px, 5vw, 72px);
	padding-top: 26px;
	border-top: 1px solid var(--ngenco-why-line);
}

.ngenco-why-assurance-card {
	display: flex;
	align-items: center;
	min-width: 0;
	min-height: 94px;
	padding: 17px 24px;
	border: 1px solid var(--ngenco-why-line);
	border-radius: 17px;
	background: #fff;
	box-shadow: 0 14px 30px rgba(18, 33, 43, 0.075);
	text-align: left;
}

.ngenco-why-assurance-icon {
	display: inline-flex;
	flex: 0 0 58px;
	align-items: center;
	justify-content: center;
	width: 58px;
	height: 58px;
	margin-right: 18px;
	overflow: hidden;
	border-radius: 50%;
	background: var(--ngenco-why-teal);
}

.ngenco-why-assurance-icon img {
	display: block;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	object-fit: contain;
}

.ngenco-why-assurance-card h3 {
	margin: 0;
	color: var(--ngenco-why-navy) !important;
	font-family: "Bai Jamjuree", sans-serif;
	font-size: clamp(17px, 1.35vw, 21px) !important;
	font-weight: 700 !important;
	line-height: 1.25 !important;
	text-align: left !important;
	text-transform: none !important;
}

.ngenco-why-section .benefits-columns-wrapper,
.ngenco-why-section .benefits-cards-mobile {
	margin-top: 54px;
}

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

	.ngenco-why-card {
		min-height: 235px;
	}

	.ngenco-why-assurance {
		gap: 18px;
	}
}

@media (max-width: 760px) {
	.ngenco-why-section .ngenco-why-inner {
		width: min(90%, 680px) !important;
	}

	.ngenco-why-eyebrow {
		font-size: 11px;
		letter-spacing: 0.22em;
	}

	.ngenco-why-title {
		font-size: clamp(34px, 11vw, 48px) !important;
	}

	.ngenco-why-intro {
		font-size: 17px !important;
	}

	.ngenco-why-grid,
	.ngenco-why-assurance {
		grid-template-columns: 1fr;
	}

	.ngenco-why-grid {
		gap: 16px;
	}

	.ngenco-why-card {
		min-height: 0;
		padding: 27px 25px 29px;
	}

	.ngenco-why-card h3 {
		margin-top: 35px;
		font-size: 22px !important;
	}

	.ngenco-why-card p {
		font-size: 15px !important;
	}

	.ngenco-why-assurance {
		gap: 14px;
		margin-top: 44px;
		padding-top: 20px;
	}

	.ngenco-why-assurance-card {
		min-height: 84px;
		padding: 14px 18px;
	}

	.ngenco-why-assurance-icon {
		flex-basis: 52px;
		width: 52px;
		height: 52px;
		margin-right: 15px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.ngenco-why-card {
		transition: none;
	}
}

/*
 * Add-on cards: remove the legacy oversized title panel while retaining
 * the shared title height that keeps each row visually aligned.
 */
#ad-ons .Add-Ons .addons-text {
	min-height: 0 !important;
	box-sizing: border-box;
}

.ppf-section .buttons .btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.ppf-section .ngenco-cta-contact-icon {
	flex: 0 0 auto;
	width: 1em;
	height: 1em;
}
