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

/* Підключення шрифтів */
@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@600;700&family=Manrope:wght@400;500;700&display=swap');

/*
  font-family: 'Exo 2', sans-serif; (Заголовки)
  font-family: 'Manrope', sans-serif; (Текст)
*/

:root {
	--color-bg: #f9fafb; /* Дуже світло-сірий */
	--color-bg-footer: #1f2937; /* Темно-сірий (майже чорний) */
	--color-text: #374151; /* Темно-сірий текст */
	--color-text-light: #f9fafb;
	--color-headings: #111827; /* Ще темніший для заголовків */
	--color-primary: #0d9488; /* Бірюзовий (Teal) */
	--color-primary-dark: #0f766e;
	--color-border: #e5e7eb; /* Світлий бордер */
	--color-secondary-text: #9ca3af; /* Для копірайту, адрес */

	--font-family-base: 'Manrope', sans-serif;
	--font-family-heading: 'Exo 2', sans-serif;

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

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

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

body {
	font-family: var(--font-family-base);
	background-color: var(--color-bg);
	color: var(--color-text);
	line-height: 1.6;
	overflow-x: hidden;
}

/* Стан тіла при відкритому мобільному меню */
body.body--no-scroll {
	overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: var(--font-family-heading);
	color: var(--color-headings);
	line-height: 1.2;
	margin-bottom: 0.75rem;
}

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

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

ul {
	list-style: none;
}

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

/* Контейнер */
.container {
	width: 100%;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* ЕТАП 1: СТИЛІ ХЕДЕРА */
.header {
	background-color: #ffffff;
	height: var(--header-height);
	border-bottom: 1px solid var(--color-border);
	position: sticky;
	top: 0;
	z-index: 100;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.03);
}

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

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	text-decoration: none;
	color: var(--color-headings);
}

.logo__icon {
	width: 32px;
	height: 32px;
}

.logo__text {
	font-family: var(--font-family-heading);
	font-size: 1.5rem;
	font-weight: 700;
}

/* Навігація (прихована на мобільних) */
.nav {
	display: none;
}

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

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

.nav__link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--color-primary);
	transition: width var(--transition-speed);
}

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

.nav__link--cta {
	background-color: var(--color-primary);
	color: #ffffff;
	padding: 0.6rem 1.2rem;
	border-radius: 6px;
	transition: background-color var(--transition-speed),
		transform var(--transition-speed);
}

.nav__link--cta:hover {
	background-color: var(--color-primary-dark);
	transform: translateY(-2px);
	color: #ffffff;
}

.nav__link--cta::after {
	display: none; /* Не потрібна лінія для кнопки */
}

/* Кнопка Бургера */
.burger-menu {
	display: block;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--color-headings);
	z-index: 1001; /* Поверх мобільного меню */
}

.burger-menu__icon--close {
	display: none;
}

/* Стилі для відкритого мобільного меню */
.nav--mobile-open {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	background-color: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(5px);
	z-index: 1000;
}

.nav--mobile-open .nav__list {
	flex-direction: column;
	gap: 2rem;
}

.nav--mobile-open .nav__link {
	font-size: 1.75rem;
	font-family: var(--font-family-heading);
}

/* Адаптація хедера для десктопів */
@media (min-width: 992px) {
	.nav {
		display: block;
	}

	.burger-menu {
		display: none;
	}
}

/* ЕТАП 2: СТИЛІ ФУТЕРА */
.footer {
	background-color: var(--color-bg-footer);
	color: var(--color-secondary-text);
	padding: 4rem 0 2rem 0;
	margin-top: 4rem; /* Відступ від останньої секції */
}

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

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

.footer .logo__text {
	color: var(--color-text-light);
}

.footer__copyright {
	font-size: 0.875rem;
}

.footer__heading {
	font-size: 1.125rem;
	color: var(--color-text-light);
	margin-bottom: 1rem;
}

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

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

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

.footer__item--contact {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.footer__contact-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 3px;
	color: var(--color-secondary-text);
}

.footer__text {
	font-size: 0.95rem;
	line-height: 1.5;
}

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

@media (min-width: 992px) {
	.footer__container {
		/* 4 колонки на десктопах */
		grid-template-columns: 2fr 1fr 1fr 1.5fr;
		gap: 3rem;
	}
}

/* --- ДОДАТИ В КІНЕЦЬ ФАЙЛУ --- */

/* ЕТАП 3: СТИЛІ СЕКЦІЙ (MAIN) */

/* Загальні стилі для кнопок */
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 1.75rem;
	background-color: var(--color-primary);
	color: #ffffff;
	font-family: var(--font-family-heading);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: all var(--transition-speed);
	box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.button:hover {
	background-color: var(--color-primary-dark);
	transform: translateY(-3px);
	box-shadow: 0 6px 16px rgba(13, 148, 136, 0.3);
	color: #ffffff;
}

.button__icon {
	width: 20px;
	height: 20px;
}

/* Стилі Hero-секції */
.hero {
	padding: 4rem 0;
	overflow: hidden; /* Для коректної роботи AOS */
	background-color: #ffffff; /* Виділимо на фоні body */
}

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

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

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

.hero__description {
	font-size: 1.125rem; /* 18px */
	line-height: 1.7;
	margin-bottom: 2rem;
	color: var(--color-text);
}

.hero__description--highlight {
	font-weight: 700;
	color: var(--color-primary);
}

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

.hero__image-wrapper {
	position: relative;
	border-radius: 12px;
	overflow: hidden;
	background-color: var(--color-border);
	max-width: 500px;
	width: 100%;
	aspect-ratio: 1 / 1; /* Робимо квадратним для плейсхолдера */
}

.hero__image-wrapper::before {
	/* Декоративний елемент */
	content: '';
	position: absolute;
	bottom: -20px;
	right: -20px;
	width: 150px;
	height: 150px;
	background: var(--color-primary);
	opacity: 0.1;
	border-radius: 50%;
	filter: blur(10px);
}

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

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

	.hero__container {
		grid-template-columns: 1fr 1fr; /* 2 колонки на планшетах/десктопах */
		gap: 3rem;
	}

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

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

	.hero__image-wrapper {
		aspect-ratio: 4 / 3;
	}
}

.section {
	padding: 4rem 0;
}

.section--bg {
	background-color: #ffffff; /* Для секцій, які мають бути білими */
}

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

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

.section-header__subtitle {
	font-size: 1.125rem; /* 18px */
	color: var(--color-text);
	line-height: 1.6;
}

/* СТИЛІ СЕКЦІЇ 'INNOVATIONS' */

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

/* Стилі для карток */
.card {
	background-color: #ffffff;
	border-radius: 12px;
	padding: 2rem;
	border: 1px solid var(--color-border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	transition: transform var(--transition-speed),
		box-shadow var(--transition-speed);
}

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

.card__icon-wrapper {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: var(--color-primary);
	margin-bottom: 1.5rem;
}

.card__icon {
	width: 28px;
	height: 28px;
	color: #ffffff;
}

.card__title {
	font-size: 1.5rem; /* 24px */
	margin-bottom: 0.75rem;
}

.card__description {
	font-size: 1rem;
	margin-bottom: 1.5rem;
}

.card__description--highlight {
	font-weight: 700;
}

.card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-weight: 700;
	color: var(--color-primary);
	text-decoration: none;
}

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

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

.card__link:hover .card__link-icon {
	transform: translateX(4px);
}

/* Адаптація секції 'INNOVATIONS' */
@media (min-width: 768px) {
	.section {
		padding: 5rem 0;
	}

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

	.innovations__grid {
		grid-template-columns: repeat(2, 1fr); /* 2 колонки на планшетах */
	}
}

@media (min-width: 992px) {
	.innovations__grid {
		grid-template-columns: repeat(3, 1fr); /* 3 колонки на десктопах */
		gap: 2rem;
	}
}

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

/* Додаємо відступ між блоками */
.strategy-item + .strategy-item {
	margin-top: 4rem;
}

.strategy-item__visual {
	width: 100%;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.07);
}

.strategy-item__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
}

.strategy-item__tag {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background-color: var(--color-primary);
	color: #ffffff;
	border-radius: 20px;
	font-size: 0.875rem;
	font-weight: 700;
	margin-bottom: 1rem;
}

.strategy-item__title {
	font-size: 2rem; /* 32px */
	margin-bottom: 1rem;
}

.strategy-item__description {
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

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

.strategy-item__list-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 1rem;
}

.strategy-item__list-icon {
	width: 20px;
	height: 20px;
	color: var(--color-primary);
	flex-shrink: 0;
}

/* Адаптація секції 'STRATEGY' */
@media (min-width: 992px) {
	.strategy-item {
		grid-template-columns: 1fr 1fr; /* 2 колонки */
		gap: 4rem;
	}

	/* "Зигзаг" на десктопах */
	.strategy-item--reversed {
		/* Міняємо колонки місцями */
		grid-template-columns: 1fr 1fr;
	}

	.strategy-item--reversed .strategy-item__visual {
		order: 2; /* Візуал стає другим */
	}

	.strategy-item--reversed .strategy-item__content {
		order: 1; /* Контент стає першим */
	}

	.strategy-item + .strategy-item {
		margin-top: 6rem;
	}

	.strategy-item__title {
		font-size: 2.25rem; /* 36px */
	}
}

.analytics {
	background-color: var(--color-bg); /* Знову світлий фон */
}

.analytics__highlight {
	font-weight: 700;
	color: var(--color-primary);
}

.tabs {
	width: 100%;
}

.tabs__nav {
	display: flex;
	flex-direction: column; /* На мобільних - стовпцем */
	gap: 0.5rem;
	margin-bottom: 2rem;
}

.tabs__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.75rem;
	padding: 1rem 1.5rem;
	font-family: var(--font-family-heading);
	font-size: 1.125rem;
	font-weight: 600;
	color: var(--color-text);
	background-color: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 8px;
	cursor: pointer;
	transition: all var(--transition-speed);
	width: 100%; /* На мобільних - на всю ширину */
}

.tabs__button-icon {
	width: 20px;
	height: 20px;
	color: var(--color-primary);
	transition: color var(--transition-speed);
}

.tabs__button:hover {
	background-color: #fdfdfd;
	color: var(--color-primary);
	border-color: var(--color-primary);
}

/* Активний таб */
.tabs__button--active {
	background-color: var(--color-primary);
	color: #ffffff;
	border-color: var(--color-primary);
	box-shadow: 0 4px 12px rgba(13, 148, 136, 0.2);
}

.tabs__button--active .tabs__button-icon {
	color: #ffffff;
}

.tabs__button--active:hover {
	background-color: var(--color-primary-dark);
	border-color: var(--color-primary-dark);
	color: #ffffff;
}

/* Контент вкладок */
.tabs__content {
	background-color: #ffffff;
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
	animation: fadeIn 0.5s ease;
}

/* Анімація появи */
@keyframes fadeIn {
	from {
		opacity: 0;
		transform: translateY(10px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

/* Ховаємо неактивні вкладки */
.tabs__content[hidden] {
	display: none;
}

.tabs__content-inner {
	display: grid;
	grid-template-columns: 1fr; /* 1 колонка */
	gap: 2rem;
}

.tabs__content-visual {
	width: 100%;
	aspect-ratio: 16 / 9;
}

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

.tabs__content-text {
	padding: 2rem;
}

.tabs__content-title {
	font-size: 1.75rem; /* 28px */
	margin-bottom: 1rem;
}

.tabs__content-cta {
	margin-top: 1.5rem;
}

/* Адаптація секції 'ANALYTICS' */
@media (min-width: 768px) {
	.tabs__nav {
		flex-direction: row; /* На планшетах - в рядок */
		border-radius: 10px;
		background-color: #ffffff;
		border: 1px solid var(--color-border);
		padding: 0.5rem;
	}

	.tabs__button {
		border: none; /* Забираємо рамки, бо є спільна */
	}
}

@media (min-width: 992px) {
	.tabs__content-inner {
		grid-template-columns: 1fr 1fr; /* 2 колонки */
		align-items: center;
	}

	.tabs__content-text {
		padding: 3rem;
	}

	/* Міняємо порядок для 2 і 3 вкладки для "зигзагу" */
	#tab-content-2 .tabs__content-inner,
	#tab-content-3 .tabs__content-inner {
		grid-template-columns: 1fr 1fr;
	}

	#tab-content-2 .tabs__content-visual,
	#tab-content-3 .tabs__content-visual {
		order: -1; /* Зображення стає першим */
	}

	.tabs__content-visual {
		aspect-ratio: auto;
		height: 100%;
	}
}

.blog {
	background-color: var(--color-bg); /* Світлий фон, як у body */
}

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

.blog-card {
	background-color: #ffffff;
	border-radius: 12px;
	border: 1px solid var(--color-border);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
	transition: transform var(--transition-speed),
		box-shadow var(--transition-speed);
	overflow: hidden; /* Обрізаємо зображення по кутах */
	display: flex;
	flex-direction: column;
}

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

.blog-card__visual {
	width: 100%;
	aspect-ratio: 16 / 9; /* Співвідношення сторін для картинки */
	overflow: hidden;
}

.blog-card__image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.blog-card:hover .blog-card__image {
	transform: scale(1.05); /* Ефект легкого зуму при наведенні */
}

.blog-card__content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1; /* Дозволяє контенту зайняти весь простір */
}

.blog-card__tag {
	display: inline-block;
	padding: 0.25rem 0.75rem;
	background-color: var(--color-primary);
	color: #ffffff;
	border-radius: 20px;
	font-size: 0.8rem;
	font-weight: 700;
	margin-bottom: 1rem;
	align-self: flex-start; /* Притискаємо до початку */
}

.blog-card__title {
	font-size: 1.375rem; /* 22px */
	margin-bottom: 0.75rem;
	line-height: 1.3;
}

.blog-card__description {
	font-size: 1rem;
	margin-bottom: 1.5rem;
	flex-grow: 1; /* Опис займає вільне місце */
}

.blog-card__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	font-weight: 700;
	color: var(--color-primary);
	text-decoration: none;
	align-self: flex-start; /* Притискаємо до початку */
}

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

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

.blog-card__link:hover .blog-card__link-icon {
	transform: translateX(4px);
}

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

@media (min-width: 992px) {
	.blog__grid {
		grid-template-columns: repeat(3, 1fr); /* 3 колонки на десктопах */
	}
}

/* --- ДОДАТИ В КІНЕЦЬ ФАЙЛУ --- */

/* ЕТАП 4: СТИЛІ СЕКЦІЇ 'CONTACT' */

.contact {
	background-color: #ffffff; /* Білий фон */
}

.contact__wrapper {
	display: grid;
	grid-template-columns: 1fr; /* 1 колонка */
	gap: 3rem;
	background-color: var(--color-bg);
	border: 1px solid var(--color-border);
	border-radius: 12px;
	overflow: hidden;
}

.contact__content {
	padding: 2rem;
}

.contact__header {
	text-align: left; /* Вирівнюємо по лівому краю */
	margin-bottom: 2.5rem;
	max-width: none;
}

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

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

.contact__info-item {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
}

.contact__info-icon {
	flex-shrink: 0;
	width: 24px;
	height: 24px;
	color: var(--color-primary);
	margin-top: 5px;
}

.contact__info-title {
	font-size: 1.125rem;
	margin-bottom: 0.25rem;
}

.contact__info-link,
.contact__info-text {
	font-size: 1rem;
	color: var(--color-text);
}

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

/* Форма */
.contact__form-wrapper {
	background-color: #ffffff;
	padding: 2rem;
}

/* Повідомлення про успіх (ПРИХОВАНО ЗА ЗАМОВЧУВАННЯМ) */
.form-message {
	display: none; /* Це важливо! */
	padding: 1.5rem;
	background-color: #f0fdf4; /* Світло-зелений */
	border: 1px solid var(--color-primary);
	border-radius: 8px;
	margin-bottom: 2rem;
	color: var(--color-primary-dark);
	text-align: center;
	animation: fadeIn 0.5s ease;
}

.form-message--visible {
	display: block; /* JS буде додавати цей клас */
}

.form-message__icon {
	width: 24px;
	height: 24px;
	margin-bottom: 0.5rem;
}

/* Стилі форми */
.contact-form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

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

.form-label {
	font-size: 0.875rem;
	font-weight: 600;
	margin-bottom: 0.5rem;
	color: var(--color-headings);
}

.form-input {
	width: 100%;
	height: 50px;
	padding: 0 1rem 0 2.75rem; /* Відступ зліва для іконки */
	border: 1px solid var(--color-border);
	border-radius: 8px;
	font-family: var(--font-family-base);
	font-size: 1rem;
	transition: border-color var(--transition-speed),
		box-shadow var(--transition-speed);
}

.form-input:focus {
	outline: none;
	border-color: var(--color-primary);
	box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.1);
}

.form-input__icon {
	position: absolute;
	left: 1rem;
	top: 50%;
	transform: translateY(2px); /* Адаптуємо під висоту поля */
	width: 20px;
	height: 20px;
	color: var(--color-secondary-text);
	pointer-events: none;
}

.form-input:focus + .form-input__icon {
	color: var(--color-primary);
}

/* Чекбокс */
.form-group--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 0.75rem;
}

.form-checkbox {
	width: 1.25em;
	height: 1.25em;
	margin-top: 0.2em;
	flex-shrink: 0;
	accent-color: var(--color-primary); /* Стилізуємо сам чекбокс */
}

.form-checkbox__label {
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--color-text);
}

.form-checkbox__label a {
	text-decoration: underline;
}

.contact-form__submit {
	width: 100%;
}

/* Адаптація 'CONTACT' */
@media (min-width: 992px) {
	.contact__wrapper {
		grid-template-columns: 1fr 1fr; /* 2 колонки */
	}

	.contact__content {
		padding: 3rem;
	}

	.contact__form-wrapper {
		padding: 3rem;
	}
}

.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: #ffffff;
	border-top: 1px solid var(--color-border);
	box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.07);
	padding: 1.5rem;
	z-index: 200;
	transform: translateY(0);
	transition: transform 0.4s ease-out;
}

/* Стан "Приховано" */
.cookie-popup--hidden {
	transform: translateY(100%); /* Ховаємо внизу */
}

.cookie-popup__content {
	display: flex;
	flex-direction: column; /* На мобільних */
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
	max-width: 1200px;
	margin: 0 auto;
}

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

.cookie-popup__link {
	font-weight: 700;
	text-decoration: underline;
}

.cookie-popup__button {
	/* Використовуємо наш .button, але робимо його меншим */
	padding: 0.6rem 1.2rem;
	font-size: 0.9rem;
	flex-shrink: 0; /* Не стискати кнопку */
}

/* Адаптація 'COOKIE POP-UP' */
@media (min-width: 768px) {
	.cookie-popup {
		padding-left: 2rem;
		padding-right: 2rem;
	}

	.cookie-popup__content {
		flex-direction: row; /* В рядок на десктопі */
	}

	.cookie-popup__text {
		font-size: 1rem;
		text-align: left;
	}
}

.pages {
	padding: 4rem 0;
	background-color: #ffffff; /* Білий фон для чистоти */
}

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

.pages h1 {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--color-border);
}

.pages h2 {
	font-size: 1.75rem;
	font-weight: 600;
	margin-top: 2.5rem;
	margin-bottom: 1rem;
}

.pages p {
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 1.5rem;
}

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

.pages li {
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 0.75rem;
}

.pages li strong,
.pages p strong {
	font-weight: 700;
	color: var(--color-headings);
}

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

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

/* Адаптація для мобільних */
@media (max-width: 768px) {
	.pages {
		padding: 2.5rem 0;
	}
	.pages h1 {
		font-size: 2rem;
	}
	.pages h2 {
		font-size: 1.5rem;
	}
}
