/* --- VARIABLES --- */
:root {
	--primary-color: #0f172a; /* Темно-синий */
	--secondary-color: #1e293b; /* Светлее для футера */
	--accent-color: #3b82f6; /* Яркий синий/голубой */
	--accent-hover: #2563eb;
	--text-main: #334155;
	--text-light: #f8fafc;
	--text-muted: #94a3b8;
	--bg-body: #f1f5f9;
	--bg-white: #ffffff;

	--font-main: 'Inter', sans-serif;
	--font-heading: 'Space Grotesk', sans-serif;

	--container-width: 1200px;
	--header-height: 80px;
	--transition: all 0.3s ease;
}

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

html {
	scroll-behavior: smooth;
}

body {
	font-family: var(--font-main);
	font-size: 16px;
	line-height: 1.6;
	color: var(--text-main);
	background-color: var(--bg-body);
	overflow-x: hidden;
}

.no-scroll {
	overflow: hidden;
}

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

ul {
	list-style: none;
}

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

.container {
	max-width: var(--container-width);
	margin: 0 auto;
	padding: 0 20px;
}

/* --- BUTTONS --- */
.btn {
	display: inline-block;
	padding: 12px 28px;
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	color: var(--text-light);
	background-color: var(--accent-color);
	border: 2px solid var(--accent-color);
	border-radius: 6px;
	cursor: pointer;
	transition: var(--transition);
}

.btn:hover {
	background-color: transparent;
	color: var(--accent-color);
}

/* --- HEADER --- */
.header {
	position: sticky;
	top: 0;
	left: 0;
	width: 100%;
	height: var(--header-height);
	background-color: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid #e2e8f0;
	z-index: 1000;
	display: flex;
	align-items: center;
}

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

.header__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--primary-color);
}

.header__logo-text {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 24px;
	letter-spacing: -0.5px;
}

.header__nav {
	display: flex;
	align-items: center;
	gap: 40px;
}

.header__menu {
	display: flex;
	align-items: center;
	gap: 30px;
}

.header__link {
	font-weight: 500;
	font-size: 15px;
	color: var(--primary-color);
	position: relative;
}

.header__link::after {
	content: '';
	position: absolute;
	bottom: -4px;
	left: 0;
	width: 0;
	height: 2px;
	background-color: var(--accent-color);
	transition: var(--transition);
}

.header__link:hover::after,
.header__link--active::after {
	width: 100%;
}

.header__burger {
	display: none;
	flex-direction: column;
	justify-content: space-between;
	width: 30px;
	height: 20px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 1001;
}

.header__burger-line {
	width: 100%;
	height: 2px;
	background-color: var(--primary-color);
	transition: var(--transition);
}

/* Mobile Menu Styles */
@media (max-width: 992px) {
	.header__burger {
		display: flex;
	}

	.header__nav {
		position: fixed;
		top: -1000px;
		right: 0;
		width: 80%;
		height: 100vh;
		background-color: var(--bg-white);
		flex-direction: column;
		justify-content: center;
		padding: 40px;
		box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
		transition: var(--transition);
	}

	.header__nav--active {
		top: 0;
	}

	.header__menu {
		flex-direction: column;
		gap: 25px;
		margin-bottom: 30px;
	}

	.header__link {
		font-size: 18px;
	}

	/* Burger Animation */
	.header__burger--active .header__burger-line:nth-child(1) {
		transform: rotate(45deg) translate(5px, 6px);
	}
	.header__burger--active .header__burger-line:nth-child(2) {
		opacity: 0;
	}
	.header__burger--active .header__burger-line:nth-child(3) {
		transform: rotate(-45deg) translate(5px, -6px);
	}
}

/* --- FOOTER --- */
.footer {
	background-color: var(--primary-color);
	color: var(--text-light);
	padding: 60px 0 20px;
	margin-top: auto; /* Ensure footer sticks to bottom if content is short */
}

.footer__grid {
	display: grid;
	grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
	gap: 40px;
	margin-bottom: 40px;
}

.footer__logo {
	display: flex;
	align-items: center;
	gap: 10px;
	color: var(--bg-white);
	margin-bottom: 20px;
}

.footer__logo-text {
	font-family: var(--font-heading);
	font-weight: 700;
	font-size: 22px;
}

.footer__desc {
	font-size: 14px;
	color: var(--text-muted);
	margin-bottom: 20px;
	max-width: 300px;
}

.footer__socials {
	display: flex;
	gap: 15px;
}

.footer__social-link {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	background-color: var(--secondary-color);
	border-radius: 50%;
	color: var(--text-light);
	transition: var(--transition);
}

.footer__social-link:hover {
	background-color: var(--accent-color);
	transform: translateY(-3px);
}

.footer__title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	margin-bottom: 20px;
	color: var(--bg-white);
}

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

.footer__link {
	font-size: 14px;
	color: var(--text-muted);
	transition: var(--transition);
}

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

.footer__contact-item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: var(--text-muted);
	font-size: 14px;
}

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

.footer__bottom {
	padding-top: 20px;
	border-top: 1px solid var(--secondary-color);
	text-align: center;
}

.footer__copyright {
	font-size: 13px;
	color: var(--text-muted);
}

@media (max-width: 992px) {
	.footer__grid {
		grid-template-columns: 1fr 1fr;
	}
}

@media (max-width: 576px) {
	.footer__grid {
		grid-template-columns: 1fr;
	}
}

/* --- HERO SECTION --- */
.hero {
	background-color: var(--primary-color); /* Темний фон */
	color: var(--bg-white);
	padding: 80px 0;
	position: relative;
	overflow: hidden;
	min-height: 600px; /* Мінімальна висота */
	display: flex;
	align-items: center;
}

.hero__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 60px;
	align-items: center;
	position: relative;
	z-index: 2;
}

/* Badge */
.hero__badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background-color: rgba(59, 130, 246, 0.15);
	border: 1px solid rgba(59, 130, 246, 0.3);
	padding: 6px 16px;
	border-radius: 50px;
	font-size: 13px;
	font-weight: 600;
	color: #60a5fa; /* Світліший відтінок акценту */
	margin-bottom: 24px;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.hero__badge-dot {
	width: 8px;
	height: 8px;
	background-color: #60a5fa;
	border-radius: 50%;
	box-shadow: 0 0 10px #60a5fa;
	animation: pulse 2s infinite;
}

@keyframes pulse {
	0% {
		opacity: 1;
		transform: scale(1);
	}
	50% {
		opacity: 0.5;
		transform: scale(0.8);
	}
	100% {
		opacity: 1;
		transform: scale(1);
	}
}

/* Typography */
.hero__title {
	font-family: var(--font-heading);
	font-size: 48px;
	line-height: 1.1;
	font-weight: 700;
	margin-bottom: 24px;
}

.text-accent {
	color: var(--accent-color);
	background: linear-gradient(90deg, #3b82f6, #60a5fa);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero__desc {
	font-size: 18px;
	color: var(--text-muted); /* Світло-сірий на темному */
	margin-bottom: 40px;
	max-width: 480px;
	line-height: 1.6;
}

/* Actions */
.hero__actions {
	display: flex;
	align-items: center;
	gap: 24px;
	margin-bottom: 48px;
}

.hero__link-more {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--bg-white);
	font-weight: 600;
	transition: var(--transition);
}

.hero__link-more:hover {
	color: var(--accent-color);
	gap: 12px; /* Анімація стрілки */
}

/* Stats */
.hero__stats {
	display: flex;
	align-items: center;
	gap: 32px;
	padding-top: 32px;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero__stat-item {
	display: flex;
	flex-direction: column;
}

.hero__stat-num {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	color: var(--bg-white);
}

.hero__stat-label {
	font-size: 13px;
	color: var(--text-muted);
	text-transform: uppercase;
}

.hero__stat-divider {
	width: 1px;
	height: 40px;
	background-color: rgba(255, 255, 255, 0.1);
}

/* Visual Animation Container */
.hero__visual {
	position: relative;
	height: 400px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero__grid-wrapper {
	display: grid;
	grid-template-columns: repeat(10, 1fr);
	gap: 8px;
	width: 320px;
	height: 320px;
	transform: rotate(45deg); /* Ромбовидна структура */
}

.grid-item {
	width: 100%;
	height: 100%;
	background-color: rgba(59, 130, 246, 0.2);
	border-radius: 4px;
	transform-origin: center center;
}

/* Responsive */
@media (max-width: 992px) {
	.hero__container {
		grid-template-columns: 1fr;
		text-align: center;
	}

	.hero__badge,
	.hero__actions,
	.hero__stats {
		justify-content: center;
	}

	.hero__desc {
		margin: 0 auto 40px;
	}

	.hero__visual {
		margin-top: 40px;
		height: 300px;
	}
}

@media (max-width: 576px) {
	.hero__title {
		font-size: 36px;
	}

	.hero__actions {
		flex-direction: column;
		width: 100%;
	}

	.btn {
		width: 100%;
		text-align: center;
	}
}

/* --- COMMON SECTION STYLES --- */
.section {
	padding: 100px 0;
}

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

.section-tag {
	display: inline-block;
	font-size: 14px;
	font-weight: 600;
	color: var(--accent-color);
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 16px;
}

.section-title {
	font-family: var(--font-heading);
	font-size: 36px;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 20px;
	line-height: 1.2;
}

.section-desc {
	font-size: 16px;
	color: var(--text-main);
	line-height: 1.6;
}

/* --- ABOUT SECTION (Bento Grid) --- */
.about {
	background-color: var(--bg-body);
}

.about__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	grid-template-rows: auto auto;
	gap: 24px;
}

.about__card {
	background-color: var(--bg-white);
	padding: 40px 30px;
	border-radius: 16px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
	border: 1px solid transparent;
	position: relative;
	overflow: hidden;
}

.about__card:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
	border-color: rgba(59, 130, 246, 0.2);
}

/* Modifier: Large Card (Spans 2 columns) */
.about__card--large {
	grid-column: span 2;
}

/* Modifier: Dark Card */
.about__card--dark {
	background-color: var(--primary-color);
	color: var(--bg-white);
}

.about__card--dark .about__card-title {
	color: var(--bg-white);
}

.about__card--dark .about__card-text {
	color: var(--text-muted);
}

/* Modifier: Accent Card */
.about__card--accent {
	background-color: rgba(59, 130, 246, 0.05);
	border: 1px solid rgba(59, 130, 246, 0.2);
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.about__icon-box {
	width: 50px;
	height: 50px;
	background-color: rgba(59, 130, 246, 0.1);
	color: var(--accent-color);
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 24px;
}

.about__icon-box--light {
	background-color: rgba(255, 255, 255, 0.1);
	color: var(--bg-white);
}

.about__card-title {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	margin-bottom: 12px;
	color: var(--primary-color);
}

.about__card-text {
	font-size: 15px;
	line-height: 1.6;
	color: var(--text-main);
}

.about__badge {
	display: inline-block;
	background-color: #ef4444;
	color: white;
	font-size: 11px;
	font-weight: 700;
	padding: 4px 8px;
	border-radius: 4px;
	text-transform: uppercase;
	margin-bottom: 12px;
	align-self: flex-start;
}

.about__bg-icon {
	position: absolute;
	bottom: -20px;
	right: -20px;
	width: 120px;
	height: 120px;
	color: var(--accent-color);
	opacity: 0.1;
	pointer-events: none;
}

/* Responsive Grid */
@media (max-width: 992px) {
	.about__grid {
		grid-template-columns: 1fr 1fr;
	}
	.about__card--large {
		grid-column: span 2;
	}
}

@media (max-width: 650px) {
	.about__grid {
		grid-template-columns: 1fr;
	}
	.about__card--large {
		grid-column: span 1;
	}
}

/* --- OPPORTUNITIES SECTION --- */
.opportunities {
	background-color: var(--bg-white);
}

.opportunities__container {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: center;
}

.opportunities__visual {
	position: relative;
}

.opportunities__img {
	width: 100%;
	border-radius: 20px;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.opportunities__float-card {
	position: absolute;
	bottom: 40px;
	right: -20px;
	background: white;
	padding: 15px 25px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
	display: flex;
	align-items: center;
	gap: 12px;
	font-weight: 700;
	color: var(--primary-color);
	animation: float 3s ease-in-out infinite;
}

.opportunities__float-card i {
	color: #10b981; /* Green for growth */
}

@keyframes float {
	0% {
		transform: translateY(0px);
	}
	50% {
		transform: translateY(-10px);
	}
	100% {
		transform: translateY(0px);
	}
}

.opportunities__list {
	margin: 30px 0;
}

.opportunities__item {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 16px;
	font-weight: 500;
	color: var(--text-main);
}

.opportunities__cta-box {
	margin-top: 40px;
	padding: 24px;
	background-color: var(--bg-body);
	border-radius: 12px;
	border-left: 4px solid var(--accent-color);
}

.opportunities__cta-text {
	font-weight: 600;
	margin-bottom: 12px;
}

.btn--outline {
	background-color: transparent;
	color: var(--accent-color);
	padding: 10px 24px;
}

.btn--outline:hover {
	background-color: var(--accent-color);
	color: white;
}

/* Responsive Opportunities */
@media (max-width: 992px) {
	.opportunities__container {
		grid-template-columns: 1fr;
		gap: 40px;
	}

	.opportunities__visual {
		order: -1; /* Image on top on mobile */
		max-width: 500px;
		margin: 0 auto;
	}
}

/* --- BLOG SECTION --- */
.blog {
	background-color: var(--bg-body);
}

.blog__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
}

.blog__card {
	background-color: var(--bg-white);
	border-radius: 16px;
	overflow: hidden;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
	transition: var(--transition);
	display: flex;
	flex-direction: column;
}

.blog__card:hover {
	transform: translateY(-10px);
	box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.blog__image-wrapper {
	height: 200px;
	overflow: hidden;
	position: relative;
}

.blog__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.5s ease;
}

.blog__card:hover .blog__img {
	transform: scale(1.05);
}

.blog__category {
	position: absolute;
	top: 15px;
	left: 15px;
	background-color: var(--bg-white);
	color: var(--primary-color);
	padding: 4px 10px;
	border-radius: 4px;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.blog__content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	flex-grow: 1;
}

.blog__meta {
	display: flex;
	align-items: center;
	font-size: 13px;
	color: var(--text-muted);
	margin-bottom: 12px;
}

.blog__dot {
	width: 4px;
	height: 4px;
	background-color: var(--text-muted);
	border-radius: 50%;
	margin: 0 8px;
}

.blog__title {
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 700;
	color: var(--primary-color);
	margin-bottom: 12px;
	line-height: 1.4;
}

.blog__excerpt {
	font-size: 14px;
	color: var(--text-main);
	margin-bottom: 20px;
	flex-grow: 1; /* Pushes link to bottom */
}

.blog__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-size: 14px;
	font-weight: 600;
	color: var(--accent-color);
	transition: var(--transition);
}

.blog__link:hover {
	gap: 10px;
}

/* --- FAQ SECTION --- */
.faq {
	background-color: var(--bg-white);
}

.faq__container {
	display: grid;
	grid-template-columns: 1fr 1.5fr;
	gap: 60px;
	align-items: start;
}

.faq__header-block {
	position: sticky;
	top: 100px; /* Sticks when scrolling */
}

.faq__btn {
	margin-top: 20px;
}

.faq__list {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.faq__item {
	border: 1px solid #e2e8f0;
	border-radius: 12px;
	overflow: hidden;
	transition: var(--transition);
}

.faq__item--active {
	border-color: var(--accent-color);
	background-color: #f8fafc;
}

.faq__question {
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 20px 24px;
	background: none;
	border: none;
	text-align: left;
	cursor: pointer;
	font-family: var(--font-heading);
	font-size: 18px;
	font-weight: 600;
	color: var(--primary-color);
}

.faq__icon {
	color: var(--accent-color);
	transition: transform 0.3s ease;
}

.faq__item--active .faq__icon {
	transform: rotate(45deg); /* Turns plus to cross */
}

.faq__answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height 0.3s cubic-bezier(0, 1, 0, 1); /* Smooth slide */
}

.faq__item--active .faq__answer {
	max-height: 200px; /* Arbitrary large number */
	transition: max-height 0.3s ease-in-out;
}

.faq__answer-inner {
	padding: 0 24px 24px;
	font-size: 15px;
	color: var(--text-main);
	line-height: 1.6;
}

/* Responsive Blog & FAQ */
@media (max-width: 992px) {
	.blog__grid {
		grid-template-columns: 1fr 1fr;
	}

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

	.faq__header-block {
		position: static;
		text-align: center;
		margin-bottom: 20px;
	}
}

@media (max-width: 600px) {
	.blog__grid {
		grid-template-columns: 1fr;
	}
}

/* --- CONTACT SECTION --- */
.contact {
	background-color: var(--primary-color);
	color: var(--bg-white);
	position: relative;
}

/* Декоративний фон (світіння) */
.contact::before {
	content: '';
	position: absolute;
	top: -100px;
	right: 0;
	width: 500px;
	height: 500px;
	background: radial-gradient(
		circle,
		rgba(59, 130, 246, 0.15) 0%,
		rgba(15, 23, 42, 0) 70%
	);
	pointer-events: none;
}

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

.contact__title {
	font-family: var(--font-heading);
	font-size: 36px;
	font-weight: 700;
	margin-bottom: 20px;
}

.contact__desc {
	color: var(--text-muted);
	margin-bottom: 40px;
	max-width: 450px;
}

.contact__info {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.contact__info-item {
	display: flex;
	align-items: center;
	gap: 16px;
}

.contact__icon-box {
	width: 48px;
	height: 48px;
	background-color: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--accent-color);
}

.contact__label {
	font-size: 12px;
	text-transform: uppercase;
	color: var(--text-muted);
	margin-bottom: 4px;
}

.contact__link {
	font-size: 16px;
	font-weight: 500;
	color: var(--bg-white);
}

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

/* Form Styles */
.contact__form-wrapper {
	background-color: var(--bg-white);
	padding: 40px;
	border-radius: 16px;
	color: var(--primary-color);
	position: relative; /* Для absolute positioning success message */
	min-height: 460px; /* Щоб блок не стрибав при зміні контенту */
}

.contact__form-title {
	font-family: var(--font-heading);
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 24px;
}

.form-group {
	margin-bottom: 20px;
}

.form-label {
	display: block;
	font-size: 14px;
	font-weight: 600;
	margin-bottom: 8px;
}

.form-input {
	width: 100%;
	padding: 12px 16px;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	font-family: var(--font-main);
	font-size: 15px;
	transition: var(--transition);
}

.form-input:focus {
	outline: none;
	border-color: var(--accent-color);
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.form-checkbox {
	display: flex;
	gap: 10px;
	align-items: flex-start;
	margin-bottom: 30px;
	font-size: 13px;
	color: var(--text-main);
}

.form-checkbox input {
	margin-top: 3px;
	cursor: pointer;
}

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

/* Success Message */
.contact__success {
	display: none; /* Hidden by default */
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-color: var(--bg-white);
	border-radius: 16px;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 40px;
	animation: fadeIn 0.5s ease;
}

.success-icon {
	width: 60px;
	height: 60px;
	background-color: #10b981;
	color: white;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
}

.contact__success h3 {
	font-family: var(--font-heading);
	font-size: 24px;
	margin-bottom: 10px;
}

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

/* Button Loader */
.btn-loader {
	display: none;
	width: 20px;
	height: 20px;
	border: 2px solid #ffffff;
	border-bottom-color: transparent;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% {
		transform: rotate(0deg);
	}
	100% {
		transform: rotate(360deg);
	}
}

/* --- COOKIE POPUP --- */
.cookie-popup {
	position: fixed;
	bottom: 30px;
	left: 30px;
	z-index: 9999;
	max-width: 400px;
	background-color: var(--bg-white);
	padding: 20px;
	border-radius: 12px;
	box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
	border-left: 5px solid var(--accent-color);
	opacity: 0;
	transform: translateY(20px);
	transition: all 0.5s ease;
	pointer-events: none; /* Щоб не заважав, поки невидимий */
}

.cookie-popup.show {
	opacity: 1;
	transform: translateY(0);
	pointer-events: all;
}

.cookie-content p {
	font-size: 14px;
	color: var(--text-main);
	margin-bottom: 15px;
}

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

.cookie-btn {
	padding: 8px 20px;
	font-size: 13px;
}

/* --- POLICY PAGES STYLES (pages section) --- */
.pages {
	padding: 120px 0 80px; /* Більший відступ зверху, бо хедер фіксований */
	min-height: 80vh;
	background-color: var(--bg-white);
}

.pages h1 {
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	margin-bottom: 30px;
	color: var(--primary-color);
	padding-bottom: 20px;
	border-bottom: 1px solid #e2e8f0;
}

.pages h2 {
	font-family: var(--font-heading);
	font-size: 24px;
	margin: 30px 0 15px;
	color: var(--primary-color);
}

.pages p {
	margin-bottom: 15px;
	color: var(--text-main);
}

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

.pages li {
	margin-bottom: 8px;
	color: var(--text-main);
}

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

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

/* Responsive Contact */
@media (max-width: 992px) {
	.contact__container {
		grid-template-columns: 1fr;
	}

	.cookie-popup {
		left: 20px;
		right: 20px;
		bottom: 20px;
		max-width: none;
	}
}
