@font-face {
    font-family: 'Inter';
    src: local('Inter Regular'), local('Inter-Regular'),
        url('../fonts/subset-Inter-Regular.woff2') format('woff2'),
        url('../fonts/subset-Inter-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: local('Inter Medium'), local('Inter-Medium'),
        url('../fonts/subset-Inter-Medium.woff2') format('woff2'),
        url('../fonts/subset-Inter-Medium.woff') format('woff');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: local('Inter Semi Bold'), local('Inter-SemiBold'),
        url('../fonts/subset-Inter-SemiBold.woff2') format('woff2'),
        url('../fonts/subset-Inter-SemiBold.woff') format('woff');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: local('Inter Bold'), local('Inter-Bold'),
        url('../fonts/subset-Inter-Bold.woff2') format('woff2'),
        url('../fonts/subset-Inter-Bold.woff') format('woff');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

::-webkit-input-placeholder{
	color: #52646D;
}

::-moz-placeholder {
	color: #52646D;
}

:-ms-input-placeholder {
	color: #52646D;
}

:-moz-placeholder {
	color: #52646D;
}

html, body {
	width: 100%;
	padding: 0;
	margin: 0;
	background: #3BE1D2;
    width: 100%;
    min-height: 100vh;
}

html * {
	text-rendering: optimizeLegibility;
	-moz-osx-font-smoothing: grayscale;
	-webkit-font-smoothing: antialiased;
	text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
	outline: 0;
	font-family: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
	box-sizing: border-box;
}

body {
    background: linear-gradient(114.48deg, #3BE1D2 30.94%, #1BC9C5 54.89%, #08BABE 85.94%),
    linear-gradient(116.86deg, rgba(0, 179, 190, 0) 25.47%, #00B3BE 87.9%);
    padding-bottom: 40px;
}

header {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	width: 100%;
	padding: 60px 140px 0 140px;
}

address {
	font-style: normal;
}

#logo {
	display: block;
	width: 172px;
	height: auto;
}

#header_info {
	display: flex;
}

#header_info_address {
	display: flex;
	padding: 2px 83px 0 0;
}

#header_info_address div {
	font-weight: 500;
	font-size: 18px;
	line-height: 0.85;
	letter-spacing: -1.8px;
	color: #fff;
	padding: 4px 18px 0 0;
}

#header_info_address p {
	padding: 0;
	margin: 0;
	font-weight: 500;
	font-size: 20px;
	line-height: 1.2;
	letter-spacing: -0.4px;
	color: #fff;
}

#header_info_contacts {
	display: flex;
	gap: 32px;
	padding: 5px 1px 0 0;
}

#header_info_contacts a {
	display: block;
	font-weight: 600;
	font-size: 24px;
	line-height: 1.2;
	letter-spacing: -0.48px;
	color: #fff;
	text-decoration: none;
}

main {
    display: flex;
    justify-content: space-between;
    gap: 82px;
	padding: 16.1vh 260px 0 140px;
}

h1 {
	padding: 0;
	margin: 0;
	font-weight: 600;
	font-size: 122px;
	line-height: 1;
	letter-spacing: -2.44px;
	color: #fff;
}

/* form */

.form {
    width: 100%;
    max-width: 700px;
    background: #fff;
    padding: 0 60px 40px 60px;
    margin: 40px 0 0 0;
}

.form h2 {
    padding: 50px 0 9px 0;
    margin: 0;
    font-weight: 500;
    font-size: 42px;
    line-height: 1;
    letter-spacing: -1.66px;
    color: #52646D;
}

.form .row {
    display: flex;
    place-content: space-between;
    gap: 16px;
}

.form .col {
    width: 100%;
}

.form_field {
    width: 100%;
    position: relative;
    transition: 300ms;
    padding: 0;
    margin: 16px 0 0 0;
}

.form_field span.error {
    font-size: 12px;
    line-height: 14px;
    color: #D6001C;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
}

.form_field span.valid {
    font-size: 12px;
    line-height: 14px;
    color: #8CB900;
    opacity: 0;
    visibility: hidden;
    white-space: nowrap;
}

.form_field span.info {
    font-size: 12px;
    line-height: 14px;
    color: #78909C;
    white-space: nowrap;
}

.form_field.error span.info,
.form_field.valid span.info {
    display: none;
}

.form_field.error span.error {
    opacity: 1;
    visibility: visible;
}

.form_field.error .form_placeholder {
    font-size: 10px;
    line-height: 10px;
    padding-top: 1px;
    color: #D6001C !important;
}

.form_field.error .form_input,
.form_field.error .form_textarea {
    border-color: #D6001C !important;
}

.form_field.error .form_input {
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2020%2020%22%3E%3Cpath%20d%3D%22M9%2013h2v2H9v-2zm0-8h2v6H9V5zm.99-5C4.47%200%200%204.48%200%2010s4.47%2010%209.99%2010C15.52%2020%2020%2015.52%2020%2010S15.52%200%209.99%200zM10%2018c-4.42%200-8-3.58-8-8s3.58-8%208-8%208%203.58%208%208-3.58%208-8%208z%22%20fill%3D%22%23D6001C%22%2F%3E%3C%2Fsvg%3E');
    background-position: calc(100% - 14px) center;
    background-size: 20px 20px;
    background-repeat: no-repeat;
}

.form_field.valid span.valid {
    opacity: 1;
    visibility: visible;
}

.form_field.valid .form_placeholder {
    font-size: 10px;
    line-height: 10px;
    padding-top: 1px;
    color: #8CB900 !important;
}

.form_field.valid .form_input,
.form_field.valid .form_textarea {
    border-color: #8CB900 !important;
}

.form_field.valid .form_input {
    background-image: url('data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2016%2012%22%3E%3Cpath%20d%3D%22M5.37622%209.46756L1.96247%205.73602.79999%206.99776%205.37622%2012%2015.2%201.26174%2014.0457%200%205.37622%209.46756z%22%20fill%3D%22%238CB900%22%2F%3E%3C%2Fsvg%3E');
    background-position: calc(100% - 16px) center;
    background-size: 16px 12px;
    background-repeat: no-repeat;
}

.form_field.focus .form_placeholder {
    font-size: 10px;
    line-height: 10px;
    padding-top: 1px;
}

.form_field.fill .form_placeholder {
    font-size: 12px;
    line-height: 14px;
    padding-top: 6px;
}

.form_placeholder {
    width: calc(100% - 2px);
    position: absolute;
    top: 1px;
    left: 1px;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #52646D;
    transition: 300ms;
    pointer-events: none;
    padding: 19px 4px 3px 14px;
    box-sizing: border-box;
}

.form_placeholder.form_placeholder_w_bg {
    background: #fff;
    border-radius: 8px;
}

.form_input {
    width: 100%;
    height: 54px;
    background-color: #fff;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    transition: 300ms;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    font-weight: 400;
    font-size: 16px;
    line-height: 16px;
    color: #52646D;
    padding: 16px 46px 15px 14px;
}

.form_textarea {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    height: 99px;
    border: 1px solid #e6e6e6;
    border-radius: 8px;
    background: #FFFFFF;
    font-size: 16px;
    line-height: 16px;
    color: #52646D;
    padding: 18px 14px 15px 14px;
    margin: 0;
    outline: none;
    resize: none;
}

.form_input:hover:not([disabled]),
.form .form_field textarea:hover:not([disabled]) {
    color: #52646D;
}

.form_input:focus,
.form .form_field textarea:focus {
    outline: none;
}

.form_input:disabled,
.form_field--textarea textarea:disabled {
    background-color: #EFEFEF;
    opacity: 1;
}

.form p {
    font-weight: 500;
    font-size: 16px;
    line-height: 22px;
    color: #838383;
    padding: 24px 0 0 0;
    margin: 0;
}

.form_agree {
    position: relative;
    padding: 1px 0 0 36px;
    margin: 24px 0 0 0;
    font-size: 16px;
    line-height: 1.3;
    color: #52646D;
}

.form_agree a {
    font-size: inherit;
    line-height: inherit;
    color: inherit;
    text-decoration: underline;
}

.form_custom_checkbox {
    display: block;
    width: 20px;
    height: 20px;
    border: 1px solid #000;
    border-radius: 6px;
    position: absolute;
    overflow: hidden;
    padding: 0;
    margin: 0;
    left: 0;
    top: 0;
}

.form_custom_checkbox input {
    display: block;
    width: 100%;
    height: 100%;
    appearance: none;
    -webkit-appearance: none;
    margin: 0;
    border: 0;
    border-radius: 0;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 10;
    opacity: 0;
    cursor: pointer;
}

.form_custom_checkbox input + label {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}

.form_custom_checkbox.error input + label {
    background: #D6001C;
}

.form_custom_checkbox input:checked + label {
    background: #2E2D2D;
}

.form_custom_checkbox input:checked + label::before {
    content: "";
    width: 11px;
    height: 10px;
    background: url('data:image/svg+xml;charset=utf-8,%3Csvg%20fill%3D%22none%22%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2011%2010%22%3E%3Cpath%20fill-rule%3D%22evenodd%22%20clip-rule%3D%22evenodd%22%20d%3D%22M10.5611.1724c.4572.3099.5765.9317.2666%201.3888l-5.0845%207.5a1%201%200%200%201-1.5254.1553L.3023%205.4036c-.3956-.3853-.404-1.0184-.0187-1.414.3853-.3957%201.0184-.4041%201.414-.0188l3.0601%202.9799L9.1723.439c.3099-.4572.9317-.5765%201.3888-.2666%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fsvg%3E') 0 0 no-repeat;
    background-size: 11px 10px;
    position: absolute;
    left: 3px;
    top: 4px;
}

.form button {
    -webkit-appearance: none;
    		-moz-appearance: none;
    				appearance: none;
    background: transparent;
    border: 0;
    border-radius: 0;
    margin: 24px 0 0 0;
    padding: 18px 34px 22px 44px;
    background: #52646D;
    font-size: 24px;
    line-height: 1;
    color: #fff;
    cursor: pointer;
}

.form button:disabled,
.form button[disabled] {
    opacity: 0.5;
}

/* /form */

@media (max-width:1600px) {
    .form .row {
        display: block;
    }
}

@media (max-width:1520px) {
	header {
		display: block;
	}

	#header_info {
		display: block;
		padding-top: 30px;
	}

	#header_info_address {
		padding-right: 0;
	}

	#header_info_contacts {
		padding-top: 30px;
	}

    main {
        display: block;
    }

    .form {
        margin-top: 80px;
    }
}

@media (max-width:1080px) {
	header,
	main {
		padding-left: 50px;
		padding-right: 50px;
	}

	h1 {
		font-size: 116px;
	}
}

@media (max-width: 750px) {
	header {
		padding: 23px 18px 0 18px;
		padding-top: 23px;
	}

	#logo {
    	width: 125px;
	}

	#header_info {
        padding-top: 0;
    }

	#header_info_address {
		display: block;
		padding: 0;
	}

	#header_info_address div {
	    font-size: 14px;
	    letter-spacing: -1.4px;
		padding: 23px 0 0 0;
	}

	#header_info_address p {
	    padding: 7px 0 0 0;
	    font-size: 16px;
	    letter-spacing: -0.32px;
	}

	#header_info_contacts {
		display: block;
		padding: 13px 0 0 0;
	}

	#header_info_contacts a {
	    font-weight: 700;
	    font-size: 21px;
	    letter-spacing: 0;
		margin-top: 4px;
	}

	main {
		padding: 0 16px;
	}

	h1 {
		padding-top: 34px;
	    font-size: 36px;
	    letter-spacing: -0.72px;
	}

    .form {
        margin-top: 26px;
        padding: 0 14px 19px 14px;
    }

    .form h2 {
        padding: 25px 0 0px 0;
        font-size: 20px;
        letter-spacing: -0.4px;
    }

    .form_input,
    .form_textarea,
    .form_placeholder {
        font-size: 14px;
        line-height: 14px;
    }

    .form button {
        width: 100%;
        margin-top: 11px;
        padding: 18px 0 18px 0;
        font-size: 18px;
        line-height: 1;
        text-align: center;
    }


}
