/* ======== 0. GLOBAL STYLES ======== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;700&family=Manrope:wght@600;700;800&display=swap');

:root {
	/* Colors */
	--bg-color: #0b1020; /* page background */
	--white-color: #0f172a; /* surfaces/cards */
	--text-color: #e5e7eb; /* main text */
	--text-color-light: #a1a1aa; /* secondary text */
	--primary-color: #60a5fa; /* accent */
	--primary-color-dark: #3b82f6; /* accent hover */
	--border-color: #24324a; /* borders/dividers */

	/* Fonts */
	--font-body: 'Inter', sans-serif;
	--font-heading: 'Manrope', sans-serif;

	/* Sizing */
	--header-height: 80px;
	--container-width: 1200px;
	--container-padding: 1.5rem; /* 24px */
}

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

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

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

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

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

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

ul {
	list-style: none;
}

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

.container {
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: var(--container-padding);
	padding-right: var(--container-padding);
}

/* ======== 1. HEADER ======== */
.header {
	width: 100%;
	height: var(--header-height);
	background-color: var(--white-color);
	border-bottom: 1px solid var(--border-color);
	position: fixed;
	top: 0;
	left: 0;
	z-index: 1000;
	display: flex;
	align-items: center;
}

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

.header__logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-color);
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 1.5rem;
}

.header__logo-icon {
	width: 32px;
	height: 32px;
}

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

/* Navigation */
.header__nav {
	position: fixed;
	top: var(--header-height);
	left: -100%;
	width: 100%;
	height: calc(100vh - var(--header-height));
	background-color: var(--white-color);
	transition: left 0.3s ease;
	overflow-y: auto;
}

.header__nav--active {
	left: 0;
}

.header__nav-list {
	display: flex;
	flex-direction: column;
	padding: 2rem;
	gap: 1.5rem;
}

.header__nav-link {
	font-size: 1.1rem;
	font-weight: 500;
	color: var(--text-color-light);
	transition: color 0.3s ease;
}

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

.header__nav-link--button {
	display: block;
	width: 100%;
	text-align: center;
	padding: 0.75rem 1.5rem;
	background-color: var(--primary-color);
	color: var(--white-color);
	border-radius: 8px;
	font-weight: 600;
}

.header__nav-link--button:hover {
	background-color: var(--primary-color-dark);
	color: var(--white-color);
}

/* Burger Menu */
.header__burger {
	display: block;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--text-color);
}

.header__burger-icon {
	width: 28px;
	height: 28px;
}

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

.header__burger.header__burger--active .header__burger-icon--menu {
	display: none;
}

.header__burger.header__burger--active .header__burger-icon--close {
	display: block;
}

/* ======== 2. FOOTER ======== */
.footer {
	background-color: var(--white-color);
	border-top: 1px solid var(--border-color);
	padding-top: 4rem;
	color: var(--text-color-light);
}

.footer__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem;
	padding-bottom: 3rem;
}

.footer__logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--text-color);
	font-family: var(--font-heading);
	font-weight: 800;
	font-size: 1.5rem;
	margin-bottom: 1rem;
}

.footer__logo-icon {
	width: 32px;
	height: 32px;
}

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

.footer__tagline {
	font-size: 0.9rem;
	max-width: 250px;
}

.footer__title {
	font-size: 1.1rem;
	color: var(--text-color);
	margin-bottom: 1.5rem;
}

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

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

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

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

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

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

.footer__address {
	font-style: normal;
	font-size: 0.95rem;
	line-height: 1.5;
}

.footer__bottom {
	border-top: 1px solid var(--border-color);
	padding: 1.5rem var(--container-padding);
	text-align: center;
	font-size: 0.85rem;
}

/* ======== 3. RESPONSIVE (Mobile-First) ======== */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.container {
		--container-padding: 2rem;
	}

	/* Header */
	.header__burger {
		display: none;
	}

	.header__nav {
		position: static;
		width: auto;
		height: auto;
		background-color: transparent;
		transition: none;
		overflow-y: visible;
	}

	.header__nav-list {
		flex-direction: row;
		padding: 0;
		gap: 2rem;
		align-items: center;
	}

	.header__nav-link {
		font-size: 1rem;
	}

	.header__nav-link--button {
		width: auto;
		padding: 0.5rem 1.25rem;
	}

	/* Footer */
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
	.header__nav-list {
		gap: 2.5rem;
	}

	.footer__container {
		grid-template-columns: 2fr 1fr 1fr 1.5fr;
		gap: 3rem;
	}
}

/* XL devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
	.container {
		padding-left: 1.5rem;
		padding-right: 1.5rem;
	}
}

/* ======== 4. HERO SECTION ======== */
.main {
	padding-top: var(--header-height); /* Компенсація висоти хедера */
}

.hero {
	width: 100%;
	padding: 4rem 0;
	overflow: hidden; /* Для анімацій та ефектів */
}

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

.hero__content {
	/* Стилі для анімації */
	opacity: 0; /* Початково приховано */
	animation: fadeIn 1s ease-out 0.5s forwards;
}

.hero__eyebrow {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	font-family: var(--font-heading);
	color: var(--primary-color);
	margin-bottom: 1rem;
	letter-spacing: 0.5px;

	/* Анімація */
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease-out 0.8s forwards;
}

.hero__title {
	font-size: 2.5rem; /* 40px */
	color: var(--text-color);
	margin-bottom: 1.5rem;

	/* Анімація */
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease-out 1.1s forwards;
}

.hero__subtitle {
	font-size: 1.1rem;
	color: var(--text-color-light);
	max-width: 600px;
	margin: 0 auto 2.5rem;

	/* Анімація */
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease-out 1.4s forwards;
}

.hero__cta-button {
	display: inline-block;
	background-color: var(--primary-color);
	color: var(--white-color);
	padding: 0.875rem 2rem; /* 14px 32px */
	font-size: 1rem;
	font-weight: 600;
	font-family: var(--font-heading);
	border-radius: 8px;
	transition: background-color 0.3s ease, transform 0.3s ease;
	box-shadow: 0 4px 15px rgba(0, 122, 255, 0.2);

	/* Анімація */
	opacity: 0;
	transform: translateY(20px);
	animation: fadeInUp 0.6s ease-out 1.7s forwards;
}

.hero__cta-button:hover {
	background-color: var(--primary-color-dark);
	color: var(--white-color);
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(0, 122, 255, 0.3);
}

.hero__image-wrapper {
	position: relative;
	width: 100%;
	max-width: 500px;
	opacity: 0; /* Початково приховано */
	animation: fadeIn 1s ease-out 0.5s forwards;
}

.hero__image {
	width: 100%;
	border-radius: 16px;
	border: 1px solid var(--border-color);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Ефект "сяйва" позаду зображення */
.hero__image-blur-effect {
	position: absolute;
	bottom: -10%;
	left: 50%;
	transform: translateX(-50%);
	width: 80%;
	height: 80%;
	background: var(--primary-color);
	filter: blur(80px);
	opacity: 0.15;
	z-index: -1;
	border-radius: 50%;
}

/* Анімації */
@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

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

/* Адаптація (Mobile-First) */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.hero {
		padding: 5rem 0;
	}

	.hero__title {
		font-size: 3.5rem; /* 56px */
	}

	.hero__subtitle {
		font-size: 1.2rem;
	}
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
	.hero {
		min-height: calc(100vh - var(--header-height));
		display: flex;
		align-items: center;
		padding: 2rem 0;
	}

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

	.hero__content {
		flex: 1;
	}

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

	.hero__image-wrapper {
		flex: 1;
		max-width: 600px;
	}

	.hero__image-blur-effect {
		bottom: -5%;
		opacity: 0.2;
	}
}

/* ======== 5. WHAT IS AI SECTION ======== */
.what-is-ai {
	padding: 4rem 0;
	background-color: var(--white-color); /* Змінимо фон для контрасту */
	border-top: 1px solid var(--border-color);
	border-bottom: 1px solid var(--border-color);
}

.what-is-ai__header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 3.5rem;
}

.what-is-ai__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

.what-is-ai__subtitle {
	font-size: 1.1rem;
	color: var(--text-color-light);
	line-height: 1.7;
}

.what-is-ai__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem; /* 24px */
}

.what-is-ai__card {
	background-color: var(--bg-color); /* Світлий фон для карток */
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 2.5rem 2rem;
	text-align: center;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.what-is-ai__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 30px rgba(0, 122, 255, 0.1);
}

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

.what-is-ai__card-icon {
	width: 32px;
	height: 32px;
}

.what-is-ai__card-title {
	font-size: 1.5rem; /* 24px */
	margin-bottom: 1rem;
	color: var(--text-color);
}

.what-is-ai__card-text {
	font-size: 0.95rem;
	color: var(--text-color-light);
	line-height: 1.6;
}

/* Адаптація */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.what-is-ai {
		padding: 5rem 0;
	}

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

	.what-is-ai__title {
		font-size: 2.5rem; /* 40px */
	}
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
	.what-is-ai__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ======== 6. QUICK START SECTION ======== */
.quick-start {
	padding: 4rem 0;
	background-color: var(--bg-color); /* Той самий фон, що й body */
}

.quick-start__header {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3.5rem;
}

.quick-start__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

.quick-start__subtitle {
	font-size: 1.1rem;
	color: var(--text-color-light);
	line-height: 1.7;
}

.quick-start__steps-wrapper {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2rem;
}

.quick-start__step {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	background-color: var(--white-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 2rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quick-start__step:hover {
	transform: translateY(-5px);
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.45);
}

.quick-start__step-icon-wrapper {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 10px;
	background-color: var(--primary-color);
	color: var(--white-color);
}

.quick-start__step-icon {
	width: 28px;
	height: 28px;
}

.quick-start__step-content {
	flex: 1;
}

.quick-start__step-number {
	display: block;
	font-size: 0.85rem;
	font-weight: 600;
	color: var(--primary-color);
	font-family: var(--font-heading);
	margin-bottom: 0.25rem;
}

.quick-start__step-title {
	font-size: 1.3rem; /* 20px */
	margin-bottom: 0.5rem;
	color: var(--text-color);
}

.quick-start__step-description {
	font-size: 0.95rem;
	color: var(--text-color-light);
}

/* Адаптація */

/* Small devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.quick-start {
		padding: 5rem 0;
	}

	.quick-start__title {
		font-size: 2.5rem; /* 40px */
	}

	.quick-start__steps-wrapper {
		gap: 2rem;
	}
}

/* Large devices (desktops, 1024px and up) */
@media (min-width: 1024px) {
	.quick-start__steps-wrapper {
		grid-template-columns: repeat(3, 1fr);
	}

	.quick-start__step {
		/* Орієнтація картки вертикально на десктопі */
		flex-direction: column;
		align-items: flex-start;
		text-align: left;
	}

	.quick-start__step-icon-wrapper {
		width: 60px;
		height: 60px;
	}
}

/* ======== 7. USE CASES SECTION ======== */
.use-cases {
	padding: 4rem 0;
	background-color: var(--white-color);
	border-top: 1px solid var(--border-color);
}

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

.use-cases__content {
	flex: 1;
}

.use-cases__eyebrow {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	font-family: var(--font-heading);
	color: var(--primary-color);
	margin-bottom: 1rem;
	letter-spacing: 0.5px;
}

.use-cases__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

.use-cases__subtitle {
	font-size: 1.1rem;
	color: var(--text-color-light);
	line-height: 1.7;
	max-width: 600px;
	margin-bottom: 2.5rem;
}

/* Accordion Styles */
.use-cases__accordion {
	border: 1px solid var(--border-color);
	border-radius: 12px;
	overflow: hidden; /* Важливо для заокруглення */
}

.use-cases__accordion-item {
	border-bottom: 1px solid var(--border-color);
}

.use-cases__accordion-item:last-child {
	border-bottom: none;
}

.use-cases__accordion-header {
	width: 100%;
	background-color: transparent;
	border: none;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1.5rem;
	cursor: pointer;
	text-align: left;
	transition: background-color 0.3s ease;
}

.use-cases__accordion-header:hover {
	background-color: var(--bg-color);
}

.use-cases__accordion-title {
	font-size: 1.1rem;
	font-weight: 600;
	font-family: var(--font-heading);
	color: var(--text-color);
}

.use-cases__accordion-icon {
	width: 20px;
	height: 20px;
	color: var(--primary-color);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 1rem;
}

/* Active State */
.use-cases__accordion-header[aria-expanded='true'] {
	background-color: var(--bg-color);
}

.use-cases__accordion-header[aria-expanded='true'] .use-cases__accordion-icon {
	transform: rotate(180deg);
}

.use-cases__accordion-content {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s ease-out, padding 0.3s ease-out;
	padding: 0 1.5rem;
}

.use-cases__accordion-content p {
	padding-bottom: 1.5rem;
	font-size: 0.95rem;
	color: var(--text-color-light);
	line-height: 1.6;
	max-width: 90%; /* Для кращої читабельності */
}

/* Image */
.use-cases__image-wrapper {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.use-cases__image {
	width: 100%;
	max-width: 500px;
	border-radius: 16px;
	border: 1px solid var(--border-color);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Адаптація */
@media (min-width: 768px) {
	.use-cases {
		padding: 5rem 0;
	}

	.use-cases__title {
		font-size: 2.5rem; /* 40px */
	}
}

@media (min-width: 1024px) {
	.use-cases__container {
		flex-direction: row;
		align-items: center;
		gap: 4rem;
	}

	.use-cases__content {
		flex: 1; /* Трохи більше місця для тексту */
	}

	.use-cases__image-wrapper {
		flex: 1;
	}
}

/* ======== 8. TOOLS SECTION ======== */
.tools {
	padding: 4rem 0;
	background-color: var(--bg-color); /* Той самий фон, що й body */
}

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

.tools__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

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

.tools__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

.tools__card {
	background-color: var(--white-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 2rem;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tools__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 30px rgba(0, 122, 255, 0.1);
}

.tools__card-icon-wrapper {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 10px;
	/* Використаємо легший фон для іконок тут */
	background-color: var(--primary-color);
	color: var(--white-color);
	margin-bottom: 1.5rem;
}

.tools__card-icon {
	width: 28px;
	height: 28px;
}

.tools__card-title {
	font-size: 1.3rem; /* 20px */
	margin-bottom: 0.75rem;
	color: var(--text-color);
}

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

/* Адаптація */

@media (min-width: 768px) {
	.tools {
		padding: 5rem 0;
	}

	.tools__title {
		font-size: 2.5rem; /* 40px */
	}

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

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

/* ======== 9. CONTACT SECTION ======== */
.contact {
	padding: 4rem 0;
	background-color: var(--white-color);
	border-top: 1px solid var(--border-color);
}

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

.contact__content {
	flex: 1;
}

.contact__eyebrow {
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 600;
	font-family: var(--font-heading);
	color: var(--primary-color);
	margin-bottom: 1rem;
	letter-spacing: 0.5px;
}

.contact__title {
	font-size: 2.25rem; /* 36px */
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

.contact__subtitle {
	font-size: 1.1rem;
	color: var(--text-color-light);
	line-height: 1.7;
	max-width: 500px;
	margin-bottom: 2.5rem;
}

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

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

.contact__detail-icon-wrapper {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background-color: var(--bg-color);
	color: var(--primary-color);
}

.contact__detail-icon {
	width: 24px;
	height: 24px;
}

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

.contact__detail-text a {
	font-size: 1rem;
	color: var(--text-color-light);
	text-decoration: none;
}

.contact__detail-text a:hover {
	text-decoration: underline;
}

/* Form Wrapper */
.contact__form-wrapper {
	flex: 1;
	background-color: var(--bg-color);
	border: 1px solid var(--border-color);
	border-radius: 16px;
	padding: 2.5rem;
	position: relative; /* Для повідомлення про успіх */
	overflow: hidden; /* Для анімації */
}

.contact__form {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
	transition: opacity 0.5s ease;
}

.contact__form-group {
	display: flex;
	flex-direction: column;
}

.contact__form-label {
	font-size: 0.9rem;
	font-weight: 500;
	margin-bottom: 0.5rem;
	color: var(--text-color-light);
}

.contact__form-input {
	width: 100%;
	padding: 0.875rem 1rem;
	font-size: 1rem;
	font-family: var(--font-body);
	border: 1px solid var(--border-color);
	border-radius: 8px;
	background-color: var(--text-color);
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact__form-input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(0, 122, 255, 0.1);
}

.contact__form-input::placeholder {
	color: #aaa;
}

/* Checkbox */
.contact__form-group--checkbox {
	flex-direction: row;
	align-items: flex-start;
	gap: 0.75rem;
	margin-top: 0.5rem;
}

.contact__form-checkbox {
	width: 1em;
	height: 1em;
	margin-top: 0.25em; /* Вирівнювання по тексту */
	flex-shrink: 0;
	appearance: none;
	border: 1px solid var(--border-color);
	border-radius: 4px;
	cursor: pointer;
	transition: background-color 0.3s ease, border-color 0.3s ease;
}

.contact__form-checkbox:checked {
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M12.207 4.793a1 1 0 010 1.414l-5 5a1 1 0 01-1.414 0l-2-2a1 1 0 011.414-1.414L6.5 9.086l4.293-4.293a1 1 0 011.414 0z'/%3e%3c/svg%3e");
	background-size: 100%;
	background-position: center;
}

.contact__form-checkbox-label {
	font-size: 0.85rem;
	color: var(--text-color-light);
	line-height: 1.5;
}

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

/* Button */
.contact__form-button {
	width: 100%;
	padding: 0.875rem 1.5rem;
	font-size: 1rem;
	font-weight: 600;
	font-family: var(--font-heading);
	color: var(--white-color);
	background-color: var(--primary-color);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
	margin-top: 1rem;
}

.contact__form-button:hover {
	background-color: var(--primary-color-dark);
	transform: translateY(-2px);
}

/* Success Message */
.contact__success-message {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bg-color);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 2rem;
	opacity: 0;
	visibility: hidden; /* Початково приховано */
	transform: translateY(20px);
	transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
}

.contact__success-message--active {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

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

.contact__success-icon {
	width: 32px;
	height: 32px;
}

.contact__success-title {
	font-size: 1.75rem;
	color: var(--text-color);
	margin-bottom: 0.75rem;
}

.contact__success-text {
	font-size: 1rem;
	color: var(--text-color-light);
}

/* Адаптація */
@media (min-width: 768px) {
	.contact {
		padding: 5rem 0;
	}

	.contact__title {
		font-size: 2.5rem; /* 40px */
	}

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

@media (min-width: 1024px) {
	.contact__container {
		flex-direction: row;
		gap: 4rem;
	}

	.contact__content {
		flex: 0.8;
	}

	.contact__form-wrapper {
		flex: 1.2;
	}
}

/* ======== 10. COOKIE POPUP ======== */
.cookie-popup {
	position: fixed;
	bottom: -150px; /* Початково сховано */
	left: 50%;
	transform: translateX(-50%);
	width: calc(100% - 3rem); /* 100% - 2 * padding */
	max-width: 600px;
	background-color: var(--white-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 1.5rem;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.55);

	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	z-index: 2000;
	transition: bottom 0.5s ease-out;
}

.cookie-popup--active {
	bottom: 1.5rem; /* Активна позиція */
}

.cookie-popup__text {
	font-size: 0.9rem;
	color: var(--text-color-light);
	line-height: 1.5;
}

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

.cookie-popup__button {
	width: 100%;
	padding: 0.6rem 1.5rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--white-color);
	background-color: var(--primary-color);
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

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

/* Адаптація для Cookie */
@media (min-width: 768px) {
	.cookie-popup {
		flex-direction: row;
		align-items: center;
		gap: 1.5rem;
	}

	.cookie-popup--active {
		bottom: 2rem; /* Більший відступ на десктопі */
	}

	.cookie-popup__text {
		flex: 1;
		font-size: 0.95rem;
		margin: 0;
	}

	.cookie-popup__button {
		width: auto; /* Автоматична ширина кнопки */
		padding: 0.75rem 1.5rem;
	}
}

.pages {
	padding: 6rem 0; /* Внутрішній відступ зверху та знизу */
	background-color: var(--white-color);
	min-height: calc(
		100vh - var(--header-height) - 300px
	); /* 300px - приблизна висота футера */
}

.main > .pages {
	padding-top: calc(var(--header-height) + 3rem);
}

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

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

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

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

.pages ul {
	list-style-type: disc;
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
	padding-left: 1rem;
}

.pages li {
	font-size: 1rem;
	color: var(--text-color-light);
	line-height: 1.7;
	margin-bottom: 0.75rem;
}

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

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

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

/* Адаптація */
@media (min-width: 768px) {
	.pages {
		padding: 6rem 0;
	}

	.main > .pages {
		padding-top: calc(var(--header-height) + 4rem);
	}

	.pages h1 {
		font-size: 3rem;
	}

	.pages h2 {
		font-size: 2rem;
	}

	.pages p,
	.pages li {
		font-size: 1.1rem;
	}
}
