@import url('https://fonts.googleapis.com/css2?family=Wix+Madefor+Text:ital,wght@0,400..800;1,400..800&display=swap');

:root {
    --accent-1: #EBBD90;
    --accent-2: #1D7BFF;
    --white: #fff;
    --darck: #232834;
    --gray: #8C9AAF;

}
html {
    height: 100%;
}
html,
body {
    max-width: 100vw;
    overflow-x: hidden;
}
body {
    min-height: 100%;
    display: flex;
    flex-direction: column;
    color: var(--darck);
    background: var(--white);
    font-family: "Wix Madefor Text", sans-serif;
}
* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}
input,
button,
:focus {
    outline: none;
    border: none;
}
::placeholder {
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    text-transform: uppercase;
    color: var(--gray);
}
a {
    color: inherit;
    text-decoration: none;
}
img {
    border-radius: 32px;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.image-container {
    min-height: 1000px;
}
.fos-title {
    font-weight: 700;
    font-style: Bold;
    font-size: 60px;
    line-height: 120%;
    text-transform: uppercase;

    margin-bottom: 32px;
}
.fos-subtitle {
    font-weight: 700;
    font-style: Bold;
    font-size: 32px;
    line-height: 120%;
    text-transform: uppercase;

    margin-bottom: 64px;
}

.quiz-fos {
    display: grid;
    grid-template-columns: 53% 1fr;
    padding: 40px;
    gap: 100px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1840px;
}
.quiz-fos form {
    min-width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.inputs-block {
    display: flex;
    flex-direction: column;
    gap: 20px;

    margin-bottom: 48px;
}
.input-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.input-container input {
    display: flex;
    justify-content: center;
    width: 100%;
    height: 56px;
    border-radius: 30px;
    padding: 0 24px;
    border: 1px solid var(--darck);

    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    text-transform: uppercase;
}
.input-container label {
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    text-transform: uppercase;
}



.input-tel__cont {
    position: relative;
}
.fake-placeholder {
    position: absolute;
    left: 54px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--gray);
    pointer-events: none;

    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    text-transform: uppercase;
}

.input-container input:focus + .fake-placeholder,
.input-container input:not([value="+7"]) + .fake-placeholder {
    display: none;
}

button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 60px;
    border-radius: 30px;
	background-color: var(--accent-1) !important;
	
    font-weight: 400;
    font-size: 20px;
    line-height: 140%;
    text-transform: uppercase;

    margin-bottom: 24px;
}
.realtors button {
	background-color: var(--accent-2) !important;
	color: var(--white) !important;
}




.agreement_checkbox {
    position: relative;
    display: flex;
	align-items: flex-start;
}
.agreement_checkbox span,
.agreement_checkbox a {
    font-weight: 400;
    font-size: 16px;
    line-height: 140%;
    color: var(--darck);
}
.agreement_checkbox label {
    min-height: 20px;
    min-width: 20px;
    max-height: 20px;
    max-width: 20px;
    margin-right: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
	border: 1px solid var(--gray);
	border-radius: 50%;
	padding: 2px;
}
.input-check {
    position: absolute;
    z-index: -9999;
    opacity: 0;
}
.input-check__on {
	border-radius: 50%;
	width: 12px;
    height: 12px;
	transition: background-color .15s ease-out;
}
.input-check:checked + label .input-check__on {
	background-color: var(--accent-1);
}
.realtors .input-check:checked + label .input-check__on {
	background-color: var(--accent-2) !important;
}


@media (max-width: 1440px) {
    .image-container {
        min-height: 820px;
    }
    .quiz-fos {
        grid-template-columns: 42% 1fr;
        gap: 75px;
    }
    .fos-title {
        font-size: 48px;
    }
    .fos-subtitle {
        font-size: 26px;
        margin-bottom: 40px;
    }
}
@media (max-width: 1024px) {
    .image-container {
        min-height: 588px;
    }
    .quiz-fos {
        grid-template-columns: 48% 1fr;
        gap: 50px;
    }
    .fos-title {
        font-size: 32px;
        margin-bottom: 16px;
    }
    .fos-subtitle {
        font-size: 20px;
        margin-bottom: 32px;
    }
    .inputs-block {
        gap: 16px;
        margin-bottom: 24px;
    }
    .input-container {
        gap: 4px;
    }
    button,
    .input-container input {
        height: 48px;
    }
    button {
        margin-bottom: 10px;
    }

    button,
    ::placeholder,
    .fake-placeholder,
    .input-container input,
    .input-container label {
        font-size: 16px;
    }
    .agreement_checkbox span,
    .agreement_checkbox a {
        font-size: 12px;
    }
}
@media (max-width: 768px) {
    .image-container {
        min-height: 376px;
    }
    .quiz-fos {
        grid-template-columns: 100%;
        gap: 64px;
        padding: 24px;
    }
}
@media (max-width: 500px) {
    .image-container {
        min-height: 177px;
    }
    .quiz-fos {
        gap: 40px;
    }
}