@import url("https://fonts.googleapis.com/css2?family=Jost:wght@400;500;600;700&family=Poppins:wght@400;500;600;700&display=swap");

.hbs-footer.hbs-footer-v3 {
	--hbs-demo-border: #e5e7eb;
	--hbs-demo-muted: #6b7280;
	--hbs-demo-primary: #1a1a2e;
	--hbs-demo-nl-bg: #1e2a3a;
	--hbs-demo-footer-bg: #e8eef3;
	color: #111827;
	font-family: Poppins, Jost, sans-serif;
}
.hbs-footer.hbs-footer-v3 .hbs-footer-company-item:has(> .hbs-footer-company-value:empty) {
	display: none;
}
/* ============================= FOOTER V3 ============================= */

.hbs-footer-v3 {
	font-family: inherit;
}

.hbs-footer-v3__newsletter {
	background: var(--hbs-demo-nl-bg);
	padding: 44px 0;
	color: #fff;
}

.hbs-footer-v3__newsletter-inner {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 40px;
	flex-wrap: wrap;
}

.hbs-footer-v3__newsletter-copy {
	flex: 1 1 420px;
	max-width: 620px;
}

.hbs-footer-v3__newsletter-kicker {
	margin: 0 0 10px;
	font-size: 14px;
}

.hbs-footer-v3__newsletter-title {
	margin: 0;
	font-size: clamp(24px, 3vw, 34px);
	font-weight: 700;
	line-height: 1.25;
}

.hbs-footer-v3__newsletter-form-wrap {
	flex: 1 1 360px;
	max-width: 520px;
}

.hbs-footer-v3__newsletter-form {
	display: flex;
	align-items: center;
	background: #fff;
	border-radius: 999px;
	overflow: hidden;
	padding: 4px 4px 4px 18px;
	margin: 0;
	min-height: 52px;
}

.hbs-footer-v3__newsletter-form input[type="email"] {
	flex: 1;
	min-width: 0;
	border: 0;
	background: transparent;
	padding: 12px 12px 12px 4px;
	font-size: 15px;
	line-height: 1.4;
	color: #111;
	margin: 0;
	box-shadow: none;
	outline: none;
}

.hbs-footer-v3__newsletter-form input[type="email"]:focus {
	outline: none;
	box-shadow: none;
}

.hbs-footer-v3__newsletter-form button {
	flex-shrink: 0;
	border: 0;
	cursor: pointer;
	padding: 12px 22px;
	min-height: 44px;
	font-size: 14px;
	font-weight: 600;
	color: #fff;
	background: var(--hbs-demo-nl-bg);
	margin: 0;
	border-radius: 999px;
}

.hbs-footer-v3__newsletter-consent {
	margin: 12px 0 0;
	font-size: 12px;
	line-height: 1.5;
	color: #cbd5e1;
}

.hbs-footer-v3__consent-link {
	color: #fff;
	text-decoration: underline;
}

.hbs-footer-v3__main {
	background: var(--hbs-demo-footer-bg);
	padding: 48px 0 40px;
}

.hbs-footer-v3__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 32px 28px;
	align-items: start;
}

.hbs-footer-v3__grid--with-company {
	grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.35fr);
}

.hbs-footer-company-item {
	margin: 0 0 14px;
}

.hbs-footer-company-label {
	display: block;
	margin: 0 0 4px;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: var(--hbs-demo-muted);
}

.hbs-footer-company-value {
	margin: 0;
	font-size: 14px;
	line-height: 1.55;
	color: #374151;
}

.hbs-footer-company-value a,
#colophon.hbs-footer.hbs-footer-v3 .hbs-footer-company-value a {
	color: #374151;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.hbs-footer-v3__contact-line {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0 0 14px;
	font-size: 14px;
	line-height: 1.5;
	color: #374151;
}

.hbs-footer-v3__contact-line i {
	margin-top: 3px;
	color: var(--hbs-demo-muted);
}

.hbs-footer-v3__social-title,
.hbs-footer-v3__widget-title {
	margin: 0 0 12px;
	font-size: 15px;
	font-weight: 700;
	color: #111827;
}

.hbs-footer-v3__socials {
	display: flex;
	gap: 8px;
	margin-bottom: 18px;
}

.hbs-footer-v3__socials a {
	width: 34px;
	height: 34px;
	border-radius: 50%;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background: #fff;
	color: #374151;
	text-decoration: none;
}

.hbs-footer-v3__socials a:hover,
.hbs-footer-v3__socials a:focus {
	background: var(--hbs-demo-nl-bg);
	color: #fff;
}

.hbs-footer-v3__currency-pill {
	display: inline-flex;
	align-items: center;
	padding: 0 14px;
	min-height: 36px;
	border-radius: 999px;
	background: var(--hbs-demo-nl-bg);
	color: #fff;
	font-size: 13px;
	font-weight: 600;
}

.hbs-footer-v3__menu,
.hbs-footer-v3__menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.hbs-footer-v3__menu li {
	margin: 0 0 10px;
}

.hbs-footer-v3__menu a {
	color: #374151;
	text-decoration: none;
	font-size: 14px;
}

.hbs-footer-v3__menu a:hover,
.hbs-footer-v3__menu a:focus {
	color: #111827;
}

.hbs-footer-v3__office-address,
.hbs-footer-v3__office-line {
	margin: 0 0 10px;
	font-size: 14px;
	line-height: 1.55;
	color: #374151;
}

.hbs-footer-v3__bottom {
	background: #f3f6f8;
	padding: 18px 0;
}

.hbs-footer-v3__bottom-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex-wrap: wrap;
}

.hbs-footer-v3__policies {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
}

.hbs-footer-v3__policies a {
	color: var(--hbs-demo-muted);
	font-size: 13px;
	text-decoration: none;
}

.hbs-footer-v3__policies a:hover,
.hbs-footer-v3__policies a:focus {
	color: #111;
}

.hbs-footer-v3__copyright {
	margin: 0;
	font-size: 13px;
	color: var(--hbs-demo-muted);
}

.hbs-footer-v3__payments {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hbs-footer-v3__payments .hbs-pay-badge {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 26px;
	overflow: hidden;
	border-radius: 4px;
	background: #fff;
	box-shadow: 0 0 0 1px rgba(17, 24, 39, 0.12);
}

.hbs-footer-v3__payments img,
.hbs-footer-v3__payments .hbs-pay-badge img {
	display: block;
	height: 26px;
	width: auto;
	max-height: 26px;
}

@media (max-width: 1199px) {
	.hbs-footer-v3__grid,
	.hbs-footer-v3__grid--with-company {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hbs-footer-v3__company-col {
		grid-column: 1 / -1;
	}
}

@media (max-width: 767px) {
	.hbs-footer-v3__grid {
		grid-template-columns: 1fr;
	}

	.hbs-footer-v3__newsletter-inner {
		flex-direction: column;
	}
}

.back-to-top {
	position: fixed;
	right: 30px;
	bottom: -80px;
	z-index: 999;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	color: #fff;
	background: #1a1a2e;
	border: 0;
	border-radius: 50%;
	cursor: pointer;
	transition: background 0.25s ease, bottom 0.25s ease, transform 0.25s ease;
}
.back-to-top-icon { display: inline-flex; line-height: 1; }
.back-to-top-icon svg { display: block; }
.back-to-top:hover { background: #111; transform: translateY(-2px); }
.show-back-to-top { bottom: 30px; }
