/* =========================
   5. Мегаменю "Услуги"
   ========================= */

.main-navigation .main-nav ul li.menu-item-services {
	position: static !important;
}

.main-navigation .main-nav ul li.menu-item-services > ul.sub-menu {
	display: none !important;
}

/* Само мегаменю */

.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu {
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	z-index: 9999;

	max-width: 1540px;
	margin: 0 auto;
	padding: 34px 70px;

	display: none !important;
	grid-template-columns: minmax(360px, 520px) 420px;
	justify-content: space-between;
	gap: 60px;

	background:
		linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.78) 0%,
			rgba(255, 255, 255, 0.34) 42%,
			rgba(255, 255, 255, 0.10) 100%
		),
		linear-gradient(135deg, #f7fdff 0%, #dff5fc 52%, #c9edf8 100%);

	border: 1px solid rgba(11, 150, 198, 0.62);
	border-top: 0;
	border-radius: 0 0 26px 26px;

	box-shadow:
		inset 0 1px 0 rgba(255, 255, 255, 0.98),
		inset 0 0 0 1px rgba(255, 255, 255, 0.48),
		inset 0 -1px 0 rgba(11, 150, 198, 0.28),
		0 0 0 1px rgba(11, 150, 198, 0.14),
		0 18px 38px rgba(7, 31, 99, 0.16),
		0 34px 82px rgba(7, 31, 99, 0.22);

	opacity: 1;
	visibility: visible;
	transform: none;
	pointer-events: auto;
}

/* Верхняя акцентная линия под синим меню */

.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 4px;

	background: linear-gradient(
		90deg,
		rgba(11, 150, 198, 0.20) 0%,
		rgba(255, 255, 255, 0.86) 16%,
		rgba(11, 150, 198, 0.95) 50%,
		rgba(255, 255, 255, 0.86) 84%,
		rgba(11, 150, 198, 0.20) 100%
	);

	pointer-events: none;
}

/* Внутренняя светлая окантовка */

.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu::after {
	content: "";
	position: absolute;
	inset: 10px;
	z-index: 0;

	border: 1px solid rgba(255, 255, 255, 0.78);
	border-radius: 0 0 18px 18px;

	box-shadow:
		inset 0 0 0 1px rgba(11, 150, 198, 0.10),
		0 0 32px rgba(255, 255, 255, 0.34);

	pointer-events: none;
}

/* Открываем мегаменю только при наведении на пункт "Услуги" */

.main-navigation .main-nav ul li.menu-item-services:hover > .custom-mega-menu,
.main-navigation .main-nav ul li.menu-item-services:focus-within > .custom-mega-menu {
	display: grid !important;
}

/* Левая часть мегаменю */

.custom-mega-menu__services {
	position: relative;
	z-index: 1;
	min-width: 0;
}

.custom-mega-menu__title {
	margin: 0 0 22px;
	color: #1f2933;
	font-size: 30px;
	font-weight: 700;
	line-height: 1.2;
}

/* Список услуг внутри мегаменю */

.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu ul.custom-mega-menu__list {
	position: static !important;
	left: auto !important;
	right: auto !important;
	top: auto !important;
	bottom: auto !important;

	display: grid !important;
	grid-template-columns: 1fr !important;
	gap: 4px !important;

	width: auto !important;
	min-width: 0 !important;
	max-width: none !important;
	height: auto !important;

	margin: 0 !important;
	padding: 0 !important;

	opacity: 1 !important;
	visibility: visible !important;
	transform: none !important;
	pointer-events: auto !important;

	background: transparent !important;
	box-shadow: none !important;
	border: 0 !important;
	list-style: none !important;
}

.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu ul.custom-mega-menu__list li {
	position: static !important;
	display: block !important;
	float: none !important;
	width: auto !important;
	height: auto !important;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	opacity: 1 !important;
	visibility: visible !important;
}

/* Ссылка услуги */

.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu ul.custom-mega-menu__list li a.custom-mega-menu__link {
	position: static !important;
	display: flex !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 20px !important;

	width: 100% !important;
	height: auto !important;
	min-height: 0 !important;

	padding: 10px 0 !important;
	margin: 0 !important;

	background: transparent !important;
	color: #2f3438 !important;

	font-size: 18px !important;
	font-weight: 500 !important;
	line-height: 1.35 !important;
	text-transform: none !important;

	text-decoration: none !important;
	text-decoration-line: none !important;
	text-decoration-color: transparent !important;
}

/* Наведение на ссылку услуги */

.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu ul.custom-mega-menu__list li a.custom-mega-menu__link:hover,
.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu ul.custom-mega-menu__list li a.custom-mega-menu__link:focus {
	background: transparent !important;
	color: #0b7fa8 !important;

	text-decoration: none !important;
	text-decoration-line: none !important;
	text-decoration-color: transparent !important;
}

/* Название услуги */

.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu ul.custom-mega-menu__list li a.custom-mega-menu__link span:first-child {
	display: inline-block !important;
	color: inherit !important;

	text-decoration: none !important;
	text-decoration-line: none !important;

	border-bottom: 2px solid transparent !important;
	padding-bottom: 3px !important;

	transition: color 0.2s ease, border-color 0.2s ease;
}

/* Подчёркиваем только название услуги */

.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu ul.custom-mega-menu__list li a.custom-mega-menu__link:hover span:first-child,
.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu ul.custom-mega-menu__list li a.custom-mega-menu__link:focus span:first-child {
	color: #0b7fa8 !important;
	border-bottom-color: #0b96c6 !important;
}

/* Стрелка справа — без подчёркивания */

.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu__arrow {
	flex: 0 0 auto;
	display: inline-flex !important;
	color: currentColor !important;
	font-size: 30px !important;
	line-height: 1 !important;

	text-decoration: none !important;
	text-decoration-line: none !important;
	border-bottom: 0 !important;
	padding-bottom: 0 !important;
}

/* Правая часть — баннер */

.custom-mega-menu__banner {
	position: relative;
	z-index: 1;

	min-height: 430px;
	border-radius: 20px;
	overflow: hidden;

	display: flex;
	align-items: flex-end;

	background-image:
		linear-gradient(
			to top,
			rgba(2, 16, 30, 0.94) 0%,
			rgba(2, 16, 30, 0.78) 24%,
			rgba(2, 16, 30, 0.34) 54%,
			rgba(2, 16, 30, 0.04) 100%
		),
		var(--mega-banner-image);

	background-size: cover, contain;
	background-position: center center, center center;
	background-repeat: no-repeat, no-repeat;
	background-color: #061726;

	color: #ffffff;

	box-shadow:
		0 18px 42px rgba(7, 31, 99, 0.24),
		0 0 0 1px rgba(11, 150, 198, 0.32),
		0 0 0 6px rgba(255, 255, 255, 0.18);
}

.custom-mega-menu__banner-content {
	position: relative;
	z-index: 2;
	width: 100%;
	max-width: 400px;
	margin: 0 auto;
	padding: 0 0 14px;
}

/* Три кнопки мессенджеров */

.custom-mega-menu__messengers {
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	gap: 6px !important;
	margin-bottom: 8px;
	width: 100%;
}

.custom-mega-menu__messenger {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: flex-start !important;
	gap: 7px !important;

	min-height: 40px;
	padding: 5px 7px;

	border-radius: 9px;
	background: rgba(7, 20, 33, 0.90);
	border: 1px solid rgba(17, 146, 255, 0.44);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.03),
		0 0 10px rgba(11, 150, 198, 0.08);

	color: #ffffff;
	text-decoration: none;
	text-align: left;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.custom-mega-menu__messenger:hover {
	transform: translateY(-2px);
	border-color: rgba(17, 146, 255, 0.85);
	background: rgba(10, 28, 46, 0.96);
	color: #ffffff;
	text-decoration: none;
}

/* PNG-иконки мессенджеров */

.custom-mega-menu__messenger-icon {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;

	width: 24px;
	height: 24px;
	flex: 0 0 24px;

	border-radius: 0 !important;
	overflow: visible !important;
	background: transparent !important;

	color: transparent !important;
	font-size: 0 !important;
	line-height: 1;
}

.custom-mega-menu__messenger-icon img {
	display: block !important;
	width: 24px !important;
	height: 24px !important;
	max-width: 24px !important;
	max-height: 24px !important;
	object-fit: contain !important;
	border-radius: 0 !important;
	background: transparent !important;
}

.custom-mega-menu__messenger-texts {
	display: flex !important;
	flex-direction: column !important;
	align-items: flex-start !important;
	justify-content: center !important;
	gap: 1px;
	min-width: 0;
	flex: 1 1 auto;
	text-align: left;
}

.custom-mega-menu__messenger-name {
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.05;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

.custom-mega-menu__messenger-desc {
	color: rgba(255, 255, 255, 0.78);
	font-size: 9px;
	line-height: 1.1;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
	text-align: left;
}

/* Телефон */

.custom-mega-menu__phone {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 8px;

	min-height: 44px;
	padding: 7px 10px;

	border-radius: 10px;
	background: rgba(7, 20, 33, 0.92);
	border: 1px solid rgba(17, 146, 255, 0.52);
	box-shadow:
		inset 0 0 0 1px rgba(255, 255, 255, 0.03),
		0 0 10px rgba(11, 150, 198, 0.10);

	color: #ffffff;
	text-decoration: none;
	text-align: left;
	transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.custom-mega-menu__phone:hover {
	transform: translateY(-2px);
	border-color: rgba(17, 146, 255, 0.95);
	background: rgba(10, 28, 46, 0.97);
	color: #ffffff;
	text-decoration: none;
}

/* Значок телефонной трубки — один SVG из hooks.php */

.custom-mega-menu__phone-icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;

	width: 38px;
	height: 38px;
	flex: 0 0 38px;

	border-radius: 50%;
	background: linear-gradient(135deg, #40c4ff 0%, #1677ff 100%);
	color: #ffffff !important;
	font-size: 0;
	line-height: 1;
}

.custom-mega-menu__phone-icon svg {
	display: block;
	width: 24px;
	height: 24px;
	fill: currentColor;
}

.custom-mega-menu__phone-texts {
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	justify-content: center !important;
	gap: 0;
	min-width: 0;
	text-align: center;
}

.custom-mega-menu__phone-number {
	color: #ffffff;
	font-size: 17px;
	font-weight: 800;
	line-height: 1.05;
	letter-spacing: 0.01em;
	white-space: nowrap;
	text-align: center;
}

.custom-mega-menu__phone-desc {
	color: rgba(255, 255, 255, 0.82);
	font-size: 10px;
	line-height: 1.1;
	text-align: center;
}

/* =========================
   6. Адаптив
   ========================= */

@media (max-width: 1400px) {
	.custom-top-bar__inner,
	.custom-main-header__inner,
	.main-navigation .inside-navigation {
		padding-left: 40px !important;
		padding-right: 40px !important;
	}

	.custom-main-header__inner {
		gap: 28px;
	}

	.custom-main-header__logo {
		flex-basis: 390px;
		max-width: 390px;
	}

	.custom-main-header__right {
		gap: 20px;
	}

	.custom-main-header__contact a {
		font-size: 16px;
	}

	.custom-main-header__button {
		padding-left: 22px;
		padding-right: 22px;
		font-size: 13px;
	}

	#site-navigation .main-nav > ul > li > a,
	.main-navigation .main-nav > ul > li > a {
		padding-left: 13px !important;
		padding-right: 13px !important;
	}

	.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu {
		padding-left: 40px;
		padding-right: 40px;
		gap: 36px;
		grid-template-columns: minmax(300px, 1fr) 420px;
	}

	.custom-mega-menu__banner {
		min-height: 380px;
		background-size: cover, contain;
		background-position: center center, center center;
	}

	.custom-mega-menu__banner-content {
		max-width: 360px;
	}

	/* На увеличенном масштабе оставляем в баннере только иконки. */
	.custom-mega-menu__messenger-texts,
	.custom-mega-menu__phone-texts {
		display: none !important;
	}

	.custom-mega-menu__messengers {
		gap: 8px !important;
	}

	.custom-mega-menu__messenger {
		justify-content: center !important;
		min-height: 44px;
		padding: 7px 8px;
	}

	.custom-mega-menu__messenger-icon {
		width: 28px;
		height: 28px;
		flex-basis: 28px;
	}

	.custom-mega-menu__messenger-icon img {
		width: 28px !important;
		height: 28px !important;
		max-width: 28px !important;
		max-height: 28px !important;
	}

	.custom-mega-menu__phone {
		justify-content: center !important;
		min-height: 54px;
		padding: 8px 12px;
	}

	.custom-mega-menu__phone-icon {
		width: 40px;
		height: 40px;
		flex-basis: 40px;
	}

	.custom-mega-menu__phone-icon svg {
		width: 25px;
		height: 25px;
	}
}

@media (max-width: 1280px) {
	.custom-top-bar__inner,
	.custom-main-header__inner,
	.main-navigation .inside-navigation {
		padding-left: 32px !important;
		padding-right: 32px !important;
	}

	.custom-top-bar__menu {
		gap: 18px;
	}

	.custom-main-header__inner {
		gap: 18px;
	}

	.custom-main-header__logo {
		flex-basis: 340px;
		max-width: 340px;
		min-width: 220px;
	}

	.custom-main-header__right {
		gap: 14px;
	}

	.custom-main-header__socials {
		gap: 8px;
	}

	.custom-main-header__socials a {
		width: 42px;
		height: 42px;
		border-radius: 10px;
	}

	.custom-main-header__socials img {
		width: 28px;
		height: 28px;
	}

	.custom-main-header__contact a {
		font-size: 16px;
	}

	.custom-main-header__button {
		min-height: 48px;
		padding: 14px 18px;
		font-size: 12px;
	}

	.custom-main-header__search a {
		width: 36px;
		height: 36px;
		font-size: 26px;
	}

	#site-navigation .main-nav > ul,
	.main-navigation .main-nav > ul {
		gap: 4px !important;
	}

	#site-navigation .main-nav > ul > li > a,
	.main-navigation .main-nav > ul > li > a {
		padding: 17px 11px !important;
		font-size: 15px !important;
	}

	.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu {
		padding-left: 32px;
		padding-right: 32px;
		gap: 28px;
		grid-template-columns: minmax(280px, 1fr) 390px;
	}

	.custom-mega-menu__banner {
		min-height: 350px;
	}

	.custom-mega-menu__banner-content {
		max-width: 330px;
	}

	.custom-mega-menu__messenger {
		min-height: 42px;
	}

	.custom-mega-menu__messenger-icon {
		width: 26px;
		height: 26px;
		flex-basis: 26px;
	}

	.custom-mega-menu__messenger-icon img {
		width: 26px !important;
		height: 26px !important;
		max-width: 26px !important;
		max-height: 26px !important;
	}
}

@media (max-width: 1200px) {
	.custom-main-header__inner {
		align-items: center;
		gap: 14px;
	}

	.custom-main-header__right {
		flex-wrap: nowrap;
		justify-content: flex-end;
		gap: 12px;
	}

	.custom-main-header__logo {
		flex-basis: 310px;
		max-width: 310px;
		min-width: 200px;
	}

	.custom-main-header__contact span {
		display: none;
	}

	.custom-main-header__contact {
		gap: 0;
	}

	.custom-main-header__contact a {
		font-size: 15px;
	}

	.custom-main-header__button {
		min-height: 44px;
		padding: 13px 16px;
		font-size: 12px;
	}

	.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu {
		grid-template-columns: minmax(260px, 1fr) 350px;
		gap: 24px;
		padding-top: 28px;
		padding-bottom: 28px;
	}

	.custom-mega-menu__banner {
		min-height: 320px;
	}

	.custom-mega-menu__banner-content {
		max-width: 300px;
	}

	.custom-mega-menu__title {
		font-size: 28px;
	}

	.main-navigation .main-nav ul li.menu-item-services .custom-mega-menu__link {
		font-size: 17px;
	}

	.custom-mega-menu__messengers {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}

	.custom-mega-menu__messenger {
		min-height: 40px;
		padding-left: 7px;
		padding-right: 7px;
	}

	.custom-mega-menu__messenger-icon {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}

	.custom-mega-menu__phone-number {
		font-size: 17px;
	}
}

@media (max-width: 1100px) {
	.custom-top-bar__inner,
	.custom-main-header__inner,
	.main-navigation .inside-navigation {
		padding-left: 24px !important;
		padding-right: 24px !important;
	}

	.custom-main-header__inner {
		gap: 12px;
	}

	.custom-main-header__logo {
		flex-basis: 280px;
		max-width: 280px;
		min-width: 180px;
	}

	.custom-main-header__right {
		gap: 10px;
	}

	.custom-main-header__socials {
		gap: 7px;
	}

	.custom-main-header__socials a {
		width: 38px;
		height: 38px;
		border-radius: 9px;
	}

	.custom-main-header__socials img {
		width: 26px;
		height: 26px;
	}

	.custom-main-header__contact a {
		font-size: 15px;
	}

	.custom-main-header__cta,
	.custom-main-header__search {
		display: none;
	}

	#site-navigation .main-nav > ul > li > a,
	.main-navigation .main-nav > ul > li > a {
		padding: 16px 9px !important;
		font-size: 14px !important;
	}

	.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu {
		grid-template-columns: minmax(240px, 1fr) 310px;
		gap: 20px;
		padding: 24px;
	}

	.custom-mega-menu__banner {
		min-height: 285px;
		border-radius: 18px;
	}

	.custom-mega-menu__banner-content {
		max-width: 270px;
		padding-bottom: 10px;
	}

	.custom-mega-menu__messengers {
		gap: 6px !important;
		margin-bottom: 7px;
	}

	.custom-mega-menu__messenger {
		min-height: 40px;
		padding: 6px;
	}

	.custom-mega-menu__messenger-icon {
		width: 24px;
		height: 24px;
		flex-basis: 24px;
	}

	.custom-mega-menu__messenger-icon img {
		width: 24px !important;
		height: 24px !important;
		max-width: 24px !important;
		max-height: 24px !important;
	}

	.custom-mega-menu__phone {
		min-height: 48px;
	}

	.custom-mega-menu__phone-icon {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
	}

	.custom-mega-menu__phone-icon svg {
		width: 22px;
		height: 22px;
	}
}

@media (max-width: 1024px) {
	.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.custom-mega-menu__messengers {
		grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
	}
}


/* =========================
   Compact mega menu icon mode
   1025–1400px / browser zoom mode
   ========================= */

@media (max-width: 1400px) and (min-width: 1025px) {
	.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu {
		width: min(calc(100vw - 32px), 1320px);
		padding: 20px 28px;
		gap: 30px;
		align-items: center;
		grid-template-columns: minmax(280px, 1fr) minmax(380px, 440px);
	}

	.custom-mega-menu__banner {
		width: 100%;
		min-height: 0;
		height: 360px;
		border-radius: 20px;

		background-size: cover, cover;
		background-position: center center, center center;
		background-repeat: no-repeat, no-repeat;
	}

	.custom-mega-menu__banner-content {
		display: grid;
		grid-template-columns: repeat(4, 52px);
		align-items: center;
		justify-content: center;
		gap: 10px;

		width: auto;
		max-width: none;
		margin: 0 auto;
		padding: 0 0 16px;
	}

	.custom-mega-menu__messengers {
		display: contents !important;
	}

	.custom-mega-menu__messenger,
	.custom-mega-menu__phone {
		width: 52px;
		height: 52px;
		min-width: 52px;
		min-height: 52px;
		max-width: 52px;
		max-height: 52px;

		padding: 0;
		margin: 0;

		display: inline-flex !important;
		align-items: center !important;
		justify-content: center !important;
		gap: 0 !important;

		border-radius: 13px;
		background: rgba(7, 20, 33, 0.90);
		border: 1px solid rgba(17, 146, 255, 0.68);

		box-shadow:
			inset 0 0 0 1px rgba(255, 255, 255, 0.04),
			0 0 10px rgba(11, 150, 198, 0.10);

		overflow: hidden;
		transform: none;
	}

	.custom-mega-menu__messenger:hover,
	.custom-mega-menu__phone:hover {
		transform: translateY(-2px);
		background: rgba(10, 28, 46, 0.96);
		border-color: rgba(17, 146, 255, 0.92);
	}

	.custom-mega-menu__messenger-texts,
	.custom-mega-menu__phone-texts,
	.custom-mega-menu__messenger-name,
	.custom-mega-menu__messenger-desc,
	.custom-mega-menu__phone-number,
	.custom-mega-menu__phone-desc {
		display: none !important;
	}

	.custom-mega-menu__messenger-icon {
		width: 34px;
		height: 34px;
		flex: 0 0 34px;
	}

	.custom-mega-menu__messenger-icon img {
		width: 34px !important;
		height: 34px !important;
		max-width: 34px !important;
		max-height: 34px !important;
	}

	.custom-mega-menu__phone-icon {
		width: 40px;
		height: 40px;
		flex: 0 0 40px;
	}

	.custom-mega-menu__phone-icon svg {
		width: 24px;
		height: 24px;
	}
}

@media (max-width: 1280px) and (min-width: 1025px) {
	.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu {
		width: min(calc(100vw - 28px), 1240px);
		padding: 18px 24px;
		gap: 24px;
		grid-template-columns: minmax(260px, 1fr) minmax(360px, 410px);
	}

	.custom-mega-menu__banner {
		height: 335px;
	}

	.custom-mega-menu__banner-content {
		grid-template-columns: repeat(4, 50px);
		gap: 9px;
		padding-bottom: 15px;
	}

	.custom-mega-menu__messenger,
	.custom-mega-menu__phone {
		width: 50px;
		height: 50px;
		min-width: 50px;
		min-height: 50px;
		max-width: 50px;
		max-height: 50px;
		border-radius: 12px;
	}

	.custom-mega-menu__messenger-icon {
		width: 32px;
		height: 32px;
		flex-basis: 32px;
	}

	.custom-mega-menu__messenger-icon img {
		width: 32px !important;
		height: 32px !important;
		max-width: 32px !important;
		max-height: 32px !important;
	}

	.custom-mega-menu__phone-icon {
		width: 38px;
		height: 38px;
		flex-basis: 38px;
	}

	.custom-mega-menu__phone-icon svg {
		width: 23px;
		height: 23px;
	}
}

@media (max-width: 1160px) and (min-width: 1025px) {
	.main-navigation .main-nav ul li.menu-item-services > .custom-mega-menu {
		width: min(calc(100vw - 24px), 1120px);
		padding: 16px 18px;
		gap: 20px;
		grid-template-columns: minmax(240px, 1fr) minmax(340px, 380px);
	}

	.custom-mega-menu__banner {
		height: 315px;
		border-radius: 18px;
	}

	.custom-mega-menu__banner-content {
		grid-template-columns: repeat(4, 46px);
		gap: 8px;
		padding-bottom: 14px;
	}

	.custom-mega-menu__messenger,
	.custom-mega-menu__phone {
		width: 46px;
		height: 46px;
		min-width: 46px;
		min-height: 46px;
		max-width: 46px;
		max-height: 46px;
		border-radius: 11px;
	}

	.custom-mega-menu__messenger-icon {
		width: 30px;
		height: 30px;
		flex-basis: 30px;
	}

	.custom-mega-menu__messenger-icon img {
		width: 30px !important;
		height: 30px !important;
		max-width: 30px !important;
		max-height: 30px !important;
	}

	.custom-mega-menu__phone-icon {
		width: 36px;
		height: 36px;
		flex-basis: 36px;
	}

	.custom-mega-menu__phone-icon svg {
		width: 22px;
		height: 22px;
	}
}
