/* Title section */

.titleBlock {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: clamp(
			30px,
			calc(30px + (60 - 30) * ((100vw - 390px) / (1440 - 390))),
			60px
		)
		clamp(
			0px,
			calc(0px + (80 - 0) * ((100vw - 390px) / (1440 - 390))),
			80px
		);
	gap: 5%;
    z-index: 10;
}

.titleBlock__title-inner {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.titleBlock__advantages-container {
	list-style: none;
	line-height: 2;
	margin: clamp(
			0px,
			calc(0px + (30 - 0) * ((100vw - 390px) / (1440 - 390))),
			30px
		)
		0 20px;
}

.titleBlock__advantages-point {
	font-size: 1.125rem;
	font-family: "Involve", sans-serif;
	font-weight: 600;
	color: var(--text);
    white-space: nowrap;

    margin-left: 5%;

	position: relative;
}
.titleBlock__advantages-point::before {
	content: "";

	background: url("../../media/point_icon.png") no-repeat;
	background-position: center;
	background-size: contain;

	width: 20px;
	aspect-ratio: 1;

	position: absolute;
	top: 5px;
	left: -25px;
}

.titleBlock__description {
	font-family: "Involve", sans-serif;
	font-weight: 100;
	font-size: 0.875rem;
}
.titleBlock__description span {
	text-transform: uppercase;
	color: var(--c1);
}

.titleBlock__contacts-container {
	display: flex;
	width: 100%;
	justify-content: space-between;
	align-items: center;
    gap: 10px;
}

.titleBlock__address {
	display: flex;
	align-items: center;
	width: 100%;
    color: var(--c1);
}

.titleBlock__addressIcon {
	width: 37px;
	height: auto;
}

.titleBlock__address-text {
	font-size: 0.8rem;
	font-weight: 600;
    white-space: nowrap;
}

.titleBlock__link-btn {
	font-size: 14px;
	display: flex;
	align-items: center;
	font-weight: 600;
	padding: 17px 23px;
	background: var(--c2);
	border-radius: 90px;
	text-align: center;
	white-space: nowrap;
	gap: 10px;
	transition: all 0.5s;
	color: var(--text);
}

.titleBlock__link-btn:hover {
	transition: all 0.2s;
	background: rgba(255, 217, 171, 0.5);
}

.titleBlock__link-btn-icon {
	width: 30px;
	height: auto;
}

/* Form section */
.titleBlock__form-container {
	width: 100%;
	max-width: 685px;
}

.titleBlock__info-wrapper{
    display: none;
}

.titleBlock__form-wrapper {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	background: var(--c2);
	border-radius: 65px;
	padding: 30px
		clamp(
			18px,
			calc(18px + (74 - 18) * ((100vw - 390px) / (1440 - 390))),
			74px
		)
		clamp(
			60px,
			calc(60px + (70 - 60) * ((100vw - 390px) / (1440 - 390))),
			70px
		);
	gap: 20px;

	position: relative;
}
.titleBlock__form-wrapper::after {
	content: "";

	width: 80%;
	height: 90px;

	background: url("../../media/titleBlock/form-decoration.png")
		no-repeat;
	background-size: contain;
	background-position: center;

	position: absolute;
	bottom: -7%;
}

.titleBlock__form {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	width: 100%;
}

/* Adaptability */
@media (max-width: 992px) {
	.titleBlock {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}

    .titleBlock__title-inner{
        padding: 0 10px;
    }
	.titleBlock__title-inner .titleBlock__description,
	.titleBlock__title-inner .titleBlock__contacts-container {
		display: none;
	}

	.titleBlock__form-container {
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 40px;
        max-width: none;
	}

    .titleBlock__form-wrapper{
        border-radius: 30px;
    }
	
    .info__wrapper{
        display: flex;
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 15px;
		gap: 10px;
    }

    .titleBlock__advantages-point{
        white-space: wrap;
    }
}

@media (max-width: 550px) {
    .titleBlock__contacts-container{
        flex-direction: column;
        gap: 20px;
    }
    .titleBlock__link-btn{
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .titleBlock__advantages-point{
        margin-left: 10%;
    }

    .titleBlock__info-wrapper{
        gap: 20px;
    }
}