/*
|--------------------------------------------------------------------------
| Bilin Customer Feedback
|--------------------------------------------------------------------------
| Public customer feedback / trust section
|
| Used on:
| - Homepage
| - Official Translation
| - Document Category archives
| - Translation Language archives
|
| Important:
| This stylesheet must remain independent from page-specific PHP.
| The component controls its own width while respecting the
| available width of the parent page container.
|--------------------------------------------------------------------------
*/


/*
|--------------------------------------------------------------------------
| Root Section
|--------------------------------------------------------------------------
*/

.bilin-feedback-section {
	width: 100%;
	max-width: 100%;
	margin: 0 auto;
	padding: 72px 0;
	box-sizing: border-box;
	overflow: hidden;
}

.bilin-feedback-section *,
.bilin-feedback-section *::before,
.bilin-feedback-section *::after {
	box-sizing: border-box;
}


/*
|--------------------------------------------------------------------------
| Main Container
|--------------------------------------------------------------------------
*/

.bilin-feedback-container {
	width: min(100% - 40px, 1200px);
	max-width: 1200px;
	margin: 0 auto;
	padding: 0;
}


/*
|--------------------------------------------------------------------------
| Header
|--------------------------------------------------------------------------
*/

.bilin-feedback-header {
	width: 100%;
	max-width: 820px;
	margin: 0 auto 42px;
	text-align: center;
}

.bilin-feedback-heading {
	width: 100%;
	margin: 0;
}

.bilin-feedback-eyebrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	margin: 0 0 12px;
	font-size: 0.9rem;
	font-weight: 700;
	line-height: 1.7;
	color: #008f72;
	letter-spacing: 0.01em;
}

.bilin-feedback-eyebrow::before {
	content: "";
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: #f05a28;
	flex: 0 0 8px;
}

.bilin-feedback-title {
	margin: 0;
	font-size: clamp(1.7rem, 3vw, 2.35rem);
	font-weight: 800;
	line-height: 1.45;
	color: #16324f;
}

.bilin-feedback-intro {
	max-width: 720px;
	margin: 14px auto 0;
	font-size: 1rem;
	line-height: 2;
	color: #5f6f7f;
}


/*
|--------------------------------------------------------------------------
| Summary
|--------------------------------------------------------------------------
*/

.bilin-feedback-summary {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0 auto 34px;
	padding: 16px 22px;
	max-width: 620px;
	border: 1px solid rgba(0, 143, 114, 0.12);
	border-radius: 14px;
	background: #fffaf4;
}

.bilin-feedback-summary-rating {
	display: flex;
	align-items: center;
	gap: 10px;
}

.bilin-feedback-summary-stars {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	white-space: nowrap;
}

.bilin-feedback-summary-stars span {
	color: #f05a28;
	font-size: 1.05rem;
	line-height: 1;
}

.bilin-feedback-summary-count {
	font-size: 0.9rem;
	font-weight: 600;
	line-height: 1.7;
	color: #5f6f7f;
}


/*
|--------------------------------------------------------------------------
| Feedback Grid
|--------------------------------------------------------------------------
*/

.bilin-feedback-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	max-width: 1120px;
	margin: 0 auto;
	align-items: stretch;
}


/*
|--------------------------------------------------------------------------
| Feedback Card
|--------------------------------------------------------------------------
*/

.bilin-feedback-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	width: 100%;
	max-width: 100%;
	height: 100%;
	margin: 0;
	padding: 26px;
	border: 1px solid rgba(22, 50, 79, 0.09);
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 8px 28px rgba(22, 50, 79, 0.07);
	overflow: hidden;
	transition:
		transform 0.2s ease,
		box-shadow 0.2s ease,
		border-color 0.2s ease;
}

.bilin-feedback-card:hover {
	transform: translateY(-3px);
	border-color: rgba(0, 143, 114, 0.18);
	box-shadow: 0 14px 34px rgba(22, 50, 79, 0.11);
}


/*
|--------------------------------------------------------------------------
| Card Header
|--------------------------------------------------------------------------
*/

.bilin-feedback-card-header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 16px;
	width: 100%;
	min-width: 0;
	margin: 0 0 20px;
}

.bilin-feedback-customer {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	flex: 1 1 auto;
}

.bilin-feedback-avatar {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 44px;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: #008f72;
	color: #ffffff;
	font-size: 1rem;
	font-weight: 800;
	line-height: 1;
	overflow: hidden;
}

.bilin-feedback-avatar img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bilin-feedback-customer-info {
	min-width: 0;
	max-width: 100%;
}

.bilin-feedback-name {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 800;
	line-height: 1.6;
	color: #16324f;
	overflow-wrap: anywhere;
}

.bilin-feedback-verified {
	display: inline-flex;
	align-items: center;
	gap: 5px;
	margin-top: 2px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.5;
	color: #008f72;
}

.bilin-feedback-verified-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #008f72;
	color: #ffffff;
	font-size: 0.62rem;
	font-weight: 800;
	line-height: 1;
}


/*
|--------------------------------------------------------------------------
| Rating
|--------------------------------------------------------------------------
*/

.bilin-feedback-rating {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 3px;
	flex: 0 0 auto;
	white-space: nowrap;
}

.bilin-feedback-rating-value {
	margin-left: 5px;
	font-size: 0.82rem;
	font-weight: 700;
	line-height: 1.5;
	color: #5f6f7f;
}

.bilin-feedback-rating-star {
	color: #f05a28;
	font-size: 0.9rem;
	line-height: 1;
}


/*
|--------------------------------------------------------------------------
| Feedback Content
|--------------------------------------------------------------------------
*/

.bilin-feedback-content {
	flex: 1 1 auto;
	width: 100%;
	min-width: 0;
	margin: 0;
}

.bilin-feedback-content p {
	margin: 0;
	font-size: 0.95rem;
	font-weight: 400;
	line-height: 2;
	color: #3f5060;
	overflow-wrap: anywhere;
	word-break: normal;
}

.bilin-feedback-content p + p {
	margin-top: 12px;
}


/*
|--------------------------------------------------------------------------
| Bilin Response
|--------------------------------------------------------------------------
*/

.bilin-feedback-response {
	width: 100%;
	min-width: 0;
	margin-top: 22px;
	padding: 16px 17px;
	border-right: 3px solid #f05a28;
	border-radius: 10px;
	background: #fff8f2;
}

.bilin-feedback-response-header {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 7px;
}

.bilin-feedback-response-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #f05a28;
	color: #ffffff;
	font-size: 0.7rem;
	line-height: 1;
}

.bilin-feedback-response-title {
	margin: 0;
	font-size: 0.82rem;
	font-weight: 800;
	line-height: 1.6;
	color: #16324f;
}

.bilin-feedback-response-content {
	width: 100%;
	min-width: 0;
}

.bilin-feedback-response-content p {
	margin: 0;
	font-size: 0.83rem;
	line-height: 1.9;
	color: #596876;
	overflow-wrap: anywhere;
}


/*
|--------------------------------------------------------------------------
| Card Footer
|--------------------------------------------------------------------------
*/

.bilin-feedback-footer {
	width: 100%;
	margin-top: 22px;
	padding-top: 15px;
	border-top: 1px solid rgba(22, 50, 79, 0.08);
}

.bilin-feedback-footer-text {
	margin: 0;
	font-size: 0.76rem;
	font-weight: 600;
	line-height: 1.7;
	color: #7a8792;
}


/*
|--------------------------------------------------------------------------
| Links
|--------------------------------------------------------------------------
*/

.bilin-feedback-section a {
	color: inherit;
	text-decoration: none;
}

.bilin-feedback-section a:focus-visible {
	outline: 3px solid rgba(240, 90, 40, 0.3);
	outline-offset: 3px;
	border-radius: 4px;
}


/*
|--------------------------------------------------------------------------
| Large Tablet / Small Desktop
|--------------------------------------------------------------------------
*/

@media (max-width: 1100px) {

	.bilin-feedback-container {
		width: min(100% - 36px, 1040px);
	}

	.bilin-feedback-grid {
		gap: 20px;
		max-width: 100%;
	}

	.bilin-feedback-card {
		padding: 22px;
	}

	.bilin-feedback-card-header {
		gap: 12px;
	}

}


/*
|--------------------------------------------------------------------------
| Tablet
|--------------------------------------------------------------------------
*/

@media (max-width: 991px) {

	.bilin-feedback-section {
		padding: 60px 0;
	}

	.bilin-feedback-container {
		width: min(100% - 32px, 760px);
	}

	.bilin-feedback-header {
		margin-bottom: 34px;
	}

	.bilin-feedback-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 20px;
	}

	.bilin-feedback-card {
		padding: 22px;
	}

	.bilin-feedback-summary {
		margin-bottom: 28px;
	}

}


/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 767px) {

	.bilin-feedback-section {
		padding: 50px 0;
	}

	.bilin-feedback-container {
		width: min(100% - 28px, 600px);
	}

	.bilin-feedback-header {
		margin-bottom: 28px;
	}

	.bilin-feedback-eyebrow {
		font-size: 0.84rem;
	}

	.bilin-feedback-title {
		font-size: 1.65rem;
		line-height: 1.5;
	}

	.bilin-feedback-intro {
		font-size: 0.92rem;
		line-height: 1.9;
	}

	.bilin-feedback-summary {
		gap: 10px;
		margin-bottom: 24px;
		padding: 13px 16px;
	}

	.bilin-feedback-grid {
		grid-template-columns: 1fr;
		gap: 16px;
	}

	.bilin-feedback-card {
		padding: 20px;
		border-radius: 15px;
	}

	.bilin-feedback-card-header {
		margin-bottom: 17px;
	}

	.bilin-feedback-content p {
		font-size: 0.92rem;
		line-height: 1.95;
	}

}


/*
|--------------------------------------------------------------------------
| Small Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 480px) {

	.bilin-feedback-section {
		padding: 42px 0;
	}

	.bilin-feedback-container {
		width: calc(100% - 24px);
	}

	.bilin-feedback-header {
		margin-bottom: 24px;
	}

	.bilin-feedback-title {
		font-size: 1.45rem;
	}

	.bilin-feedback-intro {
		font-size: 0.88rem;
	}

	.bilin-feedback-summary {
		align-items: flex-start;
		flex-direction: column;
		width: 100%;
		max-width: 100%;
		padding: 12px 14px;
	}

	.bilin-feedback-summary-rating {
		width: 100%;
		justify-content: space-between;
	}

	.bilin-feedback-card {
		padding: 18px;
		border-radius: 14px;
	}

	.bilin-feedback-card-header {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
	}

	.bilin-feedback-rating {
		justify-content: flex-start;
	}

	.bilin-feedback-content p {
		font-size: 0.9rem;
	}

	.bilin-feedback-response {
		margin-top: 18px;
		padding: 14px;
	}

	.bilin-feedback-footer {
		margin-top: 18px;
		padding-top: 13px;
	}

}


/*
|--------------------------------------------------------------------------
| Reduced Motion
|--------------------------------------------------------------------------
*/

@media (prefers-reduced-motion: reduce) {

	.bilin-feedback-card {
		transition: none;
	}

	.bilin-feedback-card:hover {
		transform: none;
	}

}

/*
|--------------------------------------------------------------------------
| Feedback Trust Notice
|--------------------------------------------------------------------------
*/

.bilin-feedback-footer {
	width: 100%;
	max-width: 1120px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 0;
	padding-right: 0;
}

.bilin-feedback-footer-text {
	max-width: 100%;
	overflow-wrap: anywhere;
	word-break: normal;
}