/*
 * Hottabych footer.
 *
 * Palette matches the reviews block that sits directly above it, so the two read
 * as one warm band closing the page instead of two unrelated sections.
 */

.hbf {
	--hbf-bg: #fbf8f3;
	--hbf-card: #fff;
	--hbf-ink: #241c14;
	--hbf-mut: #7d6c58;
	--hbf-line: #e8e0d3;
	--hbf-gold: #c19a4b;
	--hbf-brand: #992238;

	background: var(--hbf-bg);
	border-top: 1px solid var(--hbf-line);
	color: var(--hbf-ink);
	font-size: 15px;
	line-height: 1.6;
}

.hbf ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.hbf a {
	color: inherit;
	text-decoration: none;
	transition: color .15s ease;
}

.hbf a:hover,
.hbf a:focus-visible {
	color: var(--hbf-brand);
}

.hbf :focus-visible {
	outline: 2px solid var(--hbf-brand);
	outline-offset: 3px;
	border-radius: 3px;
}

.hbf .hbf-i {
	flex: none;
	width: 18px;
	height: 18px;
}

/* ------------------------------------------------------------------ layout */

.hbf-top {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 34px 22px;
	padding: 48px 0 8px;
}

.hbf-brand {
	grid-column: 1 / -1;
}

@media (min-width: 600px) {
	.hbf-top {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (min-width: 992px) {
	.hbf-top {
		grid-template-columns: minmax(0, 1.55fr) repeat(4, minmax(0, 1fr));
		gap: 40px 30px;
		padding: 60px 0 12px;
	}

	.hbf-brand {
		grid-column: auto;
		padding-right: 24px;
	}
}

/* ------------------------------------------------------------------- brand */

.hbf-logo {
	display: inline-block;
}

.hbf-logo img {
	display: block;
	width: 220px;
	max-width: 100%;
	height: auto;
}

.hbf-about {
	margin: 18px 0 0;
	max-width: 34em;
	color: var(--hbf-mut);
	font-size: 14px;
}

.hbf-contact {
	display: grid;
	gap: 11px;
	margin-top: 20px;
}

.hbf-contact li {
	display: grid;
	grid-template-columns: 18px minmax(0, 1fr);
	align-items: start;
	gap: 10px;
}

.hbf-contact .hbf-i {
	margin-top: 3px;
	color: var(--hbf-gold);
}

.hbf-contact a,
.hbf-contact span {
	overflow-wrap: anywhere;
}

.hbf-phone {
	font-weight: 600;
	letter-spacing: .01em;
	white-space: nowrap;
}

.hbf-social {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 22px;
}

.hbf-social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border: 1px solid var(--hbf-line);
	border-radius: 50%;
	background: var(--hbf-card);
	color: var(--hbf-mut);
	transition: color .15s ease, background-color .15s ease, border-color .15s ease;
}

.hbf-social a:hover,
.hbf-social a:focus-visible {
	background: var(--hbf-brand);
	border-color: var(--hbf-brand);
	color: #fff;
}

/* Logo glyphs fill their box edge to edge; the outline icons have air around them. */
.hbf-social .hbf-mark {
	width: 17px;
	height: 17px;
}

.hbf-social .hbf-s-viber a:hover,
.hbf-social .hbf-s-viber a:focus-visible {
	background: #7360f2;
	border-color: #7360f2;
}

.hbf-social .hbf-s-whatsapp a:hover,
.hbf-social .hbf-s-whatsapp a:focus-visible {
	background: #25d366;
	border-color: #25d366;
}

.hbf-rating {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: 20px;
	padding: 8px 14px;
	border: 1px solid var(--hbf-line);
	border-radius: 999px;
	background: var(--hbf-card);
	font-size: 13px;
	line-height: 1;
}

.hbf-rating .hbf-i {
	width: 15px;
	height: 15px;
	color: var(--hbf-gold);
}

.hbf-rating b {
	font-weight: 700;
}

.hbf-rating span {
	color: var(--hbf-mut);
}

.hbf-rating:hover {
	border-color: var(--hbf-gold);
}

/* ----------------------------------------------------------- link columns */

.hbf-h {
	margin: 0 0 15px;
	color: var(--hbf-mut);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .14em;
	line-height: 1.4;
	text-transform: uppercase;
}

.hbf-list li + li {
	margin-top: 9px;
}

/*
 * Block, not inline-block: the widget footer set inline-block on these anchors,
 * so "Политика конфиденциальности" — one 20-character word wider than its
 * 130px column — overflowed and printed on top of the next column.
 */
.hbf-list a {
	display: block;
	max-width: 100%;
	overflow-wrap: anywhere;
	font-size: 14.5px;
}

/* ------------------------------------------------------------------ strips */

.hbf-strips {
	display: grid;
	gap: 12px;
	margin-top: 34px;
	padding: 22px 0 4px;
	border-top: 1px solid var(--hbf-line);
}

.hbf-strip {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 10px;
	font-size: 13.5px;
	color: var(--hbf-mut);
}

.hbf-strip-label {
	font-weight: 600;
	color: var(--hbf-ink);
	white-space: nowrap;
}

.hbf-strip ul {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 8px;
}

.hbf-strip li + li::before {
	content: "·";
	margin-right: 8px;
	color: var(--hbf-gold);
}

.hbf-strip a {
	color: var(--hbf-mut);
	border-bottom: 1px solid transparent;
}

.hbf-strip a:hover,
.hbf-strip a:focus-visible {
	border-bottom-color: currentColor;
}

/* ------------------------------------------------------------- bottom bar */

.hbf-bottom {
	margin-top: 26px;
	border-top: 1px solid var(--hbf-line);
	padding: 16px 0;
}

.hbf-bottom .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 26px;
}

.hbf-legal {
	margin: 0;
	color: var(--hbf-mut);
	font-size: 12.5px;
}

.hbf-dev {
	white-space: nowrap;
}

.hbf-dev::before {
	content: "·";
	margin: 0 8px;
	color: var(--hbf-gold);
}

.hbf-heart {
	color: var(--hbf-brand);
}

.hbf-pay {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--hbf-mut);
	font-size: 12.5px;
}

.hbf-pay img {
	display: block;
	width: auto;
	height: 22px;
}

/*
 * Cut to the tiles baked into payment.png: 45×29 px, top-aligned, ~5 px apart in
 * a 32 px strip — at the 22 px display height that is 31×20 with a ~3 px gap.
 */
.hbf-pay .hbf-mono {
	align-self: flex-start;
	width: 31px;
	height: 20px;
	margin-right: -7px;
	border-radius: 3px;
	object-fit: cover;
}

@media (max-width: 575px) {
	.hbf-bottom .container {
		justify-content: flex-start;
	}

	.hbf-dev {
		display: block;
	}

	.hbf-dev::before {
		content: none;
	}
}

@media (prefers-reduced-motion: reduce) {
	.hbf a,
	.hbf-social a {
		transition: none;
	}
}
