/* ======== GOOGLE FONTS ======== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Poppins:wght@500;600;700&display=swap');

/* ======== CSS VARIABLES ======== */
:root {
	/* Colors */
	--primary-color: #0a67ff;
	--primary-color-dark: #0052cc;
	--accent-color: #00d1ff;
	--accent-color-light: #cff8ff;
	--dark-color: #12151c;
	--text-color: #333;
	--light-text-color: #6b7280;
	--border-color: #e0e4e8;
	--bg-color: #ffffff;
	--light-bg-color: #f4f7fa;

	/* Fonts */
	--font-body: 'Inter', sans-serif;
	--font-heading: 'Poppins', sans-serif;

	/* Typo */
	--fs-h1: 2.75rem;
	--fs-h2: 2rem;
	--fs-h3: 1.5rem;
	--fs-body: 1rem;
	--fs-small: 0.875rem;

	/* Other */
	--header-height: 5rem;
	--border-radius: 8px;
	--transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ======== BASE STYLES ======== */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	font-size: 16px;
}

body {
	font-family: var(--font-body);
	font-size: var(--fs-body);
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
}

ul {
	list-style: none;
}

a {
	text-decoration: none;
	color: var(--primary-color);
	transition: var(--transition);
}

a:hover {
	color: var(--primary-color-dark);
}

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

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

h1 {
	font-size: var(--fs-h1);
}
h2 {
	font-size: var(--fs-h2);
}
h3 {
	font-size: var(--fs-h3);
}

/* ======== UTILITY/REUSABLE CLASSES ======== */
.container {
	max-width: 1140px;
	margin: 0 auto;
	padding: 0 1rem;
}

/* ======== HEADER ======== */
.header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: var(--bg-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.header__container {
	height: var(--header-height);
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.header__logo,
.footer__logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-weight: 600;
	font-size: 1.25rem;
	color: var(--dark-color);
}

.logo__svg {
	width: 40px;
	height: 40px;
}

.header__toggle,
.header__close {
	font-size: 1.5rem;
	cursor: pointer;
	color: var(--dark-color);
	background: none;
	border: none;
}

.header__toggle {
	display: block; /* Show toggle button on mobile */
}

.header__close {
	display: block; /* Hide close button by default */
	position: absolute;
	top: 1rem;
	right: 1.5rem;
}

.header__nav {
	position: fixed;
	top: 0;
	right: -100%; /* Hidden off-screen */
	width: 70%;
	max-width: 300px;
	height: 100%;
	background-color: var(--bg-color);
	box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
	padding: 3rem 2rem;
	transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* Show mobile nav */
.header__nav--open {
	right: 0;
}

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

.header__link {
	font-family: var(--font-heading);
	font-weight: 500;
	color: var(--dark-color);
	font-size: 1.1rem;
}

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

.header__link--button {
	background-color: var(--primary-color);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: var(--border-radius);
	transition: var(--transition);
}

.header__link--button:hover {
	background-color: var(--primary-color-dark);
	color: white;
}

/* ======== MAIN (Placeholder) ======== */
.main {
	padding-top: var(--header-height); /* Offset for fixed header */
}

/* ======== FOOTER ======== */
.footer {
	background-color: var(--dark-color);
	color: var(--light-text-color);
	padding-top: 4rem;
}

.footer__container {
	display: grid;
	gap: 2.5rem;
	padding-bottom: 3rem;
	border-bottom: 1px solid var(--border-color);
}

.footer__logo {
	color: var(--bg-color);
	margin-bottom: 1rem;
}

.footer__description {
	font-size: var(--fs-small);
	max-width: 300px;
}

.footer__title {
	font-family: var(--font-heading);
	font-size: 1.25rem;
	color: var(--bg-color);
	margin-bottom: 1.5rem;
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.footer__link {
	color: var(--light-text-color);
	font-size: var(--fs-small);
	transition: var(--transition);
}

.footer__link:hover {
	color: var(--accent-color);
	padding-left: 0.25rem;
}

.footer__item--contact {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: var(--fs-small);
}

.footer__contact-icon {
	width: 20px;
	height: 20px;
	color: var(--accent-color);
}

.footer__bottom {
	padding: 1.5rem 0;
	text-align: center;
}

.footer__copy {
	font-size: var(--fs-small);
}

/* ======== RESPONSIVE (Mobile-First Approach) ======== */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	:root {
		--fs-h1: 3.5rem;
		--fs-h2: 2.5rem;
		--fs-h3: 1.75rem;
		--fs-body: 1.05rem;
	}

	.header__toggle,
	.header__close {
		display: none;
	}

	.header__nav {
		all: unset; /* Reset mobile styles */
	}

	.header__list {
		flex-direction: row;
		align-items: center;
		gap: 2.5rem;
	}

	.header__link {
		font-size: var(--fs-body);
	}

	.footer__container {
		grid-template-columns: 2fr 1fr 1fr 2fr;
		gap: 2rem;
	}

	.footer__column--logo {
		grid-column: 1 / 2;
	}
}

/* ======== HERO SECTION ======== */
.hero {
	background-color: var(--light-bg-color);
	padding: 4rem 0;
	overflow: hidden; /* Для декоративних елементів */
}

.hero__container {
	display: grid;
	gap: 3rem;
	align-items: center;
}

.hero__content {
	text-align: center;
}

.hero__subtitle {
	display: inline-block;
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--primary-color);
	background-color: var(--accent-color-light);
	padding: 0.5rem 1rem;
	border-radius: 50px;
	margin-bottom: 1rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hero__title {
	font-size: var(--fs-h2);
	margin-bottom: 1.5rem;
}

.hero__title span {
	/* Градієнтний текст */
	background: linear-gradient(
		90deg,
		var(--primary-color) 0%,
		var(--accent-color) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

.hero__description {
	font-size: 1.15rem;
	color: var(--light-text-color);
	max-width: 600px;
	margin: 0 auto 2.5rem auto;
}

.hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: var(--primary-color);
	color: #fff;
	padding: 1rem 2.5rem;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 1.05rem;
	border-radius: var(--border-radius);
	transition: var(--transition);
	box-shadow: 0 4px 20px rgba(10, 103, 255, 0.3);
}

.hero__cta:hover {
	background-color: var(--primary-color-dark);
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 6px 25px rgba(10, 103, 255, 0.4);
}

.hero__cta i {
	width: 20px;
	height: 20px;
	transition: transform 0.3s ease;
}

.hero__cta:hover i {
	transform: translateX(5px);
}

.hero__image-wrapper {
	position: relative;
	max-width: 500px;
	margin: 0 auto;
}

.hero__image {
	border-radius: var(--border-radius);
	z-index: 5;
	position: relative;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Декоративні елементи */
.hero__deco {
	position: absolute;
	border-radius: 50%;
	z-index: 1;
	opacity: 0.5;
}
.hero__deco--1 {
	width: 100px;
	height: 100px;
	background: var(--accent-color);
	bottom: -20px;
	left: -30px;
	filter: blur(20px);
}
.hero__deco--2 {
	width: 150px;
	height: 150px;
	background: var(--primary-color);
	top: -40px;
	right: -50px;
	filter: blur(30px);
	opacity: 0.3;
}

/* Адаптація Hero для десктопів */
@media (min-width: 992px) {
	.hero {
		padding: 6rem 0;
	}

	.hero__container {
		grid-template-columns: 1fr 1fr;
		text-align: left;
	}

	.hero__content {
		text-align: left;
	}

	.hero__description {
		margin: 0 0 2.5rem 0; /* Скидання auto-margin */
	}
}

/* ======== GLOBAL SECTION STYLES (Reusable) ======== */
/* Ми будемо використовувати ці класи для всіх секцій */
.section {
	padding: 4rem 0;
}

.section__subtitle {
	display: block;
	text-align: center;
	font-size: var(--fs-small);
	font-weight: 600;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.5rem;
}

.section__title {
	font-size: var(--fs-h2);
	text-align: center;
	margin-bottom: 3rem;
}

/* ======== COURSES SECTION ======== */
.courses {
	background-color: var(
		--bg-color
	); /* Чергуємо фон: hero був світло-сірий, цей - білий */
}

.courses__container {
	display: grid;
	gap: 2rem;
}

.courses__card {
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
}

.courses__card:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.courses__image-wrapper {
	width: 100%;
	aspect-ratio: 16 / 9; /* Задаємо співвідношення сторін для зображення */
	overflow: hidden;
}

.courses__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.courses__content {
	padding: 1.5rem;
}

.courses__title {
	font-size: 1.35rem;
	font-family: var(--font-heading);
	color: var(--dark-color);
	margin-bottom: 0.75rem;
}

.courses__description {
	font-size: var(--fs-body);
	color: var(--light-text-color);
	margin-bottom: 1.5rem;
	min-height: 4.8em; /* Резервуємо місце приблизно на 3 рядки тексту */
}

.courses__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-heading);
	font-weight: 500;
	color: var(--primary-color);
	font-size: 0.95rem;
}

.courses__button i {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}

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

.courses__button:hover i {
	transform: translateX(3px);
}

/* Адаптація Courses для планшетів та десктопів */
@media (min-width: 576px) {
	.courses__container {
		/* 2 колонки на малих планшетах */
		grid-template-columns: repeat(2, 1fr);
	}

	/* Налаштування для непарної кількості (3-ї картки) */
	.courses__card:last-child:nth-child(odd) {
		grid-column: 1 / -1; /* Розтягуємо на всю ширину */
		max-width: 50%; /* Але обмежуємо ширину */
		margin: 0 auto; /* І центруємо */
	}
}

@media (min-width: 992px) {
	.section {
		padding: 6rem 0;
	}

	.courses__container {
		/* 3 колонки на десктопах */
		grid-template-columns: repeat(3, 1fr);
	}

	/* Скидаємо стилі для 3-ї картки */
	.courses__card:last-child:nth-child(odd) {
		grid-column: auto;
		max-width: none;
		margin: 0;
	}
}

/* ======== ABOUT US SECTION ======== */
.about {
	background-color: var(--light-bg-color); /* Чергуємо фон */
}

.about__container {
	display: grid;
	gap: 3rem;
	align-items: center;
}

/* Модифікатор для вирівнювання заголовка ліворуч */
.section__title--left {
	text-align: left;
}

.about__title-highlight {
	/* Використовуємо той самий градієнт, що і в hero */
	background: linear-gradient(
		90deg,
		var(--primary-color) 0%,
		var(--accent-color) 100%
	);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	text-fill-color: transparent;
}

.about__description {
	font-size: var(--fs-body);
	color: var(--light-text-color);
	margin-bottom: 2rem;
	line-height: 1.7;
}

.about__list {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}

.about__list-item {
	display: flex;
	align-items: flex-start; /* Вирівнюємо по верху, якщо текст в кілька рядків */
	gap: 0.75rem;
}

.about__list-icon {
	width: 22px;
	height: 22px;
	color: var(--primary-color);
	flex-shrink: 0; /* Щоб іконка не стискалась */
	margin-top: 2px;
}

.about__image-wrapper {
	width: 100%;
	max-width: 450px;
	margin: 0 auto;
}

.about__image {
	border-radius: var(--border-radius);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* Адаптація About Us для десктопів */
@media (min-width: 992px) {
	.about__container {
		grid-template-columns: 1fr 1fr;
		gap: 5rem; /* Збільшуємо відступ на десктопах */
	}

	.about__content {
		order: 1; /* Текст зліва */
	}

	.about__image-wrapper {
		order: 2; /* Картинка зправа */
		max-width: none; /* Знімаємо обмеження */
	}
}

/* ======== BENEFITS SECTION ======== */
.benefits {
	background-color: var(--bg-color); /* Чергуємо фон */
}

.benefits__container {
	display: grid;
	gap: 2rem;
	padding-top: 1rem; /* Додатковий відступ від заголовку */
}

.benefits__card {
	background-color: var(--light-bg-color);
	border: 1px solid var(--border-color);
	padding: 2.5rem 2rem;
	border-radius: var(--border-radius);
	text-align: center;
	transition: var(--transition);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.benefits__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.benefits__icon-wrapper {
	display: inline-flex;
	padding: 1rem;
	border-radius: 50%;
	background: linear-gradient(
		135deg,
		var(--primary-color) 0%,
		var(--accent-color) 100%
	);
	margin-bottom: 1.5rem;
	box-shadow: 0 5px 15px rgba(10, 103, 255, 0.3);
}

.benefits__icon {
	width: 36px;
	height: 36px;
	color: #fff;
}

.benefits__title {
	font-size: 1.35rem;
	color: var(--dark-color);
	margin-bottom: 0.75rem;
}

.benefits__description {
	font-size: var(--fs-body);
	color: var(--light-text-color);
	line-height: 1.6;
}

/* Адаптація Benefits для планшетів та десктопів */
@media (min-width: 576px) {
	.benefits__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.benefits__container {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem; /* Трохи зменшимо gap, бо карток 4 */
	}
}

/* ======== FAQ SECTION ======== */
.faq {
	background-color: var(--light-bg-color); /* Чергуємо фон */
}

.faq__container {
	max-width: 800px; /* Обмежуємо ширину для кращої читабельності */
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.faq__item {
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	overflow: hidden; /* Важливо для анімації */
	transition: var(--transition);
}

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

.faq__header {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem;
	cursor: pointer;
	user-select: none; /* Забороняємо виділення тексту питання */
}

.faq__icon {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
	flex-shrink: 0;
}

.faq__question {
	font-size: 1.15rem;
	font-weight: 500;
	font-family: var(--font-body); /* Робимо питання менш "заголовковим" */
	color: var(--dark-color);
	margin: 0;
	flex-grow: 1; /* Займає весь доступний простір */
}

.faq__toggle-icon {
	width: 24px;
	height: 24px;
	color: var(--light-text-color);
	transition: transform 0.3s ease;
	flex-shrink: 0;
}

.faq__content {
	max-height: 0; /* За замовчуванням контент прихований */
	overflow: hidden;
	transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq__answer {
	font-size: var(--fs-body);
	color: var(--light-text-color);
	line-height: 1.7;
	padding: 0 1.5rem 1.5rem 4rem; /* Відступ зліва, щоб бути під текстом питання */
}

.faq__answer a {
	font-weight: 600;
	text-decoration: underline;
}

/* Стилі для відкритого акордеону */
.faq__item--open .faq__toggle-icon {
	transform: rotate(180deg);
	color: var(--primary-color);
}

.faq__item--open .faq__content {
	max-height: 300px; /* Встановіть достатню висоту. JS не потрібен! */
	padding-top: 0; /* Плавна поява */
}

/* ======== CONTACT SECTION ======== */
.contact {
	background-color: var(--bg-color); /* Чергуємо фон */
	padding-bottom: 6rem; /* Більший відступ знизу */
}

.contact__container {
	display: grid;
	gap: 3rem;
}

.contact__description {
	font-size: var(--fs-body);
	color: var(--light-text-color);
	margin-bottom: 2rem;
	line-height: 1.7;
}

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

.contact__detail-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.05rem;
	font-weight: 500;
	color: var(--dark-color);
}

.contact__detail-icon {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
}

.contact__form-wrapper {
	background-color: var(--light-bg-color);
	padding: 2.5rem;
	border-radius: var(--border-radius);
	border: 1px solid var(--border-color);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

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

.contact__input-group {
	display: flex;
	flex-direction: column;
	gap: 0.5rem;
}

.contact__label {
	font-size: var(--fs-small);
	font-weight: 500;
	color: var(--dark-color);
}

.contact__input {
	width: 100%;
	padding: 0.9rem 1rem;
	font-size: var(--fs-body);
	font-family: var(--font-body);
	color: var(--text-color);
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: var(--border-radius);
	transition: var(--transition);
}

.contact__input::placeholder {
	color: var(--light-text-color);
	opacity: 0.8;
}

.contact__input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(10, 103, 255, 0.2);
}

.contact__checkbox-group {
	display: flex;
	align-items: flex-start; /* Вирівнюємо по верху */
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.contact__checkbox-input {
	/* Кастомний чекбокс */
	appearance: none;
	-webkit-appearance: none;
	width: 1.25rem;
	height: 1.25rem;
	border: 1.5px solid var(--border-color);
	border-radius: 4px;
	margin-top: 2px;
	cursor: pointer;
	flex-shrink: 0;
	position: relative;
	transition: var(--transition);
}

.contact__checkbox-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
}

.contact__checkbox-input:checked::before {
	/* Галочка */
	content: '\2713'; /* Unicode checkmark */
	display: block;
	color: #fff;
	font-size: 0.9rem;
	font-weight: bold;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.contact__checkbox-label {
	font-size: var(--fs-small);
	color: var(--light-text-color);
	line-height: 1.5;
}

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

.contact__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	background-color: var(--primary-color);
	color: #fff;
	padding: 1rem 2rem;
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: 1.05rem;
	border-radius: var(--border-radius);
	border: none;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: 0 4px 20px rgba(10, 103, 255, 0.3);
}

.contact__button:hover {
	background-color: var(--primary-color-dark);
	transform: translateY(-3px);
}

.contact__button i {
	width: 20px;
	height: 20px;
}

.contact__success-message {
	display: none; /* Приховано за замовчуванням */
	padding: 1rem;
	background-color: var(--accent-color-light);
	border: 1px solid var(--accent-color);
	color: var(--dark-color);
	border-radius: var(--border-radius);
	font-size: var(--fs-small);
	font-weight: 500;
	text-align: center;
	margin-top: 0.5rem;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
}

.contact__success-message.is-active {
	display: flex; /* Показуємо */
}

/* Адаптація Contact для десктопів */
@media (min-width: 992px) {
	.contact__container {
		grid-template-columns: 1fr 1fr;
		gap: 5rem;
	}
}

/* ======== COOKIE POP-UP ======== */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Початково приховано */
	left: 0;
	width: 100%;
	background-color: var(--dark-color);
	color: var(--light-bg-color);
	padding: 1.5rem;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
	z-index: 200;
	transition: bottom 0.5s ease-in-out;
}

/* Стан "показано" */
.cookie-popup.is-active {
	bottom: 0;
}

.cookie-popup__container {
	max-width: 1140px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	text-align: center;
}

.cookie-popup__text {
	font-size: var(--fs-small);
	line-height: 1.6;
}

.cookie-popup__text a {
	color: var(--accent-color);
	font-weight: 500;
	text-decoration: underline;
}

.cookie-popup__text a:hover {
	color: #fff;
}

.cookie-popup__button {
	background-color: var(--primary-color);
	color: #fff;
	padding: 0.6rem 1.5rem;
	font-family: var(--font-body);
	font-weight: 500;
	font-size: var(--fs-small);
	border-radius: var(--border-radius);
	border: none;
	cursor: pointer;
	transition: var(--transition);
	flex-shrink: 0;
}

.cookie-popup__button:hover {
	background-color: var(--primary-color-dark);
}

/* Адаптація Cookie Pop-up для десктопів */
@media (min-width: 768px) {
	.cookie-popup {
		padding: 1.5rem;
	}

	.cookie-popup__container {
		flex-direction: row;
		justify-content: space-between;
		text-align: left;
	}

	.cookie-popup__text {
		font-size: 0.95rem;
	}
}

/* ======== STATIC PAGES (Privacy, Terms, etc.) ======== */
.pages {
	/* Відступ зверху (для хедера) + внутрішній відступ */
	padding: calc(var(--header-height) + 4rem) 0 4rem 0;
	background-color: var(--bg-color);
	min-height: 80vh; /* Щоб сторінка не виглядала порожньою */
}

.pages .container {
	/* Вужчий контейнер (800px) для кращої читабельності тексту */
	max-width: 800px;
}

.pages h1 {
	font-size: var(--fs-h1);
	font-family: var(--font-heading);
	color: var(--dark-color);
	margin-bottom: 2.5rem;
	line-height: 1.2;
}

.pages h2 {
	font-size: var(--fs-h2);
	font-family: var(--font-heading);
	color: var(--dark-color);
	margin-top: 2.5rem; /* Відступ перед підзаголовком */
	margin-bottom: 1.5rem;
}

.pages p {
	font-size: var(--fs-body);
	color: var(--text-color);
	line-height: 1.8; /* Збільшена висота рядка для комфортного читання */
	margin-bottom: 1.5rem;
}

.pages ul {
	list-style-type: disc; /* Повертаємо маркери списку */
	margin-left: 1.5rem; /* Відступ для маркерів */
	margin-bottom: 1.5rem;
	padding-left: 1rem;
}

.pages li {
	margin-bottom: 0.75rem;
	line-height: 1.7;
	color: var(--text-color);
}

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

.pages a:hover {
	color: var(--primary-color-dark);
	text-decoration: none;
}

.pages strong {
	font-weight: 600;
	color: var(--dark-color);
}

/* Адаптація для десктопів */
@media (min-width: 992px) {
	.pages {
		padding: calc(var(--header-height) + 6rem) 0 6rem 0;
	}
}
