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

/* ==================== CSS VARIABLES ==================== */
:root {
	/* Colors */
	--primary-color: #4a90e2;
	--accent-color: #50e3c2;
	--dark-bg: #1e2a3a;
	--light-bg: #ffffff;
	--text-light: #f5f7fa;
	--text-dark: #333333;
	--text-light-secondary: #b0c4de; /* Для менее важного текста на темном фоне */

	/* Typography */
	--font-family-base: 'Inter', sans-serif;

	/* Transitions */
	--transition-fast: 0.3s ease;

	/* Header Height (для отступов) */
	--header-height: 4rem;
}

/* ==================== BASE (Этап 0) ==================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
	font-size: 16px; /* Базовый размер шрифта */
}

body {
	font-family: var(--font-family-base);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.6;
	background-color: var(--light-bg);
	color: var(--text-dark);
}

ul {
	list-style: none;
}

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

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

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

h1,
h2,
h3,
h4,
h5,
h6 {
	font-weight: 600;
	line-height: 1.3;
}

/* ==================== REUSABLE CLASSES ==================== */
.container {
	max-width: 1140px;
	margin: 0 auto;

	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* ==================== HEADER (Этап 1) ==================== */
.header {
	background-color: var(--dark-bg);
	color: var(--text-light);
	padding: 0;
	height: var(--header-height);
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--text-light);
}

.logo:hover {
	color: var(--text-light); /* Логотип не меняет цвет при наведении */
}

.logo__svg {
	width: 32px;
	height: 32px;
	color: var(--primary-color);
}

/* --- Navigation --- */
.nav__list {
	display: flex;
	align-items: center;
	gap: 1.5rem;
}

.nav__link {
	font-weight: 600;
	font-size: 0.9rem;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	position: relative;
	padding: 0.5rem 0;
}

/* Эффект подчеркивания при наведении */
.nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent-color);
	transition: var(--transition-fast);
}

.nav__link:hover::after {
	width: 100%;
}

.nav__link:hover {
	color: var(--accent-color);
}

/* CTA Кнопка в навигации */
.nav__link--cta {
	background-color: var(--primary-color);
	color: var(--text-light);
	padding: 0.5rem 1rem;
	border-radius: 20px;
	transition: var(--transition-fast);
}

.nav__link--cta::after {
	display: none; /* Убираем эффект подчеркивания для кнопки */
}

.nav__link--cta:hover {
	background-color: var(--accent-color);
	color: var(--dark-bg);
}

/* --- Burger & Mobile Menu --- */
.burger,
.nav__close {
	display: none; /* Скрыты на десктопе */
	background: transparent;
	border: none;
	color: var(--text-light);
	cursor: pointer;
	padding: 0.25rem;
}

.burger i,
.nav__close i {
	width: 28px;
	height: 28px;
}

/* Mobile-first: Стили для мобильных (до 992px) */
@media screen and (max-width: 992px) {
	.nav {
		position: fixed;
		top: 0;
		right: -100%; /* Скрыто за экраном */
		width: 70%;
		max-width: 300px;
		height: 100vh;
		background-color: var(--dark-bg);
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		padding: 4rem 2rem 2rem;
		transition: var(--transition-fast);
		z-index: 110;
	}

	/* Модификатор для показа меню */
	.nav--open {
		right: 0;
	}

	.nav__list {
		flex-direction: column;
		align-items: flex-start;
		gap: 2rem;
	}

	.nav__link {
		font-size: 1.1rem;
	}

	.nav__link--cta {
		margin-top: 1rem;
	}

	.nav__close {
		display: block;
		position: absolute;
		top: 1rem;
		right: 1.5rem;
	}

	.burger {
		display: block;
		z-index: 105;
	}
}

/* ==================== FOOTER (Этап 2) ==================== */
.footer {
	background-color: var(--dark-bg);
	color: var(--text-light);
	padding: 4rem 0 2rem;
}

.footer__container {
	display: grid;
	gap: 3rem;
	/* Mobile-first: 1 колонка */
	grid-template-columns: 1fr;
}

.footer__logo {
	margin-bottom: 1rem;
}

.footer__description {
	color: var(--text-light-secondary);
	font-size: 0.9rem;
	max-width: 300px;
}

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

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

.footer__link {
	color: var(--text-light-secondary);
	font-size: 0.9rem;
}

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

.footer__list--contact {
	gap: 1rem;
}

.footer__contact-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--text-light-secondary);
	font-size: 0.9rem;
}

.footer__contact-item i {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	color: var(--accent-color);
}

.footer__copyright {
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(245, 247, 250, 0.1);
	font-size: 0.85rem;
	color: var(--text-light-secondary);
}

/* Адаптация футера для планшетов (2 колонки) */
@media screen and (min-width: 576px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Адаптация футера для десктопов (4 колонки) */
@media screen and (min-width: 992px) {
	.footer__container {
		/* 2fr 1fr 1.5fr 1.5fr - подбираем баланс колонок */
		grid-template-columns: 2fr 1fr 1.5fr 1.5fr;
		gap: 2rem;
	}
}

/* ==================== REUSABLE CLASSES (Доповнення) ==================== */
.button {
	display: inline-block;
	padding: 0.75rem 1.75rem;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	border-radius: 50px;
	cursor: pointer;
	transition: var(--transition-fast);
	border: 2px solid transparent;
}

.button--primary {
	background-color: var(--primary-color);
	color: var(--text-light);
}

.button--primary:hover {
	background-color: var(--accent-color);
	color: var(--dark-bg);
	transform: translateY(-3px);
	box-shadow: 0 4px 10px rgba(80, 227, 194, 0.3);
}

.button--outline {
	background-color: transparent;
	color: var(--text-light);
	border-color: var(--text-light);
}

.button--outline:hover {
	background-color: var(--text-light);
	color: var(--dark-bg);
	transform: translateY(-3px);
}

/* ==================== HERO (Этап 3) ==================== */
.hero {
	/* Використовуємо градієнт замість одного кольору */
	background: linear-gradient(135deg, var(--dark-bg) 0%, #2a3b50 100%);
	color: var(--text-light);
	padding-top: calc(
		var(--header-height) + 2rem
	); /* Відступ від "липкого" хедера */
	padding-bottom: 6rem;
	position: relative;
	overflow: hidden; /* Для фонової фігури */
}

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

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

.hero__title {
	font-size: 1.75rem; /* 36px */
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1rem;
}

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

.hero__description {
	font-size: 1.1rem;
	color: var(--text-light-secondary);
	margin-bottom: 2rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.hero__buttons {
	display: flex;
	flex-wrap: wrap; /* Дозволяє кнопкам переноситись */
	justify-content: center;
	gap: 1rem;
}

.hero__image-wrapper {
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero__image {
	width: 100%;
	max-width: 450px;
	border-radius: 10px;
	/* Легкий ефект "плавання" для зображення */
	animation: hero-image-float 4s ease-in-out infinite;
}

/* Анімація плавання для зображення */
@keyframes hero-image-float {
	0% {
		transform: translateY(0);
	}
	50% {
		transform: translateY(-10px);
	}
	100% {
		transform: translateY(0);
	}
}

/* Фонова фігура (хвиля) */
.hero__shape {
	position: absolute;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100px; /* Висота хвилі */
	background-color: var(--light-bg); /* Колір наступної секції (білий) */
	/* Створення хвилі за допомогою clip-path */
	clip-path: polygon(0% 100%, 100% 100%, 100% 0%, 50% 50%, 0% 0%);
	opacity: 0.2; /* Робимо її ледь помітною */
	z-index: 1;
}

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

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

	.hero__content {
		text-align: left; /* Вирівнюємо текст ліворуч */
	}

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

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

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

.section {
	padding-top: 5rem;
	padding-bottom: 5rem;
}

/* Чергуємо фон секцій для кращого візуального розділення */
.section:nth-of-type(odd) {
	background-color: #f8f9fa; /* Дуже світло-сірий */
}

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

.section__title {
	font-size: 2rem;
	color: var(--dark-bg);
	margin-bottom: 1rem;
}

.section__description {
	font-size: 1rem;
	color: #555; /* Трохи темніший сірий для кращого контрасту */
	line-height: 1.7;
	margin-bottom: 2rem;
}

/* Новий стиль кнопки: світлий варіант для світлого фону */
.button--primary-light {
	background-color: var(--primary-color);
	color: var(--text-light);
}

.button--primary-light:hover {
	background-color: var(--accent-color);
	color: var(--dark-bg);
	transform: translateY(-3px);
	box-shadow: 0 4px 10px rgba(80, 227, 194, 0.3);
}

/* ==================== ABOUT (Этап 3) ==================== */
.about {
	background-color: var(--light-bg); /* Ця секція буде білою */
}

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

/* Картки переваг */
.about__features {
	display: grid;
	grid-template-columns: 1fr; /* 1 колонка карток на мобільних */
	gap: 1.5rem;
}

.feature-card {
	background-color: var(--light-bg);
	padding: 2rem;
	border-radius: 10px;
	box-shadow: 0 4px 20px rgba(30, 42, 58, 0.05); /* Легка тінь */
	border: 1px solid #e9ecef;
	transition: var(--transition-fast);
}

.feature-card:hover {
	transform: translateY(-5px);
	box-shadow: 0 6px 25px rgba(30, 42, 58, 0.08);
}

.feature-card__icon-wrapper {
	width: 50px;
	height: 50px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background-color: rgba(74, 144, 226, 0.1); /* 10% прозорості від primary */
	margin-bottom: 1rem;
}

.feature-card__icon-wrapper i {
	width: 24px;
	height: 24px;
	color: var(--primary-color);
}

.feature-card__title {
	font-size: 1.25rem;
	margin-bottom: 0.5rem;
	color: var(--dark-bg);
}

.feature-card__description {
	font-size: 0.9rem;
	color: #555;
	line-height: 1.6;
}

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

	/* Останню картку розтягуємо на всю ширину, якщо їх 3 */
	.feature-card:last-child:nth-child(odd) {
		grid-column: 1 / -1; /* Розтягнути на всі колонки */
	}
}

/* Адаптація для десктопів (від 992px) */
@media screen and (min-width: 992px) {
	.about__container {
		grid-template-columns: 1fr 1fr; /* 2 колонки: текст | картки */
		gap: 4rem;
	}

	.about__features {
		/* На десктопі знову 1 колонка для карток, щоб вони були вертикально */
		grid-template-columns: 1fr;
	}

	.feature-card:last-child:nth-child(odd) {
		grid-column: auto; /* Скидаємо розтягування */
	}

	.section__title {
		font-size: 2.5rem; /* Збільшуємо заголовки на десктопі */
	}
}

/* ==================== REUSABLE CLASSES (Доповнення) ==================== */
.section__header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3rem auto;
}

/* Опис для центрованих блоків */
.section__description--centered {
	font-size: 1.1rem;
	color: #555;
	line-height: 1.7;
}

/* ==================== FEATURES (Tabs) (Этап 3) ==================== */
.tabs__nav {
	display: flex;
	justify-content: center;
	margin-bottom: 2.5rem;
}

.tabs__list {
	display: flex;
	flex-wrap: wrap; /* Дозволяє перенос на мобільних */
	justify-content: center;
	gap: 0.5rem;
	background-color: var(--light-bg);
	border-radius: 50px;
	padding: 0.5rem;
	box-shadow: 0 4px 15px rgba(30, 42, 58, 0.05);
	border: 1px solid #e9ecef;
}

.tabs__button {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.75rem 1.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-dark);
	background-color: transparent;
	border: none;
	border-radius: 50px;
	cursor: pointer;
	transition: var(--transition-fast);
}

.tabs__button i {
	width: 18px;
	height: 18px;
	transition: var(--transition-fast);
}

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

.tabs__button--active {
	background-color: var(--primary-color);
	color: var(--text-light);
	box-shadow: 0 4px 10px rgba(74, 144, 226, 0.3);
}

.tabs__button--active:hover {
	color: var(--text-light);
}

/* --- Контент табів --- */
.tabs__pane {
	display: none; /* Сховуємо всі панелі за замовчуванням */
	grid-template-columns: 1fr; /* 1 колонка на мобільних */
	gap: 2rem;
	align-items: center;
	animation: fadeIn 0.5s ease;
}

.tabs__pane--active {
	display: grid; /* Показуємо активну */
}

@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.tabs__pane-image-wrapper {
	text-align: center;
}

.tabs__pane-image {
	max-width: 450px;
	width: 100%;
	border-radius: 10px;
}

.tabs__pane-title {
	font-size: 1.75rem;
	color: var(--dark-bg);
	margin-bottom: 1rem;
}

.tabs__pane-content p {
	font-size: 1rem;
	color: #555;
	line-height: 1.7;
	margin-bottom: 2rem;
}

/* Адаптація для десктопів (від 992px) */
@media screen and (min-width: 992px) {
	.tabs__button {
		font-size: 1rem;
		padding: 0.8rem 1.75rem;
	}

	.tabs__pane {
		grid-template-columns: 1fr 1fr; /* 2 колонки */
		gap: 4rem;
		text-align: left; /* Вирівнювання тексту ліворуч */
	}

	/* Для панелей, де зображення має бути праворуч */
	.tabs__pane:nth-child(even) .tabs__pane-image-wrapper {
		order: 2;
	}
}

/* ==================== HOW IT WORKS (Этап 3) ==================== */
.howitworks {
	background-color: var(--light-bg); /* Явно вказуємо білий фон */
}

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

.howitworks__step {
	text-align: center;
	position: relative;
	padding: 0 1rem;
}

.howitworks__step-icon-wrapper {
	width: 90px;
	height: 90px;
	background-color: var(--accent-color);
	border-radius: 50%;
	display: grid;
	place-items: center;
	margin: 0 auto 1.5rem auto;
	position: relative;
	border: 4px solid var(--light-bg);
	box-shadow: 0 0 0 3px var(--accent-color), 0 5px 15px rgba(80, 227, 194, 0.3);
}

.howitworks__step-icon-wrapper i {
	width: 36px;
	height: 36px;
	color: var(--dark-bg);
}

.howitworks__step-number {
	position: absolute;
	top: -10px;
	right: -10px;
	background-color: var(--primary-color);
	color: var(--text-light);
	width: 30px;
	height: 30px;
	border-radius: 50%;
	display: grid;
	place-items: center;
	font-weight: 700;
	font-size: 0.9rem;
	border: 2px solid var(--light-bg);
	box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.howitworks__step-title {
	font-size: 1.35rem;
	color: var(--dark-bg);
	margin-bottom: 0.5rem;
}

.howitworks__step-description {
	font-size: 0.95rem;
	color: #555;
	line-height: 1.6;
	max-width: 300px; /* Обмежуємо ширину тексту */
	margin: 0 auto;
}

/* --- Лінії, що з'єднують кроки (для десктопу) --- */
@media screen and (min-width: 768px) {
	.howitworks__steps {
		grid-template-columns: repeat(3, 1fr); /* 3 колонки */
		gap: 2rem;
	}

	/* Малюємо пунктирну лінію 'roadmap' */
	.howitworks__step:not(:last-child)::after {
		content: '';
		position: absolute;
		top: 45px; /* Половина висоти іконки */
		left: calc(50% + 45px); /* Від центру + половина іконки */
		width: calc(100% - 90px); /* Ширина мінус іконка */
		height: 2px;
		border-top: 2px dashed var(--accent-color);
		z-index: -1;
		opacity: 0.7;
	}
}

/* На мобільних екранах малюємо вертикальну лінію */
@media screen and (max-width: 767.98px) {
	.howitworks__step:not(:last-child)::after {
		content: '';
		position: absolute;
		top: calc(50% + 45px); /* Від центру + половина іконки */
		left: 50%;
		transform: translateX(-50%);
		width: 2px;
		height: calc(100% - 90px + 3rem); /* Висота кроку + gap */
		border-left: 2px dashed var(--accent-color);
		z-index: -1;
		opacity: 0.7;
	}
}

/* ==================== REVIEWS (Этап 3) ==================== */
.reviews {
	background-color: #f8f9fa; /* Светло-серый фон (нечетная секция) */
}

/* Контейнер слайдера */
.review-slider {
	width: 100%;
	overflow: hidden; /* Обязательно для Swiper */
	padding-bottom: 3.5rem; /* Место для пагинации */
}

.swiper-slide {
	height: auto; /* Позволяет слайдам иметь разную высоту, если нужно */
}

/* Карточка отзыва */
.review-card {
	background-color: var(--light-bg);
	border-radius: 10px;
	padding: 2rem;
	box-shadow: 0 4px 20px rgba(30, 42, 58, 0.05);
	border: 1px solid #e9ecef;
	height: 100%; /* Выравниваем высоту слайдов */
	display: flex;
	flex-direction: column;
}

.review-card__rating {
	display: flex;
	gap: 0.25rem;
	color: #f8b400; /* Золотой цвет звезд */
	margin-bottom: 1rem;
}
.review-card__rating i {
	width: 18px;
	height: 18px;
	/* Заливка звезд */
	fill: #f8b400;
}

.review-card__text {
	font-size: 0.95rem;
	font-style: italic;
	color: #555;
	line-height: 1.7;
	margin-bottom: 1.5rem;
	flex-grow: 1; /* Текст занимает все доступное место */
}

.review-card__author {
	display: flex;
	flex-direction: column;
	border-top: 1px solid #e9ecef;
	padding-top: 1rem;
}

.review-card__author-name {
	font-weight: 700;
	color: var(--dark-bg);
}

.review-card__author-location {
	font-size: 0.85rem;
	color: #777;
}

/* Кастомизация пагинации Swiper */
.swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	background-color: #ccc;
	opacity: 1;
	transition: var(--transition-fast);
}

.swiper-pagination-bullet-active {
	background-color: var(--primary-color);
	width: 25px;
	border-radius: 5px;
}

/* ==================== CONTACT (Этап 4) ==================== */
.contact {
	background-color: var(--light-bg); /* Білий фон */
}

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

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

.contact__info-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1rem;
	font-weight: 600;
	color: var(--dark-bg);
}

.contact__info-item i {
	width: 20px;
	height: 20px;
	color: var(--primary-color);
}

/* --- Стилі форми --- */
.contact__form-wrapper {
	background-color: var(--light-bg);
	padding: 2.5rem;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(30, 42, 58, 0.08);
	border: 1px solid #e9ecef;
}

.form__group {
	margin-bottom: 1.5rem;
}

.form__label {
	display: block;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--dark-bg);
	margin-bottom: 0.5rem;
}

.form__input {
	width: 100%;
	padding: 0.85rem 1rem;
	font-size: 1rem;
	font-family: var(--font-family-base);
	color: var(--text-dark);
	background-color: #f8f9fa;
	border: 1px solid #e9ecef;
	border-radius: 5px;
	transition: var(--transition-fast);
}

.form__input::placeholder {
	color: #999;
}

.form__input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.2);
}

/* --- Стилі Чекбоксу --- */
.form__checkbox-wrapper {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-bottom: 1.5rem;
}

.form__checkbox {
	/* Кастомний чекбокс */
	appearance: none;
	width: 1.25em;
	height: 1.25em;
	border: 2px solid #ccc;
	border-radius: 4px;
	cursor: pointer;
	margin-top: 0.15em; /* Вирівнювання з текстом */
	flex-shrink: 0;
	position: relative;
	transition: var(--transition-fast);
}

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

/* Галочка для чекбоксу */
.form__checkbox:checked::before {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	width: 5px;
	height: 10px;
	border: solid var(--text-light);
	border-width: 0 2px 2px 0;
	transform: translate(-50%, -60%) rotate(45deg);
}

.form__checkbox-label {
	font-size: 0.85rem;
	color: #555;
	line-height: 1.5;
	cursor: pointer;
}

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

/* --- Кнопка форми --- */
.button--full-width {
	width: 100%;
}

/* --- Повідомлення форми --- */
.form-message {
	padding: 0.75rem 1rem;
	margin-bottom: 1rem;
	border-radius: 5px;
	font-size: 0.9rem;
	display: none; /* Сховано за замовчуванням */
}

.form-message--success {
	display: block;
	background-color: rgba(80, 227, 194, 0.1); /* --accent-color 10% */
	border: 1px solid var(--accent-color);
	color: #006d58;
}

.form-message--error {
	display: block;
	background-color: rgba(255, 100, 100, 0.1);
	border: 1px solid #ff6464;
	color: #d90429;
}

/* Адаптація для десктопу (2 колонки) */
@media screen and (min-width: 992px) {
	.contact__container {
		grid-template-columns: 1fr 1fr; /* 2 колонки */
	}
}

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

/* Модифікатор для показу */
.cookie-popup--show {
	bottom: 0;
}

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

.cookie-popup__text {
	font-size: 0.9rem;
	color: var(--text-light-secondary);
	text-align: center;
}

.cookie-popup__link {
	color: var(--accent-color);
	text-decoration: underline;
}

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

.button--cookie {
	background-color: var(--accent-color);
	color: var(--dark-bg);
	padding: 0.5rem 1.5rem;
	font-size: 0.9rem;
	flex-shrink: 0;
}

.button--cookie:hover {
	background-color: var(--text-light);
	transform: none; /* Видаляємо ефект підйому */
	box-shadow: none;
}

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

	.cookie-popup__content {
		flex-direction: row;
		gap: 1.5rem;
	}

	.cookie-popup__text {
		text-align: left;
	}
}

.pages {
	padding-top: calc(
		var(--header-height) + 3rem
	); /* Відступ від "липкого" хедера */
	padding-bottom: 5rem;
	min-height: 70vh; /* Мінімальна висота, щоб футер не "прилипав" */
}

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

.pages h1 {
	font-size: 1.5rem;
	color: var(--dark-bg);
	margin-bottom: 1.5rem;
	border-bottom: 2px solid #e9ecef;
	padding-bottom: 1rem;
}

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

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

.pages ul {
	list-style: disc; /* Стандартні маркери списку */
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
}

.pages li {
	font-size: 1rem;
	color: #555;
	line-height: 1.8;
	margin-bottom: 0.75rem;
}

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

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

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