@font-face {
	font-family: "Furore";
	src: url("../fonts/Furore.woff2") format("woff");
	font-weight: 400;
}

body, html {
	margin: 0;
	padding: 0;
	min-height: 100%;
}

html {
	scroll-behavior: smooth;
	-webkit-text-size-adjust: 100%;
}
* {
	box-sizing: border-box;
	outline: none;
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

body {
	background-color: #FFF5F5;
	margin: 0;
	display: flex;
	justify-content: center;
	align-items: center;
	min-height: 100vh;
}
@media (max-width: 991px) {
	html {
		background-color: #D50032;
	}
	body {
		background-color: #D50032;
		padding: 0;
		margin: 0;
		width: 100%;
		min-height: 100vh;
		min-height: 100dvh;
	}
}


a {
	transition: 0.2s;
}
svg {
	-webkit-tap-highlight-color: rgba(0,0,0,0);
}

@media (max-width: 991px) {
	.desktop-only {
		display: none;
	}
}

.mobile-only {
	display: none;
}
@media (max-width: 991px) {
	.mobile-only {
		display: block;
	}
}

.page {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	width: 100%;
	overflow: hidden;
}
@media (max-width: 991px) {
	.page {
	    flex-direction: row;
        align-items: normal;
        min-height: 100vh;
        min-height: 100dvh;
        background: url(../img/bg-m.png) no-repeat 0 0;
        background-size: 100% auto;
        max-width: 100%;
        width: 100%;
        padding-top: 78%;
        padding-left: 0;
        padding-right: 0;
	}
}

.page__main {
	display: flex;
	flex-direction: column;
	flex-grow: 1;
	width: 100%;
	position: relative;
}

.container {	
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	padding: 0 0 0 40px;
}
@media (max-width: 1440px) {
	.container {
		display: flex;
	}
}
@media (max-width: 991px) {
	.container {
		flex-wrap: wrap;
		flex-direction: column;
		padding: 0 0 32px;
	}
}

.container:before {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: #D50032;
}
@media (max-width: 991px) {
	.container:before {
/*		background: none;*/
	}
}

.container:after {
	content: '';
	width: 100%;
	height: 100%;
	position: absolute;
	left: 0;
	top: 0;
	background: url(../img/bg.png) no-repeat 100% 0;	
	background-size: auto 100%;	
}
@media (max-width: 991px) {
	.container:after {
		background: none;
	}
}

.form-section {
	padding: 27px 0 143px 0;
	position: relative;
	max-width: 529px;
	z-index: 1;
	margin-left: auto;	
}
@media (max-width: 1600px) {
	.form-section {
		margin-right: auto;
	}
}
@media (max-width: 1440px) {
	.form-section {
        margin-right: 65%;
        max-width: 35%;
        padding: 27px 0 80px 0;
	}
}
@media (max-width: 991px) {
	.form-section {
        margin-right: auto;
        margin-left: auto;
        max-width: 311px;
        padding: 0 16px;
	}	
}

.form-section__title {
	font-family: 'Furore',  sans-serif;
	margin-bottom: 42px;
	font-weight: 400;
	font-size: 48px;
	line-height: 100%;
	color: #FFFFFF;
	opacity: 0.41;
}
@media (max-width: 1440px) {
	.form-section__title {
		font-size: 38px;
	}
}
@media (max-width: 1150px) {
	.form-section__title {
		font-size: 30px;
	}
}
@media (max-width: 991px) {
	.form-section__title {
		margin-top: 24px;
		font-size: 22px;
		margin-bottom: 0;
	}
}

.form-section__item {
	margin-bottom: 24px;
}
@media (max-width: 1150px) {
	.form-section__item {
		margin-bottom: 14px;
	}	
}

.form-section label {
	display: block;
	margin-bottom: 5px;
	font-family: 'Furore',  sans-serif;
	font-size: 16px;
	line-height: 100%;
	color: #FFFFFF;
}
@media (max-width: 1150px) {
	.form-section label {
		font-size: 14px;
	}
}

.form-section input[type="password"], 
.form-section input[type="text"] {
	width: 100%;
	padding: 10px;
	height: 44px;
	border: none;
	border-radius: 4px;
	background-color: #fff;
	font-family: 'Open Sans',  sans-serif;
	font-weight: 400;
	font-size: 20px;
	display: flex;
	align-items: center;
	color: #323232;
}
@media (max-width: 1150px) {
	.form-section input[type="password"], 
	.form-section input[type="text"] {
		font-size: 16px;
		height: 40px;
	}
}

.form-section textarea {
	width: 100%;
	padding: 10px;
	height: 311px;
	border: none;
	border-radius: 4px;
	background-color: #fff;
	font-family: 'Open Sans',  sans-serif;
	font-weight: 400;
	font-size: 20px;
	display: flex;
	align-items: center;
	color: #323232;
	resize: none;
}
@media (max-width: 1440px) {
	.form-section textarea {
		height: 260px;
	}
}
@media (max-width: 1150px) {
	.form-section textarea {
		height: 165px;
		font-size: 16px;
	}	
}

.upload-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 16px;
}
@media (max-width: 1150px) {
	.upload-container {
		margin-top: 8px;
	}
}

.form-section .custom-file-upload {
    position: relative;
    overflow: hidden;
    cursor: pointer;
	font-family: 'Open Sans',  sans-serif;
	font-weight: 400;
	font-size: 12px;
	color: #A8A8A8;
    text-align: left;
	width: 100%;
	padding: 10px;
	height: 44px;
	border: none;
	border-radius: 4px;
	background-color: #fff;
	margin-bottom: 0;
}

.custom-file-upload .icon::before {
    content: '';
    width: 24px;
    height: 24px;
    margin-right: 5px;
    vertical-align: middle;
    display: inline-block;
    background: url(../img/ico-file.png) no-repeat 0 50%;
    background-size: contain;
}

.custom-file-upload .text {
    vertical-align: middle;
}

#file-input {
    display: none;
}

.form-section__submit {
	width: 100%;
	padding: 10px;
	border: none;
	border-radius: 5px;
	cursor: pointer;
	transition: background-color 0.3s ease;
	width: 256px;
	height: 52px;
	border: none;
	border-radius: 4px;
	background-color: #fff;
	font-family: 'Furore',  sans-serif;
	font-weight: 400;
	font-size: 20px;
	color: #323232;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-top: 32px;
}
@media (max-width: 1150px) {
	.form-section__submit {
		margin-top: 24px;
	}
}
@media (max-width: 991px) {
	.form-section__submit {
		width: 100%;
	}
}

.form-section__subtitle {
	margin-top: 38px;
	font-family: 'Furore',  sans-serif;
	font-weight: 400;
	font-size: 32px;
	line-height: 100%;
	color: #FFFFFF;
	opacity: 0.47;
}
@media (max-width: 1440px) {
	.form-section__subtitle {
		font-size: 26px;
	}
}
@media (max-width: 1150px) {
	.form-section__subtitle {
		font-size: 24px;
		margin-top: 24px;
	}
}
@media (max-width: 991px) {
	.form-section__subtitle {
		font-size: 19px;
		margin-top: 12px;
		text-align: right;
	}	
}

.info-section {
	position: relative;
}


/* ─── Success Message ─────────────────────────────────── */

.success-message {
	display: none;
	animation: fadeInUp 0.6s ease-out both;
	padding: 20px 0;
}

.success-message__icon {
	margin-bottom: 20px;
	opacity: 0;
	animation: scaleIn 0.5s ease-out 0.2s both;
}
.success-message__icon svg {
	width: 64px;
	height: 64px;
}

.success-message__title {
	font-family: 'Furore', sans-serif;
	font-weight: 400;
	font-size: 48px;
	line-height: 100%;
	color: #FFFFFF;
	margin-bottom: 20px;
	opacity: 0;
	animation: fadeInUp 0.5s ease-out 0.3s both;
}

.success-message__text {
	font-family: 'Open Sans', sans-serif;
	font-weight: 400;
	font-size: 18px;
	line-height: 170%;
	color: #FFFFFF;
	opacity: 0;
	animation: fadeInUp 0.5s ease-out 0.5s both;
}

@media (max-width: 1440px) {
	.success-message__title {
		font-size: 38px;
	}
}
@media (max-width: 1150px) {
	.success-message__title {
		font-size: 30px;
	}
	.success-message__text {
		font-size: 16px;
	}
	.success-message__icon svg {
		width: 48px;
		height: 48px;
	}
}
@media (max-width: 991px) {
	.success-message {
		padding: 10px 0;
	}
	.success-message__title {
		font-size: 22px;
		margin-bottom: 14px;
	}
	.success-message__text {
		font-size: 14px;
		line-height: 160%;
	}
	.success-message__icon {
		margin-bottom: 14px;
	}
	.success-message__icon svg {
		width: 40px;
		height: 40px;
	}
}


/* ─── Form Error ──────────────────────────────────────── */

.form-error {
	display: none;
	font-family: 'Open Sans', sans-serif;
	font-weight: 500;
	font-size: 14px;
	color: #FFD700;
	background: rgba(0, 0, 0, 0.15);
	border-radius: 4px;
	padding: 10px 12px;
	margin-bottom: 4px;
	animation: fadeInUp 0.3s ease-out;
}
@media (max-width: 1150px) {
	.form-error {
		font-size: 13px;
	}
}


/* ─── Submit Button Loading ───────────────────────────── */

.form-section__submit.loading {
	opacity: 0.7;
	cursor: wait;
	pointer-events: none;
}

.form-section__submit.loading::after {
	content: '';
	display: inline-block;
	width: 16px;
	height: 16px;
	border: 2px solid rgba(50, 50, 50, 0.3);
	border-top-color: #D50032;
	border-radius: 50%;
	animation: spin 0.7s linear infinite;
	margin-left: 10px;
	vertical-align: middle;
}


/* ─── Animations ──────────────────────────────────────── */

@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(16px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

@keyframes scaleIn {
	from {
		opacity: 0;
		transform: scale(0.5);
	}
	to {
		opacity: 1;
		transform: scale(1);
	}
}

@keyframes spin {
	to {
		transform: rotate(360deg);
	}
}
