/* Етап 0: Глобальні стилі */
@import url('https://fonts.googleapis.com/css2?family=Arvo:wght@400;700&family=Inter:wght@400;600&display=swap');

:root {
	--primary-color: #0a5cff;
	--secondary-color: #00bfa5;
	--bg-color: #ffffff;
	--surface-color: #f8f9fa;
	--text-color: #212529;
	--text-muted: #6c757d;
	--footer-bg: #1a1d20;

	--font-heading: 'Arvo', serif;
	--font-body: 'Inter', sans-serif;

	--container-width: 1140px;
	--nav-height: 70px;
}

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

html {
	font-size: 62.5%; /* 1rem = 10px */
	scroll-behavior: smooth;
	scroll-padding-top: var(--nav-height);
}

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

body.no-scroll {
	overflow: hidden;
}

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

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

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

ul {
	list-style: none;
}

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

button {
	font-family: inherit;
	cursor: pointer;
	border: none;
	background: none;
}

/* 2. Utility & Layout */
.container {
	width: 100%;
	max-width: var(--container-width);
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem;
	padding-right: 1.5rem;
}

.logo {
	display: inline-flex;
	align-items: center;
	gap: 0.8rem;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 2.4rem;
	color: var(--text-color);
	text-decoration: none;
}

.logo__icon {
	width: 32px;
	height: 32px;
	color: var(--primary-color);
}

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

/* Етап 1: Хедер */
.header {
	width: 100%;
	height: var(--nav-height);
	background-color: var(--bg-color);
	border-bottom: 1px solid #eee;
	position: sticky;
	top: 0;
	z-index: 1000;
}

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

.header__toggle {
	display: flex; /* Показано на мобільних */
	align-items: center;
	justify-content: center;
	color: var(--text-color);
	font-size: 2.4rem;
	padding: 0.5rem;
}

/* Навігація (Mobile First: прихована) */
.nav {
	position: fixed;
	top: var(--nav-height);
	left: 0;
	width: 100%;
	height: calc(100vh - var(--nav-height));
	background-color: var(--bg-color);
	transform: translateX(-100%);
	transition: transform 0.3s ease-in-out;
	padding: 2rem;
	border-top: 1px solid #eee;
	z-index: 999;
	overflow-y: auto;
}

.nav--visible {
	transform: translateX(0);
}

.nav__list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.nav__link {
	font-size: 1.8rem;
	font-weight: 600;
	color: var(--text-color);
	padding: 0.5rem;
	display: block;
}

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

.nav__link--cta {
	background-color: var(--primary-color);
	color: #fff;
	padding: 1rem 1.5rem;
	border-radius: 5px;
	text-align: center;
}

.nav__link--cta:hover {
	background-color: var(--secondary-color);
	color: #fff;
}

/* Адаптив хедера (Desktop) */
@media (min-width: 992px) {
	.header__toggle {
		display: none;
	}

	.nav {
		position: static;
		width: auto;
		height: auto;
		background-color: transparent;
		transform: none;
		padding: 0;
		border-top: none;
	}

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

	.nav__link {
		font-size: 1.6rem;
		padding: 0;
	}

	.nav__link--cta {
		padding: 0.8rem 1.6rem;
	}
}

/* Етап 2: Футер */
.footer {
	background-color: var(--footer-bg);
	color: #f1f1f1;
	padding: 6rem 0 0 0;
}

.footer__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4rem;
}

.footer .logo {
	color: #fff;
}
.footer .logo:hover {
	color: #fff;
}

.footer__description {
	font-size: 1.4rem;
	color: var(--text-muted);
	margin-top: 1.5rem;
	max-width: 250px;
}

.footer__title {
	font-size: 1.8rem;
	font-weight: 700;
	color: #fff;
	margin-bottom: 2rem;
}

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

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

.footer__link:hover {
	color: #fff;
	text-decoration: underline;
}

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

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

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

.footer__text {
	font-size: 1.5rem;
	color: var(--text-muted);
}

.footer__bottom {
	text-align: center;
	padding: 2rem 0;
	margin-top: 4rem;
	border-top: 1px solid #333;
	font-size: 1.3rem;
	color: var(--text-muted);
}

/* Адаптив футера (Desktop) */
@media (min-width: 768px) {
	.footer__container {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 992px) {
	.footer__container {
		/* 1.5fr 1fr 1fr 1.5fr */
		grid-template-columns: 1.5fr repeat(2, 1fr) 1.5fr;
	}
}

/* ============================================= */
/* Глобальні стилі кнопок (Потрібні для Hero) */
/* ============================================= */
.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.8rem;
	padding: 1.2rem 2.8rem;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.6rem;
	text-align: center;
	border-radius: 5px;
	cursor: pointer;
	transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease;
	text-decoration: none;
}

.btn--primary {
	background-color: var(--primary-color);
	color: #fff;
}

.btn--primary:hover {
	background-color: var(--secondary-color);
	color: #fff;
	transform: translateY(-3px);
}

/* ============================================= */
/* Етап 3: Hero-секція */
/* ============================================= */
.hero {
	padding: 6rem 0;
	background-color: var(--surface-color); /* Світлий фон для виділення */
}

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

.hero__content {
	order: 2; /* Текст йде під картинкою на мобілках */
}

.hero__title {
	font-size: 3.6rem;
	margin-bottom: 1.5rem;
}

.hero__title--dynamic {
	color: var(--primary-color);
	display: inline-block;
	min-height: 50px; /* Запобігає "стрибкам" тексту */
}

/* Ефект "друкарського" курсору */
.hero__title--dynamic::after {
	content: '_';
	color: var(--secondary-color);
	font-weight: 700;
	animation: blink 0.7s infinite;
}

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

.hero__description {
	font-size: 1.8rem;
	color: var(--text-muted);
	margin-bottom: 3rem;
	max-width: 600px;
	margin-left: auto;
	margin-right: auto;
	line-height: 1.7;
}

.hero__cta {
	margin-top: 1rem;
}

.hero__image-wrapper {
	width: 100%;
	margin: 0 auto;
	order: 1; /* Картинка зверху на мобілках */
}

.hero__image {
	border-radius: 10px;
	width: 100%;
	/* Додамо легку тінь для об'єму */
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Адаптив Hero-секції (Desktop) */
@media (min-width: 992px) {
	.hero {
		padding: 8rem 0;
	}

	.hero__container {
		flex-direction: row;
		align-items: center;
		text-align: left;
		gap: 6rem;
	}

	.hero__content {
		flex: 1 1 55%;
		order: 1; /* Текст зліва */
	}

	.hero__image-wrapper {
		flex: 1 1 45%;
		order: 2; /* Картинка справа */
		margin: 0;
	}

	.hero__title {
		font-size: 5.2rem;
	}

	.hero__title--dynamic {
		min-height: 70px;
	}

	.hero__description {
		font-size: 2rem;
		margin-left: 0;
		margin-right: 0;
	}
}

/* ============================================= */
/* Етап 3.2: Секція "Стратегії Роста" */
/* ============================================= */
.strategy {
	padding: 6rem 0;
	background-color: var(
		--bg-color
	); /* Чергуємо фон (Hero був --surface-color) */
}

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

.strategy__title {
	font-size: 3.2rem;
	margin-bottom: 1rem;
}

.strategy__subtitle {
	font-size: 1.8rem;
	color: var(--text-muted);
}

/* Сітка для карток (Mobile-first: 1 колонка) */
.strategy__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

.strategy-card {
	background-color: #fff;
	border: 1px solid #eee;
	border-radius: 8px;
	padding: 3rem;
	text-align: center;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.strategy-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

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

.strategy-card__icon {
	width: 30px;
	height: 30px;
}

.strategy-card__title {
	font-size: 2.2rem;
	margin-bottom: 1rem;
}

.strategy-card__description {
	font-size: 1.5rem;
	color: var(--text-muted);
	line-height: 1.6;
}

/* Адаптив (Desktop) */
@media (min-width: 768px) {
	.strategy {
		padding: 8rem 0;
	}

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

	.strategy__title {
		font-size: 4rem;
	}
}

/* ============================================= */
/* Етап 3.3: Секція "Личный Бренд" */
/* ============================================= */
.branding {
	padding: 6rem 0;
	background-color: var(--surface-color); /* Знову світлий фон */
}

.branding__container {
	display: flex;
	flex-direction: column;
	gap: 4rem;
}

.branding__image-wrapper {
	width: 100%;
	max-width: 500px;
	margin: 0 auto;
}

.branding__image {
	width: 100%;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.branding__title {
	font-size: 3.2rem;
	margin-bottom: 1.5rem;
}

.branding__subtitle {
	font-size: 1.8rem;
	color: var(--text-muted);
	margin-bottom: 3rem;
}

/* Акордеон */
.accordion {
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
}

.accordion__item {
	border-bottom: 1px solid #ddd;
}
.accordion__item:last-child {
	border-bottom: none;
}

.accordion__header {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 2rem;
	background-color: #fff;
	cursor: pointer;
	text-align: left;
}

.accordion__title {
	font-family: var(--font-heading);
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--text-color);
}

.accordion__icon {
	width: 20px;
	height: 20px;
	color: var(--primary-color);
	transition: transform 0.3s ease;
	flex-shrink: 0; /* Щоб іконка не стискалась */
	margin-left: 1rem;
}

.accordion__body {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.4s ease-out, padding 0.4s ease-out;
	background-color: #fff;
}

.accordion__content {
	padding: 0 2rem 2rem 2rem;
	font-size: 1.5rem;
	color: var(--text-muted);
	line-height: 1.7;
}

/* Стан "Активний" для акордеону */
.accordion__item--active .accordion__body {
	max-height: 200px; /* Встановіть достатню висоту */
	padding-bottom: 2rem;
}

.accordion__item--active .accordion__icon {
	transform: rotate(180deg);
}

.accordion__item--active .accordion__header {
	background-color: var(--surface-color);
}

/* Адаптив (Desktop) */
@media (min-width: 992px) {
	.branding {
		padding: 8rem 0;
	}

	.branding__container {
		flex-direction: row;
		align-items: center;
		gap: 6rem;
	}

	.branding__image-wrapper {
		flex: 1 1 45%;
	}

	.branding__content {
		flex: 1 1 55%;
	}

	.branding__title {
		font-size: 4rem;
	}
}

/* ============================================= */
/* Етап 3.4: Секція "Рынок Труда" */
/* ============================================= */
.market {
	padding: 6rem 0;
	background-color: var(--bg-color);
}

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

.market__title {
	font-size: 3.2rem;
	margin-bottom: 1rem;
}

.market__subtitle {
	font-size: 1.8rem;
	color: var(--text-muted);
}

/* Таби */
.tabs {
	width: 100%;
	max-width: 900px;
	margin: 0 auto;
}

/* Навігація табів */
.tabs__nav {
	display: flex;
	flex-direction: column; /* Mobile-first: стопкою */
	border-radius: 8px;
	overflow: hidden;
	background-color: var(--surface-color);
	border: 1px solid #eee;
}

.tabs__button {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1rem;
	padding: 1.5rem 2rem;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 1.6rem;
	color: var(--text-muted);
	background-color: transparent;
	border-bottom: 1px solid #eee; /* Розділювач на мобілці */
	transition: background-color 0.3s ease, color 0.3s ease;
}
.tabs__button:last-child {
	border-bottom: none;
}

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

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

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

/* Контент табів */
.tabs__content {
	margin-top: 3rem;
}

.tabs__panel {
	display: none; /* Всі панелі приховані */
	padding: 2rem;
	background-color: var(--surface-color);
	border-radius: 8px;
	animation: fadeIn 0.5s ease;
}

.tabs__panel--active {
	display: block; /* Активна панель видима */
}

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

.tabs__panel-title {
	font-size: 2.4rem;
	margin-bottom: 1rem;
	color: var(--primary-color);
}

.tabs__panel-description {
	font-size: 1.6rem;
	color: var(--text-color);
	line-height: 1.7;
	margin-bottom: 2rem;
}

.tabs__list {
	list-style: none;
	padding-left: 0;
}

.tabs__list li {
	position: relative;
	padding-left: 2.5rem;
	font-size: 1.6rem;
	margin-bottom: 1rem;
}

.tabs__list li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 5px;
	width: 16px;
	height: 16px;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2300BFA5' stroke-width='3' stroke-linecap='round' stroke-linejoin='round' class='lucide lucide-check'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E");
	background-size: contain;
	background-repeat: no-repeat;
}

/* Адаптив табів (Desktop) */
@media (min-width: 768px) {
	.market {
		padding: 8rem 0;
	}

	.market__title {
		font-size: 4rem;
	}

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

	.tabs__button {
		border-bottom: none;
		border-right: 1px solid #eee;
	}
	.tabs__button:last-child {
		border-right: none;
	}
}

/* ============================================= */
/* Етап 3.5: Секція "Кейсы" */
/* ============================================= */
.cases {
	padding: 6rem 0;
	background-color: var(--surface-color);
}

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

.cases__title {
	font-size: 3.2rem;
	margin-bottom: 1rem;
}

.cases__subtitle {
	font-size: 1.8rem;
	color: var(--text-muted);
}

/* Слайдер */
.slider {
	position: relative;
	width: 100%;
	overflow: hidden; /* Ховаємо всі слайди, крім активного */
}

.slider__wrapper {
	display: flex; /* Вибудовуємо слайди в рядок */
	transition: transform 0.5s ease-in-out;
}

.slider__slide {
	flex: 0 0 100%; /* Кожен слайд займає 100% ширини */
	width: 100%;
	padding: 1rem; /* Невеликий відступ, щоб тінь не обрізалась */
}

/* Картка кейсу */
.case-study {
	background-color: #fff;
	border-radius: 10px;
	box-shadow: 0 5px 25px rgba(0, 0, 0, 0.07);
	overflow: hidden;
}

.case-study__image-wrapper {
	width: 100%;
	height: 250px; /* Фіксована висота для зображення */
}

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

.case-study__content {
	padding: 2.5rem;
}

.case-study__title {
	font-size: 2.2rem;
	margin-bottom: 1.5rem;
}

.case-study__text {
	font-size: 1.5rem;
	color: var(--text-muted);
	line-height: 1.6;
}
.case-study__text strong {
	color: var(--primary-color);
}
.case-study__text:last-of-type {
	margin-top: 1rem;
}

/* Кнопки навігації */
.slider__nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	width: 45px;
	height: 45px;
	border-radius: 50%;
	background-color: rgba(255, 255, 255, 0.9);
	color: var(--text-color);
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 10;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.slider__nav:hover {
	background-color: var(--primary-color);
	color: #fff;
}

.slider__nav--prev {
	left: 1rem;
}

.slider__nav--next {
	right: 1rem;
}

/* Адаптив (Desktop) */
@media (min-width: 768px) {
	.cases {
		padding: 8rem 0;
	}

	.cases__title {
		font-size: 4rem;
	}

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

	.case-study__image-wrapper {
		flex: 0 0 40%;
		height: 350px;
	}

	.case-study__content {
		flex: 1 1 60%;
		padding: 3rem;
	}

	.slider__nav {
		width: 50px;
		height: 50px;
	}
	.slider__nav--prev {
		left: 2rem;
	}
	.slider__nav--next {
		right: 2rem;
	}
}

/* ============================================= */
/* Етап 4: Секція контактів */
/* ============================================= */
.contact {
	padding: 6rem 0;
	background-color: var(--bg-color);
}

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

.contact__title {
	font-size: 3.2rem;
	margin-bottom: 1.5rem;
}

.contact__description {
	font-size: 1.8rem;
	color: var(--text-muted);
	line-height: 1.7;
	margin-bottom: 3rem;
}

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

.contact__info-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	font-size: 1.6rem;
	font-weight: 600;
}

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

/* Обгортка форми */
.contact__form-wrapper {
	background-color: var(--surface-color);
	padding: 3rem;
	border-radius: 10px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-form__title {
	font-size: 2.4rem;
	margin-bottom: 2rem;
	text-align: center;
}

/* Групи полів */
.form-group {
	margin-bottom: 2rem;
}

.form-group__label {
	display: block;
	font-size: 1.4rem;
	font-weight: 600;
	margin-bottom: 0.8rem;
	color: var(--text-color);
}

.form-group__input {
	width: 100%;
	padding: 1.4rem;
	font-size: 1.6rem;
	font-family: var(--font-body);
	border: 1px solid #ddd;
	border-radius: 5px;
	transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group__input:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 0 0 3px rgba(10, 92, 255, 0.15);
}

/* Чекбокс */
.form-group--checkbox {
	display: flex;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 2.5rem;
}

.form-group__checkbox {
	width: 1.8rem;
	height: 1.8rem;
	margin-top: 0.3rem; /* Вирівнювання з текстом */
	flex-shrink: 0;
}

.form-group__checkbox-label {
	font-size: 1.4rem;
	color: var(--text-muted);
	line-height: 1.5;
}
.form-group__checkbox-label a {
	text-decoration: underline;
}

.contact-form__submit {
	width: 100%; /* Кнопка на всю ширину */
}

/* Повідомлення про успіх */
.contact-form__success {
	text-align: center;
	padding: 3rem;
	border: 2px dashed var(--secondary-color);
	border-radius: 8px;
	background-color: #fff;
}
.contact-form__success i {
	width: 50px;
	height: 50px;
	color: var(--secondary-color);
	margin-bottom: 1rem;
}
.contact-form__success p {
	font-size: 1.6rem;
	color: var(--text-muted);
}

/* Адаптив (Desktop) */
@media (min-width: 992px) {
	.contact {
		padding: 8rem 0;
	}

	.contact__container {
		flex-direction: row;
		align-items: center;
		gap: 6rem;
	}

	.contact__content {
		flex: 1 1 50%;
	}

	.contact__form-wrapper {
		flex: 1 1 50%;
		padding: 4rem;
	}

	.contact__title {
		font-size: 4rem;
	}
}

/* ============================================= */
/* Етап 5.1: Cookie Pop-up */
/* ============================================= */
.cookie-popup {
	position: fixed;
	bottom: -100%; /* Початково приховано */
	left: 0;
	width: 100%;
	background-color: var(--footer-bg);
	color: #f1f1f1;
	padding: 2rem;
	box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.15);
	z-index: 2000;
	transition: bottom 0.5s ease-in-out;
}

.cookie-popup--visible {
	bottom: 0;
}

.cookie-popup__content {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1.5rem;
	max-width: var(--container-width);
	margin: 0 auto;
}

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

.cookie-popup__link {
	color: #fff;
	text-decoration: underline;
}
.cookie-popup__link:hover {
	color: var(--secondary-color);
}

.cookie-popup__button {
	padding: 0.8rem 2rem;
	font-size: 1.4rem;
	font-weight: 600;
	color: var(--footer-bg);
	background-color: #fff;
	border-radius: 5px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-popup__button:hover {
	background-color: var(--secondary-color);
	color: #fff;
}

/* Адаптив Cookie (Desktop) */
@media (min-width: 768px) {
	.cookie-popup__content {
		flex-direction: row;
		justify-content: space-between;
	}
	.cookie-popup__text {
		font-size: 1.5rem;
		text-align: left;
	}
	.cookie-popup__button {
		flex-shrink: 0; /* Не стискати кнопку */
	}
}

/* ============================================= */
/* Етап 5.2: Стилізація сторінок політик (.pages) */
/* ============================================= */
.pages {
	padding: 4rem 0;
	background-color: var(--bg-color);
	min-height: 60vh;
}

.pages .container {
	max-width: 800px; /* Вузький контейнер для читабельності */
	font-size: 1.7rem;
	line-height: 1.8;
	color: var(--text-color);
}

.pages h1,
.pages h2,
.pages h3 {
	font-family: var(--font-heading);
	margin-top: 2.5em;
	margin-bottom: 1em;
}

.pages h1 {
	font-size: 4rem;
	color: var(--primary-color);
	margin-top: 0; /* Перший заголовок без відступу */
}

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

.pages h3 {
	font-size: 2.2rem;
}

.pages p {
	margin-bottom: 1.5em;
}

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

.pages ul,
.pages ol {
	margin-bottom: 1.5em;
	padding-left: 2em;
}

.pages li {
	margin-bottom: 0.8em;
}

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