.contact-widget {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: 9990;
	font-family: inherit;
}

.contact-widget__panel {
	position: absolute;
	right: 0;
	bottom: calc(100% + 12px);
	min-width: 240px;
	width: fit-content;
	padding: 28px 20px 24px 20px;
	overflow: hidden;
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.contact-widget__panel[hidden] {
	display: none;
}

.contact-widget__section + .contact-widget__section {
	margin-top: 12px;
}

.contact-widget__section-title {
	margin: 0 0 6px;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 18px;
	line-height: 120%;
	font-weight: 500;
	color: #000;
}

.contact-widget__list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.contact-widget__item + .contact-widget__item {
	margin-top: 2px;
}

.contact-widget__link {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 -12px;
	padding: 6px 12px;
	border-radius: 6px;
	color: #000;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.contact-widget__link:hover,
.contact-widget__link:focus {
	background-color: #f0f0f0;
	color: #000;
	text-decoration: none;
}

.contact-widget__icon {
	display: flex;
	flex-shrink: 0;
	width: 24px;
	height: 24px;
}

.contact-widget__icon svg {
	display: block;
	width: 24px;
	height: 24px;
}

.contact-widget__text {
	font-size: 16px;
	line-height: 120%;
	font-weight: 400;
}

.contact-widget__toggle {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 1px solid #BF2C2A;
	border-radius: 50%;
	background: #BF2C2A;
	color: #fff;
	box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
	cursor: pointer;
	transition: all 0.3s ease;
}

.contact-widget__toggle:hover,
.contact-widget__toggle:focus,
.contact-widget.is-open .contact-widget__toggle {
	background: #fff;
	border-color: #0B0B0B;
	color: #BF2C2A;
	outline: none;
}

.contact-widget__toggle-icon {
	display: flex;
	align-items: center;
	justify-content: center;
}

.contact-widget__toggle-icon--open svg {
	width: 44px;
	height: 44px;
	transform: translateY(-1px);
}

.contact-widget__toggle-icon svg {
	display: block;
}

.contact-widget__toggle-icon svg path,
.contact-widget__toggle-icon svg rect {
	fill: currentColor;
	transition: fill 0.3s ease;
}

.contact-widget__toggle-icon--close {
	display: none;
}

.contact-widget__toggle-icon--close svg {
	width: 20px;
	height: 20px;
	transform: translateY(-2px);
}

.contact-widget.is-open .contact-widget__toggle-icon--open {
	display: none;
}

.contact-widget.is-open .contact-widget__toggle-icon--close {
	display: flex;
}

@media (max-width: 575px) {
	.contact-widget {
		right: 16px;
		bottom: 16px;
	}

	.contact-widget__panel {
		min-width: 220px;
	}
}
