/**
 * Haris Footer for Elementor — frontend styles.
 * Colours, sizes and spacing come from the Elementor Style tab;
 * the values here are structural fallbacks only.
 */

.haris-footer {
	--haris-ft-cols-mobile: 2;
	position: relative;
	display: flex;
	justify-content: center;
	width: 100%;
	padding: 80px 70px 40px;
	border: 0 solid rgba(255, 255, 255, 0.07);
	border-top-width: 1px;
	background-color: #0a0a0a;
}

.haris-footer,
.haris-footer *,
.haris-footer *::before,
.haris-footer *::after {
	box-sizing: border-box;
}

.haris-footer__inner {
	width: 100%;
	max-width: 1180px;
}

/* -------------------------------------------------------------- Top rows */

.haris-footer__top {
	--haris-ft-brand: 44%;
	display: flex;
	align-items: flex-start;
	gap: 60px;
}

.haris-footer__brand {
	flex: 0 0 var(--haris-ft-brand, 44%);
	max-width: var(--haris-ft-brand, 44%);
	min-width: 0;
}

.haris-footer__columns {
	display: flex;
	flex: 1 1 auto;
	gap: 48px;
	min-width: 0;
}

.haris-footer__column {
	flex: 1 1 0;
	min-width: 0;
}

/* ------------------------------------------------------------------ Logo */

.haris-footer__logo {
	display: inline-flex;
	align-items: baseline;
	gap: 4px;
	margin-bottom: 22px;
	color: inherit;
	text-decoration: none;
}

.haris-footer__logo-main {
	color: #fff;
	font-size: 22px;
	font-weight: 500;
	letter-spacing: 0.5px;
	line-height: 1.2;
}

.haris-footer__logo-accent {
	color: #fff;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 22px;
	font-style: italic;
	font-weight: 400;
	line-height: 1.2;
}

.haris-footer__logo-img {
	display: block;
	width: 170px;
	max-width: 100%;
	height: auto;
}

a.haris-footer__logo:focus-visible,
a.haris-footer__social-link:focus-visible,
a.haris-footer__link:focus-visible,
a.haris-footer__top-link:focus-visible {
	outline: 2px solid currentColor;
	outline-offset: 3px;
}

/* ----------------------------------------------------------- Description */

.haris-footer__desc {
	max-width: 330px;
	margin: 0 0 34px;
	color: #8f8f8f;
	font-size: 13px;
	line-height: 1.75;
}

.haris-footer__desc p {
	margin: 0 0 1em;
}

.haris-footer__desc p:last-child {
	margin-bottom: 0;
}

/* --------------------------------------------------------------- Socials */

.haris-footer__socials {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.haris-footer__social {
	margin: 0;
	padding: 0;
}

.haris-footer__social-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	color: #b9b9b9;
	font-family: "Courier New", Courier, monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.5px;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.3s ease;
}

.haris-footer__social-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 1em;
	line-height: 1;
}

.haris-footer__social-icon i,
.haris-footer__social-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	font-size: inherit;
	fill: currentColor;
}

/* --------------------------------------------------------- Link columns */

.haris-footer__col-title {
	margin: 0 0 22px;
	color: #c9a227;
	font-family: "Courier New", Courier, monospace;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 1.2px;
	line-height: 1.2;
	text-transform: uppercase;
}

.haris-footer__links {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.haris-footer__link-item {
	margin: 0;
	padding: 0;
}

.haris-footer__link {
	display: inline-block;
	color: #d6d6d6;
	font-size: 14px;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.3s ease,
		transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

/* --------------------------------------------------------------- Divider */

.haris-footer__divider {
	display: block;
	width: 100%;
	height: 1px;
	margin: 56px 0 26px;
	background-color: rgba(255, 255, 255, 0.09);
}

/* ------------------------------------------------------------ Bottom bar */

.haris-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.haris-footer__copy {
	color: #7e7e7e;
	font-size: 13px;
	line-height: 1.5;
}

.haris-footer__top-link {
	display: inline-flex;
	align-items: center;
	gap: 9px;
	color: #b9b9b9;
	font-family: "Courier New", Courier, monospace;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.5px;
	line-height: 1.4;
	text-decoration: none;
	transition: color 0.3s ease;
}

.haris-footer__top-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	line-height: 1;
	transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.haris-footer__top-icon i,
.haris-footer__top-icon svg {
	display: block;
	width: 1em;
	height: 1em;
	font-size: inherit;
	fill: none;
}

.haris-footer__top-icon i {
	fill: currentColor;
}

.haris-footer__top-link:hover .haris-footer__top-icon {
	transform: translateY(-3px);
}

/* ------------------------------------------------------------ Responsive */

@media (max-width: 1024px) {
	.haris-footer {
		padding: 64px 32px 32px;
	}

	.haris-footer--stack-tablet .haris-footer__top {
		flex-direction: column;
	}

	.haris-footer--stack-tablet .haris-footer__brand,
	.haris-footer--stack-tablet .haris-footer__columns {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
	}
}

@media (max-width: 767px) {
	.haris-footer {
		padding: 48px 20px 24px;
	}

	.haris-footer--stack-mobile .haris-footer__top {
		flex-direction: column;
	}

	.haris-footer--stack-mobile .haris-footer__brand,
	.haris-footer--stack-mobile .haris-footer__columns {
		flex: 0 0 auto;
		width: 100%;
		max-width: 100%;
	}

	/* Short link lists usually still fit two across on a phone. */
	.haris-footer__columns {
		display: grid;
		grid-template-columns: repeat(var(--haris-ft-cols-mobile, 2), minmax(0, 1fr));
	}

	.haris-footer__desc {
		max-width: 100%;
	}

	.haris-footer__bottom {
		flex-direction: column;
		align-items: flex-start;
	}
}

/* ------------------------------------------------------------ A11y / RM */

@media (prefers-reduced-motion: reduce) {
	.haris-footer *,
	.haris-footer *::before,
	.haris-footer *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
