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

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

/* Змінні */
:root {
	--primary-color: #4a90e2; /* Дружній синій */
	--secondary-color: #50e3c2; /* М'ятний акцент */
	--text-dark: #1a1a1a;
	--text-light: #555;
	--background-light: #fdfdfd;
	--surface-color: #ffffff;
	--border-color: #eaeaea;
	--header-height: 70px;
}

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

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

body {
	font-family: 'Roboto', sans-serif;
	color: var(--text-dark);
	background-color: var(--background-light);
	line-height: 1.6;
}

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

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

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

ul {
	list-style: none;
}

button {
	font-family: 'Inter', sans-serif;
	cursor: pointer;
	border: none;
	background: none;
}

/* Заголовки */
h1,
h2,
h3,
h4,
h5,
h6 {
	font-family: 'Inter', sans-serif;
	font-weight: 700;
	line-height: 1.3;
	color: var(--text-dark);
}

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

/* Головний контент */
.main {
	/* Додаємо відступ зверху, щоб контент не ховався під хедер */
	padding-top: var(--header-height);
}

/* ЕТАП 1: СТИЛІ ХЕДЕРА */
.header {
	width: 100%;
	height: var(--header-height);
	background-color: var(--surface-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%;
}

.logo {
	display: flex;
	align-items: center;
	text-decoration: none;
	gap: 10px;
}

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

.logo__text {
	font-family: 'Inter', sans-serif;
	font-size: 1.4rem;
	font-weight: 700;
	color: var(--text-dark);
}

.header__nav {
	display: none; /* Приховано на мобільних */
}

.nav__list {
	display: flex;
	align-items: center;
	gap: 20px;
}

.nav__link {
	font-family: 'Inter', sans-serif;
	font-size: 0.95rem;
	font-weight: 500;
	color: var(--text-light);
	padding: 10px 5px;
	position: relative;
	text-decoration: none;
	transition: color 0.3s ease;
}

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

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

.nav__link:hover::after {
	width: calc(100% - 10px);
}

/* CTA кнопка в меню */
.nav__link--cta {
	background-color: var(--primary-color);
	color: white;
	padding: 8px 16px;
	border-radius: 5px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

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

.nav__link--cta::after {
	display: none; /* Ховаємо підкреслення для кнопки */
}

/* Кнопка бургер-меню */
.header__burger {
	display: block; /* Показано на мобільних */
	color: var(--text-dark);
	z-index: 1010; /* Поверх навігації */
}

.header__burger .lucide-x {
	/* display: none; Іконка 'X' прихована */
}

/* Стан відкритого меню */
body.menu-open .header__nav {
	display: flex;
	flex-direction: column;
	position: fixed;
	top: 0;
	right: 0;
	width: 80%;
	height: 100vh;
	background-color: var(--surface-color);
	padding-top: 100px;
	box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
	animation: slideIn 0.3s ease-out;
}

body.menu-open .nav__list {
	flex-direction: column;
	align-items: center;
	gap: 30px;
}

body.menu-open .nav__link {
	font-size: 1.2rem;
}

body.menu-open .header__burger .lucide-menu {
	display: none; /* Ховаємо 'menu' */
}

body.menu-open .header__burger .lucide-x {
	display: block; /* Показуємо 'X' */
}

@keyframes slideIn {
	from {
		transform: translateX(100%);
	}
	to {
		transform: translateX(0);
	}
}

/* Адаптивність (Desktop) */
@media (min-width: 992px) {
	.header__nav {
		display: block; /* Показуємо навігацію на десктопі */
	}

	.header__burger {
		display: none; /* Ховаємо бургер на десктопі */
	}
}

/* ЕТАП 2: СТИЛІ ФУТЕРА */
.footer {
	background-color: #1a1a1a;
	color: #a0a0a0;
	padding: 60px 0 0;
	border-top: 5px solid var(--primary-color);
}

.footer__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

.footer__col--logo .logo__text {
	color: var(--surface-color);
}

.footer__description {
	font-size: 0.9rem;
	margin-top: 15px;
	max-width: 300px;
}

.footer__title {
	font-family: 'Inter', sans-serif;
	font-size: 1.2rem;
	font-weight: 600;
	color: var(--surface-color);
	margin-bottom: 20px;
}

.footer__list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.footer__link {
	color: #a0a0a0;
	font-size: 0.95rem;
	transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer__link:hover {
	color: var(--surface-color);
	padding-left: 5px;
}

.footer__list--contact {
	gap: 15px;
}

.footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.95rem;
}

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

.footer__info {
	font-size: 0.8rem;
	font-style: italic;
	margin-top: 15px;
	color: #777;
}

.footer__bottom {
	border-top: 1px solid #333;
	margin-top: 40px;
	padding: 20px 0;
	text-align: center;
	font-size: 0.85rem;
	color: #777;
}

/* Адаптивність (Tablet & Desktop) */
@media (min-width: 768px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.footer__container {
		grid-template-columns: 1.5fr 1fr 1fr 1.5fr; /* 4 колонки */
	}
}

/* ЕТАП 3: СТИЛІ СЕКЦІЇ HERO */

/* Загальний клас для кнопок */
.button {
	display: inline-block;
	padding: 12px 28px;
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	text-align: center;
	text-decoration: none;
	color: #fff;
	background-color: var(--primary-color);
	border-radius: 8px;
	border: 2px solid transparent;
	cursor: pointer;
	transition: all 0.3s ease;
}

.button:hover {
	background-color: var(--secondary-color);
	color: var(--text-dark);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(80, 227, 194, 0.3);
}

.button--secondary {
	background-color: transparent;
	color: var(--primary-color);
	border-color: var(--primary-color);
}

.button--secondary:hover {
	background-color: var(--primary-color);
	color: #fff;
	transform: none;
	box-shadow: none;
}

/* Стилі Hero */
.hero {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(
		100vh - var(--header-height)
	); /* Висота екрану мінус хедер */
	padding: 60px 0;
	background-color: #0f172a; /* Темний фон для контрасту анімації */
	overflow: hidden;
	color: #ffffff;
}

.hero__canvas {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0.6;
	z-index: 1;
}

.hero__container {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.hero__content {
	max-width: 700px;
}

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

.hero__subtitle {
	font-size: 1.125rem; /* 18px */
	font-weight: 400;
	color: rgba(255, 255, 255, 0.85);
	margin-bottom: 30px;
	line-height: 1.7;
}

.hero__highlight {
	color: var(--secondary-color);
	font-weight: 500;
}

.hero__cta {
	font-size: 1.1rem;
	padding: 14px 32px;
}

/* Адаптивність (Tablet) */
@media (min-width: 768px) {
	.hero {
		min-height: 700px;
		text-align: left;
	}

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

	.hero__content {
		max-width: 55%;
	}

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

	.hero__subtitle {
		font-size: 1.25rem; /* 20px */
	}
}

/* ... (попередній код) ... */

/* ЕТАП 3: СТИЛІ СЕКЦІЇ "ЧТО ЭТО?" (ABOUT) */

/* Загальні стилі для секцій */
.section__eyebrow {
	display: inline-block;
	font-family: 'Inter', sans-serif;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--primary-color);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 8px;
}

.section__title {
	font-size: 2.2rem;
	margin-bottom: 16px;
	color: var(--text-dark);
}

.section__subtitle {
	font-size: 1.1rem;
	color: var(--text-light);
	max-width: 600px;
	margin: 0 auto;
	line-height: 1.7;
}

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

/* Стилі секції About */
.about {
	padding: 60px 0;
	background-color: var(--background-light);
}

.about__header {
	text-align: center;
	margin-bottom: 50px;
}

.about__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

.about__card {
	background-color: var(--surface-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 30px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about__card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(74, 144, 226, 0.1);
}

.about__card-icon-wrapper {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #f0f6ff; /* Світлий фон для іконки */
	margin-bottom: 20px;
}

.about__card-icon {
	width: 30px;
	height: 30px;
	color: var(--primary-color);
}

.about__card-title {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.about__card-description {
	color: var(--text-light);
	margin-bottom: 20px;
	min-height: 50px; /* Для вирівнювання висоти */
}

.about__card-solution {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background-color: #f9f9f9;
	border-radius: 8px;
	padding: 15px;
	font-size: 0.95rem;
}

.about__card-solution .lucide {
	flex-shrink: 0;
	width: 20px;
	height: 20px;
	color: var(--secondary-color);
	margin-top: 2px;
}

/* Футер секції About */
.about__footer {
	text-align: center;
	margin-top: 50px;
	padding-top: 40px;
	border-top: 1px dashed var(--border-color);
}

.about__footer-title {
	font-size: 1.8rem;
	margin-bottom: 10px;
}

.about__footer-text {
	font-size: 1.1rem;
	color: var(--text-light);
	margin-bottom: 25px;
}

/* Адаптивність (Tablet) */
@media (min-width: 768px) {
	.section__title {
		font-size: 2.5rem;
	}

	.about {
		padding: 80px 0;
	}

	.about__grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

/* ... (попередній код) ... */

/* ЕТАП 3: СТИЛІ СЕКЦІЇ "ГАЙДЫ" (GUIDES) */
.guides {
	padding: 60px 0;
	background-color: var(--surface-color); /* Змінимо фон для контрасту */
}

.guides__header {
	text-align: center;
	margin-bottom: 50px;
}

.guides__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
}

/* Стилі картки гайду */
.guide-card {
	border: 1px solid var(--border-color);
	border-radius: 12px;
	background-color: #fff;
	padding: 25px;
	display: flex;
	flex-direction: column;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(74, 144, 226, 0.1);
}

.guide-card__icon-wrapper {
	width: 55px;
	height: 55px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	/* Використаємо інший колір фону для іконки */
	background-color: #e6f7ea; /* Світло-зелений */
	margin-bottom: 20px;
}

.guide-card__icon-wrapper .lucide {
	width: 28px;
	height: 28px;
	color: #34a853; /* Зелений */
}

/* Різні кольори для іконок */
.guide-card:nth-child(2) .guide-card__icon-wrapper {
	background-color: #e6f0ff; /* Світло-синій */
}
.guide-card:nth-child(2) .guide-card__icon-wrapper .lucide {
	color: #4a90e2; /* Синій */
}

.guide-card:nth-child(3) .guide-card__icon-wrapper {
	background-color: #fff8e1; /* Світло-жовтий */
}
.guide-card:nth-child(3) .guide-card__icon-wrapper .lucide {
	color: #fbbc05; /* Жовтий */
}

.guide-card__title {
	font-size: 1.3rem;
	margin-bottom: 10px;
}

.guide-card__description {
	color: var(--text-light);
	font-size: 0.95rem;
	margin-bottom: 20px;
	flex-grow: 1; /* Щоб посилання було внизу */
}

.guide-card__link {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: 'Inter', sans-serif;
	font-weight: 600;
	color: var(--primary-color);
	font-size: 0.95rem;
}

.guide-card__link .lucide {
	width: 18px;
	height: 18px;
	transition: transform 0.3s ease;
}

.guide-card__link:hover .lucide {
	transform: translateX(5px);
}

/* CTA Банер */
.guides__cta {
	background-color: var(--background-light);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 25px;
	margin-top: 50px;
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.guides__cta-icon {
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: var(--primary-color);
	border-radius: 50%;
	margin-bottom: 15px;
}

.guides__cta-icon .lucide {
	color: #fff;
	width: 28px;
	height: 28px;
}

.guides__cta-content {
	margin-bottom: 20px;
}

.guides__cta-title {
	font-size: 1.4rem;
	margin-bottom: 5px;
}

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

.guides__cta-button {
	padding: 10px 24px;
}

/* Адаптивність (Tablet) */
@media (min-width: 768px) {
	.guides {
		padding: 80px 0;
	}

	.guides__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	.guides__cta {
		flex-direction: row;
		text-align: left;
		justify-content: space-between;
		padding: 30px;
	}

	.guides__cta-icon {
		margin-bottom: 0;
		margin-right: 20px;
	}

	.guides__cta-content {
		margin-bottom: 0;
		margin-right: auto;
	}

	.guides__cta-button {
		flex-shrink: 0;
	}
}

/* ... (попередній код) ... */

/* ЕТАП 3: СТИЛІ СЕКЦІЇ "ИНСТРУМЕНТЫ" (TOOLS) */
.tools {
	padding: 60px 0;
	background-color: var(--background-light); /* Змінимо фон */
}

.tools__header {
	text-align: center;
	margin-bottom: 40px;
}

/* Навігація табів */
.tools__nav {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-bottom: 30px;
}

.tools__nav-button {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 15px 20px;
	font-family: 'Inter', sans-serif;
	font-size: 1rem;
	font-weight: 600;
	color: var(--text-light);
	background-color: var(--surface-color);
	border: 1px solid var(--border-color);
	border-radius: 10px;
	cursor: pointer;
	transition: all 0.3s ease;
}

.tools__nav-button:hover {
	color: var(--primary-color);
	background-color: #f0f6ff;
	border-color: var(--primary-color);
}

.tools__nav-button.tools__nav-button--active {
	color: #fff;
	background-color: var(--primary-color);
	border-color: var(--primary-color);
	box-shadow: 0 5px 15px rgba(74, 144, 226, 0.2);
}

/* Іконки в табах */
.tools__nav-button .lucide {
	width: 20px;
	height: 20px;
}

/* Контент табів */
.tools__content-wrapper {
	position: relative;
	min-height: 250px; /* Для уникнення стрибків висоти */
}

.tools__content {
	display: none; /* Ховаємо всі таби */
	background-color: var(--surface-color);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 30px;
	animation: fadeIn 0.5s ease;
}

.tools__content.tools__content--active {
	display: block; /* Показуємо активний таб */
}

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

.tools__content-title {
	font-size: 1.5rem;
	margin-bottom: 10px;
}

.tools__content-description p {
	color: var(--text-light);
	font-size: 1.05rem;
	line-height: 1.7;
	margin-bottom: 20px;
}

.tools__content-list h4 {
	font-size: 1.1rem;
	font-weight: 600;
	margin-bottom: 15px;
}

.tools__content-list ul {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.tools__content-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 0.95rem;
}

.tools__content-list li .lucide {
	width: 18px;
	height: 18px;
	color: var(--secondary-color);
}

/* Адаптивність (Tablet) */
@media (min-width: 768px) {
	.tools {
		padding: 80px 0;
	}

	.tools__nav {
		flex-direction: row;
	}

	.tools__content {
		display: none; /* Ховаємо для JS */
		grid-template-columns: 1fr 1fr;
		gap: 30px;
		align-items: center;
		padding: 40px;
	}

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

	.tools__content-description p {
		margin-bottom: 0;
	}
}

/* ... (попередній код) ... */

/* ЕТАП 3: СТИЛІ СЕКЦІЇ "БЫСТРЫЙ СТАРТ" (START) */
.start {
	padding: 60px 0;
	background-color: var(--surface-color); /* Змінимо фон */
}

.start__header {
	text-align: center;
	margin-bottom: 50px;
}

.start__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 30px;
	position: relative;
}

.start-card {
	background-color: var(--background-light);
	border: 1px solid var(--border-color);
	border-radius: 12px;
	padding: 35px 25px;
	position: relative;
	overflow: hidden;
	z-index: 1; /* Картки поверх лінії */
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.start-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(74, 144, 226, 0.1);
}

.start-card__number {
	position: absolute;
	top: -5px;
	right: 15px;
	font-size: 4rem;
	font-weight: 700;
	font-family: 'Inter', sans-serif;
	color: rgba(74, 144, 226, 0.08); /* Дуже прозорий */
	z-index: 0;
	line-height: 1;
}

.start-card__icon-wrapper {
	width: 60px;
	height: 60px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	background-color: #f0f6ff;
	margin-bottom: 20px;
	position: relative; /* Щоб іконка була над цифрою */
	z-index: 2;
}

.start-card__icon {
	width: 30px;
	height: 30px;
	color: var(--primary-color);
}

.start-card__title {
	font-size: 1.4rem;
	margin-bottom: 10px;
	position: relative;
	z-index: 2;
}

.start-card__description {
	color: var(--text-light);
	font-size: 0.95rem;
	position: relative;
	z-index: 2;
}

.start__footer {
	text-align: center;
	margin-top: 50px;
}

/* Адаптивність (Tablet & Desktop) */
@media (min-width: 768px) {
	.start {
		padding: 80px 0;
	}

	.start__grid {
		grid-template-columns: repeat(3, 1fr);
	}

	/* Декоративна пунктирна лінія */
	.start__grid::before {
		content: '';
		position: absolute;
		top: 30px; /* На рівні іконок */
		left: 10%;
		width: 80%;
		height: 2px;
		background: none;
		border-top: 2px dashed var(--border-color);
		z-index: 0; /* Лінія позаду карток */
	}
}

/* ... (попередній код) ... */

/* ЕТАП 4: СТИЛІ СЕКЦІЇ "КОНТАКТЫ" (CONTACT) */
.contact {
	padding: 60px 0;
	background-color: var(--background-light);
	overflow: hidden; /* Для анімацій */
}

.contact__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 40px;
}

.contact__content {
	/* Текст зліва */
}

.contact__content .section__subtitle {
	margin: 0 0 30px 0; /* Скидаємо 'auto' */
	max-width: 100%;
}

.contact__features {
	display: flex;
	flex-direction: column;
	gap: 15px;
	list-style: none;
	margin-top: 20px;
}

.contact__feature-item {
	display: flex;
	align-items: center;
	gap: 10px;
	font-size: 1.05rem;
	font-weight: 500;
}

.contact__feature-item .lucide {
	width: 22px;
	height: 22px;
	color: var(--secondary-color);
}

.contact__form-wrapper {
	background-color: var(--surface-color);
	padding: 30px;
	border-radius: 12px;
	border: 1px solid var(--border-color);
	box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.contact__form {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* Стилі полів форми */
.form__group {
	position: relative;
}

.form__input {
	width: 100%;
	height: 50px;
	padding: 0 20px 0 50px;
	font-size: 1rem;
	font-family: 'Roboto', sans-serif;
	border: 1px solid var(--border-color);
	border-radius: 8px;
	background-color: #f9f9f9;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

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

/* Використовуємо :placeholder-shown для "плаваючого" лейблу */
.form__label {
	position: absolute;
	top: 15px;
	left: 50px;
	color: var(--text-light);
	font-size: 1rem;
	transition: all 0.3s ease;
	pointer-events: none; /* Дозволяє клікати крізь лейбл */
}

.form__input:focus ~ .form__label,
.form__input:not(:placeholder-shown) ~ .form__label {
	top: -10px;
	left: 15px;
	font-size: 0.75rem;
	color: var(--primary-color);
	background-color: var(--surface-color); /* Фон для перекриття */
	padding: 0 5px;
}
/* Скидаємо плейсхолдер, коли :not(:placeholder-shown) активний */
.form__input:not(:placeholder-shown) {
	background-color: #fff;
}

.form__icon {
	position: absolute;
	top: 14px;
	left: 15px;
	width: 22px;
	height: 22px;
	color: var(--text-light);
	z-index: 2;
}

.form__input:focus ~ .form__icon {
	color: var(--primary-color);
}

/* Чекбокс */
.form__group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	font-size: 0.9rem;
	color: var(--text-light);
}

.form__checkbox {
	margin-top: 3px;
	flex-shrink: 0;
	width: 18px;
	height: 18px;
}

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

.contact__button {
	width: 100%;
	padding: 15px 20px;
	font-size: 1.1rem;
}

/* Повідомлення про успіх */
.form__success-message {
	display: none; /* Приховано за замовчуванням */
	background-color: #e6f7ea; /* Зелений фон */
	color: #34a853; /* Зелений текст */
	border: 1px solid #34a853;
	border-radius: 8px;
	padding: 15px;
	margin-top: 20px;
	text-align: center;
	font-weight: 500;
	display: flex; /* Використаємо flex для анімації */
	align-items: center;
	gap: 10px;
	opacity: 0;
	height: 0;
	overflow: hidden;
	transition: all 0.5s ease;
}

.form__success-message.form__success-message--active {
	display: flex; /* Активуємо */
	opacity: 1;
	height: auto;
}

.form__success-message .lucide {
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

/* Адаптивність (Desktop) */
@media (min-width: 992px) {
	.contact {
		padding: 80px 0;
	}

	.contact__container {
		grid-template-columns: 1fr 1fr;
		gap: 60px;
		align-items: center;
	}

	.contact__form-wrapper {
		padding: 40px;
	}
}

/* ... (попередній код) ... */

/* ЕТАП 5: СТИЛІ COOKIE POP-UP */
.cookie-popup {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--text-dark);
	color: #f0f0f0;
	padding: 20px 0;
	z-index: 2000; /* Поверх усього */

	/* Приховано за замовчуванням - JS покаже */
	transform: translateY(100%);
	opacity: 0;
	visibility: hidden;
	transition: transform 0.5s ease-out, opacity 0.5s ease-out, visibility 0.5s;
}

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

.cookie-popup__container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 15px;
}

.cookie-popup__text {
	font-size: 0.9rem;
	text-align: center;
}

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

.cookie-popup__button {
	flex-shrink: 0;
	padding: 8px 20px;
	background-color: var(--primary-color);
	color: #fff;
	border-radius: 5px;
	font-size: 0.9rem;
	font-weight: 500;
	transition: background-color 0.3s ease;
}

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

/* Адаптивність (Tablet) */
@media (min-width: 768px) {
	.cookie-popup__container {
		flex-direction: row;
	}

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

.pages {
	padding: 60px 0;
	background-color: var(--surface-color);
	min-height: 50vh; /* Щоб сторінка не виглядала порожньою */
}

.main {
	padding-top: 0; /* Скидаємо відступ з .main */
}
.pages {
	padding-top: calc(
		var(--header-height) + 60px
	); /* Компенсуємо фіксований хедер */
}

.pages .container {
	max-width: 800px; /* Робимо контент вужчим для читабельності */
}

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

.pages h2 {
	font-size: 1.8rem;
	color: var(--text-dark);
	margin-top: 40px;
	margin-bottom: 20px;
}

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

.pages ul {
	list-style: disc;
	margin-left: 25px;
	margin-bottom: 20px;
}

.pages li {
	font-size: 1.05rem;
	color: var(--text-light);
	line-height: 1.8;
	margin-bottom: 10px;
}

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

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

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

/* Адаптивність */
@media (min-width: 768px) {
	.pages h1 {
		font-size: 3rem;
	}
	.pages h2 {
		font-size: 2rem;
	}
}
