/* Start Reset */
* {
	padding: 0px;
	margin: 0px;
	border: none;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Links */
a, a:link, a:visited {
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

/* Common */
aside, nav, footer, header, section, main {
	display: block;
}

h1, h2, h3, h4, h5, h6, p {
    font-size: inherit;
	font-weight: inherit;
}

ul, ul li {
	list-style: none;
}

img {
	vertical-align: top;
	max-width: 100%;
	height: auto;
}

address {
	font-style: normal;
}

/* Form */
input, textarea, button, select {
	font-family: inherit;
	font-size: inherit;
	color: inherit;
	background-color: transparent;
}

input::-ms-clear {
	display: none;
}

textarea {
	resize: vertical;
}

button, input[type="submit"] {
	display: inline-block;
	box-shadow: none;
	background-color: transparent;
	background: none;
	cursor: pointer;
}

button::-moz-focus-inner {
	padding: 0;
	border: 0;
}

label {
	cursor: pointer;
}

legend {
	display: block;
}

input[type='file'] {
	max-width: 100%;
}
/* End Reset */

* {
	font-family: "Inter", sans-serif;
	font-optical-sizing: auto;
	font-style: normal;
}

body {
	background-color: #000;
}

.wrapper {
	max-width: 1607px;
	margin: 0 auto;
	padding: 0 15px;
}

.header__menu-a {
	font-style: italic;
	font-weight: 600;
	font-size: 25px;
	color: #fff;
}

.header__menu-logo img{
    max-width: 70%;
}

.header__menu {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-top: 15px;
}

.header__menu-btn {
	font-style: italic;
	font-weight: 600;
	font-size: 21px;
	color: #000;
	background-color: #FFA103;
	padding: 25px 41px;
	border-radius: 20px;
}

.promo-wrapper {
	max-width: 1230px;
	padding: 0 15px;
	margin: 0 auto;
}

.promo__container {
	max-width: 1112px;
	padding: 0 15px;
	margin: 0 auto;
}

.promo {
	margin-bottom: 80px;
	margin-top: 63px;
}

.promobg {
	background-image: url(img/proect/promobg.png);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	margin-bottom: 56px;
}

.promobg h2 {
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 800;
	font-size: 45px;
	color: #FFA103;
	height: 672px;
	background: rgba(0, 0, 0, 0.3);
	text-align: center;
	padding: 0 15px;
}

.top-item {
	display: flex;
	align-items: center;
	font-style: italic;
	font-weight: 400;
	font-size: 30px;
	text-align: center;
	color: #FFFFFF;
	width: 500px;
	height: 301px;
	border: 1px solid #FFA103;
	border-radius: 20px;
	text-align: center;
	padding: 15px;
	margin-bottom: 46px;
}

.promo-top, .promo-bot {
	display: flex;
	justify-content: space-between;
}

.content {
	margin-bottom: 60px;
}

.content-wrapper {
	max-width: 1230px;
	padding: 0 15px;
	margin: 0 auto;
}

.content-p-flex {
	display: flex;
	margin-bottom: 35px;
}

.content-p-img {
	margin-right: 25px;
}

.content-p-text p {
	font-style: italic;
	font-weight: 400;
	font-size: 30px;
	line-height: 36px;
	color: #FFFFFF;
}

.content-p {
	font-style: italic;
	font-weight: 400;
	font-size: 30px;
	line-height: 36px;
	color: #FFFFFF;
}

.content-p span {
	color: #ffa105;
}

.form {
	background-color: #000;
	background-image: url(img/formbg.png);
	background-repeat: no-repeat;
	padding: 70px 0px;
	background-position-y: 15px;
}

form input {
	font-style: italic;
	font-weight: 400;
	font-size: 24px;
	line-height: 29px;
	letter-spacing: 0.1em;
	color: #827C7C;
}

.rowone input {
	width: 362px;
	border-bottom: 1px solid #ffa103;
	margin-bottom: 70px;
	outline: none;
}

.rowtwo input {
	width: 494px;
	border-bottom: 1px solid #ffa103;
	margin-bottom: 70px;
	outline: none;
}

.rowthree {
	display: flex;
	justify-content: space-between;
}

.rowthree input {
	width: 758px;
	border-bottom: 1px solid #ffa103;
	padding-bottom: 70px;
	outline: none;
}

.form-btn {
	display: inline-block;
	font-style: italic;
	font-weight: 500;
	font-size: 27px;
	height: 50px;
	color: #FFA103;
	padding: 8px 95px;
	border: 1px solid #ffa103;
	align-self: flex-end;
}

.form-approve {
	display: flex;
	align-items: center;
	font-style: italic;
	font-weight: 400;
	font-size: 13px;
	line-height: 16px;
	letter-spacing: 0.1em;
	color: #FFA103;
	margin-top: 45px;
}

#sign {
	width: 45px;
	height: 35px;
	border: 1px solid #ffa103;
	background-color: transparent;
	margin: 0;
	padding: 0;
	vertical-align: middle;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	position: relative;
	cursor: pointer;
	margin-right: 45px;
}

#sign:checked {
	background-color: transparent;
}

#sign:focus {
	outline: none;
}

#sign::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) rotate(-45deg);
	width: 20px;
	height: 10px;
	border-left: 2px solid #ffa103;
	border-bottom: 2px solid #ffa103;
	opacity: 0;
	transition: opacity 0.2s ease;
}

#sign:checked::after {
	opacity: 1;
}

/* Адаптивность */
@media screen and (max-width: 1200px) {
	.header__menu {
		flex-wrap: wrap;
		gap: 20px;
		justify-content: center;
	}
	
	.header__menu-a {
		order: 3;
		width: 100%;
		text-align: center;
	}
	
	.promo-top, .promo-bot {
		flex-direction: column;
		align-items: center;
		gap: 20px;
	}
	
	.top-item {
		width: 100%;
		max-width: 500px;
		height: auto;
		min-height: 250px;
		margin-bottom: 0;
	}
	
	.promo-bot {
		margin-top: 20px;
	}
	
	.rowthree {
		flex-direction: column;
		gap: 30px;
	}
	
	.rowthree input {
		width: 100%;
		padding-bottom: 30px;
	}
	
	.form-btn {
		align-self: flex-start;
	}
	
	.rowone input,
	.rowtwo input {
		width: 100%;
	}
}

@media screen and (max-width: 992px) {
	.header__menu-a,
	.header__menu-btn {
		font-size: 28px;
	}
	
	.header__menu-btn {
		padding: 20px 35px;
	}
	
	.promobg h2 {
		font-size: 40px;
		height: 500px;
	}
	
	.top-item {
		font-size: 26px;
		min-height: 220px;
	}
	
	.content-p-flex {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}
	
	.content-p-img {
		margin-right: 0;
		margin-bottom: 25px;
	}
	
	.content-p-text p,
	.content-p {
		font-size: 26px;
		line-height: 32px;
	}
	
	.form {
		padding: 50px 0;
	}
}

@media screen and (max-width: 768px) {
	.header__menu-btn {
		font-size: 24px;
		padding: 15px 30px;
	}
	
	.header__menu-a {
		font-size: 24px;
	}
	
	.promobg h2 {
		font-size: 35px;
		height: 400px;
	}
	
	.promo {
		margin-top: 40px;
		margin-bottom: 50px;
	}
	
	.top-item {
		font-size: 22px;
		min-height: 200px;
		padding: 20px;
	}
	
	.content-p-text p,
	.content-p {
		font-size: 22px;
		line-height: 28px;
	}
	
	.form-approve {
		font-size: 12px;
	}
	
	#sign {
		margin-right: 20px;
	}
	
	form input {
		font-size: 20px;
	}

	.form{
		background-position-x: -218px;
		padding: 80px 0;
	}
}

@media (max-width: 600px){
    .header__menu-logo{
        text-align: center;
    }
    .header__menu-btn{
        width: 100%;
        text-align: center;
        order: 2;
    }
    .header__menu-a{
        order:1;
        width: 100%;
    }
}

@media screen and (max-width: 576px) {
	.header__menu {
		flex-direction: column;
		gap: 15px;
	}
	
	.header__menu-logo {
		order: 1;
	}
	
	.header__menu-btn {
		order: 2;
		width: 100%;
		text-align: center;
		font-size: 20px;
		padding: 12px 20px;
	}
	
	.header__menu-a {
		order: 3;
		font-size: 20px;
	}
	
	.promobg h2 {
		font-size: 28px;
		height: 300px;
	}
	
	.top-item {
		font-size: 18px;
		min-height: 150px;
		padding: 15px;
	}
	
	.content-p-text p,
	.content-p {
		font-size: 18px;
		line-height: 24px;
	}
	
	.form-btn {
		width: 100%;
		text-align: center;
		padding: 12px 20px;
		height: auto;
	}
	
	.form-approve {
		font-size: 11px;
		line-height: 14px;
	}
	
	#sign {
		width: 85px;
		height: 30px;
		margin-right: 15px;
	}
	.form {
        background-position-x: -322px;
    }
}

@media screen and (max-width: 375px) {
	.header__menu-btn {
		font-size: 18px;
		padding: 10px 15px;
	}
	
	.header__menu-a {
		font-size: 18px;
	}
	
	.promobg h2 {
		font-size: 24px;
		height: 250px;
	}
	
	.top-item {
		font-size: 16px;
		min-height: 130px;
	}
	
	.content-p-text p,
	.content-p {
		font-size: 16px;
		line-height: 22px;
	}
	
	.form {
		padding: 30px 0;
	}
	
	form input {
		font-size: 18px;
	}
	
	.form-btn {
		font-size: 22px;
	}
	
	#sign {
		width: 70px;
		height: 25px;
		margin-right: 10px;
	}
	.form {
        padding: 80px 0;
        background-position-x: -333px;
    }
}


/* ========== КНОПКА "НАВЕРХ" - ОРАНЖЕВАЯ СТРЕЛКА ========== */
.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 55px;
    height: 55px;
    background: linear-gradient(135deg, #FF8C00, #FFA726);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.8);
}

/* Показываем кнопку при прокрутке */
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/* Эффект при наведении */
.scroll-top-btn:hover {
    background: linear-gradient(135deg, #FF7700, #FFA040);
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(255, 140, 0, 0.5);
}

/* Эффект при нажатии */
.scroll-top-btn:active {
    transform: scale(0.95);
    transition: 0.05s linear;
}

/* Стили для стрелки */
.scroll-top-arrow {
    width: 26px;
    height: 26px;
    transition: transform 0.2s ease;
}

/* Стрелка слегка поднимается при наведении на кнопку */
.scroll-top-btn:hover .scroll-top-arrow {
    transform: translateY(-3px);
}

/* Адаптация для мобильных устройств */
@media (max-width: 768px) {
    .scroll-top-btn {
        bottom: 20px;
        right: 20px;
        width: 48px;
        height: 48px;
    }
    
    .scroll-top-arrow {
        width: 22px;
        height: 22px;
    }
}

@media (max-width: 480px) {
    .scroll-top-btn {
        bottom: 15px;
        right: 15px;
        width: 45px;
        height: 45px;
    }
    
    .scroll-top-arrow {
        width: 20px;
        height: 20px;
    }
}