@font-face {
	font-family: "PT Sans Narrow";
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/pt-sans-narrow-400-latin.woff2) format("woff2");
}

@font-face {
	font-family: "PT Sans Narrow";
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/pt-sans-narrow-700-latin.woff2) format("woff2");
}

@font-face {
	font-family: "Open Sans";
	font-style: normal;
	font-weight: 300 700;
	font-display: swap;
	src: url(../fonts/open-sans-latin.woff2) format("woff2");
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: #253428;
	color: #dce4e8;
	font-family: "Open Sans", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 300;
	line-height: 1.7;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: #97c93c;
}

h1,
h2,
h3 {
	margin: 0 0 0.75rem;
	font-family: "PT Sans Narrow", "Arial Narrow", sans-serif;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.15;
	text-transform: uppercase;
}

h1,
h2 {
	color: #97c93c;
	font-size: clamp(2rem, 4vw, 2.75rem);
}

h3 {
	font-size: 1.375rem;
}

.subtitle {
	margin: 0 0 1.25rem;
	font-family: "PT Sans Narrow", "Arial Narrow", sans-serif;
	font-size: 1.375rem;
	line-height: 1.45;
	color: #fff;
}

.site-header {
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	grid-template-areas: "contacts logo ." "nav nav nav";
	align-items: center;
	gap: 1.25rem 1rem;
	max-width: 1170px;
	margin: 0 auto;
	padding: 1.5rem 1rem 1.25rem;
}

.header-contacts {
	grid-area: contacts;
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	letter-spacing: 0.12em;
}

.header-contacts a {
	color: #fff;
	text-decoration: none;
}

.header-phone {
	font-weight: 700;
}

.header-email {
	font-size: 0.8125rem;
	opacity: 0.7;
}

.logo {
	grid-area: logo;
}

.logo img {
	width: 170px;
}

.site-nav {
	grid-area: nav;
}

.site-nav ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem 2.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-nav a {
	color: #fff;
	font-size: 0.875rem;
	letter-spacing: 0.25em;
	text-decoration: none;
	text-transform: uppercase;
}

.site-nav a:hover,
.site-nav a:focus-visible,
.site-nav a[aria-current="page"] {
	color: #97c93c;
}

.slider {
	position: relative;
}

.slides {
	display: flex;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.slides::-webkit-scrollbar {
	display: none;
}

.slide {
	flex: 0 0 100%;
	margin: 0;
	scroll-snap-align: start;
}

.slide img {
	width: 100%;
	height: clamp(260px, 45vw, 620px);
	object-fit: cover;
}

.slider-dots {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 1.25rem;
	display: flex;
	justify-content: center;
	gap: 0.75rem;
}

.slider-dots a {
	width: 12px;
	height: 12px;
	border: 2px solid #fff;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.3);
}

.slider-dots a:hover,
.slider-dots a:focus-visible {
	background: #97c93c;
}

.intro,
.about,
.summer {
	max-width: 1170px;
	margin: 0 auto;
	padding: 3.5rem 1rem 1rem;
}

.intro p:last-child {
	max-width: 48rem;
}

.about img {
	margin-top: 0.5rem;
}

.band {
	margin-top: 3rem;
	background: #97c93c;
	color: #1f2b21;
	font-weight: 400;
}

.band a {
	color: #253428;
	font-weight: 600;
}

.band h3 {
	color: #fff;
}

.band-inner {
	max-width: 1170px;
	margin: 0 auto;
	padding: 3rem 1rem 0;
}

.band-inner:last-child {
	padding-bottom: 3rem;
}

.three-cols {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2.5rem;
}

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

.steps > div {
	text-align: center;
}

.steps img {
	margin: 0 auto 1rem;
	width: 110px;
}

.summer h2 {
	color: #fff;
	text-align: center;
	margin-bottom: 2rem;
}

.cards {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 1.5rem;
}

.card h3 {
	margin-top: 1rem;
	color: #fff;
}

.site-footer {
	margin-top: 3rem;
	padding: 2.5rem 1rem;
	background: #1c2820;
	text-align: center;
	font-size: 0.9375rem;
}

.site-footer p {
	margin: 0 0 1rem;
}

.copyright {
	opacity: 0.7;
	font-size: 0.8125rem;
}

@media (max-width: 47.99em) {
	.site-header {
		grid-template-columns: 1fr;
		grid-template-areas: "logo" "contacts" "nav";
		justify-items: center;
		text-align: center;
	}

	.logo img {
		width: 130px;
	}

	.three-cols,
	.cards {
		grid-template-columns: 1fr;
		gap: 1.5rem;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}
}
