/* 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: #fff;
}

.wrapper {
	max-width: 1592px;
	margin: 0 auto;
	padding: 0 15px;
}

.header__menu-a {
	font-style: italic;
	font-weight: 600;
	font-size: 25px;
	color: #000;
}

.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: #fff;
	background-color: #000;
	padding: 25px 41px;
	border-radius: 20px;
}

.promo {
	margin-top: 50px;
}

.promo-wrapper {
	max-width: 1157px;
	padding: 0 15px;
	margin: 0 auto;
}

.promo-top {
	max-width: 1157px;
	padding: 0 15px;
	margin: 0 auto;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.promo-title {
	margin-left: 135px;
	font-style: italic;
	font-weight: 800;
	font-size: 40px;
	color: #000;
	display: inline-block;
}

.promo-bot {
	display: flex;
	justify-content: space-between;
	margin-top: 122px;
}

.promo-bot-item {
	font-style: italic;
	font-weight: 400;
	font-size: 26px;
	line-height: 36px;
	text-align: center;
	color: #000000;
	border-right: 3px solid #000;
	padding: 0 15px;
}

.promo-bot-item:last-child {
	border-right: 0;
}

.content-title {
	font-style: italic;
	font-weight: 600;
	font-size: 30px;
	text-align: center;
	color: #000000;
	margin-top: 85px;
	margin-bottom: 60px;
}

.content-item__text {
	font-style: italic;
	font-weight: 400;
	font-size: 30px;
	line-height: 36px;
	color: #000000;
}

.content-item__text span {
	font-style: italic;
	font-weight: 400;
	font-size: 30px;
	color: #000000;
	margin-right: 8px;
}

.content-item {
	display: flex;
	align-items: center;
	gap: 20px;
}

.content-item>img {
	width: 524px;
	height: 394px;
}

.content-item:last-child {
	align-items: flex-start;
}

.content-item-even {
	flex-direction: row-reverse;
}

.content-item__img {
	padding: 20px;
}

.certs {
	margin-top: 60px;
}

.certs-wrapper {
	display: flex;
	justify-content: space-between;
	max-width: 1157px;
	padding: 0 15px;
	margin: 0 auto;
	gap: 20px;
}

.form-wrapper {
	max-width: 1230px;
	padding: 0 15px;
	margin: 0 auto;
}

.form {
	background-color: #000;
	background-image: url(img/formbg.png);
	background-repeat: no-repeat;
	padding: 70px 0px;
	margin-top: 70px;
}

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;
	flex-shrink: 0;
}

#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-title {
		margin-left: 0;
		font-size: 35px;
	}
	
	.promo-bot {
		flex-direction: column;
		gap: 30px;
		margin-top: 60px;
	}
	
	.promo-bot-item {
		border-right: 0;
		border-bottom: 3px solid #000;
		padding-bottom: 20px;
	}
	
	.promo-bot-item:last-child {
		border-bottom: 0;
	}
	
	.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;
	}
	
	.promo-top {
		flex-direction: column;
		text-align: center;
		gap: 30px;
	}
	
	.promo-title {
		font-size: 32px;
		text-align: center;
	}
	
	.content-item,
	.content-item-even {
		flex-direction: column;
		text-align: center;
	}
	
	.content-item__text {
		font-size: 26px;
		line-height: 32px;
	}
	
	.content-item>img {
		width: 100%;
		max-width: 524px;
		height: auto;
	}
	
	.content-title {
		font-size: 28px;
		margin-top: 60px;
		margin-bottom: 40px;
	}
	
	.certs-wrapper {
		flex-direction: column;
		align-items: center;
	}
	
	.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;
	}
	
	.promo-title {
		font-size: 28px;
	}
	
	.promo-bot-item {
		font-size: 22px;
		line-height: 30px;
	}
	
	.content-item__text {
		font-size: 22px;
		line-height: 28px;
	}
	
	.content-item__text span {
		font-size: 22px;
	}
	
	.content-title {
		font-size: 24px;
	}
	
	.form-approve {
		font-size: 12px;
		gap: 15px;
	}
	
	#sign {
		margin-right: 0;
	}
	
	form input {
		font-size: 20px;
	}
}

@media (max-width: 600px){
        .header__menu-a{
            order:1;
        }
        .header__menu-btn{
            order:2;
            width: 100%;
            text-align: center;
        }
        .header__menu-logo{
            text-align: center;
        }
}

@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;
	}
	
	.promo-title {
		font-size: 24px;
	}
	
	.promo {
		margin-top: 30px;
	}
	
	.promo-bot {
		margin-top: 40px;
	}
	
	.promo-bot-item {
		font-size: 18px;
		line-height: 26px;
	}
	
	.content-item__text {
		font-size: 18px;
		line-height: 24px;
	}
	
	.content-item__text span {
		font-size: 18px;
	}
	
	.content-title {
		font-size: 20px;
		margin-top: 40px;
		margin-bottom: 30px;
	}
	
	.content-item__img {
		padding: 10px;
	}
	.form{
		background-image: none;
	}
	.form-btn {
		width: 100%;
		text-align: center;
		padding: 12px 20px;
		height: auto;
	}
	
	.form-approve {
		font-size: 11px;
		line-height: 14px;
		gap: 10px;
	}
	
	#sign {
		width: 35px;
		height: 30px;
	}
}

@media screen and (max-width: 375px) {
	.header__menu-btn {
		font-size: 18px;
		padding: 10px 15px;
	}
	
	.header__menu-a {
		font-size: 18px;
	}
	
	.promo-title {
		font-size: 20px;
	}
	
	.promo-bot-item {
		font-size: 16px;
		line-height: 22px;
	}
	
	.content-item__text {
		font-size: 16px;
		line-height: 22px;
	}
	
	.content-item__text span {
		font-size: 16px;
	}
	
	.content-title {
		font-size: 18px;
	}
	
	.form {
		padding: 30px 0;
		margin-top: 40px;
		background-image: none;
	}
	
	form input {
		font-size: 18px;
	}
	
	.form-btn {
		font-size: 22px;
	}
	
	#sign {
		width: 30px;
		height: 25px;
	}
}



/* ========== КНОПКА "НАВЕРХ" - ОРАНЖЕВАЯ СТРЕЛКА ========== */
.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;
    }
}