/* =========================
   TECHSTANDARD Services Form (HARD SCOPED)
   scope: section.form_section .form_circle_form
   ========================= */

section.form_section .form_circle_form{
	position: relative;
	overflow: hidden;
	padding: 2.5rem 0;
}

section.form_section .form_circle_form .container{
	position: relative;
	z-index: 1;
}

/* background circles (rem-based) */
section.form_section .form_circle_form .form_circle_yellow{
	position: absolute;
	z-index: 0;
	width: 18rem;
	height: 18rem;
	left: 55%;
	top: 6rem;
	transform: rotate(9deg);
	background: #FFE600;
	filter: blur(4.5rem);
	opacity: 0.75;
	pointer-events: none;
}

section.form_section .form_circle_form .form_circle_purple{
	position: absolute;
	z-index: 0;
	width: 14rem;
	height: 14rem;
	left: 75%;
	top: 5.5rem;
	transform: rotate(9deg);
	background: rgb(133, 67, 133);
	filter: blur(3.5rem);
	opacity: 0.55;
	pointer-events: none;
}

/* layout */
section.form_section .form_circle_form .form_wrap{
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1.25rem;
}

section.form_section .form_circle_form .form_info{
	flex: 1 1 40%;
}

section.form_section .form_circle_form .form_info h2{
	margin: 0;
	font-size: 1.9rem;
	line-height: 1.15;
	letter-spacing: -0.02em;
	color: rgba(20,20,24,.92);
}

section.form_section .form_circle_form .form_banner_wrapper{
	flex: 1 1 60%;
	min-width: 0;
}

/* =========================
   Glass card (FORM)
   ========================= */
section.form_section .form_circle_form .form_block{
	--tsg-yellow:#FFE600;
	--tsg-purple:rgb(133, 67, 133);
	--tsg-green:#018370;
	--tsg-mint:#b0d9d3;
	--tsg-peach:#fccdc3;
	--tsg-gray:#f4f4f4;

	--tsg-text: rgba(20,20,24,.92);
	--tsg-muted: rgba(20,20,24,.68);

	position: relative;
	overflow: hidden;

	padding: 1.5rem 1.25rem;
	border-radius: 1.25rem;
	border: 0.0625rem solid rgba(176,217,211,.60);
	background: rgba(244,244,244,.58);
	box-shadow: 0 1.2rem 2.6rem rgba(0,0,0,.10);
	backdrop-filter: blur(.9rem);
	-webkit-backdrop-filter: blur(.9rem);
}

/* extra glass sheen (scoped) */
section.form_section .form_circle_form .form_block::before{
	content:"";
	position:absolute;
	inset:-2rem auto auto -2rem;
	width: 16rem;
	height: 16rem;
	background: radial-gradient(circle at 30% 30%, rgba(252,205,195,.40), transparent 60%);
	filter: blur(3rem);
	opacity: .6;
	pointer-events:none;
}

section.form_section .form_circle_form .form_block::after{
	content:"";
	position:absolute;
	inset:auto -2.5rem -2.5rem auto;
	width: 18rem;
	height: 18rem;
	background: radial-gradient(circle at 35% 35%, rgba(1,131,112,.20), transparent 62%);
	filter: blur(3.2rem);
	opacity: .55;
	pointer-events:none;
}

section.form_section .form_circle_form .form_block > *{
	position: relative;
	z-index: 1;
}

/* 2 columns inside form */
section.form_section .form_circle_form .form_block .form_qua{
	display: flex;
	gap: 1rem;
	align-items: flex-start;
}

section.form_section .form_circle_form .form_block .left,
section.form_section .form_circle_form .form_block .right{
	width: 50%;
	min-width: 0;
}

/* fields */
section.form_section .form_circle_form .form_block .form_field{
	display: block;
	margin-bottom: 0.85rem;
}

section.form_section .form_circle_form .form_block .form_field label{
	display: block;
	margin-bottom: 0.45rem;
	font-size: 0.95rem;
	line-height: 1.2;
	font-weight: 650;
	color: rgba(20,20,24,.92);
}

/* wrapper around bitrix inputs */
section.form_section .form_circle_form .form_block .advanced_training_form_label{
	border-radius: 0.95rem;
	border: 0.0625rem solid rgba(176,217,211,.65);
	background: rgba(255,255,255,.45);
	backdrop-filter: blur(.85rem);
	-webkit-backdrop-filter: blur(.85rem);
	padding: 0.25rem;
}

/* input/select/textarea inside wrapper */
section.form_section .form_circle_form .form_block .advanced_training_form_label input,
section.form_section .form_circle_form .form_block .advanced_training_form_label select,
section.form_section .form_circle_form .form_block .advanced_training_form_label textarea{
	width: 100%;
	box-sizing: border-box;
	border: 0;
	outline: none;
	background: transparent;
	color: rgba(20,20,24,.92);
	font-size: 1rem;
	line-height: 1.25;
	padding: 0.75rem 0.9rem;
	border-radius: 0.75rem;
}

/* placeholders */
section.form_section .form_circle_form .form_block input::placeholder,
section.form_section .form_circle_form .form_block textarea::placeholder{
	color: rgba(20,20,24,.48);
}

/* focus */
section.form_section .form_circle_form .form_block .advanced_training_form_label:focus-within{
	border-color: rgba(1,131,112,.70);
	box-shadow: 0 0 0 0.22rem rgba(176,217,211,.45);
}

/* select arrow (minimal) */
section.form_section .form_circle_form .form_block .advanced_training_form_label select{
	appearance: none;
	-webkit-appearance: none;
	background-image:
			linear-gradient(45deg, transparent 50%, rgba(20,20,24,.65) 50%),
			linear-gradient(135deg, rgba(20,20,24,.65) 50%, transparent 50%);
	background-position:
			calc(100% - 1.15rem) 1.2rem,
			calc(100% - 0.85rem) 1.2rem;
	background-size: 0.35rem 0.35rem;
	background-repeat: no-repeat;
	padding-right: 2.1rem;
}

/* comment area */
section.form_section .form_circle_form .form_block .advanced_training_form_label.comment{
	min-height: 8.5rem;
	padding: 0.25rem;
}
section.form_section .form_circle_form .form_block .advanced_training_form_label.comment textarea{
	min-height: 8rem;
	resize: vertical;
}

/* checkbox row */
section.form_section .form_circle_form .form_block .form_check_box{
	margin-top: 1rem;
	display: flex;
	align-items: flex-start;
	gap: 0.65rem;
}

section.form_section .form_circle_form .form_block .form_check_box .custom-checkbox{
	width: 1.25rem;
	height: 1.25rem;
	flex: 0 0 auto;
	margin-top: 0.1rem;

	appearance: none;
	-webkit-appearance: none;

	border-radius: 0.35rem;
	border: 0.0625rem solid rgba(255,230,0,.95);
	background: rgba(255,230,0,.32);
	cursor: pointer;
	position: relative;
	box-shadow: 0 0.6rem 1.4rem rgba(0,0,0,.06);
}

section.form_section .form_circle_form .form_block .form_check_box .custom-checkbox:checked{
	background: rgba(255,230,0,.78);
	border-color: rgba(255,230,0,1);
}
section.form_section .form_circle_form .form_block .form_check_box .custom-checkbox:checked::after{
	content:"";
	position:absolute;
	left: 0.36rem;
	top: 0.15rem;
	width: 0.35rem;
	height: 0.65rem;
	border: solid rgba(20,20,24,.9);
	border-width: 0 0.16rem 0.16rem 0;
	transform: rotate(45deg);
}

section.form_section .form_circle_form .form_block .form_check_box p{
	margin: 0;
	font-size: 0.95rem;
	line-height: 1.25;
	color: rgba(20,20,24,.92);
}

section.form_section .form_circle_form .form_block .form_check_box a{
	color: rgb(133, 67, 133);
	font-weight: 700;
	text-decoration: none;
	font-size: 1em;
}
section.form_section .form_circle_form .form_block .form_check_box a:hover{
	text-decoration: underline;
}

/* captcha zone */
section.form_section .form_circle_form .form_block .re_captcha{
	margin-top: 0.9rem;
	padding-top: 0.9rem;
	border-top: 0.0625rem solid rgba(176,217,211,.35);
}

/* submit button */
section.form_section .form_circle_form .form_block .block_form_btn{
	margin-top: 1rem;
}

section.form_section .form_circle_form .form_block .block_form_btn input[type="submit"]{
	width: 100%;
	border: 0;
	cursor: pointer;

	padding: 0.95rem 1rem;
	border-radius: 1rem;

	background: rgba(255,230,0,.92);
	color: rgba(20,20,24,.92);

	font-size: 1rem;
	line-height: 1.1;
	font-weight: 750;
	letter-spacing: -0.01em;

	box-shadow: 0 1.1rem 2.2rem rgba(0,0,0,.12);
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

section.form_section .form_circle_form .form_block .block_form_btn input[type="submit"]:hover{
	background: rgba(133,67,133,.92);
	color: #fff;
	transform: translateY(-0.12rem);
	box-shadow: 0 1.4rem 2.6rem rgba(0,0,0,.16);
}

section.form_section .form_circle_form .form_block .block_form_btn input[type="submit"]:active{
	transform: translateY(0);
	box-shadow: 0 0.9rem 1.8rem rgba(0,0,0,.12);
}

/* mobile */
@media (max-width: 48em){
	section.form_section .form_circle_form{
		padding: 2rem 0;
	}

	section.form_section .form_circle_form .form_wrap{
		flex-direction: column;
		gap: 1.25rem;
	}

	section.form_section .form_circle_form .form_info h2{
		font-size: 1.55rem;
	}

	section.form_section .form_circle_form .form_block{
		padding: 1.35rem 1.05rem;
	}

	section.form_section .form_circle_form .form_block .form_qua{
		flex-direction: column;
		gap: 0.85rem;
	}

	section.form_section .form_circle_form .form_block .left,
	section.form_section .form_circle_form .form_block .right{
		width: 100%;
	}

	section.form_section .form_circle_form .form_circle_yellow{
		width: 26rem;
		height: 26rem;
		left: -30%;
		top: 14rem;
		filter: blur(7rem);
		opacity: .65;
	}

	section.form_section .form_circle_form .form_circle_purple{
		width: 24rem;
		height: 24rem;
		left: 45%;
		top: 10rem;
		filter: blur(6rem);
		opacity: .45;
	}
}
