:root {
	--primary: #f97eb9;

	--secondary: #fedb67;
	--secondary-light: #60a8f3;

	--bg: #fff;
	--text-color: #404040;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700;900&display=swap');

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}
article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
	display: block;
}
a {
	color: #000;
	text-decoration: underline;
}
a:hover {
	text-decoration: none;
}
a, img {
	border: none;
}
a, input:focus, button:focus, textarea:focus, select:focus {
	outline: none;
}
button {
	cursor: pointer;
}
body {
	background: #f984bc;
	background: linear-gradient(135deg, #fec1a3, #f97fb8);
	color: var(--text-color);
	font: 16px/1.4 Inter, Arial, Tahoma, sans-serif;
}

.wrapper {
	max-width: 1360px;
	margin: 0 auto;
	background: url('../images/top-bg.jpg') center top no-repeat #fdf9f6;
	background-size: 100% auto;
	/*box-shadow: 0 5px 50px rgba(0, 0, 0, 0.5);*/
}
.container {
	max-width: 1280px;
	margin: 0 auto;
	padding-left: 15px;
	padding-right: 15px;
}
.container:after,
.cla:after {
	content: '';
	clear: both;
	display: block;
}

img {
	user-select: none;
}

h1, h2, h3 {
	font-weight: bold;
	text-transform: uppercase;
	letter-spacing: 1px;
}

h2 {
	font-size: 36px;
}

.btn {
	display: inline-block;
	padding: 0 20px;
	background: #212121;
	border: none;
	border-radius: 24px;
	color: #fff;
	font-size: 16px;
	line-height: 48px;
	font-weight: bold;
	text-decoration: none;
	box-shadow: 0 0 32px rgba(0, 0, 0, 0.25);
}
.btn:hover {
	background: #f97eb9;
}
.btn-lg {
	padding: 0 48px;
	border-radius: 12px;
	font-size: 32px;
	line-height: 80px;
	text-transform: uppercase;
	letter-spacing: 1px;
}

.text-center {
	text-align: center;
}


/* header
*************************************************/
.header {
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-top: 24px;
	padding-bottom: 24px;
}
.logo {
	width: 200px;
}
.logo a {
	display: inline-block;
	text-decoration: none;
}
.logo img {
	display: block;
	width: 200px;
	height: auto;
}
.header-slogan {
	width: 100%;
	color: #333;
	font-size: 18px;
	text-align: center;
}
.header-slogan span {
	padding: 0 24px;
}
.header-btn {
	width: 200px;
	text-align: right;
}


/* main
*************************************************/
.main {}
.main-panel {
	margin:  0 auto 470px; /* 470px */
	text-align: center;
}
.main h1 {
	color: #212121;
	font-size: 80px;
	line-height: 1.2;
	margin-bottom: 25px;
}
.hl {
	color: #f97eb9;
}
.main-bottom {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-between;
}
.main-hint {
	font-size: 14px;
}
.main-explore {
	position: relative;
	padding-right: 16px;
}
.main-explore:after {
	content: '';
	position: absolute;
	top: 50%;
	margin-top: -5px;
	right: 0;
	width: 11px;
	height: 10px;
	background: url('../images/arrow.png') no-repeat;
}


/* services
*************************************************/
.services {
	padding: 50px 0;
	text-align: left;
}
.services-grid {
	display: flex;
	flex-direction: row;
}
.services-item {
	width: 100%;
	padding-left: 50px;
	padding-right: 50px;
	position: relative;
	font-size: 18px;
}
.services-q {
	position: absolute;
	top: 0;
	left: 8px;
}
.services-divider {
	width: 1px;
	background: #999;
	margin-left: 10px;
	margin-right: 10px;
}
.services-title {
	color: #212121;
	font-size: 22px;
	margin-bottom: 16px;
}


/* footer
*************************************************/
.footer {}
.footer .container {
	border-top: 1px solid #999;
	padding-top: 50px;
	padding-bottom: 25px;
	display: flex;
	flex-direction: row;
	width: 100%;
}
.contacts-left,
.contacts-col {
	width: 100%;
}
.footer h2 {
	font-size: 40px;
}
.copyright {
	font-size: 12px;
	opacity: 0.8;
}
.contacts-col {
	padding-top: 10px;
}
.contacts-label {
	font-size: 18px;
	font-weight: bold;
	text-transform: uppercase;
	margin-bottom: 5px;
}


@media (max-width: 1360px) {
	.main h1 {
		font-size: 6vw;
	}
	.main-panel {
		margin-bottom: 30vw;
	}

	.footer h2 {
		font-size: 30px;
	}
}
@media (max-width: 830px) {
	.main h1 {
		font-size: 5.5vw;
	}
	.main-panel {
		margin-bottom: 30vw;
	}
	.services-item {
		float: none;
		width: auto;
	}
	
}

@media (max-width: 767px) {
	.header {
		flex-direction: column;
	}
	.logo {
		width: 100%;
	}
	.logo img {
		margin: 0 auto 15px;
	}
	.header-btn {
		width: 100%;
		text-align: center;
		margin-top: 15px;
	}

	.main-panel {
		padding-top: 25px;
		padding-bottom: 25px;
		background: rgba(255, 255, 255, 0.5);
		margin-bottom: 10vw;
	}
	.main h1 {
		font-size: 42px;
	}

	.main-hint {
		width: 100%;
		text-align: center;
	}
	.main-hint br {
		display: none;
	}
	.main-explore {
		display: none;
	}

	.services-grid {
		flex-direction: column;
	}
	.services-item + .services-item {
		margin-top: 25px;
	}
	.services-title br {
		display: none;
	}

	.footer .container {
		flex-direction: column;
		text-align: center;
	}
}

@media (max-width: 540px) {
	.header-slogan {
		font-size: 18px;
	}
	.header-slogan span {
		padding: 0 10px;
	}

	.main-panel {
		padding-top: 15px;
		padding-bottom: 15px;
		margin-bottom: 15px;
	}
}

@media (max-width: 420px) {
	.main h1 {
		font-size: 32px;
	}
}