/**
 * DX Hero
 */


/* =========================================================
   BASE
   ========================================================= */

.dx-hero {
	position: relative;
	width: 100%;
	background: #ffffff;
	overflow: hidden;
	margin-top: -20px;
}

.dx-hero *,
.dx-hero *::before,
.dx-hero *::after {
	box-sizing: border-box;
}


/* =========================================================
   CONTAINER
   ========================================================= */

.dx-hero__container {
	position: relative;

	width: 100%;
	max-width: 1440px;

	min-height: 500px;

	margin: 0 auto;
	padding: 0 0 0 40px;

	display: grid;
	grid-template-columns: 42% 58%;

	align-items: stretch;
}


/* =========================================================
   CONTENT
   ========================================================= */

.dx-hero__content {
	position: relative;
	z-index: 2;

	width: 100%;
	max-width: 570px;

	padding: 20px 35px 45px 0;

	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
}


/* =========================================================
   EYEBROW
   ========================================================= */

.dx-hero__eyebrow {
	display: inline-flex;
	align-items: center;

	margin-bottom: 18px;
	padding: 7px 14px;

	color: #ffffff;
	background: #102653;

	border-radius: 14px;

	font-size: 12px;
	font-weight: 800;
	line-height: 16px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
}


/* =========================================================
   TITLE
   ========================================================= */

.dx-hero__title {
	margin: 0 0 20px;
	padding: 0;

	color: #102653;

	font-family: inherit;
	font-size: clamp(52px, 4vw, 68px);
	font-weight: 800;
	line-height: 0.98;
	letter-spacing: -0.045em;
}

.dx-hero__title-line,
.dx-hero__title-highlight {
	display: block;
}

.dx-hero__title-highlight {
	color: #FD9800;
}


/* =========================================================
   DESCRIPTION
   ========================================================= */

.dx-hero__description {
	max-width: 570px;

	margin: 0 0 24px;

	color: #596477;

	font-size: 16px;
	font-weight: 400;
	line-height: 1.55;
}


/* =========================================================
   BENEFITS
   ========================================================= */

.dx-hero__benefits {
	display: flex;
	flex-wrap: wrap;
	align-items: center;

	margin: 0 0 26px;

	color: #102653;

	font-size: 13px;
	font-weight: 700;
	line-height: 20px;
}

.dx-hero__benefit {
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

.dx-hero__benefit:not(:last-child)::after {
	content: "";

	width: 5px;
	height: 5px;

	margin: 0 12px;

	background: #FD9800;

	border-radius: 50%;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.dx-hero__buttons {
	display: flex;
	align-items: center;
	flex-wrap: wrap;

	gap: 12px;

	margin: 0 0 25px;
}


/* Common */

.dx-hero__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	min-height: 48px;

	padding: 0 20px;

	border-radius: 6px;

	font-size: 13px;
	font-weight: 800;
	line-height: 20px;

	text-decoration: none;
	white-space: nowrap;

	transition:
		background-color 0.2s ease,
		border-color 0.2s ease,
		color 0.2s ease,
		transform 0.2s ease,
		box-shadow 0.2s ease;
}


/* Primary */

.dx-hero__button--primary {
	gap: 22px;

	color: #ffffff;
	background: #FD9800;

	border: 1px solid #FD9800;

	box-shadow: none;
}

.dx-hero__button--primary:hover {
	color: #ffffff;
	background: #dc4617;
	border-color: #dc4617;

	transform: translateY(-1px);
}


/* Arrow */

.dx-hero__button-arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	font-size: 21px;
	font-weight: 400;
	line-height: 1;

	transition: transform 0.2s ease;
}

.dx-hero__button--primary:hover .dx-hero__button-arrow {
	transform: translateX(3px);
}


/* Secondary */

.dx-hero__button--secondary {
	gap: 9px;

	color: #102653;
	background: #ffffff;

	border: 1px solid #b9c0cc;
}

.dx-hero__button--secondary:hover {
	color: #102653;
	background: #f8f9fa;
	border-color: #102653;

	transform: translateY(-1px);
}


/* Phone icon */

.dx-hero__button-phone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	font-size: 15px;
	line-height: 1;
}

.dx-hero__button-phone-icon i {
	display: block;
}


/* =========================================================
   RATING
   ========================================================= */

.dx-hero__rating {
	display: flex;
	flex-direction: column;

	margin: 0;
}

.dx-hero__rating-top {
	display: flex;
	align-items: center;

	gap: 10px;

	margin-bottom: 4px;
}

.dx-hero__stars {
	display: flex;
	align-items: center;

	gap: 2px;
}

.dx-hero__star {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	color: #FD9800;

	font-size: 17px;
	line-height: 1;
}

.dx-hero__star i {
	display: block;
}

.dx-hero__rating-score {
	color: #102653;

	font-size: 15px;
	font-weight: 800;
	line-height: 20px;
}

.dx-hero__rating-bottom {
	display: flex;
	align-items: center;

	gap: 4px;

	color: #697180;

	font-size: 14px;
	line-height: 18px;
}

.dx-hero__rating-bottom strong {
	color: #102653;
	font-weight: 800;
}


/* =========================================================
   VISUAL
   ========================================================= */

.dx-hero__visual {
	position: relative;
	z-index: 1;

	width: 58vw;
	min-width: 0;
	    right: 0;
	min-height: 500px;
}


/* =========================================================
   IMAGE
   ========================================================= */

.dx-hero__image {
	position: relative;

	width: 100%;
	height: 100%;
	min-height: 500px;

	overflow: hidden;

	border-radius: 0;
	background: #eef0f3;
}

.dx-hero__image img {
    display: block;
    width: 100%;
    height: 100% !important;
    margin: 0;
    padding: 0;
    object-fit: cover;
    object-position: center center !important;
    position: absolute;
    max-width: inherit !important;

}


/* =========================================================
   FEATURE CARD
   ========================================================= */

.dx-hero__feature {
	position: absolute;

	left: 25px;
	bottom: 18px;

	z-index: 3;

	display: flex;
	align-items: flex-start;

	width: min(390px, 80%);

	padding: 18px 22px;

	background: #ffffff;

	border: 1px solid #e6e8ed;
	border-radius: 7px;

	box-shadow: 0 12px 30px rgba(16, 38, 83, 0.13);
}

.dx-hero__feature-icon {
	flex: 0 0 auto;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 46px;
	height: 46px;

	margin-right: 15px;

	color: #FD9800;
	background: #fff4ef;

	border-radius: 5px;

	font-size: 20px;
	line-height: 1;
}

.dx-hero__feature-icon i {
	display: block;
}

.dx-hero__feature-content {
	flex: 1 1 auto;
	min-width: 0;
}

.dx-hero__feature-title {
	margin: 0 0 6px;
	padding: 0;

	color: #102653;

	font-size: 16px;
	font-weight: 800;
	line-height: 20px;
}

.dx-hero__feature-description {
	color: #596477;

	font-size: 14px;
	font-weight: 400;
	line-height: 17px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1100px) {

	.dx-hero__container {
		min-height: 520px;

		padding-left: 25px;

		grid-template-columns: 43% 57%;
	}

	.dx-hero__content {
		padding-right: 25px;
	}

	.dx-hero__title {
		font-size: clamp(44px, 5vw, 58px);
	}

	.dx-hero__description {
		font-size: 15px;
	}

	.dx-hero__benefits {
		font-size: 14px;
	}

	.dx-hero__button {
		min-height: 48px;

		padding-left: 16px;
		padding-right: 16px;

		font-size: 12px;
	}

	.dx-hero__visual,
	.dx-hero__image {
		min-height: 520px;
	}

	.dx-hero__feature {
		right: 15px;
		bottom: 15px;

		width: 78%;
	}

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.dx-hero {
		overflow: visible;
		margin-top: 0px !important;
	}

	.dx-hero__container {
		min-height: 0;

		padding: 40px 38px 50px;

		display: flex;
		flex-direction: column;
		align-items: stretch;

		gap: 0;
	}

	.dx-hero__content {
		max-width: none;

		padding: 0;

		display: flex;
		align-items: stretch;
	}

	/* Eyebrow */

	.dx-hero__eyebrow {
		align-self: flex-start;

		margin-bottom: 10px;
		padding: 7px 14px;

		border-radius: 14px;

		font-size: 11px;
		line-height: 15px;
	}

	/* Heading */

	.dx-hero__title {
		margin-bottom: 10px;

		font-size: clamp(43px, 12vw, 58px);
		line-height: 0.98;
		letter-spacing: -0.045em;
	}

	/* Description */

	.dx-hero__description {
		max-width: none;

		margin-bottom: 23px;

		font-size: 15px;
		line-height: 1.55;
	}

	/* Benefits */

	.dx-hero__benefits {
		margin-bottom: 27px;

		font-size: 14px;
		line-height: 17px;
	}

	.dx-hero__benefit {
		white-space: nowrap;
	}

	.dx-hero__benefit:not(:last-child)::after {
		width: 3px;
		height: 3px;

		margin-left: 7px;
		margin-right: 7px;
	}

	/* Buttons */

	.dx-hero__buttons {
		display: flex;
		flex-direction: column;
		align-items: stretch;

		gap: 10px;

		margin-bottom: 28px;
	}

	.dx-hero__button {
		width: 100%;
		min-height: 55px;

		padding-left: 20px;
		padding-right: 20px;

		border-radius: 7px;

		font-size: 14px;
	}

	.dx-hero__button--primary {
		justify-content: space-between;
	}

	.dx-hero__button--secondary {
		justify-content: center;
	}

	/* Rating */

	.dx-hero__rating {
		margin-bottom: 32px;
	}

	.dx-hero__rating-top {
		margin-bottom: 5px;
	}

	.dx-hero__stars {
		gap: 2px;
	}

	.dx-hero__star {
		font-size: 15px;
	}

	.dx-hero__rating-score {
		font-size: 14px;
	}

	.dx-hero__rating-bottom {
		font-size: 14px;
		line-height: 17px;
	}

	/* Visual */

	.dx-hero__visual {
		width: 100%;
		min-height: 0;
	}

	/* Image */

	.dx-hero__image {
		width: 100%;
		min-height: 0;
		height: auto;

		aspect-ratio: 0.96 / 1;

		border-radius: 9px;
	}

	/* Feature */

	.dx-hero__feature {
		position: relative;

		right: auto;
		bottom: auto;

		width: calc(100% - 30px);

		margin: -18px auto 0;

		padding: 18px;

		border-radius: 8px;

		box-shadow: 0 12px 30px rgba(16, 38, 83, 0.12);
	}

	.dx-hero__feature-icon {
		width: 40px;
		height: 40px;

		margin-right: 12px;

		font-size: 18px;
	}

	.dx-hero__feature-title {
		font-size: 16px;
		line-height: 18px;
	}

	.dx-hero__feature-description {
		font-size: 14px;
		line-height: 17px;
	}

}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.dx-hero__container {
		padding-left: 14px;
		padding-right: 14px;

		padding-top: 5px;
		padding-bottom: 45px;
	}

	.dx-hero__title {
		font-size: 38px;
	}

	.dx-hero__description {
		font-size: 14px;
		margin-bottom: 10px;
	}

	.dx-hero__benefits {
		font-size: 14px;
	}

	.dx-hero__benefit:not(:last-child)::after {
		margin-left: 5px;
		margin-right: 5px;
	}

	.dx-hero__feature {
		        width: calc(100% - 20px);
        padding: 16px;
        left: -10px;
        position: absolute;
        top: -10px;
        bottom: auto;
	}
	.dx-hero__description{
		margin-bottom: 10px;
	}
	.dx-hero__benefits{
		margin-bottom: 10px;
	}
	.dx-hero__buttons{
		margin-bottom: 10px;
	}
	.dx-hero__rating{
		margin-bottom: 10px;
	}
	.dx-hero__visual{
		margin-top: 30px;
	}
}