/* Указываем box sizing */
*,
*::before,
*::after {
	box-sizing: border-box;
}

/* Убираем внешние отступы */
body,
h1,
h2,
h3,
h4,
p,
ul[class],
ol[class],
li,
figure,
figcaption,
blockquote,
dl,
dd {
	margin: 0;
	font-family: 'Montserrat', sans-serif;
	cursor: default;
	line-height: 120%;
}

h1,
h2,
h3,
h4 {
	font-weight: 400;
}

/* Выставляем основные настройки по-умолчанию для body */
body {
	min-height: 100vh;
	scroll-behavior: smooth;
	text-rendering: optimizeSpeed;
	line-height: 1.5;
	overflow-x: hidden;
}

html {
	overflow-x: hidden;
}

/* Удаляем стандартную стилизацию для всех ul и il, у которых есть атрибут class*/
ul,
ol {
	list-style: none;
	padding: 0;
	margin: 0;
}

/* Элементы a */
a {
	text-decoration: none;
	font-weight: 600;
	color: #000;
}

/* Упрощаем работу с изображениями */
img {
	display: block;
}

/* Наследуем шрифты для инпутов и кнопок */
input,
button,
textarea,
select {
	font: inherit;
}

button,
select {
	cursor: pointer;
}

/* Удаляем все анимации и переходы для людей, которые предпочитай их не использовать */
@media (prefers-reduced-motion: reduce) {
	* {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}


/* общие стили */
body.zagl {
	min-height: 100vh;
	background-color: #fff;
	display: grid;
	grid-template-columns: 1fr 40%;
}

.zagl-left {
	min-height: 100vh;
	padding-top: 70px;
	padding-left: max(15px, calc((100vw - 1180px) / 2));
	padding-bottom: 85px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.zagl-header {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 40px;
	margin-right: 80px;
	margin-bottom: 30px;
}

.zagl-header-logo img {
	max-width: 100%;
}

.zagl-header-links {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.zagl-header-mail {
	font-weight: 500;
	font-size: 18px;
	line-height: 22px;
	text-decoration-line: underline;
}

.zagl-header-tel {
	font-weight: 500;
	font-size: 18px;
	line-height: 22px;
	margin-bottom: 5px;
}



.title {
	font-weight: 700;
	font-size: 54px;
	letter-spacing: 0.02em;
	margin-bottom: 15px;
}

.subtitle {
	font-weight: 400;
	font-size: 18px;
	margin-bottom: 60px;
}

.zagl-form {
	margin-bottom: 30px;
}

.zagl-form form {
	display: flex;
	flex-direction: column;
	gap: 20px;
	max-width: 380px;
	width: 100%;
}

.zagl-form input {
	background: none;
	height: 40px;
	color: #000;
	border: none;
	border-bottom: 1px solid #000;
	box-shadow: none;
	outline: none;
}

.zagl-form input::placeholder {
	color: #000;
}

.zagl-form button {
	font-weight: 700;
	font-size: 18px;
	height: 70px;
	background: #000;
	border: 1px solid #000;
	color: #fff;
	border-radius: 8px;
	box-shadow: none;
	transition: .3s;
	margin-top: 20px;
}

.zagl-form button:hover,
.zagl-form button:focus {
	background: initial;
	color: #000;
}

.zagl-footer {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	margin-right: 150px;
}

.address {
	display: flex;
	flex-direction: column;
}

.address__title {
	font-weight: 300;
	font-size: 12px;
	line-height: 16px;
	letter-spacing: 0.02em;
	opacity: 0.5;
}

.address__value {
	font-weight: 500;
	font-size: 16px;
	line-height: 22px;
	letter-spacing: 0.02em;
}



.zagl-bg {
	background-image: url(img/bg-zaglush.jpg);
	background-size: cover;
}

@media screen and (max-width: 980px) {
	body.zagl {
		display: block;
	}

	.zagl-bg {
		display: none;
	}

	.zagl-header {
		margin-right: 0;
	}

	.zagl-left {
		padding: 20px 15px;
	}

	.zagl-form,
	.zagl-form form,
	.zagl-footer {
		margin: 0 auto;
		text-align: center;
	}
}

@media screen and (max-width: 600px) {

	.title {
		font-size: 30px;
	}

	.subtitle {
		font-size: 16px;
	}

	.zagl-footer {
		flex-direction: column;
	}

	.zagl-header-mail {
		font-size: 14px;
	}

	.zagl-header-tel {
		font-size: 14px;
	}
}