/* ===== Кнопка «Заявка» в шапке ===== */
.np-contact-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	width: var(--np-btn-w, auto);
	height: var(--np-btn-h, 44px);
	padding: 0 22px;
	border: none;
	border-radius: var(--np-btn-radius, 50px);
	margin-bottom: var(--np-btn-mb, 0);
	align-self: center;
	background: #a0009b;
	color: #fff;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: var(--np-btn-fs, 15px);
	line-height: 1;
	cursor: pointer;
	white-space: nowrap;
	transition: background 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	box-shadow: 0 8px 20px rgba(160, 0, 155, 0.28);
}

.np-contact-button__icon {
	display: none;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
}

.np-contact-button__icon .np-ico {
	width: 100%;
	height: 100%;
	display: block;
}

.np-contact-button:hover,
.np-contact-button:focus {
	background: #8c0087;
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 24px rgba(160, 0, 155, 0.36);
}

.np-contact-button:active {
	transform: translateY(0);
}

/* ===== Модальное окно ===== */
.np-contact-modal {
	position: fixed;
	inset: 0;
	z-index: 99999;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.np-contact-modal.is-open {
	display: flex;
}

.np-contact-modal__overlay {
	position: absolute;
	inset: 0;
	background: rgba(10, 10, 18, 0.66);
	backdrop-filter: blur(4px);
}

.np-contact-modal__box {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 420px;
	max-height: 88vh;
	overflow-y: auto;
	background: #fff;
	border-radius: 25px;
	box-shadow: 0 24px 70px rgba(0, 0, 0, 0.35);
	padding: 30px 26px 26px;
	font-family: "Montserrat", sans-serif;
	animation: npFadeUp 0.3s ease;
}

.np-contact-modal__close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: none;
	border-radius: 50%;
	background: #f4f4f4;
	color: #333;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
	line-height: 1;
	flex-shrink: 0;
	cursor: pointer;
	transition: background 0.2s ease;
}

.np-contact-modal__close:hover {
	background: #ececec;
}

.np-contact-modal__close svg {
	width: 18px;
	height: 18px;
	display: block;
}

.np-contact-modal__title {
	font-size: var(--np-modal-title-fs, 22px);
	font-weight: 800;
	line-height: 1.25;
	color: #222;
	margin: 0 0 20px;
	padding-right: 30px;
}

.np-contact-modal__items {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.np-contact-item {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 13px 16px;
	border: 1px solid #ececec;
	border-radius: 16px;
	background: #fafafa;
	color: #222;
	text-decoration: none;
	transition: border-color 0.2s ease, background 0.2s ease;
}

.np-contact-item:hover {
	border-color: #a0009b;
	background: #fdf3fd;
	color: #a0009b;
}

.np-contact-item__icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 12px;
	background: #a0009b;
	color: #fff;
}

.np-contact-item__icon .np-ico {
	width: 22px;
	height: 22px;
}

.np-contact-item__body {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.np-contact-item__body b {
	font-size: var(--np-modal-item-fs, 15px);
	font-weight: 700;
}

.np-contact-item__body small {
	font-size: 13px;
	color: #777;
}

.np-contact-modal__info {
	margin-top: 20px;
	padding-top: 16px;
	border-top: 1px solid #ececec;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.np-contact-modal__info-row {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: #666;
	font-size: 13.5px;
	line-height: 1.5;
}

.np-contact-modal__info-row .np-ico {
	width: 18px;
	height: 18px;
	flex-shrink: 0;
	margin-top: 2px;
	color: #a0009b;
}

/* ===== Виджет футера ===== */
.np-contact-widget {
	display: flex;
	flex-direction: column;
	gap: 12px;
	font-size: 14px;
	font-family: "Montserrat", sans-serif;
}

.np-contact-widget__row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	color: inherit;
	text-decoration: none;
}

a.np-contact-widget__row:hover {
	color: #a0009b;
}

.np-contact-widget__ico {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	flex-shrink: 0;
	border-radius: 8px;
	background: #a0009b;
	color: #fff;
}

.np-contact-widget__ico .np-ico {
	width: 16px;
	height: 16px;
}

.np-contact-widget__socials {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 4px;
}

.np-contact-widget__socials a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: 10px;
	background: #f1f1f1;
	color: #333;
	transition: background 0.2s ease, color 0.2s ease;
}

.np-contact-widget__socials a:hover {
	background: #a0009b;
	color: #fff;
}

.np-contact-widget__socials .np-ico {
	width: 20px;
	height: 20px;
}

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

/* ===== Мобильная адаптация ===== */
@media (max-width: 980px) {
	.np-contact-button {
		margin-left: 16px;
		margin-right: 6px;
	}
}

@media (max-width: 600px) {
	.np-contact-button {
		width: var(--np-btn-w-m, auto);
		height: var(--np-btn-h-m, 40px);
		border-radius: var(--np-btn-radius-m, 40px);
		font-size: var(--np-btn-fs-m, 13px);
	}

	.np-contact-button--mobile-icon {
		width: var(--np-btn-h-m, 40px);
		border-radius: 50%;
		padding: 0;
	}

	.np-contact-button--mobile-icon .np-contact-button__label {
		display: none;
	}

	.np-contact-button--mobile-icon .np-contact-button__icon {
		display: block;
	}

	.np-contact-modal {
		padding: 14px;
	}

	.np-contact-modal__box {
		border-radius: 20px;
		padding: 24px 18px 20px;
	}

	.np-contact-modal__title {
		font-size: 19px;
	}

	.np-contact-item {
		padding: 11px 13px;
		gap: 12px;
	}

	.np-contact-item__icon {
		width: 38px;
		height: 38px;
	}

	.np-contact-item__icon .np-ico {
		width: 19px;
		height: 19px;
	}
}
