/* ==================== GOOGLE FONTS ==================== */
/* Імпортовано в <head> HTML */

/* ==================== CSS VARIABLES ==================== */
:root {
	/* Colors */
	--primary-color: #0a2540;
	--secondary-color: #00d4ff;
	--background-color: #f8f9fa;
	--text-color: #333333;
	--text-light: #6c757d;
	--white-color: #ffffff;
	--border-color: #e9ecef;

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

	/* Spacing */
	--header-height: 4rem;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-family-body);
	font-size: 16px;
	line-height: 1.6;
	background-color: var(--background-color);
	color: var(--text-color);
	overflow-x: hidden; /* Запобігання горизонтальному скролу */
}

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

ul {
	list-style: none;
}

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

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

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

/* Utility Class */
.container {
	max-width: 1140px;
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem;
	padding-right: 1rem;
}

/* ==================== LOGO ==================== */
.logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--font-family-headings);
	font-weight: 700;
	font-size: 1.5rem;
	color: var(--primary-color);
}
.logo:hover {
	color: var(--primary-color);
}

.logo__svg {
	transition: transform 0.3s ease;
}

.logo:hover .logo__svg {
	transform: translateY(-2px);
}

/* ==================== HEADER ==================== */
.header {
	width: 100%;
	position: fixed;
	top: 0;
	left: 0;
	z-index: 100;
	background-color: var(--white-color);
	box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
	height: var(--header-height);
}

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

.header__burger {
	display: block;
	background: none;
	border: none;
	cursor: pointer;
	color: var(--primary-color);
	padding: 0.5rem;
}

.header__nav {
	position: fixed;
	top: var(--header-height);
	left: -100%; /* Сховано за замовчуванням */
	width: 100%;
	height: calc(100vh - var(--header-height));
	background-color: var(--white-color);
	padding: 2rem;
	transition: left 0.4s ease;
	overflow-y: auto;
}

/* Модифікатор для відкритого меню */
.header__nav--open {
	left: 0;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.header__nav-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	align-items: center;
}

.header__nav-link {
	font-family: var(--font-family-headings);
	font-weight: 500;
	font-size: 1.25rem;
	color: var(--primary-color);
	position: relative;
	padding: 0.25rem 0;
}

/* Ефект підкреслення для посилань */
.header__nav-link::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--secondary-color);
	transition: width 0.3s ease;
}

.header__nav-link:hover::after {
	width: 100%;
}

.header__nav-link--cta {
	background-color: var(--secondary-color);
	color: var(--primary-color);
	padding: 0.5rem 1.5rem;
	border-radius: 50px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.header__nav-link--cta:hover {
	background-color: var(--primary-color);
	color: var(--white-color);
	color: var(--white-color); /* Повтор для hover (a:hover) */
}
.header__nav-link--cta::after {
	display: none; /* Видаляємо ефект підкреслення для кнопки */
}

/* ==================== FOOTER ==================== */
.footer {
	background-color: var(--primary-color);
	color: var(--white-color);
	padding-top: 4rem;
	padding-bottom: 2rem;
	margin-top: 4rem; /* Відступ від контенту */
}

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

.footer__logo {
	color: var(--white-color);
}

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

.footer__logo .logo__svg path {
	stroke: var(--white-color); /* Змінюємо колір обводки лого в футері */
}

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

.footer__title {
	font-family: var(--font-family-headings);
	font-size: 1.25rem;
	color: var(--white-color);
	margin-bottom: 1.5rem;
}

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

.footer__link {
	color: var(--text-light);
	transition: color 0.3s ease, padding-left 0.3s ease;
	display: inline-block;
}

.footer__link:hover {
	color: var(--secondary-color);
	padding-left: 0.25rem;
}

.footer__contact-item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	color: var(--text-light);
}

.footer__contact-item i {
	color: var(--secondary-color);
	flex-shrink: 0; /* Іконки не будуть стискатись */
}

.footer__contact-item .footer__link {
	color: var(--text-light);
}

.footer__contact-item .footer__link:hover {
	color: var(--secondary-color);
	padding-left: 0; /* Не потрібен відступ для контактних посилань */
}

.footer__bottom {
	text-align: center;
	margin-top: 3rem;
	padding-top: 2rem;
	border-top: 1px solid var(--border-color);
	opacity: 0.7;
	font-size: 0.9rem;
}

/* ==================== MEDIA QUERIES (Mobile-First) ==================== */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.header__burger {
		display: none;
	}

	.header__nav {
		position: static;
		left: 0;
		width: auto;
		height: auto;
		background-color: transparent;
		padding: 0;
		transition: none;
	}

	.header__nav-list {
		flex-direction: row;
		gap: 1.5rem;
	}

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

	.footer__container {
		/* 2 колонки */
		grid-template-columns: repeat(2, 1fr);
	}
}

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

	.footer__container {
		/* 4 колонки */
		grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
	}
}

/* ==================== MAIN CONTENT ==================== */
/* Це гарантує, що main починається після фіксованого хедера */
.main {
	padding-top: var(--header-height);
}

/* ==================== HERO SECTION ==================== */
.hero {
	width: 100%;
	padding: 3rem 0;
	overflow: hidden; /* Важливо для AOS анімацій */
}

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

.hero__image-wrapper {
	width: 100%;
	margin: 0 auto;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

.hero__content {
	text-align: center;
}

.hero__title {
	font-size: 1.5rem; /* 40px */
	line-height: 1.2;
	margin-bottom: 1.5rem;
}

.hero__title--highlight {
	color: var(--secondary-color);
	/* Ефект "технологічного" підсвічування */
	text-shadow: 0 0 10px rgba(0, 212, 255, 0.3);
}

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

.hero__cta {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	background-color: var(--primary-color);
	color: var(--white-color);
	font-family: var(--font-family-headings);
	font-weight: 500;
	font-size: 1.1rem;
	padding: 0.8rem 2rem;
	border-radius: 50px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero__cta i {
	transition: transform 0.3s ease;
}

.hero__cta:hover {
	color: var(--white-color);
	transform: translateY(-3px);
	box-shadow: 0 5px 15px rgba(10, 37, 64, 0.2);
}

.hero__cta:hover i {
	transform: translateX(5px);
}

/* ==================== MEDIA QUERIES (Hero) ==================== */

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

	.hero__container {
		/* Міняємо порядок: текст зліва, картинка справа */
		grid-template-columns: 1fr 1fr;
	}

	.hero__image-wrapper {
		/* Картинка тепер перша візуально (на мобілках була перша) */
		/* Але в HTML вона перша, тому міняємо порядок */
		order: 2; /* Картинка буде справа */
	}

	.hero__content {
		order: 1; /* Текст буде зліва */
		text-align: left;
	}

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

	.hero__title {
		font-size: 2rem; /* 48px */
	}
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
	.hero {
		/* Робимо секцію майже на повний екран */
		min-height: calc(100vh - var(--header-height));
		display: flex;
		align-items: center;
		padding: 2rem 0;
	}

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

.section {
	padding: 4rem 0;
	overflow: hidden; /* Для AOS */
}

.section__header {
	text-align: center;
	margin-bottom: 3rem;
	max-width: 700px;
	margin-left: auto;
	margin-right: auto;
}

.section__subtitle {
	display: inline-block;
	font-family: var(--font-family-headings);
	font-weight: 500;
	color: var(--secondary-color);
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin-bottom: 0.5rem;
}

.section__title {
	font-size: 2.25rem; /* 36px */
	line-height: 1.3;
	margin-bottom: 1rem;
}

.section__description {
	font-size: 1.1rem;
	color: var(--text-light);
}

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

/* ==================== AUDIT SECTION ==================== */
.audit__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.5rem;
}

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

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

.audit__icon-wrapper {
	display: inline-flex;
	justify-content: center;
	align-items: center;
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background-color: rgba(0, 212, 255, 0.1); /* Світлий фон для іконки */
	margin-bottom: 1.5rem;
}

.audit__icon-wrapper i {
	width: 28px;
	height: 28px;
	color: var(--secondary-color);
}

.audit__card-title {
	font-size: 1.5rem;
	margin-bottom: 0.75rem;
}

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

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

/* ==================== MEDIA QUERIES (Audit) ==================== */

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

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

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

.strategy {
	background-color: var(--white-color);
}

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

.strategy__image-wrapper {
	width: 100%;
	max-width: 450px;
	margin: 0 auto;
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

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

/* --- Accordion Styles --- */
.strategy__accordion {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.strategy__accordion-item {
	border: 1px solid var(--border-color);
	border-radius: 8px;
	overflow: hidden; /* Важливо для анімації max-height */
}

.strategy__accordion-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	padding: 1.5rem;
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
}

.strategy__accordion-title {
	font-size: 1.25rem;
	font-weight: 500;
	color: var(--primary-color);
}

.strategy__accordion-icon {
	color: var(--secondary-color);
	transition: transform 0.3s ease;
	flex-shrink: 0;
	margin-left: 1rem;
}

.strategy__accordion-content {
	max-height: 0; /* Приховано за замовчуванням */
	overflow: hidden;
	transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.strategy__accordion-content p {
	padding: 0 1.5rem 1.5rem;
	color: var(--text-light);
	line-height: 1.7;
}

/* --- Accordion Active State --- */
.strategy__accordion-item--active .strategy__accordion-content {
	/* Висота буде встановлена через JS, але можна і так: */
	max-height: 200px; /* Або достатньо велике значення */
}

.strategy__accordion-item--active .strategy__accordion-icon {
	transform: rotate(180deg);
}

/* ==================== MEDIA QUERIES (Strategy) ==================== */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.strategy__container {
		grid-template-columns: 1fr 1fr;
	}

	.strategy__image-wrapper {
		order: 1; /* Картинка зліва */
	}
	.strategy__content {
		order: 2; /* Акордеон справа */
	}
}

/* ==================== SKILLS SECTION ==================== */
.skills__tabs-container {
	max-width: 800px;
	margin: 0 auto;
	background-color: var(--white-color);
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
	border: 1px solid var(--border-color);
}

.skills__tabs-nav {
	display: flex;
    flex-direction: column;
	border-bottom: 1px solid var(--border-color);
}

@media (min-width: 768px) {
	.skills__tabs-nav {
		flex-direction: row;
	}
}

.skills__tab-button {
	flex: 1;
	display: inline-flex;
	justify-content: center;
	align-items: center;
	gap: 0.5rem;
	padding: 1.25rem 1rem;
	background: none;
	border: none;
	cursor: pointer;
	font-family: var(--font-family-headings);
	font-size: 1rem;
	font-weight: 500;
	color: var(--text-light);
	transition: color 0.3s ease, border-bottom 0.3s ease;
	border-bottom: 3px solid transparent;
}

.skills__tab-button i {
	width: 18px;
	height: 18px;
}

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

.skills__tab-button--active {
	color: var(--primary-color);
	border-bottom-color: var(--secondary-color);
}

/* --- Tabs Content --- */
.skills__tabs-content {
	padding: 2.5rem;
}

.skills__tab-content-item {
	display: none; /* Приховано за замовчуванням */
	animation: fadeIn 0.5s ease; /* Анімація появи */
}

.skills__tab-content-item--active {
	display: block; /* Показано */
}

.skills__content-title {
	font-size: 1.75rem;
	margin-bottom: 1rem;
}

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

.skills__tech-list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.skills__tech-list li {
	font-family: var(--font-family-headings);
	font-size: 0.9rem;
	background-color: rgba(10, 37, 64, 0.05); /* Дуже світлий primary */
	color: var(--primary-color);
	padding: 0.4rem 0.8rem;
	border-radius: 20px;
}

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

/* ==================== MEDIA QUERIES (Skills) ==================== */
@media (min-width: 768px) {
	.skills__tab-button {
		font-size: 1.1rem;
	}
}

/* ==================== MENTORING SECTION ==================== */
.mentoring {
	/* Чергуємо фон секцій для кращого візуального розділення */
	background-color: var(--background-color);
}

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

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

.mentoring__content-description {
	color: var(--text-light);
	line-height: 1.7;
	margin-bottom: 2rem;
}

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

.mentoring__list li {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-weight: 500;
}

.mentoring__list i {
	color: var(--secondary-color);
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

/* --- Feature Box --- */
.mentoring__feature-box {
	background-color: var(--primary-color);
	color: var(--white-color);
	padding: 2.5rem;
	border-radius: 12px;
	text-align: center;
	box-shadow: 0 10px 30px rgba(10, 37, 64, 0.2);
}

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

.mentoring__feature-icon i {
	width: 32px;
	height: 32px;
	color: var(--primary-color);
}

.mentoring__feature-title {
	font-size: 1.5rem;
	color: var(--white-color);
	margin-bottom: 1rem;
}

.mentoring__feature-description {
	color: var(--text-light);
	opacity: 0.9;
	margin-bottom: 2rem;
}

.mentoring__feature-description .section__description--highlight {
	color: var(--secondary-color);
	font-weight: 500;
}

.mentoring__feature-cta {
	display: inline-block;
	background-color: var(--secondary-color);
	color: var(--primary-color);
	font-family: var(--font-family-headings);
	font-weight: 500;
	padding: 0.75rem 1.75rem;
	border-radius: 50px;
	transition: background-color 0.3s ease, color 0.3s ease;
}

.mentoring__feature-cta:hover {
	background-color: var(--white-color);
	color: var(--primary-color);
}

/* ==================== MEDIA QUERIES (Mentoring) ==================== */

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
	.mentoring__container {
		grid-template-columns: 1fr 1fr;
		gap: 3rem;
	}
}

/* ==================== CONTACT SECTION ==================== */
.contact {
	background-color: var(--white-color);
}

.contact__container {
	display: grid;
	grid-template-columns: 1fr;
	gap: 3rem;
}

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

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

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

.contact__info-item {
	display: flex;
	align-items: center;
	gap: 1rem;
	color: var(--text-color);
}

.contact__info-item i {
	color: var(--secondary-color);
	width: 24px;
	height: 24px;
	flex-shrink: 0;
}

/* --- Contact Form --- */
.contact__form {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

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

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

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

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

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

.contact__form-checkbox {
	width: 1.25em;
	height: 1.25em;
	margin-top: 0.2em; /* Вирівнюємо по тексту */
	flex-shrink: 0;
	accent-color: var(--primary-color);
}

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

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

/* --- Form Button --- */
.contact__form-cta {
	width: 100%;
	padding: 1rem;
	background-color: var(--primary-color);
	color: var(--white-color);
	font-family: var(--font-family-headings);
	font-weight: 500;
	font-size: 1.1rem;
	border: none;
	border-radius: 8px;
	cursor: pointer;
	transition: background-color 0.3s ease, transform 0.3s ease;
}

.contact__form-cta:hover {
	background-color: #061a2f; /* Трохи темніший primary */
	transform: translateY(-2px);
}

/* --- Form Message (Success/Error) --- */
.contact__form-message {
	padding: 1rem 1.5rem;
	margin-top: 1.5rem;
	border-radius: 8px;
	font-size: 0.95rem;
	display: none; /* Приховано за замовчуванням */
}

.contact__form-message--success {
	display: block;
	background-color: rgba(0, 212, 255, 0.1);
	color: var(--primary-color);
	border: 1px solid var(--secondary-color);
}

.contact__form-message--error {
	display: block;
	background-color: #fff0f0;
	color: #d90429;
	border: 1px solid #d90429;
}

/* ==================== MEDIA QUERIES (Contact) ==================== */
@media (min-width: 992px) {
	.contact__container {
		grid-template-columns: 1fr 1fr;
		gap: 5rem;
	}
}

/* ==================== COOKIE BANNER ==================== */
.cookie-banner {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	background-color: var(--primary-color);
	color: var(--white-color);
	padding: 1.5rem 0;
	z-index: 101; /* Має бути вище за інші елементи, крім мобільного меню */
	box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);

	/* Сховано за замовчуванням */
	transform: translateY(100%);
	opacity: 0;
	transition: transform 0.5s ease-out, opacity 0.5s ease-out;
}

/* Модифікатор для плавного показу */
.cookie-banner--show {
	transform: translateY(0);
	opacity: 1;
}

.cookie-banner__container {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}

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

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

.cookie-banner__button {
	background-color: var(--secondary-color);
	color: var(--primary-color);
	border: none;
	padding: 0.6rem 1.75rem;
	border-radius: 50px;
	cursor: pointer;
	font-family: var(--font-family-headings);
	font-weight: 500;
	font-size: 0.95rem;
	flex-shrink: 0; /* Не стискати кнопку */
	transition: background-color 0.3s ease, color 0.3s ease;
}

.cookie-banner__button:hover {
	background-color: var(--white-color);
	color: var(--primary-color);
}

/* ==================== MEDIA QUERIES (Cookie) ==================== */
@media (min-width: 768px) {
	.cookie-banner__container {
		flex-direction: row;
	}
	.cookie-banner__text {
		text-align: left;
	}
}

.pages {
	padding: 6rem 0;
	background-color: var(--white-color);
	min-height: calc(
		100vh - var(--header-height) - 300px
	); /* (Viewport - Header - Footer) */
}

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

/* --- Заголовки --- */
.pages h1 {
	font-size: 1.5rem;
	color: var(--primary-color);
	margin-bottom: 2rem;
	line-height: 1.3;
}

.pages h2 {
	font-size: 1.5rem;
	color: var(--primary-color);
	margin-top: 2.5rem;
	margin-bottom: 1.5rem;
	line-height: 1.4;
}

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

/* --- Текст --- */
.pages p {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--text-color);
	margin-bottom: 1.5rem;
}

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

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

/* --- Списки --- */
.pages ul,
.pages ol {
	margin-left: 1.5rem;
	margin-bottom: 1.5rem;
	color: var(--text-color);
}

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

.pages ul {
	list-style-type: disc;
}

.pages ol {
	list-style-type: decimal;
}

/* ==================== MEDIA QUERIES (Pages) ==================== */
@media (min-width: 768px) {
	.pages h1 {
		font-size: 3rem;
	}
	.pages h2 {
		font-size: 2rem;
	}
	.pages p {
		font-size: 1.05rem;
	}
}
