/* ==========================================================================
   Tokens
   ========================================================================== */
:root {
	--pg-green: #339b47;
	--pg-green-title: #359846;
	--pg-green-hover: #68c453;
	--pg-green-light: #b2e68d;
	--pg-orange: #f09132;
	--pg-orange-hover: #ffa628;
	--pg-text: #606060;
	--pg-white: #fff;

	--pg-font-body: "Poppins", sans-serif;
	--pg-font-heading: "Quicksand", sans-serif;

	--pg-container: 1140px;
}

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

html {
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--pg-white);
	color: var(--pg-text);
	font-family: var(--pg-font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
	border: 0;
}

a {
	color: inherit;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	top: 8px;
	left: 8px;
	z-index: 100000;
	width: auto;
	height: auto;
	padding: 12px 20px;
	clip: auto;
	background: var(--pg-white);
	color: var(--pg-text);
}

.container {
	width: 100%;
	max-width: var(--pg-container);
	margin: 0 auto;
}

/* ==========================================================================
   Button
   ========================================================================== */
.btn {
	display: block;
	width: 100%;
	padding: 12px 50px;
	border-radius: 16px;
	font-family: var(--pg-font-body);
	font-size: 24px;
	font-weight: 600;
	line-height: 1;
	text-align: center;
	text-decoration: none;
	color: var(--pg-white);
	transition: background-color 0.3s;
}

.btn--green {
	background-color: var(--pg-green);
}

.btn--green:hover,
.btn--green:focus-visible {
	background-color: var(--pg-green-hover);
}

.btn--orange {
	background-color: var(--pg-orange);
}

.btn--orange:hover,
.btn--orange:focus-visible {
	background-color: var(--pg-orange-hover);
}

/* ==========================================================================
   Landing: hero
   ========================================================================== */
.landing-hero {
	margin: 40px 0;
}

.landing-hero .container {
	padding: 10px;
	text-align: center;
}

.landing-hero__logo {
	display: block;
	width: 391px;
	margin: 0 auto 20px;
}

.landing-hero__title {
	margin: 0;
	font-family: var(--pg-font-heading);
	font-size: 32px;
	font-weight: 600;
	line-height: 1;
	color: var(--pg-green-title);
}

/* ==========================================================================
   Landing: options
   ========================================================================== */
.landing-options {
	margin-bottom: 80px;
}

.landing-options__grid {
	display: flex;
}

.landing-card {
	flex: 1 1 50%;
	min-width: 0;
	padding: 0 40px;
}

.landing-card__image {
	display: block;
	width: auto;
	height: 380px;
	margin: 0 auto 20px;
	object-fit: contain;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer__clip {
	position: absolute;
	top: 0;
	left: 0;
}

/* Safari only repaints url() clip-paths reliably on composited, animated layers. */
@keyframes pg-footer-clip-repaint {
	0%,
	100% {
		clip-path: url(#pg-footer-shape);
	}
}

.site-footer__curve,
.site-footer__paper {
	clip-path: url(#pg-footer-shape);
	transform: translateZ(0);
	animation: pg-footer-clip-repaint 5s infinite linear;
}

.site-footer__curve {
	padding-top: 16px;
	background-color: #edf8db;
}

.site-footer__paper {
	position: relative;
	padding: 80px 0 24px;
	background-repeat: no-repeat;
	background-size: cover;
}

.site-footer__container {
	padding: 0 24px;
}

.site-footer__content {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
	width: 100%;
	max-width: 1648px;
	margin: 0 auto;
}

.site-footer__brand {
	display: flex;
	flex: 0 0 auto;
	flex-direction: column;
	align-items: center;
}

.site-footer__logo {
	display: block;
	width: 120px;
	height: 120px;
	margin: 0 auto;
	object-fit: contain;
}

.site-footer__social {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	gap: 8px;
}

.site-footer__social-icon {
	width: 34px;
	height: 34px;
	object-fit: contain;
	vertical-align: baseline;
	transition: transform 0.2s ease;
}

.site-footer__social-icon:hover {
	transform: scale(1.125);
}

.site-footer__item {
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: var(--pg-font-body);
	font-size: 16px;
	font-style: normal;
	font-weight: 400;
	line-height: normal;
	color: var(--pg-text);
}

.site-footer__item a {
	color: var(--pg-text);
	text-decoration: none;
}

.site-footer__item a:hover,
.site-footer__item a.site-footer__contact {
	text-decoration: underline;
}

.site-footer__title {
	margin: 0 0 12px;
	font-family: var(--pg-font-heading);
	font-size: 20px;
	font-weight: 700;
	mix-blend-mode: multiply;
}

.site-footer__title--green {
	color: #68bb5a;
}

.site-footer__title--purple {
	color: #a2a2e7;
}

.site-footer__title--orange {
	color: #faa938;
}

.site-footer__title--aqua {
	color: #7cdae8;
}

.site-footer__nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
	text-align: center;
}

.site-footer__nav li {
	margin-bottom: 8px;
}

.site-footer__nav li:last-child {
	margin-bottom: 0;
}

.site-footer__tail {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 18px;
}

.site-footer__copyright {
	margin: 0;
	padding: 12px 24px 0;
	font-family: var(--pg-font-body);
	font-size: 14px;
	font-weight: 300;
	line-height: normal;
	text-align: center;
	color: var(--pg-text);
}

.site-footer__bars {
	position: absolute;
	bottom: 0;
	left: 50%;
	display: grid;
	grid-template-columns: repeat(7, 1fr);
	gap: 4.3%;
	width: min(85%, 810px);
	transform: translateX(-50%);
}

.site-footer__bars span {
	height: 8px;
}

@media (min-width: 768px) {
	.site-footer__paper {
		padding: 90px 0 28px;
	}

	.site-footer__bars span {
		height: 10px;
	}
}

@media (min-width: 800px) {
	.site-footer__tail {
		flex-wrap: nowrap;
	}
}

@media (min-width: 1320px) {
	.site-footer__paper {
		padding: 100px 0 32px;
	}

	.site-footer__logo {
		width: 176px;
		height: 176px;
	}

	.site-footer__bars span {
		height: 12px;
	}
}

@media (min-width: 1656px) {
	.site-footer__content,
	.site-footer__tail {
		gap: 24px;
	}

	.site-footer__title {
		font-size: 24px;
	}

	.site-footer__nav a {
		font-size: 18px;
	}
}

/* ==========================================================================
   Back to top
   ========================================================================== */
.button-top-page {
	position: fixed;
	right: 30px;
	bottom: 100px;
	z-index: 9999;
	display: flex;
	align-items: center;
	gap: 5px;
	padding: 8px 20px;
	border: 0;
	border-radius: 21.3223px;
	background: var(--pg-green-light);
	cursor: pointer;
	opacity: 0;
	pointer-events: none;
	transition: background 0.3s, opacity 0.5s;
}

.button-top-page.visible {
	opacity: 1;
	pointer-events: auto;
}

.button-top-page:hover {
	background: var(--pg-green-hover);
}

.button-top-page__text {
	font-family: var(--pg-font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.25em;
	color: var(--pg-white);
}

/* ==========================================================================
   Tablet
   ========================================================================== */
@media (max-width: 1024px) {
	.btn {
		padding: 16px 12px;
		font-size: 16px;
	}

	.landing-hero__logo {
		width: 300px;
	}

	.landing-hero__title {
		font-size: 24px;
	}

	.landing-card__image {
		height: 250px;
	}

	.landing-options {
		margin-bottom: 40px;
	}
}

/* ==========================================================================
   Mobile
   ========================================================================== */
@media (max-width: 767px) {
	.landing-hero__logo {
		width: 220px;
	}

	.landing-hero__title {
		font-size: 1.3rem;
	}

	.landing-options__grid {
		flex-direction: column;
	}

	.landing-card {
		flex-basis: auto;
	}

	.button-top-page {
		right: 20px;
		padding: 4px 15px 4px 8px;
	}

	.button-top-page__text {
		font-size: 12px;
	}
}
