/* ==========================================================================
   BASE — типографіка, сітка сторінки, утиліти
   ========================================================================== */

body {
	font-family: var(--font-body);
	font-size: var(--fs-body);
	font-weight: 400;
	line-height: 1.5;
	color: var(--c-ink);
	background-color: var(--c-white);
	overflow-x: hidden;
}


/* --- Контейнер і секції ---------------------------------------------- */

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.section {
	padding-block: var(--section-py);
}


/* --- Заголовок секції -------------------------------------------------- */

.section-head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: .625rem;
	max-width: 54rem;
	margin-inline: auto;
	margin-bottom: clamp(1.75rem, 4vw, 3.125rem);
	text-align: center;
}

.section-head__title {
	font-family: var(--font-display);
	font-size: var(--fs-h2);
	font-weight: 600;
	line-height: 1.15;
	text-transform: uppercase;
	color: var(--c-blue);
}

.section-head__title--sm {
	font-size: var(--fs-h3);
}

.section-head__text {
	font-size: var(--fs-lead);
	line-height: 1.5;
}


/* --- Утиліти ----------------------------------------------------------- */

.visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	white-space: nowrap;
	clip-path: inset(50%);
	border: 0;
}

.skip-link {
	position: absolute;
	z-index: 999;
	top: 0;
	left: 50%;
	translate: -50% -150%;
	padding: .75rem 1.5rem;
	font-size: var(--fs-sm);
	color: var(--c-white);
	background-color: var(--c-blue);
	transition: translate var(--transition);
}

.skip-link:focus-visible {
	translate: -50% 0;
}

/* блокування прокрутки тла, коли відкрито лайтбокс */
body.is-locked {
	overflow: hidden;
}
