/* ЕТАП 0: ГЛОБАЛЬНІ СТИЛІ */

/* Змінні */
:root {
	--bg-color: #f9fafb;
	--text-color: #374151;
	--primary-color: #3b82f6; /* Синій */
	--accent-color: #10b981; /* Зелений */
	--white: #ffffff;
	--footer-bg: #1f2937;
	--footer-text: #d1d5db;
	--header-height: 7rem;
	--font-main: 'Roboto', sans-serif;
	--font-heading: 'Inter', sans-serif;
}

/* Скидання стилів */
*,
*::before,
*::after {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	font-size: 62.5%; /* 1rem = 10px */
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-main);
	font-size: 1.6rem;
	line-height: 1.6;
	color: var(--text-color);
	background-color: var(--bg-color);
	-webkit-font-smoothing: antialiased;
}

a {
	text-decoration: none;
	color: inherit;
	transition: color 0.3s ease;
}

ul {
	list-style: none;
}

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-heading);
	font-weight: 700;
	line-height: 1.3;
}

/* Контейнер */
.container {
	max-width: 124rem;
	margin: 0 auto;
	padding: 0 2rem;
}

/* Логотип */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 2.2rem;
}

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

/* ЕТАП 1: СТИЛІ ХЕДЕРА */
.header {
	background-color: var(--white);
	height: var(--header-height);
	display: flex;
	align-items: center;
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 1000;
	box-shadow: 0 2px 15px rgba(0, 0, 0, 0.05);
}

.header__container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

.header__nav {
	display: flex;
}

.header__nav-list {
	display: flex;
	align-items: center;
	gap: 3rem;
}

.header__nav-link {
	font-size: 1.5rem;
	font-weight: 500;
	color: var(--text-color);
	position: relative;
	padding: 0.5rem 0;
}

.header__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--primary-color);
	transition: width 0.3s ease;
}

.header__nav-link:hover {
	color: var(--primary-color);
}

.header__nav-link:hover::after {
	width: 100%;
}

.header__nav-link--cta {
	background-color: var(--primary-color);
	color: var(--white);
	padding: 0.8rem 1.8rem;
	border-radius: 5rem;
	transition: background-color 0.3s ease, transform 0.2s ease;
}

.header__nav-link--cta:hover {
	background-color: #2563eb; /* Darker blue */
	color: var(--white);
	transform: translateY(-2px);
}

.header__nav-link--cta::after {
	display: none; /* No underline for CTA */
}

/* Мобільне меню */
.header__toggle {
	display: none;
	background: transparent;
	border: none;
	cursor: pointer;
	z-index: 1001;
}

.header__toggle-icon {
	width: 2.8rem;
	height: 2.8rem;
	color: var(--text-color);
}

.header__toggle-icon--close {
	display: none;
}

/* Адаптивність хедера (Mobile-first логіка) */
@media (max-width: 768px) {
	.header__nav {
		position: fixed;
		top: 0;
		right: -100%; /* Сховано за замовчуванням */
		width: 80%;
		max-width: 320px;
		height: 100vh;
		background-color: var(--white);
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
		padding-top: calc(var(--header-height) + 2rem);
	}

	.header__nav.is-active {
		right: 0;
	}

	.header__nav-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 2.5rem;
		padding: 2rem;
	}

	.header__nav-link {
		font-size: 2rem;
	}

	.header__nav-link--cta {
		width: 100%;
		text-align: center;
	}

	.header__toggle {
		display: block;
	}

	/* Логіка показу іконок X / Menu */
	body.nav-open .header__toggle-icon--menu {
		display: none;
	}
	body.nav-open .header__toggle-icon--close {
		display: block;
	}

	/* Коли меню не відкрите */
	.header__toggle-icon--menu {
		display: block;
	}
	.header__toggle-icon--close {
		display: none;
	}
}

/* ЕТАП 2: СТИЛІ ФУТЕРА */
.footer {
	background-color: var(--footer-bg);
	color: var(--footer-text);
	padding: 6rem 0 0;
	margin-top: 5rem; /* Тимчасовий відступ, щоб футер не прилипав */
}

.footer__container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
	gap: 4rem;
}

.footer__column--logo .logo__text {
	color: var(--white); /* Робимо текст лого у футері білим */
}

.footer__description {
	font-size: 1.4rem;
	line-height: 1.7;
	margin-top: 1.5rem;
	max-width: 30rem;
}

.footer__heading {
	font-size: 1.8rem;
	font-weight: 600;
	color: var(--white);
	margin-bottom: 2rem;
	font-family: var(--font-heading);
}

.footer__list-item {
	margin-bottom: 1.2rem;
}

.footer__link {
	font-size: 1.4rem;
	color: var(--footer-text);
}

.footer__link:hover {
	color: var(--primary-color);
}

.footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1.2rem;
	margin-bottom: 1.5rem;
	font-size: 1.4rem;
}

.footer__contact-icon {
	flex-shrink: 0;
	width: 1.8rem;
	height: 1.8rem;
	color: var(--primary-color);
	margin-top: 0.2rem;
}

.footer__bottom {
	border-top: 1px solid #4b5563; /* Darker border */
	margin-top: 4rem;
	padding: 2.5rem 0;
	text-align: center;
}

.footer__bottom p {
	font-size: 1.3rem;
	color: var(--footer-text);
}

/* --- Глобальний стиль для кнопок --- */
.button {
	display: inline-block;
	padding: 1.4rem 3.2rem;
	font-family: var(--font-heading);
	font-size: 1.6rem;
	font-weight: 600;
	text-align: center;
	color: var(--white);
	background-color: var(--primary-color);
	border-radius: 5rem;
	cursor: pointer;
	transition: all 0.3s ease;
	border: 2px solid var(--primary-color);
}

.button:hover {
	background-color: #2563eb; /* Darker blue */
	transform: translateY(-3px);
	box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* --- Етап 3: Стилі Hero Секції --- */
.hero {
	padding: 6rem 0;
	overflow-x: hidden; /* Для коректної роботи AOS */
}

.hero__container {
	display: grid;
	grid-template-columns: 1fr; /* 1 колонка на мобільних */
	align-items: center;
	gap: 4rem;
}

.hero__content {
	text-align: center; /* Центрування на мобільних */
}

.hero__title {
	font-size: 2rem;
	font-weight: 700;
	color: #1f2937; /* Темніший за основний текст */
	line-height: 1.2;
	margin-bottom: 2rem;
}

.hero__title--accent {
	color: var(--primary-color);
}

.hero__description {
	font-size: 1.8rem;
	color: var(--text-color);
	margin-bottom: 3.5rem;
	max-width: 60rem;
	margin-left: auto;
	margin-right: auto;
}

.hero__description--highlight {
	font-weight: 500;
	color: var(--accent-color);
}

.hero__cta {
	margin: 0 auto; /* Центрування кнопки на мобільних */
}

.hero__visual {
	width: 100%;
	max-width: 50rem;
	margin: 0 auto;
}

.hero__img {
	width: 100%;
	height: auto;
	border-radius: 1rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

/* Адаптивність (Mobile-first) - для планшетів і десктопів */
@media (min-width: 768px) {
	.hero {
		padding: 8rem 0;
	}

	.hero__container {
		grid-template-columns: 1.1fr 0.9fr; /* 2 колонки */
		gap: 6rem;
	}

	.hero__content {
		text-align: left; /* Вирівнювання по лівому краю */
	}

	.hero__title {
		font-size: 2rem;
	}

	.hero__description {
		margin-left: 0;
		margin-right: 0;
	}

	.hero__cta {
		margin: 0;
	}
}

@media (min-width: 1024px) {
	.hero__title {
		font-size: 4rem;
	}
}

.practices {
	padding: 6rem 0;
	background-color: var(--white); /* Світлий фон, відділяється від hero */
}

.practices__header {
	text-align: center;
	max-width: 70rem;
	margin: 0 auto 5rem;
}

.practices__title {
	font-size: 3.6rem;
	color: #1f2937;
	margin-bottom: 1.5rem;
}

.practices__subtitle {
	font-size: 1.8rem;
	color: var(--text-color);
	line-height: 1.7;
}

.practices__grid {
	display: grid;
	grid-template-columns: 1fr; /* 1 колонка на мобільних */
	gap: 3rem;
}

/* Стилі картки */
.practice-card {
	background-color: #f9fafb; /* Дуже світлий фон */
	border: 1px solid #e5e7eb; /* Легка рамка */
	border-radius: 1.2rem;
	padding: 3rem;
	text-align: left;
	transition: all 0.3s ease;
}

.practice-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.07);
}

.practice-card__icon-wrapper {
	width: 6rem;
	height: 6rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 2rem;
	background-color: var(--primary-color);
	/* Тінь в колір акценту */
	box-shadow: 0 4px 14px rgba(59, 130, 246, 0.3);
}

.practice-card__icon {
	width: 2.8rem;
	height: 2.8rem;
	color: var(--white);
}

.practice-card__title {
	font-size: 2.2rem;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 1rem;
}

.practice-card__description {
	font-size: 1.5rem;
	line-height: 1.6;
	color: var(--text-color);
}

/* Адаптивність (Mobile-first) - для планшетів і десктопів */
@media (min-width: 768px) {
	.practices {
		padding: 8rem 0;
	}

	.practices__grid {
		grid-template-columns: repeat(2, 1fr); /* 2 колонки */
	}
}

@media (min-width: 1024px) {
	.practices__grid {
		grid-template-columns: repeat(3, 1fr); /* 3 колонки */
	}
}

.tools {
	padding: 6rem 0;
	/* Фон залишається --bg-color (f9fafb) */
}

.tools__header {
	text-align: center;
	max-width: 70rem;
	margin: 0 auto 5rem;
}

.tools__title {
	font-size: 3.6rem;
	color: #1f2937;
	margin-bottom: 1.5rem;
}

.tools__subtitle {
	font-size: 1.8rem;
	color: var(--text-color);
	line-height: 1.7;
}

.tools__content-wrapper {
	background-color: var(--white);
	border-radius: 1.2rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
	border: 1px solid #e5e7eb;
}

.tools__nav {
	display: flex;
	flex-wrap: wrap; /* Дозволяє переносити таби на мобільних */
	border-bottom: 1px solid #e5e7eb;
	padding: 1rem;
}

.tools__nav-button {
	font-family: var(--font-heading);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--text-color);
	background-color: transparent;
	border: none;
	border-bottom: 3px solid transparent;
	padding: 1.5rem 2rem;
	cursor: pointer;
	transition: all 0.3s ease;
	display: flex;
	align-items: center;
	gap: 0.8rem;
	flex-grow: 1; /* Рівномірний розподіл на мобільних */
	justify-content: center;
}

.tools__nav-button:hover {
	color: var(--primary-color);
	background-color: #f9fafb;
}

.tools__nav-button.is-active {
	color: var(--primary-color);
	border-bottom-color: var(--primary-color);
}

.tools__nav-icon {
	width: 1.8rem;
	height: 1.8rem;
}

/* Контент табів */
.tools__tab-pane {
	display: none; /* Сховано за замовчуванням */
	padding: 3rem;
}

.tools__tab-pane.is-active {
	display: block; /* Показано активний таб */
}

.tools__tab-content {
	max-width: 60rem;
}

.tools__tab-title {
	font-size: 2.8rem;
	color: #1f2937;
	margin-bottom: 1.5rem;
}

.tools__tab-description {
	font-size: 1.6rem;
	line-height: 1.7;
	color: var(--text-color);
	margin-bottom: 2.5rem;
}

.tools__tab-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.tools__tab-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.5rem;
}

.tools__tab-icon {
	width: 2rem;
	height: 2rem;
	color: var(--accent-color);
	flex-shrink: 0;
}

.tools__tab-visual {
	display: none; /* Сховано на мобільних */
}

.tools__tab-img {
	width: 100%;
	height: auto;
	border-radius: 0.8rem;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Адаптивність (Mobile-first) - для планшетів і десктопів */
@media (min-width: 768px) {
	.tools {
		padding: 8rem 0;
	}

	.tools__nav {
		flex-wrap: nowrap; /* Таби в один рядок */
		padding: 1rem 2rem;
	}

	.tools__nav-button {
		flex-grow: 0; /* Вимикаємо розтягування */
		font-size: 1.6rem;
	}

	.tools__tab-pane {
		padding: 4rem;
	}
}

@media (min-width: 1024px) {
	/* Робимо 2 колонки всередині табу */
	.tools__tab-pane {
		display: none; /* Перевизначаємо, щоб is-active працював */
		grid-template-columns: 1fr 1fr;
		align-items: center;
		gap: 5rem;
	}
	.tools__tab-pane.is-active {
		display: grid; /* Вмикаємо грід */
	}

	.tools__tab-visual {
		display: block; /* Показуємо картинку */
	}

	.tools__tab-title {
		font-size: 3.2rem;
	}
}

.benefits {
	padding: 6rem 0;
	background-color: var(--white); /* Змінюємо фон для контрасту */
	overflow-x: hidden; /* Для AOS */
}

.benefits__container {
	display: grid;
	grid-template-columns: 1fr; /* 1 колонка на мобільних */
	gap: 4rem;
	align-items: center;
}

.benefits__visual {
	width: 100%;
	max-width: 50rem;
	margin: 0 auto;
}

.benefits__img {
	width: 100%;
	height: auto;
	border-radius: 1.2rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.benefits__title {
	font-size: 3.6rem;
	color: #1f2937;
	margin-bottom: 1.5rem;
}

.benefits__description {
	font-size: 1.8rem;
	color: var(--text-color);
	line-height: 1.7;
	margin-bottom: 3.5rem;
}

.benefits__description--highlight {
	font-weight: 600;
	color: var(--primary-color);
}

.benefits__list {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	margin-bottom: 4rem;
}

.benefits__item {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
}

.benefits__icon {
	flex-shrink: 0;
	width: 2.8rem;
	height: 2.8rem;
	color: var(--accent-color);
	padding: 1rem;
	background-color: #e0fdf4; /* Світло-зелений фон */
	border-radius: 50%;
}

.benefits__item-title {
	font-size: 2rem;
	font-weight: 600;
	color: #1f2937;
	margin-bottom: 0.5rem;
}

.benefits__item-text {
	font-size: 1.5rem;
	color: var(--text-color);
	line-height: 1.6;
}

.benefits__cta {
	/* Стилі кнопки вже визначені у .button */
}

/* Адаптивність (Mobile-first) - для десктопів */
@media (min-width: 992px) {
	.benefits {
		padding: 8rem 0;
	}

	.benefits__container {
		grid-template-columns: 1fr 1.1fr; /* 2 колонки */
		gap: 8rem;
	}

	/* Міняємо колонки місцями: картинка справа */
	.benefits__visual {
		order: 2;
	}
	.benefits__content {
		order: 1;
	}
}

.faq {
	padding: 6rem 0;
	/* Фон залишається --bg-color (f9fafb) */
}

.faq__container {
	max-width: 90rem; /* Трохи вужчий контейнер для кращої читабельності */
}

.faq__header {
	text-align: center;
	margin-bottom: 5rem;
}

.faq__title {
	font-size: 3.6rem;
	color: #1f2937;
	margin-bottom: 1.5rem;
}

.faq__subtitle {
	font-size: 1.8rem;
	color: var(--text-color);
	line-height: 1.7;
}

.faq__list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.faq__item {
	background-color: var(--white);
	border: 1px solid #e5e7eb;
	border-radius: 1rem;
	overflow: hidden; /* Важливо для анімації max-height */
	transition: box-shadow 0.3s ease;
}

.faq__item:hover {
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.faq__question {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 2rem 2.5rem;
	background-color: transparent;
	border: none;
	cursor: pointer;
	text-align: left;

	font-family: var(--font-heading);
	font-size: 1.8rem;
	font-weight: 600;
	color: #1f2937;
}

.faq__question span {
	flex-grow: 1;
	padding-right: 1.5rem;
}

.faq__icon {
	width: 2.2rem;
	height: 2.2rem;
	color: var(--primary-color);
	flex-shrink: 0;
	transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq__answer {
	max-height: 0; /* Сховано за замовчуванням */
	overflow: hidden;
	transition: max-height 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94),
		padding 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.faq__answer p {
	padding: 0 2.5rem 2rem;
	font-size: 1.5rem;
	line-height: 1.7;
	color: var(--text-color);
}

/* Стилі для активного стану */
.faq__item.is-active .faq__answer {
	max-height: 300px; /* Встановіть достатню висоту */
	padding-bottom: 0; /* Паддінг тепер всередині <p> */
}

.faq__item.is-active .faq__icon {
	transform: rotate(180deg);
}

@media (min-width: 768px) {
	.faq {
		padding: 8rem 0;
	}
	.faq__question {
		font-size: 2rem;
	}
}

.contact {
	padding: 6rem 0;
	background-color: var(--white); /* Контрастний фон */
}

.contact__container {
	max-width: 80rem; /* Вузький контейнер для форми */
}

.contact__header {
	text-align: center;
	margin-bottom: 5rem;
}

.contact__title {
	font-size: 3.6rem;
	color: #1f2937;
	margin-bottom: 1.5rem;
}

.contact__subtitle {
	font-size: 1.8rem;
	color: var(--text-color);
	line-height: 1.7;
}

.contact__wrapper {
	background-color: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 1.2rem;
	padding: 3rem;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.contact__form {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.form-group {
	display: flex;
	flex-direction: column;
}

.form-group__label {
	font-size: 1.4rem;
	font-weight: 500;
	margin-bottom: 0.8rem;
	color: #1f2937;
}

.form-group__input {
	width: 100%;
	padding: 1.4rem 1.6rem;
	font-size: 1.6rem;
	font-family: var(--font-main);
	color: var(--text-color);
	background-color: var(--white);
	border: 1px solid #d1d5db;
	border-radius: 0.8rem;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group__input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

/* Стилізація Чекбоксу */
.form-group--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 1rem;
	margin-top: 0.5rem;
}

.form-group__checkbox {
	width: 1.8rem;
	height: 1.8rem;
	margin-top: 0.3rem;
	flex-shrink: 0;
	cursor: pointer;
	/* Кастомний вигляд */
	appearance: none;
	-webkit-appearance: none;
	background-color: var(--white);
	border: 2px solid #d1d5db;
	border-radius: 0.4rem;
	transition: all 0.2s ease;
	position: relative;
}

.form-group__checkbox:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

/* "Пташка" для чекбоксу */
.form-group__checkbox:checked::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.5rem;
	height: 1rem;
	border: solid var(--white);
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -60%) rotate(45deg);
}

.form-group__checkbox-label {
	font-size: 1.4rem;
	color: var(--text-color);
	line-height: 1.6;
}

.form-group__checkbox-label a {
	color: var(--primary-color);
	text-decoration: underline;
}

.form-group__checkbox-label a:hover {
	color: #2563eb;
}

.contact__button {
	width: 100%;
	font-size: 1.8rem;
	padding: 1.6rem;
}

/* Повідомлення про успіх */
.form-message {
	display: none; /* ПРИХОВАНО ЗА ЗАМОВЧУВАННЯМ */
	padding: 2rem;
	margin-top: 2rem;
	border-radius: 0.8rem;
	font-size: 1.5rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.form-message--success {
	display: none;
	background-color: #e0fdf4; /* Світло-зелений */
	border: 1px solid var(--accent-color);
	color: #065f46;
}

.form-message__icon {
	width: 2.4rem;
	height: 2.4rem;
	color: var(--accent-color);
	flex-shrink: 0;
}

/* Клас, який ми додамо через JS */
.form-message.is-visible {
	display: flex;
}

@media (min-width: 768px) {
	.contact {
		padding: 8rem 0;
	}
	.contact__wrapper {
		padding: 5rem;
	}
}


/* --- Етап 5.1: Стилі Cookie Pop-up --- */

.cookie-popup {
    position: fixed;
    bottom: -100%; /* Приховано за замовчуванням */
    left: 0;
    width: 100%;
    background-color: var(--footer-bg);
    color: var(--footer-text);
    padding: 2.5rem 0;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: bottom 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Клас для показу */
.cookie-popup.is-visible {
    bottom: 0;
}

.cookie-popup__content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-popup__text {
    font-size: 1.4rem;
    line-height: 1.6;
    text-align: center;
}

.cookie-popup__link {
    color: var(--white);
    text-decoration: underline;
    font-weight: 500;
}

.cookie-popup__link:hover {
    color: var(--primary-color);
}

.cookie-popup__button {
    padding: 1rem 2.5rem;
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--footer-bg);
    background-color: var(--white);
    border: none;
    border-radius: 5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cookie-popup__button:hover {
    background-color: #f0f0f0;
    transform: translateY(-2px);
}

@media (min-width: 768px) {
    .cookie-popup__content {
        flex-direction: row;
    }
    .cookie-popup__text {
        text-align: left;
    }
}


/* --- Етап 5.2: Стилі для сторінок політик (privacy.html і т.д.) --- */

.pages {
    padding: 5rem 0;
    background-color: var(--white);
    min-height: 60vh;
}

.pages .container {
    max-width: 90rem; /* Вузький контейнер для тексту */
}

.pages h1,
.pages h2 {
    font-family: var(--font-heading);
    color: #1f2937;
    margin-bottom: 2rem;
}

.pages h1 {
    font-size: 2.6rem;
    border-bottom: 1px solid #e5e7eb;
    padding-bottom: 2rem;
    margin-bottom: 3rem;
}

.pages h2 {
    font-size: 2.6rem;
    margin-top: 4rem;
}

.pages p {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 2rem;
}

.pages ul {
    list-style: disc;
    padding-left: 3rem;
    margin-bottom: 2rem;
}

.pages li {
    font-size: 1.6rem;
    line-height: 1.8;
    color: var(--text-color);
    margin-bottom: 1.2rem;
}

.pages li::marker {
    color: var(--primary-color);
}

.pages a {
    color: var(--primary-color);
    text-decoration: underline;
    font-weight: 500;
}

.pages a:hover {
    color: #2563eb;
}

.pages strong {
    font-weight: 600;
    color: #1f2937;
}