@import url("https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700;900&display=swap");

/* Обнуление стилей */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	border: 0;
	box-sizing: border-box;
}
li {
	list-style: none;
}
a,
a:visited {
	text-decoration: none;
}
a:hover {
	text-decoration: none;
}
h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: inherit;
	font-size: inherit;
}
img {
	vertical-align: top;
}
html,
body {
	height: 100%;
}

body {
	line-height: 1;
	font-family: "Roboto", sans-serif;
	color: #4b4b4b;
	background: #f5f5f5;
}
.wrapper {
	display: flex;
	flex-direction: column;
	min-height: 100%;
	overflow: hidden;
}

/*======================== */
.header {
	min-height: 200px;
}

[class*="__container"] {
	max-width: 1050px;
	margin: 0 auto;
	padding: 0px 15px;
}
.main {
	flex: 1 1 auto;
}

/* =================================== */
.header {
	padding: 20px 0px;
	background: url("../img/notch/bg.jpg") 0 0 / cover no-repeat;
}

.header__top {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 27px;
}
.header__left {
	flex: 1 1 auto;
}
.logo {
	display: flex;
	align-items: center;
	gap: 11px;
}

.contacts-header {
	display: flex;
	margin: 0px -20px;
}
.contacts-header__item {
	display: flex;
	column-gap: 10px;
	padding: 0px 20px;
	align-items: center;
}

.contacts-header__icon {
	align-self: flex-start;
}
.contacts-header__text {
	color: #ffffff;
	font-weight: 700;
	line-height: 1.83;
	font-size: 12px;
	letter-spacing: 0.15px;
}
.contacts-header__title {
	text-transform: uppercase;
}

.contacts-header__button {
	transform: scale(1);
	transition: all 0.3s ease;
}
.button {
	background-color: #c40b0b;
	min-height: 40px;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 5px 50px 5px 20px;
	color: #fff;
	font-weight: 700;
	font-size: 12px;
	line-height: 2;
	letter-spacing: 0.15px;
	text-transform: uppercase;
	position: relative;
	transform: scale(1);
	transition: all 0.3s ease;
}

.button::before {
	content: url("../img/header/button-bg.png");
	position: absolute;
	top: 0;
	right: 0;
	height: 100%;
}
.button::after {
	content: url("../img/header/arrow.svg");
	position: absolute;
	top: 10px;
	right: 10px;
	height: 100%;
}

.contacts-header__button:hover,
.button:hover {
	transform: scale(101%);
	box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.568);
}
.contacts-header__button:hover .button::after,
.button:hover.button::after {
	transform: translate(10px, 0px);
	animation: arrow 0.8s ease;
	animation-iteration-count: infinite;
}
.contacts-header__button:active,
.button:active {
	outline: 1px solid #f5f5f533;
	transform: scale(1);
	box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.397);
}
.button_red:hover {
	box-shadow: 2px 2px 5px 1px rgb(219, 12, 12), 0px 0px 10px 1px rgba(0, 0, 0, 0.397);
}
.button_red:active {
	box-shadow: 0px 0px 0px 0px rgb(219, 12, 12), 0px 0px 10px 1px rgba(0, 0, 0, 0.397);
}
@keyframes arrow {
	0% {
		transform: translate(0);
	}
	100% {
		transform: translate(10px);
	}
}

/*     HEADER-BOTTOM
================================== */

.header__bottom {
	margin-left: 10px;
	margin-bottom: 126px;
}
.line-header {
	display: flex;
	padding: 20px 40px;
	background-color: #fff;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	overflow: hidden;
}
.line-header__left {
	display: flex;
	flex-wrap: wrap;
	column-gap: 30px;
}
.line-header__link {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.57;
	letter-spacing: 0.15px;
	color: #02133c;
	border-radius: 0%;
	transition: all 0.2s ease;
	flex: 0 0 auto;
	padding: 0px 5px;
}
.line-header__link:hover {
	background-color: rgba(0, 0, 0, 0.781);
	border-radius: 40px;
	color: #fff;
}
.line-header__right {
	display: flex;
	align-self: flex-end;
	column-gap: 25px;
}
.search {
	display: flex;
	column-gap: 25px;
}
.search__input {
	min-height: 30px;
	border: 1px solid #4b4b4b;
	border-radius: 4px;
	transform: translate(0, -180%);
	opacity: 0;
	transition: all 0.5s ease;
	padding: 5px 10px;
}
.search__input:focus {
	transform: translate(0, 0);
	opacity: 1;
	transition: all 0.5s ease;
	outline: 1px solid transparent;
}
.search__label {
	padding: 5px 0px 5px 3px;
	transition: all 0.2s ease;
	transform: scale(1);
	cursor: pointer;
}
.search__label:hover {
	transform: scale(1.09);
	box-shadow: 0px 0px 1px 1px #000;
	border-radius: 40px;
}
.cart {
	padding: 5px 1px 5px 1px;
	transition: all 0.2s ease;
}
.cart:hover {
	transform: scale(1.09);
	box-shadow: 0px 0px 1px 1px #000;
	border-radius: 40px;
}

/* NOTCH
============================= */

.notch__container {
	display: flex;
	flex-direction: column;
}
.notch__title {
	font-weight: 900;
	font-size: 56px;
	line-height: 1;
	color: #ffffff;
	max-width: 583px;
}
.notch__title:not(:last-child) {
	margin-bottom: 48px;
}
.notch__button {
	align-self: flex-start;
	transition: all 0.2s ease;
	margin-bottom: 232px;
}

.notch__button:hover.button::after {
	transform: translate(10px, 0px);
	animation: arrow 0.8s ease;
	animation-iteration-count: infinite;
}

/* WHO-WE-ARE 
==========================*/

.who-we-are {
	margin-top: -80px;
	border: 1px solid transparent;
}
.who-we-are__container {
	padding: 100px 87px 0px 87px;
	background-color: #fff;
	position: relative;
}
.who-we-are__container::before {
	content: url("../img/who-we-are/bg.png");
	position: absolute;
	top: 0;
	right: 0;
}
.who-we-are__titles {
	margin-bottom: 36px;
}

.titles__suptitle {
	background: url("../img/who-we-are/icon.svg") -5px 0px no-repeat;
	padding: 1px 0px 0px 26px;
	font-weight: 700;
	font-size: 12px;
	line-height: 2;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: #4b4b4b;
	margin-bottom: 33px;
}
.titles__title {
	font-weight: 900;
	font-size: 36px;
	line-height: 1.17;
	color: #02133c;
	max-width: 583px;
}
.who-we-are__text {
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.15px;
	color: #4b4b4b;
	margin-bottom: 54px;
}
.who-we-are__image {
	margin-bottom: 230px;
}
.who-we-are__img {
	margin-bottom: -120px;
}

/* PROMISE
===================== */
.promise__titles {
	margin-bottom: 68px;
}
.promise__items {
	display: flex;
	margin: 0px -15px;
	flex-wrap: wrap;
	align-items: flex-start;
	margin-bottom: 122px;
	row-gap: 24px;
}

.promise__item {
	flex: 1 0 33.3333%;
	padding: 0px 15px;
}
.item-promise {
	display: flex;
	column-gap: 23px;
}
.item-promise__img {
	flex: 0 0 63px;
	align-self: flex-start;
}
.title-item {
	font-weight: 900;
	font-size: 19px;
	line-height: 1.37;
	color: #02133c;
}
.text-item {
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.15px;
}
.item-promise__title {
	margin-bottom: 20px;
	flex: 1 1 auto;
}

/* IPSAM */
.ipsam {
	background: url("../img/ipsam/bg.jpg") 0 0 / cover no-repeat;
	padding: 112px 0px 259px 0px;
}

.ipsam__block {
	max-width: 411px;
	margin: 0px 0px 0px auto;
}

.block-ipsam__title {
	font-weight: 900;
	font-size: 36px;
	line-height: 1.17;
	color: #ffffff;
	margin-bottom: 25px;
}
.block-ipsam__play {
	position: relative;
}
.block-ipsam__play::before {
	content: "";
	width: 100px;
	height: 100px;
	display: block;
	border: 3px solid #fff;
	box-shadow: 0px 0px 15px 1px #000, inset 0px 0px 15px 1px #000;
	position: absolute;
	border-radius: 50%;
	top: -7px;
	left: 18px;
	animation: circles 2s linear;
	animation-iteration-count: infinite;
}
.play__item {
	width: 86px;
	height: 86px;
	background-color: rgba(255, 255, 255, 0.815);
	border-radius: 50%;
	margin-left: 25px;
	position: relative;
}
.play__item::before {
	content: url("../img/ipsam/play.svg");
	position: absolute;
	top: 28px;
	left: 35px;
}
.play__item {
	animation: play 2s ease;
	animation-iteration-count: infinite;
	transition: all 0.5s ease;
}
.play__item:hover {
	cursor: pointer;
}
@keyframes play {
	0% {
		transform: scale(100%);
	}
	50% {
		transform: scale(110%);
	}
	100% {
		transform: scale(100%);
	}
}
@keyframes circles {
	0% {
		transform: scale(1);
		opacity: 0.5;
	}
	50% {
		transform: scale(1.5);
		opacity: 0.25;
	}
	100% {
		transform: scale(2);
		opacity: 0;
	}
}

/* Services
============================= */

.services {
	padding: 110px 0px;
	overflow: hidden;
}
.services__container {
	margin-bottom: 131px;
	display: flex;
	flex-direction: column;
	position: relative;
	z-index: 50;
}
.services__container::before {
	content: url("../img/services/bg.png");
	position: absolute;
	top: -175px;
	left: -110px;
	z-index: 1;
}
.services__titles {
	margin-bottom: 78px;
}

.services__inner {
	display: flex;
	margin: 0 -12px;
	row-gap: 24px;
	flex-wrap: wrap;
	position: relative;
	z-index: 50;
}

.inner-services__item {
	flex: 1 1 33.333%;
	padding: 0px 12px;
}
.item-services {
	padding: 50px 44px;
	background-color: #fff;
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	height: 100%;
	transition: all 0.3s ease;
}
.item-services:hover {
	box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.568);
	transform: scale(105%);
}
.item-services__img {
	margin-bottom: 33px;
	flex: 0 0 63px;
	width: 63px;
}
.item-services__title {
	margin-bottom: 33px;
}
.item-services__text {
	flex: 1 1 auto;
}
.services__button {
	align-self: center;
	margin-top: 75px;
}

/* Appointment
================================ */

.appointment {
	padding: 130px 210px;
	background-color: #02133c;
}
.appointment__container {
	position: relative;
}
.appointment__container::before {
	content: url("../img/appointment/bg.png");
	position: absolute;
	top: 300px;
	left: -195px;
}
.appointment__items {
	display: flex;

	align-items: center;
	position: relative;
	z-index: 5;
}
.appointment__item {
	flex: 1 1 50%;
	min-width: 510px;
}
.right-appointment {
	display: inline-flex;
	align-self: flex-start;
}
.appointment__form {
	max-width: 500px;
}
.form-appointment {
	display: flex;
	flex-direction: column;
	padding: 76px 58px;
	background-color: #fff;
}
.form-appointment__title {
	font-weight: 900;
	font-size: 36px;
	line-height: 1.17;
	text-align: center;
	color: #02133c;
	margin-bottom: 43px;
}

.form-appointment__line {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -11px;
	row-gap: 20px;
	/* flex-direction: column; */
}
.form-appointment__wrapper {
	flex: 1 1 50%;
	padding: 0 11px;
}
.form-appointment__input {
	padding: 17px 24px;
	color: #959595;
	background-color: #f5f5f5;
	width: 100%;
	min-height: 38px;
	transition: all 0.3s linear;
}
.form-appointment__input::placeholder {
	transform: translate(0, 0);
	transition: all 0.3s linear;
	opacity: 1;
}
.form-appointment__input:focus {
	outline: 1px solid #f5f5f5;
	transform: scale(110%);
}
.form-appointment__input:focus.form-appointment__input::placeholder {
	transform: translate(-100%, 0);
	opacity: 0;
}
.form-appointment__comment {
	padding: 17px 24px;
	background-color: #f5f5f5;
	resize: vertical;
	width: 100%;
	height: 100%;
	min-height: 180px;
	color: #959595;
	transition: all 0.3s linear;
}
.form-appointment__comment:focus {
	outline: 1px solid #f5f5f5;
	transform: scale(110%);
}
.form-appointment__button {
	margin-top: 30px;
	align-self: flex-end;
	cursor: pointer;
}

.right-appointment {
	padding-top: 165px;
	display: inline-flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	row-gap: 46px;
}
.right-appointment__title {
	font-weight: 900;
	font-size: 30px;
	line-height: 1.2;
	text-align: center;
	color: #ffffff;
	max-width: 324px;
}
.right-appointment__text {
	font-weight: 900;
	font-size: 96px;
	line-height: 0.58;
	color: #c40b0b;
}
.right-appointment__subtitle {
	font-weight: 900;
	font-size: 19px;
	line-height: 1.36;
	color: #ffffff;
}

/* Customers 
========================*/

.customers {
	padding: 120px 0;
}

.customers__content {
	display: flex;
	flex-wrap: wrap;
	row-gap: 24px;
	margin: 0px -12px;
	margin-bottom: 210px;
}
.customers__titles {
	flex: 1 0 33.333%;
	padding: 0px 12px;
}
.titles__title_width {
	max-width: 290px;
}
.customers__items {
	padding: 0px 12px;
	flex: 1 1 33.33%;
}

.items-customers__item {
	background-color: #fff;
	height: 100%;
	padding: 50px 43px;
	transform: scale(100%);
	transition: all 0.2s ease;
}
.items-customers__item:hover {
	transform: scale(105%);
	box-shadow: 0px 0px 10px 1px rgba(0, 0, 0, 0.568);
}
.items-customers__text {
	margin-bottom: 18px;
}
.author {
	display: flex;
	align-items: center;
	column-gap: 17px;
}
.author__photo {
	align-self: flex-start;
}
.author__name {
	font-weight: 700;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.15px;
	color: #02133c;
}

/* Impact
=================== */
.impact {
	background: #02133c url("../img/impact/bg.png") 0px -25px / cover no-repeat;
	padding-bottom: 212px;
}

.impact__top {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 80px;
}
.top-impact__titles {
	flex: 1 1 50%;
	align-self: flex-end;
}

.titles__suptitle_white,
.titles__title_white {
	color: #fff;
}
.titles__title_white {
	max-width: 411px;
}
.top-impact__img {
	margin-top: -80px;
	max-width: 498px;
	max-height: 315px;
	flex: 1 1 50%;
}
.top-impact__img img {
	width: 100%;
	height: 100%;
}

.impact__bottom {
	display: flex;
	flex-wrap: wrap;
	row-gap: 12px;
	margin: 0 -12px;
}

.bottom-impact__item {
	padding: 0px 12px;
	display: flex;
	align-items: center;
	column-gap: 12px;
	flex: 1 1 25%;
	transform: scale(100%);
	transition: all 0.2s ease;
}
.bottom-impact__item:hover {
	cursor: pointer;
	transform: scale(105%);
}
.item-bottom__img {
	align-self: flex-start;
}
.item-bottom__content {
	display: flex;
	flex-direction: column;
	height: 100%;
	row-gap: 10px;
}
.item-bottom__number {
	font-weight: 900;
	font-size: 36px;
	line-height: 1.17;
	color: #c40b0b;
}
.item-bottom__text {
	font-weight: 400;
	font-size: 16px;
	line-height: 1.5;
	letter-spacing: 0.15px;
	color: #f5f5f5;
	flex: 1 1 auto;
}

/* Tempor
=============== */

.tempor__item {
	padding: 43px 70px;
	background-color: #fff;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: center;
	margin-top: -80px;
}
.tempor__title {
	font-weight: 900;
	font-size: 24px;
	line-height: 1.25;
	color: #02133c;
	flex: 1 1 75%;
}
.title-tempor__item {
	max-width: 500px;
}
.tempor__button {
	display: flex;
	flex: 1 0 25%;
}

/* Footer
===================== */

.footer {
	padding: 72px 0px 0px 0px;
}

.footer__items {
	margin-bottom: 126px;
}
.items-footer {
	display: flex;
}
.items-footer__column {
	flex: 1 1 33.333%;
}
.column-footer {
	display: flex;
	flex-direction: column;
}
.column-footer__logo {
	margin-top: -15px;
	margin-bottom: 23px;
}

.column-footer__text {
	margin-bottom: 33px;
	max-width: 270px;
}

.socials {
	display: flex;
	column-gap: 18px;
}
.socials__wrapper {
	transform: rotate(0);
	transition: all 0.8s ease;
}
.socials__wrapper:hover {
	transform: rotate(360deg);
}
.column-footer__title {
	font-weight: 700;
	font-size: 14px;
	line-height: 1.57;
	letter-spacing: 0.15px;
	color: #4b4b4b;
	margin-bottom: 28px;
	text-transform: uppercase;
}
.column-footer__flex {
	display: flex;
}
.column-footer__side {
	display: flex;
	flex-direction: column;
	flex: 1 1 50%;
	row-gap: 11px;
}
.column-footer__link {
	padding: 0px 5px;
	font-weight: 700;
	font-size: 14px;
	line-height: 1.57;
	letter-spacing: 0.15px;
	color: #4b4b4b;
	display: inline-flex;
	transition: all 0.3s ease;
}

.column-footer__link:hover {
	background-color: rgba(0, 0, 0, 0.781);
	border-radius: 40px;
	color: #fff;
}

.column-footer-right {
	font-weight: normal;
	font-size: 14px;
	line-height: 1.43;
	letter-spacing: 0.15px;
	color: #4b4b4b;
	display: flex;
	flex-direction: column;
	row-gap: 16px;
}
.column-footer-right__item {
	display: flex;
	column-gap: 18px;
	align-items: center;
	transition: all 0.2s ease;
}
.column-footer-right__item:hover {
	transform: scale(105%);
}
.column-footer-right__item:hover img {
	animation: icon-shake 0.8s linear;
}
.column-footer-right__item img {
	flex: 0 0 16px;
	height: 16px;
	align-self: flex-start;
}
.column-footer-right__link {
	font-size: 14px;
	line-height: 1.43;
	letter-spacing: 0.15px;
	color: #4b4b4b;
}
.footer__bottom {
	background-color: #02133c;
}
.bottom-footer {
	display: flex;
	align-items: center;
	min-height: 60px;
	justify-content: space-between;
}
.bottom-footer__item {
	font-size: 12px;
	line-height: 1.5;
	letter-spacing: 0.15px;
	color: #959595;
}

@keyframes icon-shake {
	0% {
		transform: rotate(0deg);
	}
	20% {
		transform: rotate(-10deg);
	}
	40% {
		transform: rotate(0deg);
	}
	60% {
		transform: rotate(10deg);
	}
	80% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(0deg);
	}
}
