/* Етап 0: Глобальні стилі та налаштування */
:root {
	--primary-bg: #0f172a;
	--secondary-bg: #1e293b;
	--dark-text: #f1f5f9;
	--light-text: #94a3b8;
	--accent-color: #6366f1;
	--accent-hover: #818cf8;
	--border-color: #334155;

	--font-body: 'Inter', sans-serif;
	--font-heading: 'Roboto Condensed', sans-serif;

	--header-height: 80px;
}

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

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

body {
	font-family: var(--font-body);
	background-color: var(--primary-bg);
	color: var(--dark-text);
	line-height: 1.6;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

main {
	flex-grow: 1;
}

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

a {
	color: var(--accent-color);
	text-decoration: none;
	transition: color 0.3s ease;
}

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

ul {
	list-style: none;
}

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

.container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
}

/* Етап 1: Стилі Хедера */
.header {
	background-color: var(--secondary-bg);
	border-bottom: 1px solid var(--border-color);
	height: var(--header-height);
	position: sticky;
	top: 0;
	z-index: 100;
}

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

.logo {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.5rem;
	font-weight: 700;
	font-family: var(--font-heading);
	color: var(--dark-text);
	text-decoration: none;
}

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

.logo:hover {
	text-decoration: none;
	opacity: 0.9;
}

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

.nav__link {
	font-size: 1rem;
	font-weight: 500;
	color: var(--light-text);
	text-decoration: none;
	padding: 5px 0;
	position: relative;
}

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

.nav__link:hover {
	color: var(--dark-text);
	text-decoration: none;
}

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

.nav__link--cta {
	background-color: var(--accent-color);
	color: white;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	transition: background-color 0.3s ease;
}

.nav__link--cta:hover {
	background-color: var(--accent-hover);
	color: white;
	text-decoration: none;
}

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

.header__burger {
	display: none; /* Приховано на десктопі */
	background: none;
	border: none;
	cursor: pointer;
	color: var(--dark-text);
}

/* Етап 2: Стилі Футера */
.footer {
	background-color: #020617;
	color: var(--dark-text);
	padding: 4rem 0;
	margin-top: auto; /* Притискає футер до низу */
	border-top: 1px solid var(--border-color);
}

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

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

.footer .logo {
	color: var(--dark-text);
}

.footer__copyright {
	font-size: 0.9rem;
	color: var(--light-text);
	max-width: 250px;
}

.footer__title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--dark-text);
	margin-bottom: 1.5rem;
	font-family: var(--font-heading);
}

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

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

.footer__link:hover {
	color: var(--dark-text);
	text-decoration: underline;
}

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

.footer__list--contact li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
}

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

.footer__address {
	color: var(--light-text);
	font-size: 0.95rem;
	line-height: 1.5;
}

/* Адаптивність (Mobile-first підхід) */

/* Планшети (Medium) */
@media (max-width: 992px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Мобільні (Small) */
@media (max-width: 768px) {
	.header__nav {
		display: none; /* Приховуємо навігацію */
		position: absolute;
		top: var(--header-height);
		left: 0;
		width: 100%;
		background-color: var(--secondary-bg);
		border-bottom: 1px solid var(--border-color);
		padding: 1rem 0;
	}

	.header__nav.is-active {
		display: block; /* Показуємо при кліку */
	}

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

	.nav__link--cta {
		width: 90%;
		text-align: center;
	}

	.header__burger {
		display: block; /* Показуємо бургер */
	}

	.footer__container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.footer__column--logo,
	.footer__list--contact li {
		align-items: center;
		justify-content: center;
	}

	.footer__address {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.footer__icon {
		margin-top: 0;
		margin-bottom: 5px;
	}

	.footer__list--contact li {
		flex-direction: column;
	}
}

/* Етап 3: Стилі Hero секції */
.hero {
	padding: 6rem 0;
	background-color: var(--secondary-bg);
	overflow: hidden;
	position: relative;
}

.hero__container {
	display: grid;
	grid-template-columns: 1fr;
	align-items: center;
	gap: 3rem;
}

.hero__content {
	z-index: 2;
}

.hero__title {
	font-size: 2.5rem; /* 52px */
	font-weight: 700;
	line-height: 1.15;
	margin-bottom: 1rem;
	max-width: 90%;
}

.hero__subtitle {
	font-size: 1.25rem; /* 20px */
	color: var(--light-text);
	margin-bottom: 1rem;
	line-height: 1.5;
}

/* Стилі для анімації друкування */
.hero__typing {
	color: var(--accent-color);
	font-weight: 500;
	position: relative;
}

/* Курсор для друкування */
.hero__typing::after {
	content: '|';
	animation: blink 0.7s infinite;
	color: var(--dark-text);
	font-weight: 300;
	margin-left: 2px;
}

@keyframes blink {
	0%,
	100% {
		opacity: 1;
	}
	50% {
		opacity: 0;
	}
}

.hero__description {
	font-size: 1rem;
	color: var(--light-text);
	margin-bottom: 2.5rem;
	max-width: 500px;
}

.hero__cta {
	display: inline-block;
	background-color: var(--accent-color);
	color: white;
	padding: 1rem 2.5rem;
	font-size: 1.1rem;
	font-weight: 500;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero__cta:hover {
	background-color: var(--accent-hover);
	transform: translateY(-3px);
	text-decoration: none;
}

/* Зображення та декор */
.hero__image-wrapper {
	position: relative;
	z-index: 1;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero__image {
	width: 100%;
	max-width: 500px;
	border-radius: 12px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	z-index: 1;
}

/* Декоративні елементи */
.hero__decor {
	position: absolute;
	border-radius: 50%;
	opacity: 0.1;
	z-index: 0;
}

.hero__decor--1 {
	width: 300px;
	height: 300px;
	background-color: var(--accent-color);
	top: -50px;
	right: -50px;
	filter: blur(50px);
}

.hero__decor--2 {
	width: 200px;
	height: 200px;
	background-color: #818cf8; /* Додатковий акцент */
	bottom: -50px;
	left: -50px;
	filter: blur(40px);
}

/* Адаптивність */

/* Планшети (Medium) */
@media (min-width: 768px) {
	.hero__container {
		grid-template-columns: 1fr 1fr;
	}

	.hero__title {
		max-width: 100%;
	}
}

/* Мобільні (Small) - Mobile-first вже враховано */
@media (max-width: 767px) {
	.hero {
		padding: 4rem 0;
	}
	.hero__title {
		font-size: 1.5rem;
		max-width: 100%;
	}
	.hero__subtitle {
		font-size: 1.1rem;
	}
	.hero__image-wrapper {
		margin-top: 2rem;
	}
}

/* Етап 3: Стилі секції "Типи ботів" */
.bot-types {
	padding: 5rem 0;
	background-color: var(--primary-bg); /* Чергуємо фон */
}

/* Загальні стилі для заголовків секцій */
.section-title {
	font-size: 2.5rem;
	font-weight: 700;
	text-align: center;
	margin-bottom: 1rem;
}

.section-subtitle {
	font-size: 1.15rem;
	color: var(--light-text);
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3.5rem auto;
}

.bot-types__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.bot-types__card {
	background-color: var(--secondary-bg);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 2.5rem 2rem;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bot-types__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(99, 102, 241, 0.3);
}

.bot-types__icon-wrapper {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: rgba(99, 102, 241, 0.2);
	margin-bottom: 1.5rem;
}

.bot-types__icon {
	width: 32px;
	height: 32px;
	color: var(--accent-color);
}

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

.bot-types__description {
	font-size: 1rem;
	color: var(--light-text);
	line-height: 1.6;
	flex-grow: 1; /* Притискає посилання до низу картки */
	margin-bottom: 1.5rem;
}

.bot-types__link {
	font-weight: 500;
	color: var(--accent-color);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.bot-types__link:hover {
	color: var(--accent-hover);
	text-decoration: none;
}

.bot-types__link .bot-types__link-icon {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}

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

/* Адаптивність */
@media (max-width: 992px) {
	.bot-types__grid {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 768px) {
	.bot-types {
		padding: 4rem 0;
	}
	.section-title {
		font-size: 2rem;
	}
	.section-subtitle {
		font-size: 1rem;
		margin-bottom: 2.5rem;
	}
	.bot-types__grid {
		grid-template-columns: 1fr;
	}
}

/* Етап 3: Стилі секції "Платформи" */
.platforms {
	padding: 5rem 0;
	background-color: var(--secondary-bg); /* Чергуємо фон */
}

.platforms__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: center;
}

.platforms__content {
	/* Контент зліва */
}

.platforms__tag {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--accent-color);
	background-color: rgba(99, 102, 241, 0.2);
	padding: 0.25rem 0.75rem;
	border-radius: 12px;
	margin-bottom: 1rem;
}

.platforms__title {
	font-size: 2.5rem; /* Такий же, як .section-title, але з лівого боку */
	font-weight: 700;
	margin-bottom: 1.5rem;
	text-align: left;
}

.platforms__description {
	font-size: 1.1rem;
	color: var(--light-text);
	line-height: 1.6;
	margin-bottom: 2rem;
}

.platforms__features {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.platforms__feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1rem;
	color: var(--dark-text);
}

.platforms__feature-icon {
	width: 20px;
	height: 20px;
	color: var(--accent-color);
	flex-shrink: 0;
}

.platforms__cta {
	display: inline-block;
	background-color: var(--accent-color);
	color: white;
	padding: 0.9rem 2.2rem;
	font-size: 1rem;
	font-weight: 500;
	border-radius: 8px;
	text-decoration: none;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.platforms__cta:hover {
	background-color: var(--accent-hover);
	transform: translateY(-3px);
	text-decoration: none;
}

/* Сітка іконок */
.platforms__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.platforms__item {
	background-color: var(--primary-bg);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 1rem;
	font-weight: 500;
	color: var(--dark-text);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platforms__item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.platforms__item-icon {
	width: 40px;
	height: 40px;
	color: var(--accent-color);
}

/* Адаптивність */
@media (max-width: 992px) {
	.platforms__container {
		grid-template-columns: 1fr;
		gap: 3rem;
	}
	.platforms__title {
		font-size: 2.2rem;
	}
	.platforms__grid {
		grid-template-columns: repeat(
			3,
			1fr
		); /* Залишаємо 3 в рядку для планшетів */
	}
}

@media (max-width: 768px) {
	.platforms {
		padding: 4rem 0;
	}
}

@media (max-width: 576px) {
	.platforms__grid {
		grid-template-columns: repeat(2, 1fr); /* 2 в рядку для мобільних */
		gap: 1rem;
	}
	.platforms__item {
		padding: 1.25rem;
	}
	.platforms__title {
		font-size: 2rem;
	}
	.platforms__description {
		font-size: 1rem;
	}
}

/* Етап 3: Стилі секції "AI-Асистенти" */
.ai-assistants {
	padding: 5rem 0;
	background-color: var(--primary-bg); /* Чергуємо фон */
}

.ai-assistants__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: flex-start; /* Вирівнюємо по верху */
}

.ai-assistants__image-wrapper {
	position: relative;
	padding-top: 100%; /* Робить блок квадратним або адаптивним */
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.ai-assistants__image {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

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

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

.accordion__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	cursor: pointer;
	list-style: none; /* Прибирає маркер <summary> */
	width: 100%;
}

.accordion__header::-webkit-details-marker {
	display: none; /* Прибирає маркер <summary> в Safari */
}

.accordion__title {
	font-size: 1.15rem;
	font-weight: 500;
	color: var(--dark-text);
}

.accordion__icon {
	width: 22px;
	height: 22px;
	color: var(--accent-color);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 1rem;
}

.accordion__content {
	padding: 0 1.5rem 1.5rem 1.5rem;
	color: var(--light-text);
	line-height: 1.6;
	animation: fadeIn 0.3s ease-out;
}

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

/* Анімація іконки при відкритті */
.accordion__item[open] .accordion__icon {
	transform: rotate(180deg);
}

/* Адаптивність */
@media (max-width: 992px) {
	.ai-assistants__layout {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.ai-assistants__image-wrapper {
		padding-top: 60%; /* Робимо зображення більш прямокутним */
		max-width: 600px;
		margin: 0 auto;
	}
}

@media (max-width: 768px) {
	.ai-assistants {
		padding: 4rem 0;
	}
	.accordion__title {
		font-size: 1.05rem;
	}
	.accordion__header {
		padding: 1.25rem;
	}
}

/* Етап 3: Стилі секції "Кейси" */
.cases {
	padding: 5rem 0;
	background-color: var(--secondary-bg); /* Чергуємо фон */
}

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

.cases__card {
	background-color: var(--primary-bg);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 2rem;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cases__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.cases__tag {
	display: inline-block;
	font-size: 0.85rem;
	font-weight: 500;
	color: var(--accent-color);
	background-color: rgba(99, 102, 241, 0.2);
	padding: 0.25rem 0.75rem;
	border-radius: 12px;
	align-self: flex-start; /* Притискає тег до початку */
}

.cases__title {
	font-size: 1.5rem;
	font-weight: 700;
	margin-bottom: 0; /* Прибираємо відступ, бо є gap */
}

.cases__block {
	/* Блоки "Проблема" та "Рішення" */
}

.cases__block-title {
	font-size: 1rem;
	font-weight: 700;
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 0.5rem;
	color: var(--dark-text);
}

.cases__block-icon {
	width: 18px;
	height: 18px;
	color: var(--light-text);
}

/* Виділяємо іконки різними кольорами */
.cases__block-title:has(.fa-alert-circle) {
	color: #d9534f; /* Червонуватий для проблеми */
}
.cases__block-title:has(.fa-check-check) {
	color: #5cb85c; /* Зелений для рішення */
}
/* Fallback для Lucide (вони всі будуть одного кольору) */
.cases__block-title:has(.lucide-alert-circle) .cases__block-icon {
	color: #d9534f;
}
.cases__block-title:has(.lucide-check-check) .cases__block-icon {
	color: #5cb85c;
}

.cases__block-text {
	font-size: 0.95rem;
	color: var(--light-text);
	line-height: 1.6;
	padding-left: 26px; /* Відступ зліва, щоб вирівняти з текстом заголовка */
}

.cases__result {
	margin-top: auto; /* Притискає результат до низу картки */
	padding-top: 1.5rem;
	border-top: 1px dashed var(--border-color);
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.cases__result-value {
	font-size: 2.5rem;
	font-weight: 700;
	color: var(--accent-color);
	line-height: 1;
}

.cases__result-label {
	font-size: 1rem;
	font-weight: 500;
	color: var(--light-text);
}

/* Адаптивність */
@media (max-width: 992px) {
	.cases__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 768px) {
	.cases {
		padding: 4rem 0;
	}
	.cases__grid {
		grid-template-columns: 1fr;
	}
}

/* Етап 4: Стилі секції контактів */
.contact {
	padding: 5rem 0;
	background-color: var(--primary-bg);
}

.contact__layout {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 4rem;
	align-items: flex-start;
	background-color: var(--secondary-bg);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 4rem;
	overflow: hidden;
}

.contact__content {
	/* Контент зліва */
}

.contact__tag {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 500;
	color: var(--accent-color);
	background-color: rgba(99, 102, 241, 0.2);
	padding: 0.25rem 0.75rem;
	border-radius: 12px;
	margin-bottom: 1rem;
}

.contact__title {
	font-size: 2.5rem;
	font-weight: 700;
	margin-bottom: 1.5rem;
	text-align: left;
}

.contact__description {
	font-size: 1.1rem;
	color: var(--light-text);
	line-height: 1.6;
}

.contact__description strong {
	color: var(--dark-text);
	font-weight: 500;
}

/* Стилі форми */
.contact__form-wrapper {
	/* Контейнер форми справа */
}

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

.contact-form__group {
	display: flex;
	flex-direction: column;
}

.contact-form__label {
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: var(--dark-text);
}

.contact-form__input {
	width: 100%;
	padding: 0.9rem 1rem;
	font-size: 1rem;
	font-family: var(--font-body);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	background-color: var(--primary-bg);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form__input:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.3);
}

/* Стилі Чекбоксу */
.contact-form__group--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 10px;
	margin-top: 0.5rem;
}

.contact-form__checkbox {
	width: 1.25em;
	height: 1.25em;
	margin-top: 0.2em; /* Вирівнюємо з текстом */
	flex-shrink: 0;
	accent-color: var(--accent-color); /* Сучасний колір чекбоксу */
}

.contact-form__checkbox-label {
	font-size: 0.9rem;
	color: var(--light-text);
	line-height: 1.5;
}

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

/* Кнопка */
.contact-form__submit {
	padding: 1rem 2rem;
	font-size: 1.1rem;
	font-weight: 500;
	color: white;
	background-color: var(--accent-color);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
	width: 100%;
}

.contact-form__submit:hover {
	background-color: var(--accent-hover);
	transform: translateY(-2px);
}

/* Повідомлення про успіх */
.contact-form__message {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 1rem;
	border-radius: 8px;
	font-weight: 500;
}

.contact-form__message--success {
	background-color: #064e3b; /* Темно-зелений фон */
	color: #6ee7b7; /* Світло-зелений текст */
}

.contact-form__message-icon {
	width: 20px;
	height: 20px;
}

/* Адаптивність */
@media (max-width: 992px) {
	.contact__layout {
		grid-template-columns: 1fr;
		padding: 2.5rem;
		gap: 3rem;
	}
	.contact__title {
		font-size: 2.2rem;
	}
}

@media (max-width: 768px) {
	.contact {
		padding: 4rem 0 0 0; /* Прибираємо відступ знизу, якщо це остання секція */
	}
	.contact__layout {
		padding: 2rem;
		border-radius: 16px 16px 0 0; /* Скруглення тільки зверху */
	}
}
@media (max-width: 576px) {
	.contact__layout {
		padding: 1.5rem;
	}
}

/* Етап 5: Стилі Cookie Pop-up */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Початково приховано */
	left: 0;
	width: 100%;
	background-color: var(--secondary-bg);
	color: var(--dark-text);
	border-top: 1px solid var(--border-color);
	padding: 1.5rem 0;
	z-index: 200;
	transition: bottom 0.5s ease-in-out;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.5);
}

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

.cookie-popup__content {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding: 0 20px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1.5rem;
}

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

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

.cookie-popup__link:hover {
	opacity: 0.8;
}

.cookie-popup__button {
	background-color: var(--accent-color);
	color: white;
	border: none;
	padding: 0.75rem 1.5rem;
	border-radius: 8px;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 500;
	flex-shrink: 0; /* Заборона стискання кнопки */
	transition: background-color 0.3s ease;
}

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

/* Адаптивність для Cookie */
@media (max-width: 768px) {
	.cookie-popup {
		padding: 1rem 0;
	}
	.cookie-popup__content {
		flex-direction: column;
		align-items: stretch;
		gap: 1rem;
	}
	.cookie-popup__text {
		text-align: center;
		font-size: 0.9rem;
	}
	.cookie-popup__button {
		width: 100%;
	}
}

/* Етап 5: Стилі для сторінок політик (.pages) */
.pages {
	padding: 4rem 0;
	background-color: var(--secondary-bg);
}

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

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

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

.pages p,
.pages li {
	font-size: 1.05rem;
	color: var(--light-text);
	line-height: 1.7;
	margin-bottom: 1.25rem;
}

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

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

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

.pages ul {
	list-style-type: disc;
	padding-left: 25px;
	margin-top: 1rem;
}

.pages ul li {
	margin-bottom: 0.75rem;
}
