/* ==========================================================
   HOMIRX TESTIMONIALS — shared vars
   ========================================================== */
.hmx-testi-wrap {
	--hmx-orange: #f2683c;
	--hmx-navy: #0e1c3d;
	box-sizing: border-box;
	max-width: 100%;
	overflow-x: hidden;
}
.hmx-testi-wrap *,
.hmx-testi-wrap *::before,
.hmx-testi-wrap *::after { box-sizing: border-box; }

.hmx-testi-head { text-align: center; margin-bottom: 40px; }
.hmx-label {
	color: var(--hmx-orange);
	font-weight: 600;
	letter-spacing: .5px;
	display: block;
	margin-bottom: 10px;
}
.hmx-title { margin: 0; font-size: 38px; font-weight: 700; line-height: 1.2; }

.hmx-slider { overflow: hidden; position: relative; max-width: 100%; }
.hmx-track {
	display: flex;
	transition: transform .6s cubic-bezier(.4,0,.2,1);
	will-change: transform;
}
.hmx-slide { flex: 0 0 auto; padding: 0 12px; }
@media (max-width: 600px) {
	.hmx-slide { padding: 0 6px; }
}

.hmx-stars { color: var(--hmx-orange); letter-spacing: 2px; font-size: 16px; }

.hmx-dots {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 30px;
}
.hmx-dots span {
	width: 24px;
	height: 6px;
	border-radius: 4px;
	background: rgba(120,120,120,.35);
	cursor: pointer;
	transition: all .3s ease;
	display: inline-block;
}
.hmx-dots span.active {
	width: 34px;
	background: var(--hmx-orange);
}

/* ==========================================================
   DARK STYLE — About Us page
   ========================================================== */
.hmx-testi-dark {
	background: #16243E;
	padding: 80px 20px;
	color: #fff;
	border-radius: 6px;
}
.hmx-testi-dark .hmx-title { color: #fff; }
.hmx-testi-dark .hmx-slide { width: 33.3333%; }

.hmx-testi-dark .hmx-card {
	background: rgba(255,255,255,.02);
	border: 1px solid rgba(255,255,255,.12);
	border-radius: 8px;
	padding: 34px 30px;
	height: 100%;
	cursor: default;
	transition: background .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease;
}
.hmx-testi-dark .hmx-card:hover,
.hmx-testi-dark .hmx-card.is-highlight {
	background: #1c2e2c;
	border-color: #3f5c4e;
	/* transform: translateY(-8px); */
	box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.hmx-testi-dark .hmx-text {
	color: #aab2c5;
	line-height: 1.7;
	margin: 18px 0 26px;
	font-size: 15px;
}
.hmx-testi-dark .hmx-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
.hmx-testi-dark .hmx-person { display: flex; align-items: center; gap: 14px; }
.hmx-testi-dark .hmx-avatar {
	width: 50px; height: 50px; border-radius: 50%; object-fit: cover;
}
.hmx-testi-dark .hmx-name { font-weight: 700; color: #fff; font-size: 16px; }
.hmx-testi-dark .hmx-role { color: #8791a8; font-size: 13px; margin-top: 2px; }
.hmx-testi-dark .hmx-quote-icon {
	color: var(--hmx-orange);
	font-size: 26px;
	line-height: 1;
	opacity: .9;
}

@media (max-width: 991px) {
	.hmx-testi-dark .hmx-slide { width: 50%; }
	.hmx-testi-dark .hmx-card { padding: 28px 24px; }
}
@media (max-width: 600px) {
	.hmx-testi-dark .hmx-slide { width: 100%; }
	.hmx-testi-dark { padding: 50px 16px; }
	.hmx-testi-dark .hmx-card:hover { transform: none; }
	.hmx-title { font-size: 26px; }
	.hmx-testi-dark .hmx-text { font-size: 14px; margin: 14px 0 20px; }
	.hmx-testi-dark .hmx-avatar { width: 44px; height: 44px; }
	.hmx-testi-dark .hmx-name { font-size: 15px; }
}

/* ==========================================================
   LIGHT STYLE — Home page
   ========================================================== */
.hmx-testi-light {
	background: #f8efe6;
	padding: 80px 20px;
	border-radius: 6px;
}
.hmx-light-inner {
	display: flex;
	align-items: center;
	gap: 60px;
	max-width: 1200px;
	margin: 0 auto;
	overflow: hidden;
}
.hmx-side-image {
	flex: 0 0 42%;
	border-radius: 50% 50% 50% 4%;
	overflow: hidden;
}
.hmx-side-image img { width: 100%; display: block; }
.hmx-light-content { flex: 1; min-width: 0; }
.hmx-testi-light .hmx-testi-head { text-align: left; }
.hmx-testi-light .hmx-title { color: var(--hmx-navy); font-size: 34px; }
.hmx-testi-light .hmx-slide { width: 50%; }

.hmx-testi-light .hmx-card {
	background: #fff;
	border-top: 4px solid var(--hmx-orange);
	border-radius: 6px;
	padding: 30px 26px;
	box-shadow: 0 15px 35px rgba(20,30,60,.08);
	position: relative;
	height: 100%;
	cursor: default;
	transition: transform .35s ease, box-shadow .35s ease, background .35s ease;
}
.hmx-testi-light .hmx-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 25px 45px rgba(20,30,60,.16);
	background: #fffaf6;
}
.hmx-testi-light .hmx-quote-icon {
	position: absolute;
	top: 20px;
	right: 22px;
	color: var(--hmx-orange);
	font-size: 26px;
	opacity: .9;
}
.hmx-testi-light .hmx-person { display: flex; align-items: center; gap: 14px; margin-bottom: 16px; }
.hmx-testi-light .hmx-avatar {
	width: 54px; height: 54px; border-radius: 50%; object-fit: cover;
}
.hmx-testi-light .hmx-name { font-weight: 700; color: var(--hmx-navy); font-size: 16px; }
.hmx-testi-light .hmx-role { color: #8b93a6; font-size: 13px; margin: 2px 0 6px; }
.hmx-testi-light .hmx-text {
	color: #6c7488;
	line-height: 1.7;
	font-size: 15px;
	margin: 0;
}
.hmx-testi-light .hmx-dots { justify-content: flex-start; }

@media (max-width: 991px) {
	.hmx-light-inner { flex-direction: column; gap: 30px; }
	.hmx-side-image { flex: 0 0 auto; width: 70%; }
	.hmx-testi-light .hmx-testi-head,
	.hmx-testi-light .hmx-dots { text-align: center; justify-content: center; }
}
@media (max-width: 600px) {
	.hmx-testi-light .hmx-slide { width: 100%; }
	.hmx-testi-light { padding: 40px 16px; }
	.hmx-testi-light .hmx-title { font-size: 24px; }
	.hmx-side-image { width: 100%; border-radius: 20px; }
	.hmx-testi-light .hmx-card { padding: 24px 20px; }
	.hmx-testi-light .hmx-card:hover { transform: none; }
	.hmx-testi-light .hmx-text { font-size: 14px; }
	.hmx-testi-light .hmx-avatar { width: 46px; height: 46px; }
}
