/* ==================== Google Fonts Import ==================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Space+Grotesk:wght@500;700&display=swap');

/* ==================== CSS Variables ==================== */
:root {
	--header-height: 4.5rem;

	/* Colors */
	--bg-color: #f8f9fa;
	--bg-dark: #1a1a2e;
	--text-color: #121212;
	--text-light: #6c757d;
	--text-on-dark: #e0e0e0;
	--primary-color: #4a00e0; /* Deep Purple */
	--primary-color-dark: #3a00b0;
	--accent-color: #00ffaa; /* Electric Mint */
	--accent-color-hover: #00e099;
	--container-color: #ffffff;

	/* Typography */
	--body-font: 'Inter', sans-serif;
	--heading-font: 'Space Grotesk', sans-serif;

	--h1-font-size: 2.5rem;
	--h2-font-size: 2rem;
	--h3-font-size: 1.25rem;
	--normal-font-size: 1rem;
	--small-font-size: 0.875rem;

	/* Transitions & Shadows */
	--transition-base: 0.3s ease;
	--shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05);
	--shadow-medium: 0 6px 20px rgba(0, 0, 0, 0.1);
}

/* ==================== Base Styles ==================== */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--body-font);
	font-size: var(--normal-font-size);
	background-color: var(--bg-color);
	color: var(--text-color);
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

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

ul {
	list-style: none;
}

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

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

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

/* ==================== Utility Classes ==================== */
.container {
	max-width: 1200px;
	width: 100%;
	margin: 0 auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

/* ==================== Logo ==================== */
.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--heading-font);
	font-weight: 700;
	font-size: 1.25rem;
	color: var(--primary-color);
}

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

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

/* ==================== Header ==================== */
.header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: var(--container-color);
	box-shadow: var(--shadow-light);
	transition: var(--transition-base);
}

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

.header__logo {
	color: var(--primary-color);
}

.header__burger-btn {
	display: block;
	cursor: pointer;
	background: none;
	border: none;
	color: var(--text-color);
	width: 28px;
	height: 28px;
	position: relative;
	z-index: 101;
	padding: 0;
}

.header__burger-icon {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.header__burger-icon--close {
	display: none;
}

.header__burger-btn--open .header__burger-icon {
	display: none;
}

.header__burger-btn--open .header__burger-icon--close {
	display: block;
}

/* ==================== Navigation (Mobile First) ==================== */
.nav {
	position: fixed;
	top: var(--header-height);
	right: -100%; /* Hidden by default */
	width: 80%;
	/* max-width: 320px; */
	height: calc(100vh - var(--header-height));
	background-color: var(--container-color);
	box-shadow: -4px 0 15px rgba(0, 0, 0, 0.1);
	padding: 2rem;
	transition: right 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
	z-index: 99;
	overflow-y: auto;
}

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

/* Mobile Menu Backdrop */
.nav__backdrop {
	position: fixed;
	top: var(--header-height);
	left: 0;
	width: 100%;
	height: calc(100vh - var(--header-height));
	background-color: rgba(0, 0, 0, 0.5);
	opacity: 0;
	visibility: hidden;
	transition: opacity 0.4s ease, visibility 0.4s ease;
	z-index: 98;
	pointer-events: none;
}

body.menu-open .nav__backdrop {
	opacity: 1;
	visibility: visible;
	pointer-events: all;
}

.nav__list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding-top: 1rem;
}

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

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

.nav__link--cta {
	display: inline-block;
	background-color: var(--accent-color);
	color: var(--text-color);
	padding: 0.75rem 1.5rem;
	border-radius: 50px;
	text-align: center;
	transition: var(--transition-base);
}

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

/* ==================== Main Content Placeholder ==================== */
.main {
	/* Add padding to account for fixed header */
	padding-top: var(--header-height);
	/* We will add sections here */
}

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

.footer__container {
	display: grid;
	gap: 2.5rem;
	/* Responsive grid: 1 col, then 2, then 4 */
	grid-template-columns: 1fr;
}

.footer__col--logo {
	margin-bottom: 1rem;
}

.footer__logo {
	color: var(--container-color);
	font-size: 1.5rem;
}

.footer__logo:hover {
	color: var(--text-on-dark);
}

.footer__description {
	margin-top: 1rem;
	font-size: var(--small-font-size);
	color: var(--text-light);
	max-width: 300px;
}

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

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

.footer__link {
	color: var(--text-on-dark);
	font-size: var(--small-font-size);
	transition: var(--transition-base);
}

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

.footer__list--contact li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	color: var(--text-on-dark);
	font-size: var(--small-font-size);
}

.footer__contact-icon {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 0.15rem;
	color: var(--accent-color);
}

.footer__bottom {
	margin-top: 4rem;
	padding: 1.5rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer__bottom-container {
	text-align: center;
}

.footer__copyright {
	font-size: var(--small-font-size);
	color: var(--text-light);
}

/* ==================== Responsive (Desktop) ==================== */
@media (min-width: 768px) {
	/* Grid for footer */
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	:root {
		/* Larger fonts for desktop */
		--h1-font-size: 3.5rem;
		--h2-font-size: 2.5rem;
		--h3-font-size: 1.5rem;
		--normal-font-size: 1rem;
	}

	.container {
		margin-left: auto;
		margin-right: auto;
	}

	/* Header & Nav for Desktop */
	.header__burger-btn {
		display: none;
	}

	.nav {
		position: static;
		width: auto;
		height: auto;
		right: auto;
		top: auto;
		background-color: transparent;
		box-shadow: none;
		padding: 0;
		overflow-y: visible;
		z-index: auto;
	}

	.nav--open {
		right: auto;
	}

	.nav__backdrop {
		display: none;
	}

	.nav__list {
		flex-direction: row;
		align-items: center;
		gap: 2.5rem;
		padding-top: 0;
	}

	.nav__link {
		font-size: var(--normal-font-size);
	}

	.nav__link--cta {
		padding: 0.6rem 1.25rem;
	}

	/* Footer for Desktop */
	.footer__container {
		/* 4 columns, with logo column being slightly larger */
		grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
	}
}

@media (min-width: 1200px) {
	.container {
		padding-left: 0;
		padding-right: 0;
	}
}

/* ==================== Buttons (Global) ==================== */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.85rem 2rem;
	font-family: var(--heading-font);
	font-size: var(--normal-font-size);
	font-weight: 500;
	border-radius: 50px;
	border: none;
	cursor: pointer;
	transition: var(--transition-base);
	text-align: center;
}

.btn--primary {
	background-color: var(--accent-color);
	color: var(--text-color);
}

.btn--primary:hover {
	background-color: var(--accent-color-hover);
	transform: translateY(-3px);
	box-shadow: var(--shadow-medium);
}

/* ==================== Hero Section ==================== */
.hero {
	padding: 6rem 0 4rem;
	background-color: var(--container-color);
	overflow: hidden; /* Важливо для blob-анімації */
}

.hero__container {
	display: grid;
	gap: 4rem;
}

.hero__content {
	text-align: center; /* Mobile first: centered */
}

.hero__title {
	font-size: 1.5rem;
	font-weight: 700;
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.hero__title--animated {
	color: var(--primary-color);
	/* Ефект курсора для друкарської машинки */
	border-right: 3px solid var(--accent-color);
	animation: blinkCursor 0.75s step-end infinite;
	white-space: nowrap; /* Запобігає перенесенню під час друкування */
}

@keyframes blinkCursor {
	from,
	to {
		border-color: transparent;
	}
	50% {
		border-color: var(--accent-color);
	}
}

.hero__subtitle {
	font-size: 1.125rem;
	color: var(--text-light);
	margin-bottom: 2.5rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
}

.hero__cta {
	font-size: 1.1rem;
	padding: 1rem 2.5rem;
}

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

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

.hero__image-blob {
	position: relative;
	width: 300px;
	height: 300px;
	background: linear-gradient(45deg, var(--primary-color), var(--accent-color));
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	animation: blobMorph 8s ease-in-out infinite both;
	display: flex;
	justify-content: center;
	align-items: center;
}

.hero__image {
	width: 280px;
	height: 280px;
	object-fit: cover;
	border-radius: inherit; /* Успадковує анімовані кути */
	transform: scale(1.05);
}

/* Анімація "дихаючої" форми */
@keyframes blobMorph {
	0% {
		border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	}
	50% {
		border-radius: 30% 60% 70% 40% / 50% 60% 30% 60%;
	}
	100% {
		border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	}
}

/* ==================== Hero Responsive (Desktop) ==================== */
@media (min-width: 768px) {
	.hero__image-blob {
		width: 400px;
		height: 400px;
	}
	.hero__image {
		width: 380px;
		height: 380px;
	}
}

@media (min-width: 1024px) {
	.hero {
		padding: 8rem 0 6rem;
	}

	.hero__container {
		grid-template-columns: 1fr 1fr; /* Текст займає більше місця */
		gap: 2rem;
		align-items: center;
	}

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

	.hero__title {
		font-size: 2.8rem;
	}

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

/* ==================== Solutions Section ==================== */
.solutions {
	padding: 6rem 0;
	/* Використовуємо той самий фон, що й body, для чистого вигляду */
	background-color: var(--bg-color);
}

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

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

.solutions__title {
	font-size: var(--h2-font-size);
	margin-bottom: 1rem;
	color: var(--primary-color);
}

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

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

/* ==================== Card (Reusable Component) ==================== */
.card {
	background-color: var(--container-color);
	border-radius: 12px;
	padding: 2.5rem 2rem;
	border: 1px solid rgba(0, 0, 0, 0.05);
	box-shadow: var(--shadow-light);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-medium);
}

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

.card__icon {
	width: 32px;
	height: 32px;
	color: var(--container-color);
}

.card__title {
	font-size: 1.35rem;
	margin-bottom: 0.75rem;
}

.card__description {
	color: var(--text-light);
	font-size: var(--normal-font-size);
	line-height: 1.6;
}

/* ==================== Solutions Responsive (Desktop) ==================== */
@media (min-width: 768px) {
	.solutions__grid {
		/* Дві колонки на планшетах */
		grid-template-columns: repeat(2, 1fr);
	}

	/* Центрування останньої картки, якщо їх 3 */
	.solutions__card:last-child:nth-child(odd) {
		grid-column: span 2;
		max-width: 50%; /* або 100% якщо треба на всю ширину */
		justify-self: center; /* Центруємо */
	}
}

@media (min-width: 1024px) {
	.solutions {
		padding: 8rem 0;
	}

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

	/* Скидання стилів для 3-х колонок */
	.solutions__card:last-child:nth-child(odd) {
		grid-column: auto;
		max-width: 100%;
		justify-self: auto;
	}
}

/* ==================== Platform Section ==================== */
.platform {
	padding: 6rem 0;
	background-color: var(--container-color); /* Світлий фон для контрасту */
}

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

.platform__title {
	font-size: var(--h2-font-size);
	margin-bottom: 1rem;
}

.platform__description {
	font-size: 1.125rem;
	color: var(--text-light);
	margin-bottom: 2.5rem;
	max-width: 550px;
}

.platform__features-list {
	display: flex;
	flex-direction: column;
	gap: 2rem;
	margin-bottom: 3rem;
}

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

.platform__feature-icon {
	width: 28px;
	height: 28px;
	color: var(--primary-color);
	flex-shrink: 0;
	margin-top: 0.25rem;
}

.platform__feature-text h3 {
	font-size: var(--h3-font-size);
	margin-bottom: 0.25rem;
}

.platform__feature-text p {
	color: var(--text-light);
	line-height: 1.6;
}

.platform__cta {
	font-size: 1.1rem;
}

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

.platform__image {
	width: 100%;
	max-width: 500px;
	border-radius: 12px;
	box-shadow: var(--shadow-medium);
	/* Додаємо невеликий ефект, щоб імітувати UI */
	border: 1px solid rgba(0, 0, 0, 0.08);
}

/* ==================== Platform Responsive (Desktop) ==================== */
@media (min-width: 1024px) {
	.platform {
		padding: 8rem 0;
	}

	.platform__container {
		grid-template-columns: 1fr 1fr; /* 2 колонки на десктопі */
		gap: 6rem;
	}

	/* Міняємо колонки місцями: картинка зліва, текст справа */
	.platform__content {
		order: 2;
	}

	.platform__image-wrapper {
		order: 1;
	}
}

/* ==================== Cases Section ==================== */
.cases {
	padding: 6rem 0;
	background-color: var(--bg-color); /* Той самий фон, що й body */
}

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

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

.cases__title {
	font-size: var(--h2-font-size);
	margin-bottom: 1rem;
	color: var(--primary-color);
}

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

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

/* ==================== Case Card ==================== */
.case-card {
	background-color: var(--container-color);
	border-radius: 12px;
	box-shadow: var(--shadow-light);
	overflow: hidden; /* Щоб обрізати зображення */
	display: flex;
	flex-direction: column;
	transition: var(--transition-base);
}

.case-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--shadow-medium);
}

.case-card__image-wrapper {
	position: relative;
	width: 100%;
	/* Співвідношення сторін 16:9 */
	padding-top: 56.25%; /* 9 / 16 * 100% */
}

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

.case-card__tag {
	position: absolute;
	top: 1rem;
	left: 1rem;
	background-color: var(--accent-color);
	color: var(--text-color);
	padding: 0.25rem 0.75rem;
	border-radius: 50px;
	font-size: var(--small-font-size);
	font-weight: 500;
}

.case-card__content {
	padding: 1.5rem;
	display: flex;
	flex-direction: column;
	flex-grow: 1; /* Щоб контент заповнював картку */
}

.case-card__title {
	font-size: 1.3rem;
	margin-bottom: 0.75rem;
}

.case-card__description {
	color: var(--text-light);
	margin-bottom: 1.5rem;
	flex-grow: 1; /* Щоб опис розтягувався */
}

.case-card__result {
	font-size: var(--normal-font-size);
	color: var(--text-color);
	border-top: 1px solid rgba(0, 0, 0, 0.08);
	padding-top: 1rem;
}

.case-card__result strong {
	color: var(--primary-color);
}

.cases__cta-wrapper {
	text-align: center;
	margin-top: 1rem;
}

.cases__cta {
	font-size: 1.1rem;
}

/* ==================== Cases Responsive (Desktop) ==================== */
@media (min-width: 768px) {
	.cases__grid {
		/* Дві колонки на планшетах */
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 1024px) {
	.cases {
		padding: 8rem 0;
	}

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

/* ==================== Process Section ==================== */
.process {
	padding: 6rem 0;
	background-color: var(--container-color); /* Світлий фон */
}

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

.process__title {
	font-size: var(--h2-font-size);
	margin-bottom: 1rem;
	color: var(--primary-color);
}

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

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

.process-step {
	text-align: center;
	padding: 2rem;
	border: 1px dashed var(--primary-color);
	border-radius: 12px;
	background-color: var(--bg-color);
	position: relative;
}

.process-step__number {
	position: absolute;
	top: -1.5rem;
	left: 50%;
	transform: translateX(-50%);
	background-color: var(--accent-color);
	color: var(--text-color);
	font-family: var(--heading-font);
	font-weight: 700;
	font-size: 1.25rem;
	width: 3rem;
	height: 3rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 4px solid var(--container-color);
}

.process-step__icon-wrapper {
	margin: 1.5rem 0;
}

.process-step__icon {
	width: 40px;
	height: 40px;
	color: var(--primary-color);
}

.process-step__title {
	font-size: var(--h3-font-size);
	margin-bottom: 0.75rem;
}

.process-step__description {
	color: var(--text-light);
	font-size: var(--normal-font-size);
}

/* ==================== Process Responsive (Desktop) ==================== */
@media (min-width: 768px) {
	.process__steps-wrapper {
		/* 2 колонки на планшетах */
		grid-template-columns: repeat(2, 1fr);
		gap: 4rem 2rem;
	}
}

@media (min-width: 1024px) {
	.process {
		padding: 8rem 0;
	}

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

	/* Додаємо лінію, що з'єднує елементи */
	.process__steps-wrapper::before {
		content: '';
		position: absolute;
		top: 6.5rem; /* Позиціонуємо по центру іконок */
		left: 10%;
		width: 80%;
		height: 2px;
		background-color: var(--primary-color);
		opacity: 0.2;
		z-index: 0;
	}

	.process-step {
		z-index: 1; /* Елементи мають бути над лінією */
		background-color: var(
			--container-color
		); /* Щоб приховати лінію під собою */
	}
}

/* ==================== Contact Section ==================== */
.contact {
	padding: 6rem 0;
	background-color: var(--bg-color);
}

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

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

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

.contact__description {
	font-size: 1.125rem;
	color: var(--text-light);
	margin-bottom: 2.5rem;
	max-width: 550px;
}

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

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

.contact__detail-icon {
	width: 32px;
	height: 32px;
	color: var(--primary-color);
	flex-shrink: 0;
	margin-top: 0.25rem;
}

.contact__detail-text h4 {
	font-size: var(--h3-font-size);
	margin-bottom: 0.25rem;
}

.contact__detail-text a {
	font-size: var(--normal-font-size);
	color: var(--text-light);
}
.contact__detail-text a:hover {
	color: var(--primary-color);
}

.contact__form-wrapper {
	background-color: var(--container-color);
	padding: 2.5rem;
	border-radius: 12px;
	box-shadow: var(--shadow-medium);
}

.form__group {
	margin-bottom: 1.5rem;
}

.form__label {
	display: block;
	font-weight: 500;
	margin-bottom: 0.5rem;
	font-size: var(--small-font-size);
}

.form__input {
	width: 100%;
	padding: 0.85rem 1rem;
	border: 1px solid #d0d5dd; /* Light grey border */
	border-radius: 8px;
	font-size: var(--normal-font-size);
	font-family: var(--body-font);
	transition: var(--transition-base);
}

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

/* Checkbox styles */
.form__group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 2rem;
}

.form__checkbox-input {
	/* Custom checkbox */
	appearance: none;
	-webkit-appearance: none;
	width: 20px;
	height: 20px;
	border: 1px solid #d0d5dd;
	border-radius: 4px;
	cursor: pointer;
	flex-shrink: 0;
	margin-top: 0.15rem;
	transition: var(--transition-base);
}

.form__checkbox-input:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
	background-size: 80%;
	background-position: center;
}

.form__checkbox-label {
	font-size: var(--small-font-size);
	color: var(--text-light);
	line-height: 1.5;
	cursor: pointer;
}

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

.form__submit {
	width: 100%;
	font-size: 1.1rem;
	padding: 1rem;
}

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

/* Success Message */
.contact__success-message {
	display: none; /* Hidden by default */
	text-align: center;
	padding: 3rem 1.5rem;
	border: 2px dashed var(--accent-color);
	border-radius: 12px;
}

.contact__success-message--active {
	display: block; /* Shown via JS */
}

.contact__success-icon {
	width: 48px;
	height: 48px;
	color: var(--accent-color);
	margin-bottom: 1rem;
}

.contact__success-message h3 {
	font-size: var(--h3-font-size);
	color: var(--text-color);
	margin-bottom: 0.5rem;
}

/* ==================== Contact Responsive (Desktop) ==================== */
@media (min-width: 1024px) {
	.contact {
		padding: 8rem 0;
	}

	.contact__container {
		grid-template-columns: 1fr 1fr; /* 2 колонки на десктопі */
		gap: 6rem;
	}

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

/* ==================== Cookie Pop-up ==================== */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Приховано за замовчуванням */
	left: 0;
	width: 100%;
	background-color: var(--bg-dark);
	color: var(--text-on-dark);
	padding: 1.5rem 2rem;
	box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
	z-index: 110;
	transition: bottom 0.5s ease-in-out;
}

/* Клас для показу */
.cookie-popup--active {
	bottom: 0;
}

.cookie-popup__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	max-width: 1200px; /* Відповідає .container */
	margin: 0 auto;
	text-align: center;
}

.cookie-popup__text {
	font-size: var(--small-font-size);
}

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

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

.cookie-popup__btn {
	background-color: var(--accent-color);
	color: var(--text-color);
	border: none;
	padding: 0.6rem 1.5rem;
	border-radius: 50px;
	font-size: var(--small-font-size);
	font-weight: 500;
	cursor: pointer;
	transition: var(--transition-base);
}

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

/* ==================== Cookie Pop-up Responsive ==================== */
@media (min-width: 768px) {
	.cookie-popup {
		padding: 1.25rem;
	}

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

	.cookie-popup__text {
		font-size: var(--normal-font-size);
	}
}

.pages {
	padding: 6rem 0 6rem 0; /* Менший відступ зверху, оскільки хедер вже є */
	background-color: var(--container-color);
	min-height: 60vh; /* Щоб футер не "прилипав" на коротких сторінках */
}

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

.pages h1 {
	font-size: 1.5rem;
	margin-bottom: 2rem;
	color: var(--primary-color);
}

.pages h2 {
	font-size: 1.5rem;
	margin-top: 3rem;
	margin-bottom: 1.5rem;
}

.pages h3 {
	font-size: var(--h3-font-size);
	margin-top: 2rem;
	margin-bottom: 1rem;
}

.pages p {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--text-light);
	margin-bottom: 1.5rem;
}

.pages ul,
.pages ol {
	font-size: 1.125rem;
	line-height: 1.8;
	color: var(--text-light);
	margin: 1.5rem 0;
	padding-left: 1.5rem; /* Відступ для маркерів */
}

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

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

.pages a {
	color: var(--primary-color);
	text-decoration: underline;
	transition: var(--transition-base);
}

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