/* Shared foundations for EMB templates: tokens, elements, buttons, labels. */

:root {
	--bg-body: #ffffff;
	--bg-secondary: #f8f7f5;
	--bg-header: #454545;
	--text-primary: #111111;
	--text-secondary: #666666;
	--border-light: #e8e5e0;
	--container-padding: 8vw;
	--section-gap: 130px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background-color: var(--bg-body);
	color: var(--text-primary);
	font-family: "Manrope", sans-serif;
	-webkit-font-smoothing: antialiased;
	overflow-x: clip;
	line-height: 1.6;
}

a,
a:visited,
a:active {
	text-decoration: none !important;
	color: inherit;
	transition: 0.25s ease;
}

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

section {
	padding: var(--section-gap) 0;
}

.section-label {
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 2.5px;
	color: var(--text-secondary);
	margin-bottom: 18px;
	display: block;
	font-weight: 600;
}

h2 {
	font-family: "Playfair Display", serif;
	font-size: clamp(2rem, 3.8vw, 3.2rem);
	line-height: 1.15;
	color: var(--text-primary);
	margin-bottom: 28px;
	font-weight: 400;
}

p {
	font-size: 15px;
	color: var(--text-secondary);
	font-weight: 300;
	max-width: 600px;
	line-height: 1.9;
	margin-bottom: 20px;
}

.btn-line {
	display: inline-block;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 1.8px;
	color: var(--text-primary) !important;
	border-bottom: 1px solid currentColor;
	padding-bottom: 5px;
	margin-top: 36px;
	font-weight: 600;
	transition: opacity 0.2s;
}

.btn-line:hover {
	opacity: 0.45;
}

.btn-outline {
	display: inline-block;
	padding: 16px 44px;
	border: 1px solid currentColor;
	font-size: 11px;
	text-transform: uppercase;
	letter-spacing: 2px;
	font-weight: 600;
	background: transparent;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
}

.btn-outline:hover {
	background: var(--text-primary);
	color: #fff !important;
	border-color: var(--text-primary);
}

.btn-outline--light {
	color: #fff !important;
	border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline--light:hover {
	background: #fff !important;
	color: var(--text-primary) !important;
	border-color: #fff;
}

@media (max-width: 600px) {
	:root {
		--section-gap: 90px;
		--container-padding: 6vw;
	}
}
