/*
Theme Name: Puupartner
Theme URI: https://puupartner.example
Description: Puupartner theme scaffolding
Version: 1.0.0
Author: Villem Hallik
Author URI: https://www.sekund.ee/
Text Domain: puupartner
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: classic, responsive
*/

/* @FONT-FACE - D-DIN Condensed */
@font-face {
	font-family: 'D-DIN Condensed';
	src: url('assets/fonts/d-dincondensed.woff2') format('woff2'),
		 url('assets/fonts/d-dincondensed.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'D-DIN Condensed';
	src: url('assets/fonts/d-dincondensed-bold.woff2') format('woff2'),
		 url('assets/fonts/d-dincondensed-bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'D-DIN';
	src: url('assets/fonts/d-din.woff2') format('woff2'),
		 url('assets/fonts/d-din.woff') format('woff');
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

@font-face {
	font-family: 'D-DIN';
	src: url('assets/fonts/d-din-bold.woff2') format('woff2'),
		 url('assets/fonts/d-din-bold.woff') format('woff');
	font-weight: bold;
	font-style: normal;
	font-display: swap;
}

/* CSS CUSTOM PROPERTIES (Variables) */
:root {
	color-scheme: only light;

	/* Colors */
	--color-primary: #2B6040;
	--color-secondary: #3F7C54;
	--color-beige: #F7F4F0;
	--color-white: #FFFFFF;
	--color-dark: #232323;
	--color-orange: #EC6413;
	--color-navbar-surface: rgba(33, 65, 43, 0.93);
	
	/* Typography - Font Families */
	--font-display: 'D-DIN Condensed', Arial, sans-serif;
	--font-body: 'D-DIN', Arial, sans-serif;
	--font-fallback: Arial, sans-serif;
	
	/* Typography - Font Sizes (px) */
	--font-size-base: 16px;
	--font-size-text: 18px;
	--font-size-text-small: 16px;
	--font-size-text-large: 22px;
	--font-size-legal: 14px;
	--font-size-menu: 16px;
	--font-size-button: 16px;
	--font-size-h1: 72px;
	--font-size-h2: 52px;
	--font-size-h3: 44px;
	--font-size-h4: 36px;
	--font-size-h5: 28px;
	--font-size-h6: 22px;
	
	/* Typography - Line Heights (percentage) */
	--line-height-text: 1.6;
	--line-height-text-small: 1.5;
	--line-height-text-large: 1.4;
	--line-height-menu: 1.5;
	--line-height-heading: 1;
	--line-height-h4: 1.3;
	--line-height-h5-h6: 1.4;
	
	/* Typography - Letter Spacing */
	--letter-spacing-default: 0;
	--letter-spacing-uppercase: 0.02em;
	--letter-spacing-heading: -0.01em;

	/* Button Typography */
	--button-font-family: var(--font-display);
	--button-font-size: 16px;
	--button-line-height: 1.5;
	--button-letter-spacing: 0.03em;
	--button-font-weight: 700;
	--button-text-transform: uppercase;
	
	/* Spacing */
	--spacing-xs: 4px;
	--spacing-sm: 8px;
	--spacing-md: 16px;
	--spacing-lg: 24px;
	--spacing-xl: 32px;
	--spacing-2xl: 48px;
	--spacing-3xl: 64px;
	
	/* Layout */
	--container-max-width: 1200px;
	--navbar-max-width: 1280px;
	--container-padding: 20px;
	--container-padding-mobile: 48px;
	--container-padding-tablet: 64px;
	--section-padding-y: 112px;
	--section-padding-y-tablet: 88px;
	--section-padding-y-mobile: 56px;
	--section-gap-mobile: 24px;
	--card-gap-mobile: 20px;
	--mobile-content-max-width: 34rem;
	--footer-links-width: 316px;
	
	/* Borders */
	--border-radius-sm: 4px;
	--border-radius-md: 8px;
	--border-radius-lg: 16px;
	--border-width: 1px;
}

/* RESET & BASE STYLES */

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

html {
	color-scheme: only light;
	font-size: var(--font-size-base);
	scroll-behavior: smooth;
}

section[id] {
	scroll-margin-top: 120px;
}

body {
	font-family: var(--font-body);
	font-size: var(--font-size-text);
	font-weight: normal;
	line-height: var(--line-height-text);
	color: var(--color-dark);
	background-color: var(--color-beige);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
	margin: 0;
	padding: 0;
}

/* TYPOGRAPHY - HEADINGS */

h1, h2, h3, h4, h5, h6 {
	font-family: var(--font-display);
	font-weight: bold;
	color: var(--color-dark);
	margin: 0 0 var(--spacing-md) 0;
}

h1 {
	font-size: var(--font-size-h1);
	line-height: var(--line-height-heading);
	text-transform: uppercase;
}

h2 {
	font-size: var(--font-size-h2);
	line-height: var(--line-height-heading);
	text-transform: uppercase;
}

h3 {
	font-size: var(--font-size-h3);
	line-height: var(--line-height-heading);
	letter-spacing: var(--letter-spacing-heading);
}

h4 {
	font-size: var(--font-size-h4);
	line-height: var(--line-height-h4);
	letter-spacing: var(--letter-spacing-heading);
}

h5 {
	font-size: var(--font-size-h5);
	line-height: var(--line-height-h5-h6);
	letter-spacing: var(--letter-spacing-heading);
}

h6 {
	font-size: var(--font-size-h6);
	line-height: var(--line-height-h5-h6);
	letter-spacing: var(--letter-spacing-heading);
}

/* TYPOGRAPHY - TEXT ELEMENTS */

p {
	font-size: var(--font-size-text);
	line-height: var(--line-height-text);
	margin: 0 0 var(--spacing-md) 0;
}

.text-small {
	font-size: var(--font-size-text-small);
	line-height: var(--line-height-text-small);
}

.text-small-bold {
	font-size: var(--font-size-text-small);
	line-height: var(--line-height-text-small);
	font-weight: bold;
}

.text-large {
	font-size: var(--font-size-text-large);
	line-height: var(--line-height-text-large);
}

/* Font Family Utilities */
.font-display {
	font-family: var(--font-display);
}

.font-body {
	font-family: var(--font-body);
}

.text-prose {
	font-family: var(--font-body);
	font-size: var(--font-size-text);
	line-height: var(--line-height-text);
}

.text-bold,
strong,
b {
	font-weight: bold;
}

/* TYPOGRAPHY - LINKS */

a {
	color: var(--color-dark);
	text-decoration: underline;
	transition: color 0.2s ease;
}

a:hover:not(.service-card),
a:focus:not(.service-card) {
	color: var(--color-secondary);
}

a.btn:hover,
a.btn:focus,
a.button:hover,
a.button:focus,
a.btn-cta:hover,
a.btn-cta:focus,
a.btn-animated:hover,
a.btn-animated:focus,
a.btn-animated:focus-visible {
	text-decoration: none;
}

a:focus:not(.service-card) {
	outline: none;
}

/* BUTTONS */

button,
.btn,
.button {
	display: inline-block;
	font-family: var(--button-font-family);
	font-size: var(--button-font-size);
	line-height: var(--button-line-height);
	letter-spacing: var(--button-letter-spacing);
	text-transform: var(--button-text-transform);
	font-weight: var(--button-font-weight);
	padding: var(--spacing-sm) var(--spacing-lg);
	background-color: var(--color-primary);
	color: var(--color-white);
	border: none;
	border-radius: var(--border-radius-sm);
	cursor: pointer;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color 0.2s ease, transform 0.1s ease;
}

button:hover,
.btn:hover,
.button:hover {
	background-color: var(--color-secondary);
	color: var(--color-white);
	text-decoration: none;
}

button:focus,
.btn:focus,
.button:focus {
	outline: none;
}

/* NAVIGATION / MENU */

.menu,
.nav-menu {
	font-family: var(--font-display);
	font-size: var(--font-size-menu);
	line-height: var(--line-height-menu);
	letter-spacing: var(--letter-spacing-uppercase);
	text-transform: uppercase;
}

.menu a,
.nav-menu a {
	color: var(--color-dark);
	text-decoration: none;
}

.menu a:hover:not(.service-card),
.nav-menu a:hover {
	color: var(--color-secondary);
}

/* LAYOUT - CONTAINERS */

.container {
	max-width: var(--container-max-width);
	margin: 0 auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

.container-full {
	width: 100%;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

@media (min-width: 768px) and (max-width: 1320px) {
	.container,
	.container-full {
		padding-left: var(--container-padding-tablet);
		padding-right: var(--container-padding-tablet);
	}
}

@media (max-width: 767px) {
	:root {
		--container-padding-mobile: 24px;
		--font-size-text: 17px;
		--font-size-text-small: 15px;
		--font-size-text-large: 19px;
		--font-size-menu: 15px;
		--font-size-button: 15px;
		--font-size-h1: 54px;
		--font-size-h2: 34px;
		--font-size-h3: 30px;
		--font-size-h4: 26px;
		--font-size-h5: 22px;
		--font-size-h6: 20px;
		--line-height-heading: 0.96;
		--line-height-h4: 1.2;
		--line-height-h5-h6: 1.3;
	}

	body {
		font-size: var(--font-size-text);
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6 {
		max-width: 30ch;
		text-wrap: balance;
	}

	p,
	.text-prose,
	.text-large,
	.process-subtext,
	.showcase-subtext,
	.service-description,
	.timeline-content p {
		max-width: var(--mobile-content-max-width);
	}

	.container,
	.container-full {
		padding-left: var(--container-padding-mobile);
		padding-right: var(--container-padding-mobile);
	}

	.btn-animated {
		max-width: 100%;
		min-width: 0;
	}

	.btn-animated__text {
		min-width: 0;
		padding-right: 1rem;
		white-space: normal;
	}
}

/* UTILITY CLASSES - BACKGROUNDS */

.bg-primary {
	background-color: var(--color-primary);
}

.bg-secondary {
	background-color: var(--color-secondary);
}

.bg-beige {
	background-color: var(--color-beige);
}

.bg-white {
	background-color: var(--color-white);
}

.bg-dark {
	background-color: var(--color-dark);
}

/* UTILITY CLASSES - TEXT COLORS */

.text-primary {
	color: var(--color-primary);
}

.text-secondary {
	color: var(--color-secondary);
}

.text-dark {
	color: var(--color-dark);
}

.text-white {
	color: var(--color-white);
}

.text-orange {
	color: var(--color-orange);
}

/* NAVBAR */

.site-header.fixed {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1100;
	padding: 16px var(--container-padding) 0;
}

.site-header.fixed::before {
	content: none;
}

.navbar {
	position: relative;
	z-index: 1001;
	max-width: var(--navbar-max-width);
	margin: 0 auto;
	width: 100%;
}

.navbar-container {
	position: relative;
	z-index: 1001;
	padding: 12px 22px 12px 24px;
	min-height: 84px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--spacing-lg);
	border-radius: 999px;
	isolation: isolate;
}

.navbar-container::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 0;
	background: var(--color-navbar-surface);
	border-radius: inherit;
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(6px);
	pointer-events: none;
}

.navbar-logo {
	flex-shrink: 0;
	position: relative;
	z-index: 2;
	margin-left: 25px;
	top: -1px;
}

.navbar-logo img {
	width: auto;
	height: 52px;
	display: block;
}

.navbar-collapse {
	flex: 1;
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.navbar-nav {
	flex: 1;
	display: flex;
	justify-content: center;
	position: relative;
	z-index: 1;
}

.nav-menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 4px;
	align-items: center;
}

.nav-menu > li {
	position: relative;
}

.nav-menu > li > a {
	color: var(--color-white);
	text-decoration: none;
	font-size: 15px;
	line-height: var(--line-height-menu);
	letter-spacing: var(--letter-spacing-uppercase);
	text-transform: uppercase;
	white-space: nowrap;
	display: flex;
	align-items: center;
	gap: 6px;
	padding: 12px 16px;
	border-radius: 999px;
	transition: color 0.3s ease, background-color 0.3s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a:focus {
	text-decoration: none;
	outline: none;
}

.nav-menu > li:hover > a,
.nav-menu > li:focus-within > a,
.nav-menu > .current-menu-item > a,
.nav-menu > .current-menu-ancestor > a,
.nav-menu > .current-menu-parent > a,
.nav-menu > .current_page_item > a,
.nav-menu > .current_page_ancestor > a,
.nav-menu > .current_page_parent > a {
	background-color: var(--color-secondary);
	color: var(--color-white);
}

.dropdown-arrow {
	width: 18px;
	height: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dropdown-arrow img {
	width: 10px;
	height: 10px;
	display: block;
}

/* Submenu dropdown */
.sub-menu {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	min-width: 240px;
	list-style: none;
	margin: 0;
	padding: 10px;
	z-index: 1001;
	background: #224830;
	border-radius: 20px;
	box-shadow: 0 24px 48px rgba(16, 32, 21, 0.28);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.2s ease, visibility 0.2s ease;
}

.sub-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -10px;
	height: 10px;
}

.menu-item-has-children:hover > .sub-menu,
.menu-item-has-children:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.sub-menu li {
	margin: 0;
}

.sub-menu li a {
	color: rgba(247, 244, 240, 0.92);
	padding: 12px 14px;
	display: flex;
	align-items: center;
	font-size: var(--font-size-menu);
	line-height: var(--line-height-menu);
	letter-spacing: var(--letter-spacing-default);
	text-transform: none;
	border-radius: 12px;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.sub-menu li a:hover,
.sub-menu li a:focus {
	text-decoration: none;
	outline: none;
}

.sub-menu li a:hover {
	background-color: var(--color-primary);
	color: var(--color-white);
}

.sub-menu .current-menu-item > a,
.sub-menu .current-menu-ancestor > a,
.sub-menu .current-menu-parent > a,
.sub-menu .current_page_item > a,
.sub-menu .current_page_ancestor > a,
.sub-menu .current_page_parent > a {
	background-color: var(--color-secondary);
	color: var(--color-white);
}

.btn-cta {
	flex-shrink: 0;
}

/* Hamburger toggle - hidden on desktop */
.hamburger-toggle {
	display: none;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: 48px;
	height: 48px;
	background: var(--color-primary);
	border: none;
	border-radius: 999px;
	cursor: pointer;
	padding: 0;
	gap: 4px;
	position: relative;
	z-index: 2;
}

.hamburger-toggle span {
	width: 18px;
	height: 2px;
	background-color: var(--color-beige);
	border-radius: 999px;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger-toggle.is-active span:nth-child(1) {
	transform: translateY(6px) rotate(45deg);
}

.hamburger-toggle.is-active span:nth-child(2) {
	opacity: 0;
}

.hamburger-toggle.is-active span:nth-child(3) {
	transform: translateY(-6px) rotate(-45deg);
}

.site-header.navbar-auto-mobile .hamburger-toggle {
	display: flex;
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
}

.site-header.navbar-auto-mobile .hamburger-toggle:active {
	transform: translateX(-50%);
}

.site-header.navbar-auto-mobile .navbar-container {
	min-height: 72px;
	padding: 12px 16px;
	border-radius: 999px;
	justify-content: flex-start;
	gap: 0;
	box-shadow: none;
}

.site-header.navbar-auto-mobile .navbar-collapse {
	flex: 0 0 auto;
	width: 0;
}

.site-header.navbar-auto-mobile .navbar-logo {
	order: 1;
	margin-left: 10px;
}

.site-header.navbar-auto-mobile .navbar-logo img {
	height: 44px;
}

.site-header.navbar-auto-mobile .btn-cta {
	display: none;
}

.site-header.navbar-auto-mobile .navbar-nav {
	position: fixed;
	top: 96px;
	left: 0;
	width: 100%;
	height: calc(100vh - 96px);
	background: transparent;
	display: none;
	flex-direction: column;
	justify-content: flex-start;
	align-items: stretch;
	padding: 0;
	overflow-y: auto;
	z-index: 1000;
}

.site-header.navbar-auto-mobile .navbar-nav.active {
	display: flex;
}

body.menu-open .site-header.navbar-auto-mobile::before {
	content: "";
	position: fixed;
	inset: 0;
	background-color: var(--color-primary);
	z-index: 999;
}

body.menu-open .site-header.navbar-auto-mobile::after {
	content: "";
	position: fixed;
	top: 0;
	left: -5vw;
	width: 110vw;
	height: 110vw;
	background-image: url('assets/images/background-lines.svg');
	background-repeat: no-repeat;
	background-position: top center;
	background-size: cover;
	opacity: 0.14;
	pointer-events: none;
	transform: rotate(-90deg);
	transform-origin: center;
	z-index: 999;
}

@media (min-width: 769px) and (max-width: 1320px) {
	body.menu-open .site-header.navbar-auto-mobile::after {
		top: -34vw;
	}
}

.site-header.navbar-auto-mobile .nav-menu {
	flex-direction: column;
	gap: 6px;
	align-items: stretch;
	width: 100%;
	max-width: 420px;
	margin: 0 auto;
	padding: 28px 20px 24px;
}

.site-header.navbar-auto-mobile .nav-menu > li {
	width: 100%;
}

.site-header.navbar-auto-mobile .nav-menu > li > a {
	justify-content: flex-start;
	padding: 14px 16px;
	font-size: 24px;
	font-weight: bold;
}

.site-header.navbar-auto-mobile .nav-menu > li > a .dropdown-arrow {
	display: none;
}

.site-header.navbar-auto-mobile .sub-menu {
	position: static;
	min-width: auto;
	margin-top: 8px;
	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
	display: block;
	background: transparent;
	box-shadow: none;
	padding: 0;
}

.site-header.navbar-auto-mobile .sub-menu li a {
	text-align: left;
	font-size: 18px;
	color: rgba(255, 255, 255, 0.82);
	padding: 6px 16px;
	border-radius: 999px;
	gap: 10px;
}

.site-header.navbar-auto-mobile .sub-menu li a::before {
	content: "";
	width: 5px;
	height: 5px;
	border-radius: 50%;
	background-color: currentColor;
	flex: 0 0 5px;
}

@media (max-width: 768px) {
	.site-header.fixed .hamburger-toggle {
		display: flex;
		position: absolute;
		left: 50%;
		transform: translateX(-50%);
	}

	.site-header.fixed .hamburger-toggle:active {
		transform: translateX(-50%);
	}

	.site-header.fixed .navbar-container {
		min-height: 72px;
		padding: 12px 16px;
		border-radius: 999px;
		justify-content: flex-start;
		gap: 0;
		box-shadow: none;
	}

	.site-header.fixed .navbar-collapse {
		flex: 0 0 auto;
		width: 0;
	}

	.site-header.fixed .navbar-logo {
		order: 1;
		margin-left: 10px;
	}

	.site-header.fixed .navbar-logo img {
		height: 44px;
	}

	.site-header.fixed .btn-cta {
		display: none;
	}

	.site-header.fixed .navbar-nav {
		position: fixed;
		top: 96px;
		left: 0;
		width: 100%;
		height: calc(100vh - 96px);
		background: transparent;
		display: none;
		flex-direction: column;
		justify-content: flex-start;
		align-items: stretch;
		padding: 0;
		overflow-y: auto;
		z-index: 1000;
	}

	.site-header.fixed .navbar-nav.active {
		display: flex;
	}

	.site-header.fixed .nav-menu {
		flex-direction: column;
		gap: 6px;
		align-items: stretch;
		width: 100%;
		max-width: 420px;
		margin: 0 auto;
		padding: 28px 20px 24px;
	}

	.site-header.fixed .nav-menu > li {
		width: 100%;
	}

	.site-header.fixed .nav-menu > li > a {
		justify-content: flex-start;
		padding: 14px 16px;
		font-size: 24px;
		font-weight: bold;
	}

	.site-header.fixed .nav-menu > li > a .dropdown-arrow {
		display: none;
	}

	.site-header.fixed .sub-menu {
		position: static;
		min-width: auto;
		margin-top: 8px;
		opacity: 1;
		visibility: visible;
		transform: none;
		pointer-events: auto;
		display: block;
		background: transparent;
		box-shadow: none;
		padding: 0;
	}

	.site-header.fixed .sub-menu li a {
		text-align: left;
		font-size: 18px;
		color: rgba(255, 255, 255, 0.82);
		padding: 6px 16px;
		border-radius: 999px;
		gap: 10px;
	}

	.site-header.fixed .sub-menu li a::before {
		content: "";
		width: 5px;
		height: 5px;
		border-radius: 50%;
		background-color: currentColor;
		flex: 0 0 5px;
	}
}

/* 404 PAGE */

.not-found-page__content {
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding: calc(var(--spacing-xl) * 3) 0 var(--section-padding-y);
	text-align: center;
}

.not-found-page__title {
	margin: 0 0 var(--spacing-lg);
	font-size: clamp(120px, 22vw, 260px);
	line-height: 0.82;
	color: var(--color-dark);
}

.not-found-page__text {
	max-width: 42rem;
	margin: 0 auto;
	font-size: var(--font-size-text-large);
	line-height: var(--line-height-text-large);
	color: rgba(35, 35, 35, 0.82);
}

.not-found-page__actions {
	display: flex;
	justify-content: center;
	margin-top: var(--spacing-xl);
}

@media (max-width: 767px) {
	.not-found-page__content {
		padding: calc(var(--spacing-xl) * 2) 0 var(--section-padding-y-mobile);
	}

	.not-found-page__title {
		font-size: clamp(96px, 36vw, 150px);
	}

	.not-found-page__text {
		font-size: var(--font-size-text);
		line-height: var(--line-height-text);
	}

	.not-found-page__actions .btn-animated {
		max-width: 100%;
	}
}

/* TESTING SECTION */

.testing-page {
	padding-top: 100px;
}

.section-testing {
	padding: 112px 0;
	background:
		linear-gradient(135deg, rgba(43, 96, 64, 0.12), rgba(247, 244, 240, 0.9)),
		var(--color-white);
}

.testing-panel {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 48px;
	border: 1px solid rgba(43, 96, 64, 0.14);
	border-radius: var(--border-radius-lg);
	background-color: rgba(255, 255, 255, 0.8);
}

.testing-eyebrow {
	margin: 0;
	font-family: var(--font-display);
	font-size: var(--font-size-menu);
	line-height: var(--line-height-menu);
	letter-spacing: var(--letter-spacing-uppercase);
	text-transform: uppercase;
	color: var(--color-secondary);
}

.testing-panel h2 {
	margin: 0;
}

.testing-description {
	max-width: 680px;
	margin: 0;
	font-family: var(--font-body);
}

.testing-variants {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	width: 100%;
	padding-top: 8px;
}

.testing-variant {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 20px;
	padding: 24px;
	border: 1px solid rgba(43, 96, 64, 0.12);
	border-radius: var(--border-radius-md);
	background-color: rgba(247, 244, 240, 0.75);
}

.testing-variant__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.testing-variant__meta h3,
.testing-variant__meta p {
	margin: 0;
}

.testing-variant__meta h3 {
	font-size: var(--font-size-h6);
	line-height: var(--line-height-h5-h6);
	text-transform: uppercase;
}

.testing-variant__meta p {
	font-family: var(--font-body);
	font-size: var(--font-size-text-small);
	line-height: var(--line-height-text-small);
	display: flex;
	align-items: center;
	gap: 10px;
}

.testing-color-swatch {
	display: inline-block;
	flex: 0 0 18px;
	width: 18px;
	height: 18px;
	border-radius: 4px;
}

.testing-color-swatch--bordered {
	border: 1px solid rgba(35, 35, 35, 0.18);
}

.testing-typography {
	display: flex;
	flex-direction: column;
	gap: 24px;
	width: 100%;
	padding-top: 24px;
	border-top: 1px solid rgba(43, 96, 64, 0.12);
}

.testing-typography__header {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.testing-typography__header h3,
.testing-typography__header p {
	margin: 0;
}

.testing-typography__header p {
	font-family: var(--font-body);
}

.testing-type-list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.testing-type-item {
	display: grid;
	grid-template-columns: minmax(220px, 280px) 1fr;
	gap: 24px;
	padding: 24px;
	border: 1px solid rgba(43, 96, 64, 0.12);
	border-radius: var(--border-radius-md);
	background-color: rgba(247, 244, 240, 0.55);
	align-items: start;
}

.testing-type-item__meta {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.testing-type-item__meta p {
	margin: 0;
	font-family: var(--font-body);
	font-size: var(--font-size-text-small);
	line-height: var(--line-height-text-small);
}

.testing-type-item__label {
	font-family: var(--font-display);
	font-size: var(--font-size-menu);
	line-height: var(--line-height-menu);
	letter-spacing: var(--letter-spacing-uppercase);
	text-transform: uppercase;
	color: var(--color-secondary);
}

.testing-type-item > :last-child {
	margin: 0;
}

.btn-animated {
	position: relative;
	display: inline-grid;
	grid-template-columns: 1fr;
	align-items: center;
	width: max-content;
	max-width: 100%;
	padding: 0;
	font-family: var(--button-font-family);
	font-size: var(--button-font-size);
	line-height: var(--button-line-height);
	letter-spacing: var(--button-letter-spacing);
	text-transform: var(--button-text-transform);
	background: transparent;
	text-decoration: none;
}

button.btn-animated,
button.btn-animated:hover,
button.btn-animated:focus,
button.btn-animated:focus-visible {
	padding: 0;
	background: transparent;
	border: 0;
	box-shadow: none;
}

.btn-animated:hover,
.btn-animated:focus,
.btn-animated:focus-visible {
	color: #fff;
	text-decoration: none;
}

.btn-animated__circle {
	grid-area: 1 / 1;
	position: relative;
	z-index: 1;
	display: block;
	margin: 0;
	width: 3rem;
	height: 3rem;
	border-radius: 1.625rem;
	background-color: var(--color-primary);
	transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.btn-animated__icon {
	position: absolute;
	top: 0;
	bottom: 0;
	margin: auto;
	background-color: var(--color-white);
	transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.btn-animated__icon--arrow {
	left: 0.625rem;
	width: 1.125rem;
	height: 0.125rem;
	background-color: transparent;
}

.btn-animated__icon--arrow::before {
	content: "";
	position: absolute;
	top: -0.25rem;
	right: 0.0625rem;
	width: 0.625rem;
	height: 0.625rem;
	border-top: 2px solid var(--color-white);
	border-right: 2px solid var(--color-white);
	transform: rotate(45deg);
}

.btn-animated__text {
	grid-area: 1 / 1;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: flex-start;
	margin: 0;
	padding: 0.75rem 1.5rem 0.75rem 3.6rem;
	color: var(--color-primary);
	font-weight: var(--button-font-weight);
	line-height: var(--button-line-height);
	text-align: left;
	white-space: nowrap;
	transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
}

.btn-animated-dark {
	background-color: #3F7C54;
	border-radius: 1.625rem;
	color: var(--color-white);
}

.btn-animated-dark .btn-animated__circle {
	background-color: var(--color-primary);
}

.btn-animated-dark .btn-animated__text {
	color: var(--color-white);
}

.btn-animated-dark-2 {
	background-color: var(--color-primary);
	border-radius: 1.625rem;
	color: var(--color-white);
}

.btn-animated-dark-2 .btn-animated__circle {
	background-color: var(--color-secondary);
}

.btn-animated-dark-2 .btn-animated__text {
	color: var(--color-white);
}

.btn-animated-dark-transparent {
	background-color: transparent;
	border-radius: 1.625rem;
	color: var(--color-white);
}

.btn-animated-dark-transparent .btn-animated__circle {
	background-color: var(--color-primary);
}

.btn-animated-dark-transparent .btn-animated__text {
	color: var(--color-white);
}

.btn-animated-dark-transparent-2 {
	background-color: transparent;
	border-radius: 1.625rem;
	color: var(--color-white);
}

.btn-animated-dark-transparent-2 .btn-animated__circle {
	background-color: var(--color-secondary);
}

.btn-animated-dark-transparent-2 .btn-animated__text {
	color: var(--color-white);
}

.btn-animated-dark-transparent:hover .btn-animated__circle,
.btn-animated-dark-transparent:focus-visible .btn-animated__circle {
	background-color: var(--color-primary);
}

.btn-animated-dark-transparent:hover,
.btn-animated-dark-transparent:focus,
.btn-animated-dark-transparent:focus-visible {
	color: var(--color-white);
}

.btn-animated-dark-transparent:hover .btn-animated__icon,
.btn-animated-dark-transparent:focus-visible .btn-animated__icon {
	background-color: var(--color-white);
}

.btn-animated-dark-transparent:hover .btn-animated__text,
.btn-animated-dark-transparent:focus-visible .btn-animated__text {
	color: var(--color-white);
}

.btn-animated-dark-transparent-2:hover .btn-animated__circle,
.btn-animated-dark-transparent-2:focus-visible .btn-animated__circle {
	background-color: var(--color-secondary);
}

.btn-animated-dark-transparent-2:hover,
.btn-animated-dark-transparent-2:focus,
.btn-animated-dark-transparent-2:focus-visible {
	color: var(--color-white);
}

.btn-animated-dark-transparent-2:hover .btn-animated__icon,
.btn-animated-dark-transparent-2:focus-visible .btn-animated__icon {
	background-color: var(--color-white);
}

.btn-animated-dark-transparent-2:hover .btn-animated__text,
.btn-animated-dark-transparent-2:focus-visible .btn-animated__text {
	color: var(--color-white);
}

.btn-animated-light {
	background-color: var(--color-beige);
	border-radius: 1.625rem;
	color: var(--color-primary);
}

.btn-animated-light .btn-animated__circle {
	background-color: var(--color-white);
}

.btn-animated-light .btn-animated__icon--arrow::before {
	border-top-color: var(--color-primary);
	border-right-color: var(--color-primary);
}

.btn-animated-light .btn-animated__text {
	color: var(--color-primary);
}

.btn-animated-light:hover .btn-animated__circle,
.btn-animated-light:focus-visible .btn-animated__circle {
	background-color: var(--color-white);
}

.btn-animated-light:hover,
.btn-animated-light:focus,
.btn-animated-light:focus-visible {
	color: var(--color-primary);
}

.btn-animated-light:hover .btn-animated__icon,
.btn-animated-light:focus-visible .btn-animated__icon {
	background-color: var(--color-primary);
}

.btn-animated-light:hover .btn-animated__text,
.btn-animated-light:focus-visible .btn-animated__text {
	color: var(--color-primary);
}

.btn-animated-light-2 {
	background-color: var(--color-white);
	border-radius: 1.625rem;
	color: var(--color-primary);
}

.btn-animated-light-2 .btn-animated__circle {
	background-color: var(--color-white);
}

.btn-animated-light-2 .btn-animated__icon--arrow::before {
	border-top-color: var(--color-primary);
	border-right-color: var(--color-primary);
}

.btn-animated-light-2 .btn-animated__text {
	color: var(--color-primary);
}

.btn-animated-light-2:hover .btn-animated__circle,
.btn-animated-light-2:focus-visible .btn-animated__circle {
	background-color: var(--color-white);
}

.btn-animated-light-2:hover,
.btn-animated-light-2:focus,
.btn-animated-light-2:focus-visible {
	color: var(--color-primary);
}

.btn-animated-light-2:hover .btn-animated__icon,
.btn-animated-light-2:focus-visible .btn-animated__icon {
	background-color: var(--color-primary);
}

.btn-animated-light-2:hover .btn-animated__text,
.btn-animated-light-2:focus-visible .btn-animated__text {
	color: var(--color-primary);
}

.btn-animated:hover .btn-animated__circle,
.btn-animated:focus-visible .btn-animated__circle {
	width: 100%;
	background-color: var(--color-secondary);
}

.btn-animated:hover .btn-animated__icon,
.btn-animated:focus-visible .btn-animated__icon {
	background-color: var(--color-white);
	transform: translate(1rem, 0);
}

.btn-animated:hover .btn-animated__text,
.btn-animated:focus-visible .btn-animated__text {
	color: #fff;
}

.btn-animated.btn-animated-light:hover .btn-animated__circle,
.btn-animated.btn-animated-light:focus-visible .btn-animated__circle {
	background-color: var(--color-white);
}

.btn-animated.btn-animated-light:hover .btn-animated__icon,
.btn-animated.btn-animated-light:focus-visible .btn-animated__icon {
	background-color: var(--color-primary);
}

.btn-animated.btn-animated-light:hover .btn-animated__text,
.btn-animated.btn-animated-light:focus-visible .btn-animated__text {
	color: var(--color-primary);
}

.btn-animated.btn-animated-light-2:hover .btn-animated__circle,
.btn-animated.btn-animated-light-2:focus-visible .btn-animated__circle {
	background-color: var(--color-white);
}

.btn-animated.btn-animated-light-2:hover .btn-animated__icon,
.btn-animated.btn-animated-light-2:focus-visible .btn-animated__icon {
	background-color: var(--color-primary);
}

.btn-animated.btn-animated-light-2:hover .btn-animated__text,
.btn-animated.btn-animated-light-2:focus-visible .btn-animated__text {
	color: var(--color-primary);
}

.btn-animated.btn-animated-dark:hover .btn-animated__circle,
.btn-animated.btn-animated-dark:focus-visible .btn-animated__circle {
	background-color: var(--color-primary);
}

.btn-animated.btn-animated-dark-2:hover .btn-animated__circle,
.btn-animated.btn-animated-dark-2:focus-visible .btn-animated__circle {
	background-color: var(--color-secondary);
}

.btn-animated.btn-animated-dark-2:hover .btn-animated__icon,
.btn-animated.btn-animated-dark-2:focus-visible .btn-animated__icon {
	background-color: var(--color-white);
}

.btn-animated.btn-animated-dark-2:hover .btn-animated__text,
.btn-animated.btn-animated-dark-2:focus-visible .btn-animated__text {
	color: var(--color-white);
}

.btn-animated.btn-animated-dark-transparent:hover .btn-animated__circle,
.btn-animated.btn-animated-dark-transparent:focus-visible .btn-animated__circle {
	background-color: var(--color-primary);
}

.btn-animated.btn-animated-dark-transparent:hover .btn-animated__icon,
.btn-animated.btn-animated-dark-transparent:focus-visible .btn-animated__icon {
	background-color: var(--color-white);
}

.btn-animated.btn-animated-dark-transparent:hover .btn-animated__text,
.btn-animated.btn-animated-dark-transparent:focus-visible .btn-animated__text {
	color: var(--color-white);
}

.btn-animated.btn-animated-dark-transparent-2:hover .btn-animated__circle,
.btn-animated.btn-animated-dark-transparent-2:focus-visible .btn-animated__circle {
	background-color: var(--color-secondary);
}

.btn-animated.btn-animated-dark-transparent-2:hover .btn-animated__icon,
.btn-animated.btn-animated-dark-transparent-2:focus-visible .btn-animated__icon {
	background-color: var(--color-white);
}

.btn-animated.btn-animated-dark-transparent-2:hover .btn-animated__text,
.btn-animated.btn-animated-dark-transparent-2:focus-visible .btn-animated__text {
	color: var(--color-white);
}

@media (max-width: 767px) {
	.section-testing {
		padding: 64px 0;
	}

	.testing-panel {
		padding: 32px 24px;
	}

	.testing-variants {
		grid-template-columns: 1fr;
	}

	.testing-variant {
		width: 100%;
		padding: 24px 20px;
	}

	.testing-type-item {
		grid-template-columns: 1fr;
		padding: 24px 20px;
	}

	.testing-variant .btn-animated {
		width: 100%;
		max-width: none;
		min-width: 0;
	}

	.testing-variant .btn-animated__text {
		min-width: 0;
		padding-right: 1rem;
	}

	body.menu-open {
		overflow: hidden;
		overscroll-behavior: none;
		touch-action: none;
		height: 100vh;
	}

}
