/* GENERAL */

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

:root {
	--accent: #fe9900;
	--accent2: #221cba;
}

html {
  scroll-behavior: smooth;
}

body {
	font-size: 16px;
	color: #000;
	font-family: "Poppins", sans-serif;
	font-weight: 300;
}

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

ul, li {
	list-style-type: none;
}

a {
	color: #000;
	text-decoration: none;
	transition: .5s;
}

a:hover {
	color: var(--accent);
}

.block {
	padding: 75px 0;
}

.block-title {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: 50px;
}

.block-title-icon {
	color: var(--accent2);
	font-size: 36px;
}

.block-title-text {
	font-size: 36px;
	font-weight: 600;
	text-align: center;
	
}

.block-title-divider {
	width: 200px;
	border: 1px solid #000;
	margin: 30px 0;
}

.block-title-desc {
	text-align: center;
}

.block-title-desc p {
	margin-bottom: 5px;
}

.bg-cover {
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	z-index: 1;
}

.bg-cover.transition {
	background: linear-gradient(to left, transparent 50%, #fff 100%);
}

.bg-cover.dark {
	background: rgba(0, 0, 0, 0.6);
}

.bg-cover.light {
	background: rgba(255, 255, 255, 0.8);
}


/* FIXED CALL */


.fixed-call {
	position: fixed;
	bottom: 35px;
	right: 35px;
	font-size: 50px;
	z-index: 3;
	transition: .3s;
	transform: rotate(0deg);
	border: 2px solid red;
	width: 100px;
	height: 100px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	color: red;
	background-color: rgba(255, 255, 255, .5);
}

.fixed-call:hover {
	color: var(--accent2);
	border-color: var(--accent2);
	transform: rotate(10deg);
}


/* BUTTON */

.book-button {
	padding: 0 15px;
	width: 220px;
	height: 50px;
	transition: .5s;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	text-transform: uppercase;
	font-size: 18px;
	font-weight: 400;
	text-align: center;
}

.book-button.white {
	background-color: #fff;
	color: #000;
	border: 2px solid #000;
}

.book-button.white:hover {
	background-color: #000;
	color: #fff;
}

.book-button.black {
	background-color: #000;
	color: #fff;
}

.book-button.black:hover {
	background-color: var(--accent);
	color: #000;
}

.book-button.black-white {
	background-color: #000;
	color: var(--accent);
}

.book-button.black-white:hover {
	background-color: #fff;
	color: #000;
}

.book-button.orange {
	background-color: var(--accent);
	color: #000;
}

.book-button.orange:hover {
	background-color: #000;
	color: #fff;
}

.book-button.red {
	background-color: #F00;
	color: #fff;
}

.book-button.red:hover {
	background-color: var(--accent);
	color: #000;
}

.book-pointer {
	margin-right: 5px;
}

.header .book-button {
	font-weight: 500;
	height: 40px;
}


/* TOP-CONTACTS */


.top-contacts-content {
	display: flex;
	justify-content: center;
	align-items: center;
	font-weight: 600;
	padding: 5px 0;
	gap: 50px;
}

.top-contacts-info {
	display: flex;
	align-items: center;
}

.top-contacts-content i {
	color: var(--accent);
	margin-right: 12px;
}

.top-contacts-phones {
	display: flex;
	align-items: center;
}

.top-contacts-phones .top-contacts-info {
	font-size: 24px;
}


/* HEADER */


.header {
	position: sticky;
	top: 0;
	z-index: 4;
	background-color: var(--accent2);
	height: 50px;
}

.header .container {
	display: flex;
	align-items: center;
	justify-content: center;
}

.logo {
	width: 50px;
	height: 50px;
}

.header .logo img {
	display: block;
	max-width: 100%;
}

nav {
	display: block;
	flex: 1;
}

.header-menu {
	display: flex;
	justify-content: space-around;
	height: 50px;
}

.header-menu li {
	height: 100%;
	display: flex;
}

.header-menu li a {
	color: var(--accent);
	font-weight: 500;
	text-transform: uppercase;
	display: flex;
	justify-content: center;
	align-items: center;
	padding: 0 20px;
	transition: .5s;
}

.header-menu li a:hover {
	background-color: #000;
	color: #fff;
}

.mobile-menu-button {
	display: none;
}


/* HAT */


/*.hat {
	background-image: url(../images/hat-bg3.jpg);
	background-size: cover;
	background-position: 0 0;
	position: relative;
}

.hat .container {
	padding: 150px 0;
	position: relative;
	z-index: 2;
}

.hat-title {
	font-size: 70px;
	line-height: 75px;
	font-weight: 600;
	margin-bottom: 50px;
}

.hat-advs {
	margin-bottom: 50px;
}

.hat-advs i {
	color: var(--accent);
}*/

.hat-content {
	position: relative;
}

.hat-content .container {
	position: relative;
	z-index: 2;
	height: 600px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.hat-content-cover {
	height: 600px;
	display: flex;
	flex-direction: column;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
}

.hat-content-cover-top {
	background-color: var(--accent2);
	width: 50%;
	flex: 1;
	position: relative;
}

.hat-content-cover-top::after {
	position: absolute;
	content: "";
	width: 5px;
	top: 0;
	bottom: 0;
	right: -5px;
	background-color: var(--accent2);
}

.hat-content-cover-top::before {
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	top: 0;
	bottom: 0;
	right: -25px;
	border-left: 0 solid var(--accent2);
  border-right: 20px solid transparent;
  border-top: 400px solid var(--accent2);
  border-bottom: 0 solid transparent;
}

.hat-content-cover-bottom {
	background-color: #fff;
	width: 50%;
	height: 200px;
	position: relative;
}

.hat-content-cover-bottom::before {
	position: absolute;
	content: "";
	width: 0;
	height: 0;
	top: 0;
	bottom: 0;
	right: -5px;
	border-left: 0 solid #fff;
  border-right: 5px solid transparent;
  border-top: 200px solid #fff;
  border-bottom: 0 solid transparent;
}

.hat-content {
	background-image: url(../images/hat-bg4.jpg);
	background-size: cover;
	background-position: 60% 10%;
	position: relative;
}

.hat-h2 {
	text-transform: uppercase;
	font-weight: 500;
	margin-bottom: 7px;
}

.hat-content-top {
	color: #fff;
	width: 50%;
	padding: 20px 20px 20px 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	flex: 1;
}

.hat-content-name {
	text-transform: uppercase;
	font-size: 24px;
	margin-bottom: 15px;
}

.hat-content-title {
	text-transform: uppercase;
	font-size: 40px;
	line-height: 45px;
	margin-bottom: 15px;
}

.hat-content-desc {
	margin-bottom: 15px;
}

.hat-phones {
	display: flex;
	flex-wrap: wrap;
	font-size: 30px;
	margin-bottom: 10px;
}

.hat-phones a {
	color: white;
	font-weight: 300;
}

.hat-phones a:hover {
	color: var(--accent);
}

.hat-phones i {
	padding-right: 5px;
}

.hat-phones p {
	margin-right: 10px;
}

.hat-content-top .book-button {
	width: 370px;
}

.hat-content-bottom {
	height: 170px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	width: 50%;	
}

.hat-content-bottom ul i {
	margin-right: 5px;
}

.hat-floor .container {
	display: flex;
}

.hat-appeal {
	flex: 1;
	padding: 10px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.hat-appeal-title {
	font-size: 28px;
	font-weight: 600;
	margin-bottom: 20px;
	text-transform: uppercase;
}

.hat-reviews-carousel {
	width: 50%;
}

.splide.hat-reviews-carousel .splide__arrows {
	display: none;
}

.hat-review {
	padding: 10px;
	flex: 1;
}

.hat-review-rate {
	display: flex;
	align-items: center;
	margin-bottom: 7px;
}

.hat-review-digit {
	margin-right: 10px;
	font-size: 24px;
	font-weight: 500;
}

.hat-review-stars {
	display: flex;
}

.hat-review-stars i {
	color: var(--accent);
	margin-right: 3px;
}

.hat-review-google {
	margin-bottom: 7px;
}

.hat-review-text {
	margin-bottom: 7px;
}

.hat-review-author {
	font-weight: 500;
}

.hat-call {
	background-color: var(--accent2);
	padding: 10px 0;
	color: #fff;
	font-weight: 400;
	text-align: center;
	text-transform: uppercase;
}

.hat-call a {
	color: #fff;
	display: block;
}

.hat-call a:hover {
	color: var(--accent);
}


/* ADVANTAGES */


.advantages {
	background-image: url(../images/gears1.jpg);
	background-size: cover;
	background-position: center;
	position: relative;
}

.advantages .container {
	position: relative;
	z-index: 2;
}

.advantages-content {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 20px;
}

.adv {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	flex: 1;
	color: #fff;
	opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.adv.in-view {
  opacity: 1;
  transform: translateY(0);
}

.adv-divider {
	border: 1px solid #fff;
	width: 150px;
	margin: 15px 0;
}

.adv-digit {
	font-size: 36px;
	font-weight: 500;
}

.adv-icon {
	color: var(--accent);
	font-size: 70px;
}

.adv-desc {
	font-size: 24px;
	font-weight: 500;
}


/* SERVICES */


.services-content {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.service {
	flex: 0 0 calc((100% - 40px) / 3);
	height: 100px;
	background-color: #eee;
	display: flex;
}

.service-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--accent2);
	width: 100px;
	font-size: 24px;
	color: #fff;
}

.service-name {
	display: flex;
	align-items: center;
	padding-left: 20px;
	font-weight: 500;
	font-size: 24px;
	flex: 1;
}


/* WHY CHOOSE US */


.why-parma {
	background-image: url(../images/why-bg.jpg);
	background-size: cover;
	position: relative;
}

.why-parma .container {
	position: relative;
	z-index: 2;
}

.why-content {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.why-point {
	flex: 0 0 calc((100% - 60px) / 4);
}

.why-hat {
	border-bottom: 2px solid #000;
	display: flex;
	margin-bottom: 10px;
}

.why-icon {
	width: 75px;
	height: 73px;
	background-color: var(--accent2);
	border-top: 2px solid #000;
	border-right: 2px solid #000;
	position: relative;
	font-size: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
}

.why-icon::before {
	content: "";
	position: absolute;
	bottom: -2px;
	left: 0;
	right: 0;
	background-color: var(--accent2);
	height: 2px;
}

.why-title {
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 1;
	padding-left: 15px;
}


/* BOOK */


.book {
	padding: 150px 0;
	text-align: center;
	position: relative;
	background-image: url(../images/book-bg.jpg);
	background-size: cover;
}

.book .container {
	position: relative;
	z-index: 2;
}

.book-title {
	font-size: 70px;
	color: #fff;
	font-weight: 600;
	margin: 0 auto 20px;
}

.book .book-button {
	margin: 0 auto;
}


/* AREAS */

.areas {
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
}

.area {
	flex: 0 0 calc((100% - 90px) / 4);
	display: flex;
}

.area-icon {
	color: var(--accent2);
	width: 40px;
	height: 38px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 20px;
	border-right: 2px solid #000;
	border-bottom: 2px solid #000;
}

.area-name {
	font-size: 24px;
	font-weight: 400;
	padding-left: 10px;
}


/* SPLIDE */

.reviews {
	width: 100%;
	max-width: 800px;
	margin: 0 auto;
}

.splide__slide img {
	max-width: 100%;
}


/* BRANDS */


.brands {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
}

.brand {
	flex: 0 0 calc((100% - 60px) / 4);
	border-right: 3px solid var(--accent2);
	border-bottom: 3px solid var(--accent2);
	border-top: 1px solid var(--accent2);
	border-left: 1px solid var(--accent2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand img {
	max-width: 100%;
}


/* BOOK TODAY */

.book2 .container {
	display: flex;
	border: 4px solid #000;
}

.book2-content {
	padding: 40px;
	display: flex;
	flex-direction: column;
	align-items: center;
	flex: 1;
}

.book2-phones {
	font-size: 36px;
	font-weight: 500;
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 20px;
}

.book2-img {
	width: 45%;
	background-image: url(../images/logo.jpg);
	background-size: cover;
	background-position: center 100%;
}


/* FOOTER */

.footer {
	color: #fff;
	position: relative;
	background-image: url(../images/gears1.jpg);
	background-position: 100% center;
	background-size: cover;
}

.footer a {
	color: #fff;
}

.footer a:hover {
	color: var(--accent);
}

.footer .container {
	position: relative;
	z-index: 2;
}

.footer-content {
	display: flex;
	justify-content: center;
	gap: 50px;
	font-weight: 600;
	padding: 50px 0;
}

.footer-content-block {
	width: 400px;
	display: flex;
	flex-direction: column;
	gap: 15px;
	align-items: flex-start;
}

.footer-content-title {
	border-bottom: 2px solid var(--accent);
	border-right: 2px solid var(--accent);
	font-size: 24px;
	font-weight: 500;
	padding: 0 15px 5px 0;
	align-self: stretch;
}

.footer-info {
	display: flex;
	align-items: center;
}

.footer-content i {
	color: var(--accent);
	margin-right: 12px;
}

.footer-phones {
	display: flex;
	align-items: center;
}

.footer-bottom {
	background-color: #444;
	padding: 20px 0;
}

.footer-bottom .container {
	display: flex;
	justify-content: space-between;
}

.footer-bottom-block {
	display: flex;
	gap: 15px;
}


@media (max-width: 1299px) {
	.adv-digit {
		font-size: 32px;
	}

	.adv-desc {
		font-size: 20px;
	}

	.service-name {
		font-size: 20px;
	}

	.area-name {
		font-size: 20px;
	}
}


@media (max-width: 1199px) {
	.top-contacts {
		display: none;
	}

	.header .container {
		justify-content: space-between;
	}

	nav {
		position: absolute;
		z-index: 3;
		left: 0;
		right: 0;
		top: 50px;
		width: 100%;
		background-color: #000;
		height: 100vh;
		display: flex;
		justify-content: center;
		transform: translateX(-100%);
	}

	nav.visible {
		transform: translateX(0);
		transition: .4s;
	}

	.header-menu {
		flex-direction: column;
		align-items: stretch;
		justify-content: center;
		width: 100%;
		height: auto;
	}

	.header-menu li {
		min-width: 100%;
		max-height: 50px;
	}

	.header-menu li a {
		color: #fff;
		width: 100%;
	}

	.header-menu li a:hover {
		color: var(--accent);
	}

	.mobile-menu-button {
		display: block;
		font-size: 24px;
	}

	.why-point {
		flex: 0 0 calc((100% - 40px) / 2);
	}

	.area {
		flex: 0 0 calc((100% - 60px) / 3);
	}
}


@media (max-width: 991px) {
	/*.hat-title {
		font-size: 50px;
	}*/

	.hat-content-title {
		font-size: 36px;
		line-height: 40px;
	}

	.hat-content-top .book-button {
		font-size: 16px;
		width: 100%;
		max-width: 300px;
	}

	.hat-phones {
		font-size: 24px;
	}

	.advantages-content {
		flex-wrap: wrap;
	}

	.adv {
		flex: 0 0 calc((100% - 20px) / 2);
	}

	.service {
		flex: 0 0 calc((100% - 20px) / 2);
	}

	.book-title {
		font-size: 50px;
	}

	.book2 .container {
		flex-direction: column;
	}

	.book2-img {
		height: 300px;
		width: 100%;
		background-position: center 100%;
	}

	.footer-bottom .container {
		flex-direction: column;
	}

	.footer-bottom-block {
		justify-content: center;
	}
}


@media (max-width: 767px) {
	/*.hat .container {
		padding: 75px 0;
	}*/

	.block {
		padding: 40px 0;
	}

	/*.hat .bg-cover.transition {
		background: rgba(255, 255, 255, 0.7)
	}

	.hat .container {
		display: flex;
		flex-direction: column;
		align-items: center;
		text-align: center;
	}*/

	.hat {
		font-size: 14px;
	}

	.hat .book-button {
		font-size: 14px;
	}

	.hat-h2 {
		font-size: 16px;
		margin-bottom: 4px;
	}

	.hat-content-name {
		font-size: 16px;
	}

	.hat-content-title {
		font-size: 24px;
		line-height: 26px;
	}

	.hat-appeal-title {
		font-size: 20px;
		line-height: 22px;
	}

	.hat-appeal .book-button {
		width: 100%;
	}

	.hat-review-text {
		font-size: 10px;
	}

	.adv {
		flex: unset;
		width: 100%;
	}

	.service {
		flex: unset;
		width: 100%;
	}

	.why-point {
		flex: unset;
		width: 100%;
	}

	.area {
		flex: 0 0 calc((100% - 40px) / 2);
	}

	.brand {
		flex: 0 0 calc((100% - 40px) / 2);
	}

	.book2-phones {
		font-size: 24px;
	}
}

@media (max-width: 569px) {
	/*.hat-title {
		font-size: 40px;
		line-height: 50px;
	}*/

	.hat-content-desc {
		display: none;
	}

	.hat-phones {
		font-size: 16px;
	}

	.block-title-text {
		font-size: 30px;
	}

	.adv-digit {
		font-size: 20px;
	}

	.adv-icon {
		font-size: 40px;
	}

	.services-content {
		gap: 10px;
	}

	.service {
		height: 60px;
	}

	.service-icon {
		width: 60px;
		height: 60px;
	}

	.book-title {
		font-size: 36px;
	}

	.area {
		display: flex;
		align-items: center;
	}

	.area-icon {
		width: 25px;
		height: 23px;
		font-size: 12px;
	}

	.area-name {
		font-size: 16px;
	}

	.book2-img {
		height: 150px;
	}

	.footer-content {
		flex-direction: column;
		align-items: center;
	}

	.footer-content-block {
		width: 100%;
		max-width: 400px;
	}

	.footer-content-block .logo {
		align-self: center;
	}

	.footer-content-block .book-button {
		align-self: center;
	}
}