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

/* 1. Переменные */
:root {
	--primary-color: #0a2463;
	--accent-color: #3ddc97;
	--dark-color: #212529;
	--light-color: #f8f9fa;
	--gray-color: #e9ecef;
	--white-color: #ffffff;

	--font-family-heading: 'Poppins', sans-serif;
	--font-family-body: 'Inter', sans-serif;

	--header-height: 70px;
	--transition-speed: 0.3s ease;
}

/* 2. Базовый сброс и настройки */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 100%; /* 16px */
}

body {
	font-family: var(--font-family-body);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--dark-color);
	background-color: var(--white-color);
	-webkit-font-smoothing: antialiased;
}

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

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

a:hover {
	color: var(--accent-color);
}

ul {
	list-style: none;
}

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

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

/* 3. Утилитарный класс .container */
.container {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* ======== ЭТАП 1: ХЕДЕР (MOBILE-FIRST) ======== */

.header {
	width: 100%;
	height: var(--header-height);
	background-color: var(--white-color);
	border-bottom: 1px solid var(--gray-color);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
}

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

/* Логотип (общий класс) */
.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-family-heading);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--primary-color);
}
.logo:hover {
	color: var(--primary-color); /* Логотип не меняет цвет при наведении */
}
.logo__svg {
	width: 36px;
	height: 36px;
	color: var(--primary-color);
	flex-shrink: 0;
}
.logo__text {
	line-height: 1;
}

/* Навигация (скрыта на мобильных) */
.header__nav {
	position: fixed;
	top: var(--header-height);
	left: -100%; /* Скрыто за экраном */
	width: 100%;
	height: calc(100vh - var(--header-height));
	background-color: var(--white-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	padding-top: 2rem;
	transition: left var(--transition-speed);
	overflow-y: auto;
}

.header__nav.is-active {
	left: 0; /* Показать меню */
}

.header__nav-list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.5rem;
}

.header__nav-link {
	font-family: var(--font-family-heading);
	font-size: 1.25rem;
	font-weight: 600;
	color: var(--primary-color);
	padding: 0.5rem 1rem;
	border-radius: 6px;
}

.header__nav-link:hover {
	background-color: var(--light-color);
	color: var(--accent-color);
}

/* Кнопка в мобильном меню */
.header__nav-link--button {
	background-color: var(--accent-color);
	color: var(--primary-color);
	padding: 0.75rem 1.5rem;
}
.header__nav-link--button:hover {
	background-color: var(--primary-color);
	color: var(--accent-color);
}

/* Гамбургер (виден только на мобильных) */
.header__hamburger {
	position: relative;
	display: block;
	color: var(--primary-color);
	padding: 0.5rem;
	z-index: 1001; /* Поверх .header__nav */
}
.header__hamburger .lucide-x {
	display: none;
}
.header__hamburger.is-active .lucide-menu {
	display: none;
}
.header__hamburger.is-active .lucide-x {
	display: block;
}

/* MAIN (Заглушка, чтобы контент не прятался под хедер) */
.main {
	padding-top: var(--header-height);
}

/* ======== ЭТАП 2: ФУТЕР (MOBILE-FIRST) ======== */

.footer {
	background-color: var(--primary-color);
	color: var(--light-color);
	padding-top: 4rem;
	padding-bottom: 2rem;
	margin-top: 4rem; /* Отступ от последнего блока main */
}

.footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
}

.footer__column--brand .logo {
	color: var(--white-color);
}
.footer__column--brand .logo__svg {
	color: var(--white-color);
}
.footer__description {
	font-size: 0.9rem;
	line-height: 1.5;
	margin-top: 1rem;
	max-width: 300px;
	opacity: 0.8;
}

.footer__title {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

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

.footer__link,
.footer__text {
	font-size: 0.9rem;
	color: var(--light-color);
	opacity: 0.8;
	transition: opacity var(--transition-speed);
}
.footer__link:hover {
	opacity: 1;
	color: var(--accent-color);
}

.footer__list--contact {
	gap: 1rem;
}
.footer__list--contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}
.footer__icon {
	width: 18px;
	height: 18px;
	color: var(--accent-color);
	flex-shrink: 0;
	margin-top: 2px;
}

.footer__bottom {
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	text-align: center;
	font-size: 0.85rem;
	opacity: 0.6;
}

/* ======== АДАПТИВНОСТЬ (DESKTOP) ======== */

@media (min-width: 768px) {
	.footer__grid {
		/* 2 колонки на планшетах */
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	/* --- Хедер (Desktop) --- */
	.header__hamburger {
		display: none;
	}

	.header__nav {
		position: static;
		width: auto;
		height: auto;
		background-color: transparent;
		flex-direction: row;
		padding-top: 0;
		left: 0; /* Всегда на месте */
	}

	.header__nav-list {
		flex-direction: row;
		gap: 0.5rem;
	}

	.header__nav-link {
		font-size: 0.95rem;
		font-weight: 500;
		color: var(--dark-color);
	}

	.header__nav-link--button {
		margin-left: 1rem;
		font-size: 0.9rem;
	}

	/* --- Футер (Desktop) --- */
	.footer__grid {
		/* 4 колонки на десктопах */
		grid-template-columns: 2fr 1fr 1fr 1.5fr;
		gap: 3rem;
	}
}

/* ======== ЭТАП 3: HERO SECTION (MOBILE-FIRST) ======== */

.hero {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: var(--light-color);
	overflow-x: hidden; /* Для корректной работы AOS */
}

.hero__container {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
	align-items: center;
	text-align: center;
}

.hero__content {
	max-width: 600px;
}

.hero__subtitle {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--primary-color);
	background-color: rgba(61, 220, 151, 0.2); /* Світлий акцент */
	padding: 0.3rem 0.75rem;
	border-radius: 20px;
	margin-bottom: 1rem;
}

.hero__title {
	font-size: 2.5rem; /* 40px */
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.hero__description {
	font-size: 1.1rem;
	color: #495057; /* Трохи темніший сірий */
	line-height: 1.7;
	margin-bottom: 2rem;
}

.hero__actions {
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 1rem;
}

.hero__cta {
	font-family: var(--font-family-heading);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.85rem 1.75rem;
	border-radius: 8px;
	transition: all var(--transition-speed);
	display: inline-block;
	border: 2px solid transparent;
}

.hero__cta--primary {
	background-color: var(--accent-color);
	color: var(--primary-color);
	border-color: var(--accent-color);
}
.hero__cta--primary:hover {
	background-color: #35c485; /* Трохи темніший акцент */
	border-color: #35c485;
	color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(61, 220, 151, 0.3);
}

.hero__cta--secondary {
	background-color: transparent;
	color: var(--primary-color);
	border-color: var(--gray-color);
}
.hero__cta--secondary:hover {
	background-color: var(--white-color);
	border-color: var(--primary-color);
	color: var(--primary-color);
}

.hero__image-wrapper {
	width: 100%;
	max-width: 500px;
}

.hero__image {
	width: 100%;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* --- Адаптивность Hero (Tablet & Desktop) --- */
@media (min-width: 576px) {
	.hero__actions {
		flex-direction: row;
	}
}

@media (min-width: 992px) {
	.hero {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}

	.hero__container {
		flex-direction: row;
		justify-content: space-between;
		gap: 4rem;
		text-align: left;
	}

	.hero__content {
		flex: 1 1 55%; /* Займає 55% ширини */
		max-width: none;
	}

	.hero__image-wrapper {
		flex: 1 1 45%; /* Займає 45% ширини */
		max-width: none;
	}

	.hero__actions {
		justify-content: flex-start;
	}

	.hero__title {
		font-size: 3.25rem; /* 52px */
	}
}

/* ======== ЭТАП 3: COURSES SECTION (MOBILE-FIRST) ======== */

.courses {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: var(--white-color); /* Чергуємо фон секцій */
}

/* Загальний стиль для заголовків секцій */
.section-header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3rem auto;
}

.section-header__subtitle {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--primary-color);
	background-color: rgba(61, 220, 151, 0.2);
	padding: 0.3rem 0.75rem;
	border-radius: 20px;
	margin-bottom: 0.75rem;
}

.section-header__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1rem;
}

.section-header__description {
	font-size: 1.05rem;
	color: #495057;
	line-height: 1.7;
}

/* Сітка курсів */
.courses__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.courses__card {
	background-color: var(--white-color);
	border: 1px solid var(--gray-color);
	border-radius: 12px;
	padding: 2rem;
	text-align: left;
	transition: all var(--transition-speed);
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

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

.courses__card-icon-wrapper {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 60px;
	height: 60px;
	border-radius: 12px;
	background-color: var(--light-color);
	margin-bottom: 1.5rem;
}
.courses__card-icon {
	width: 32px;
	height: 32px;
	color: var(--primary-color);
}
/* Акцентна іконка (приклад) */
.courses__card-icon-wrapper--accent {
	background-color: rgba(61, 220, 151, 0.2);
}
.courses__card-icon-wrapper--accent .courses__card-icon {
	color: var(--accent-color);
}

.courses__card-title {
	font-size: 1.4rem;
	margin-bottom: 0.75rem;
}

.courses__card-description {
	font-size: 0.95rem;
	color: #495057;
	line-height: 1.6;
	margin-bottom: 1.5rem;
}

.courses__card-link {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-family-heading);
	font-weight: 600;
	color: var(--primary-color);
}

.courses__card-link-icon {
	width: 18px;
	height: 18px;
	transition: transform var(--transition-speed);
}

.courses__card-link:hover {
	color: var(--accent-color);
}
.courses__card-link:hover .courses__card-link-icon {
	transform: translateX(4px);
}

/* --- Адаптивность Courses (Tablet & Desktop) --- */
@media (min-width: 768px) {
	.courses {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}

	.courses__grid {
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}

	.section-header__title {
		font-size: 2.75rem; /* 44px */
	}
}

@media (min-width: 992px) {
	.courses__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ======== PROCESS SECTION (MOBILE-FIRST) ======== */

.process {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: var(--light-color); /* Чергуємо фон */
}

.process__header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3rem auto;
}

.process__subtitle {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.process__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1rem;
}

.process__description {
	font-size: 1.05rem;
	color: #495057;
	line-height: 1.6;
}

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

/* --- Стилі для кроку --- */
.process-step {
	text-align: center;
	padding: 2rem;
	background-color: var(--white-color);
	border-radius: 12px;
	border: 1px solid transparent;
	transition: all var(--transition-speed);
}

.process-step:hover {
	transform: translateY(-5px);
	border-color: var(--accent-color);
	box-shadow: 0 8px 20px rgba(61, 220, 151, 0.15);
}

.process-step__icon-wrapper {
	position: relative;
	display: inline-block;
	margin-bottom: 1.5rem;
}

.process-step__icon {
	width: 48px;
	height: 48px;
	color: var(--accent-color);
}

.process-step__number {
	position: absolute;
	top: -10px;
	right: -20px;
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--primary-color);
	opacity: 0.15;
}

.process-step__title {
	font-size: 1.3rem;
	margin-bottom: 0.75rem;
}

.process-step__description {
	font-size: 0.95rem;
	color: #495057;
	line-height: 1.6;
}
.process-step__description a {
	font-weight: 600;
	color: var(--primary-color);
	text-decoration: underline;
	text-decoration-color: var(--accent-color);
}
.process-step__description a:hover {
	color: var(--accent-color);
}

/* --- Адаптивность Process (Tablet & Desktop) --- */
@media (min-width: 576px) {
	.process__grid {
		/* 2 колонки на планшетах */
		grid-template-columns: repeat(2, 1fr);
		gap: 2rem;
	}
}

@media (min-width: 992px) {
	.process {
		padding-top: 5rem;
		padding-bottom: 5rem;
	}

	.process__header {
		margin-bottom: 4rem;
	}

	.process__title {
		font-size: 2.75rem; /* 44px */
	}

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

	/* --- Лінії між кроками (тільки для десктопу) --- */
	.process-step {
		position: relative;
	}
	.process-step:not(:last-child)::after {
		content: '';
		position: absolute;
		top: 44px; /* На рівні іконки */
		right: -30px; /* Половина gap (4rem / 2) */
		width: 60px; /* 4rem */
		transform: translateX(-50%);
		border-bottom: 2px dashed var(--gray-color);
		z-index: -1;
	}
}

/* Видаляємо лінію на планшеті для парних елементів */
@media (min-width: 576px) and (max-width: 991.98px) {
	.process-step:nth-child(2n)::after {
		display: none;
	}
}

/* ======== FAQ SECTION (MOBILE-FIRST) ======== */

.faq {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: var(--light-color); /* Чергуємо фон */
}

.faq__container {
	max-width: 900px; /* Вужчий контейнер для читабельності */
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

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

.faq__subtitle {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}

.faq__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1rem;
}

.faq__description {
	font-size: 1.05rem;
	color: #495057;
	line-height: 1.6;
}
.faq__description a {
	font-weight: 600;
	color: var(--primary-color);
	text-decoration: underline;
	text-decoration-color: var(--accent-color);
}
.faq__description a:hover {
	color: var(--accent-color);
}

.faq__accordion {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

/* --- Стилі для елемента акордеону --- */
.faq-item {
	background-color: var(--white-color);
	border: 1px solid var(--gray-color);
	border-radius: 12px;
	overflow: hidden; /* Важливо для анімації */
	transition: all var(--transition-speed);
}
.faq-item.is-active {
	border-color: var(--primary-color);
	box-shadow: 0 8px 20px rgba(10, 36, 99, 0.1);
}

.faq-item__header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	padding: 1.5rem;
	text-align: left;
	font-family: var(--font-family-heading);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--primary-color);
}

.faq-item__icon {
	width: 20px;
	height: 20px;
	color: var(--primary-color);
	transition: transform var(--transition-speed);
	flex-shrink: 0;
}
.faq-item.is-active .faq-item__icon {
	transform: rotate(180deg);
	color: var(--accent-color);
}

.faq-item__content {
	/* Анімація висоти через JS */
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}
.faq-item__content p {
	padding: 0 1.5rem 1.5rem 1.5rem;
	font-size: 0.95rem;
	color: #495057;
	line-height: 1.7;
}

.faq-item__highlight {
	font-weight: 600;
	color: var(--primary-color);
}

/* Стан для відкритого елемента (керується JS) */
.faq-item.is-active .faq-item__content {
	max-height: 500px; /* Встановлюємо достатньо велику висоту */
	transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

/* Адаптивність */
@media (min-width: 992px) {
	.faq {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
	.faq__title {
		font-size: 2.75rem; /* 44px */
	}
	.faq__header {
		margin-bottom: 4rem;
	}
	.faq-item__header {
		font-size: 1.2rem;
	}
}

/* ======== BENEFITS SECTION (MOBILE-FIRST) ======== */

.benefits {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: var(--light-color); /* Чергуємо фон */
}

.benefits__container {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.benefits__image-wrapper {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

.benefits__image {
	width: 100%;
	border-radius: 12px;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.benefits__subtitle {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent-color);
	margin-bottom: 0.5rem;
}

.benefits__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1.5rem;
}

.benefits__description {
	font-size: 1.05rem;
	color: #495057;
	line-height: 1.6;
	margin-bottom: 2.5rem;
}

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

.benefits-item {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
}

.benefits-item__icon-wrapper {
	flex-shrink: 0;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: var(--white-color);
	border: 1px solid var(--gray-color);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.benefits-item__icon {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
}

.benefits-item__title {
	font-size: 1.2rem;
	margin-bottom: 0.25rem;
}

.benefits-item__description {
	font-size: 0.95rem;
	color: #495057;
	line-height: 1.6;
}

.benefits__cta {
	/* Використовуємо стилі з Hero */
	display: inline-block;
	font-family: var(--font-family-heading);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.85rem 1.75rem;
	border-radius: 8px;
	transition: all var(--transition-speed);
	border: 2px solid var(--accent-color);
	background-color: var(--accent-color);
	color: var(--primary-color);
}
.benefits__cta:hover {
	background-color: #35c485;
	border-color: #35c485;
	color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(61, 220, 151, 0.3);
}

/* --- Адаптивность Benefits (Tablet & Desktop) --- */
@media (min-width: 992px) {
	.benefits {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}

	.benefits__container {
		flex-direction: row;
		align-items: center;
		gap: 5rem;
	}

	.benefits__image-wrapper {
		flex: 1 1 45%;
		max-width: none;
	}

	.benefits__content {
		flex: 1 1 55%;
	}

	.benefits__title {
		font-size: 2.75rem; /* 44px */
	}
}

/* ======== ЭТАП 4: CONTACT SECTION (MOBILE-FIRST) ======== */

.contact {
	padding-top: 4rem;
	padding-bottom: 4rem;
	background-color: var(--white-color);
	margin-bottom: -4rem; /* Компенсуємо відступ у футері */
}

.contact__container {
	display: flex;
	flex-direction: column;
	gap: 3rem;
}

.contact__subtitle {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--accent-color);
	margin-bottom: 0.5rem;
}

.contact__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1.5rem;
}

.contact__description {
	font-size: 1.05rem;
	color: #495057;
	line-height: 1.6;
	margin-bottom: 2.5rem;
	max-width: 500px;
}

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

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

.contact-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}
.contact-item__icon {
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	color: var(--primary-color);
	background-color: var(--light-color);
	padding: 8px;
	border-radius: 8px;
}
.contact-item__label {
	display: block;
	font-size: 0.9rem;
	color: #6c757d;
	margin-bottom: 0.25rem;
}
.contact-item__link {
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--primary-color);
}
.contact-item__link:hover {
	color: var(--accent-color);
}

/* --- Стилі форми --- */
.contact__form-wrapper {
	background-color: var(--white-color);
	border: 1px solid var(--gray-color);
	border-radius: 12px;
	padding: 2.5rem;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form__title {
	font-size: 1.75rem;
	color: var(--primary-color);
	text-align: center;
	margin-bottom: 2rem;
}

.form__group {
	position: relative;
	margin-bottom: 1.75rem;
}

.form__input {
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: 1rem;
	border: 1px solid var(--gray-color);
	border-radius: 8px;
	background-color: var(--white-color);
	color: var(--dark-color);
	transition: all var(--transition-speed);
}
.form__input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(10, 36, 99, 0.1);
}
/* Анімація "float" лейблу */
.form__label {
	position: absolute;
	top: 0.85rem;
	left: 1rem;
	font-size: 1rem;
	color: #6c757d;
	background-color: var(--white-color);
	padding: 0 0.25rem;
	transition: all var(--transition-speed);
	pointer-events: none;
}
.form__input:focus + .form__label,
.form__input:not(:placeholder-shown) + .form__label {
	top: -0.6rem;
	left: 0.75rem;
	font-size: 0.8rem;
	color: var(--primary-color);
}

/* --- Чекбокс --- */
.form__checkbox-group {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1.75rem;
}
.form__checkbox {
	flex-shrink: 0;
	width: 1.15em;
	height: 1.15em;
	margin-top: 0.2em;
	cursor: pointer;
	accent-color: var(--primary-color);
}
.form__checkbox-label {
	font-size: 0.85rem;
	line-height: 1.5;
	color: #6c757d;
}
.form__checkbox-label a {
	color: var(--primary-color);
	text-decoration: underline;
}
.form__checkbox-label a:hover {
	color: var(--accent-color);
}

/* --- Кнопка відправки --- */
.form__button {
	width: 100%;
	font-family: var(--font-family-heading);
	font-weight: 600;
	font-size: 1rem;
	padding: 0.85rem 1.75rem;
	border-radius: 8px;
	transition: all var(--transition-speed);
	background-color: var(--accent-color);
	color: var(--primary-color);
	border: 2px solid var(--accent-color);
}
.form__button:hover {
	background-color: #35c485;
	border-color: #35c485;
	color: var(--primary-color);
	transform: translateY(-2px);
	box-shadow: 0 4px 15px rgba(61, 220, 151, 0.3);
}

.form__note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	font-size: 0.85rem;
	color: #6c757d;
	margin-top: 1.5rem;
}
.form__note-icon {
	width: 14px;
	height: 14px;
}

/* --- Повідомлення про успіх --- */
.form__success-message {
	display: none; /* Приховано за замовчуванням */
	text-align: center;
	padding: 2rem;
	border: 1px solid var(--accent-color);
	background-color: rgba(61, 220, 151, 0.05);
	border-radius: 12px;
}
.form__success-icon {
	width: 48px;
	height: 48px;
	color: var(--accent-color);
	margin-bottom: 1rem;
}
.form__success-title {
	font-size: 1.75rem;
	color: var(--primary-color);
	margin-bottom: 0.5rem;
}
.form__success-text {
	font-size: 1.05rem;
	color: #495057;
}

/* --- Адаптивность Contact (Tablet & Desktop) --- */
@media (min-dwidth: 992px) {
	.contact {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}
	.contact__container {
		flex-direction: row;
		align-items: center;
		gap: 5rem;
	}
	.contact__content {
		flex: 1 1 50%;
	}
	.contact__form-wrapper {
		flex: 1 1 50%;
	}
	.contact__title {
		font-size: 2.75rem; /* 44px */
	}
}

/* ======== ЭТАП 5.1: COOKIE POPUP (MOBILE-FIRST) ======== */

.cookie-popup {
	position: fixed;
	bottom: -100%; /* Приховано за замовчуванням */
	left: 0;
	width: 100%;
	background-color: var(--primary-color);
	color: var(--light-color);
	padding: 1.5rem;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.1);
	z-index: 2000;
	transition: bottom 0.5s ease-in-out;
}

.cookie-popup.is-visible {
	bottom: 0; /* Показати */
}

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

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

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

.cookie-popup__button {
	/* Використовуємо стилі кнопок */
	font-family: var(--font-family-heading);
	font-weight: 600;
	font-size: 0.9rem;
	padding: 0.6rem 1.5rem;
	border-radius: 8px;
	background-color: var(--accent-color);
	color: var(--primary-color);
	flex-shrink: 0;
	transition: all var(--transition-speed);
}
.cookie-popup__button:hover {
	background-color: #35c485;
	color: var(--primary-color);
}

/* Адаптивність для Cookie Pop-up */
@media (min-width: 768px) {
	.cookie-popup {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
	.cookie-popup__content {
		flex-direction: row;
		justify-content: space-between;
	}
	.cookie-popup__text {
		text-align: left;
	}
}

.pages {
	padding-top: 6rem; /* Відступ від хедера */
	padding-bottom: 4rem;
	min-height: 60vh; /* Мінімальна висота, щоб футер не прилипав */
}

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

.pages h1 {
	font-size: 2.75rem;
	color: var(--primary-color);
	margin-bottom: 2rem;
	border-bottom: 2px solid var(--gray-color);
	padding-bottom: 1rem;
}

.pages h2 {
	font-size: 1.75rem;
	color: var(--primary-color);
	margin-top: 2.5rem;
	margin-bottom: 1.5rem;
}

.pages p {
	font-size: 1rem;
	line-height: 1.8;
	color: #495057;
	margin-bottom: 1.5rem;
}

.pages ul {
	list-style: disc;
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}

.pages li {
	font-size: 1rem;
	line-height: 1.8;
	color: #495057;
}

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

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

@media (max-width: 768px) {
	.pages h1 {
		font-size: 1.5rem;
	}
	.pages h2 {
		font-size: 1.5rem;
	}
}
