/* Impulse Services Menu v1.3.0 */
:root {
	--ism-ink: #0c0c0e;
	--ism-text: #262626;
	--ism-muted: #5f6168;
	--ism-blue: #1b41c4;
	--ism-blue-soft: #eef1fc;
	--ism-card: #f2f4fa;
	--ism-font: Custom, Arial, sans-serif;          /* як у шапці сайту */
	--ism-font-m: Custom, Inter, Arial, sans-serif; /* як у мобільному меню */
}

/* старий Tilda-дропдаун більше не потрібен */
#rec863632438 { display: none !important; }

.ism-trigger-on .tn-atom { background-color: rgba(12, 12, 14, .05) !important; }
.tn-elem.ism-chev-up > .tn-atom { transform: rotate(180deg); }
.tn-elem[data-elem-id="1737724555225"] > .tn-atom { transition: transform .25s ease; }

/* ================= DESKTOP PANEL ================= */
.ism {
	position: fixed;
	top: 96px;
	left: 0;
	z-index: 9999990;
	font-family: var(--ism-font);
	color: var(--ism-text);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-6px);
	transition: opacity .18s ease, transform .22s ease, visibility 0s linear .22s;
}
.ism.is-open { opacity: 1; visibility: visible; transform: none; transition: opacity .18s ease, transform .22s ease, visibility 0s; }
.ism::before { content: ""; position: absolute; left: 0; right: 0; top: -14px; height: 14px; }
.ism *, .ism *::before, .ism *::after { box-sizing: border-box; }

.ism__inner {
	display: grid;
	grid-template-columns: 514px minmax(0, 1fr);
	gap: 40px;
	padding: 36px 40px;
	background: #fff;
	border: 1px solid #e4e4e4;
	border-radius: 20px;
	box-shadow: 0 24px 48px -24px rgba(12, 12, 14, .18);
}

.ism__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
	align-content: start;
}
.ism-card {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 72px;
	padding: 12px 18px;
	border-radius: 10px;
	background: var(--ism-card);
	color: var(--ism-text) !important;
	text-decoration: none !important;
	transition: background .18s ease, color .18s ease;
}
.ism-card:hover, .ism-card:focus-visible { background: var(--ism-blue-soft); color: var(--ism-blue) !important; outline: none; }
.ism-card.is-current { box-shadow: inset 0 0 0 1px rgba(27, 65, 196, .35); }
.ism-card:last-child:nth-child(odd) { grid-column: 1 / -1; }

.ism-ico { flex: 0 0 24px; width: 24px; height: 24px; color: var(--ism-blue); transition: transform .25s ease; }
.ism-ico svg { width: 24px; height: 24px; display: block; }
.ism-card:hover .ism-ico { transform: scale(1.08); }
.ism-txt { font-size: 14px; line-height: 1.45; font-weight: 600; }

.ism__side { display: flex; flex-direction: column; align-items: flex-start; }
.ism-side__h { margin: 0 0 22px !important; font-size: 14px; line-height: 1.4; color: var(--ism-muted); }
.ism-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ism-chips span {
	padding: 9px 18px;
	border: 1px solid #d9d9d9;
	border-radius: 999px;
	font-size: 14px;
	line-height: 1.2;
	color: var(--ism-text);
	background: #fff;
}
.ism-side__cta {
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 14px 20px;
	border: 0;
	border-radius: 10px;
	background: var(--ism-ink);
	color: #fff;
	font: 600 14px/1 var(--ism-font);
	cursor: pointer;
	transition: background .18s ease;
}
.ism-chips + .ism-side__cta { margin-top: 28px; }
.ism-side__cta svg { width: 16px; height: 16px; transform: rotate(45deg); }
.ism-side__cta:hover { background: var(--ism-blue); }

@media (max-width: 1100px) {
	.ism__inner { grid-template-columns: 1fr; padding: 28px; }
	.ism__side { display: none; }
}
@media (max-width: 960px) { .ism { display: none !important; } }

/* ================= MOBILE MENU BLOCK ================= */
.ism-m { margin: 6px 0 0; }
.ism-m__list {
	list-style: none;
	margin: 0 !important;
	padding: 0 !important;
	display: grid;
	gap: 8px;
}
.ism-m__list li {
	margin: 0;
	padding: 0;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity .35s ease, transform .4s cubic-bezier(.2, .7, .2, 1);
	transition-delay: calc(.22s + var(--i, 0) * .04s);
}
.imn.is-open .ism-m__list li { opacity: 1; transform: none; }
.ism-m__item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 12px 10px 10px;
	border-radius: 16px;
	background: #f4f5f7;
	color: #0c0c0e !important;
	text-decoration: none !important;
	font-family: var(--ism-font-m);
	-webkit-tap-highlight-color: transparent;
	transition: background .2s ease;
}
.ism-m__item .ism-ico { flex: 0 0 40px; width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: #fff; box-shadow: inset 0 0 0 1px rgba(27, 65, 196, .14); transition: background .2s, color .2s; }
.ism-m__item .ism-ico svg { width: 21px; height: 21px; }
.ism-m__item:active,
.ism-m__item:hover { background: var(--ism-blue-soft); }
.ism-m__item:active .ism-ico,
.ism-m__item:hover .ism-ico { background: var(--ism-blue); color: #fff; box-shadow: none; }
.ism-m__item.is-current { box-shadow: inset 0 0 0 1px rgba(27, 65, 196, .35); }
.ism-m__t {
	flex: 1 1 auto;
	min-width: 0;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.25;
}
.ism-m__a {
	flex: 0 0 28px;
	width: 28px;
	height: 28px;
	display: grid;
	place-items: center;
	border-radius: 50%;
	background: #fff;
	color: #0c0c0e;
}
.ism-m__a svg { width: 14px; height: 14px; }

@media (prefers-reduced-motion: reduce) {
	.ism, .ism *, .ism-m__list li { transition: none !important; }
}

/* ================= HEADER NAV LABELS ================= */
/* ховаємо старі підписи до заміни, щоб не було «мигання» */
html:not(.ism-nav-ready) #rec855887243 .tn-elem[data-elem-id="1752819950624"] .tn-atom__button-text,
html:not(.ism-nav-ready) #rec855887243 .tn-elem[data-elem-id="1737724838886"] .tn-atom__button-text,
html:not(.ism-nav-ready) #rec856183863 .tn-elem[data-elem-id="1752819950624"] .tn-atom__button-text,
html:not(.ism-nav-ready) #rec856183863 .tn-elem[data-elem-id="1737724838886"] .tn-atom__button-text,
html:not(.ism-nav-ready) #rec856183863 .tn-elem[data-elem-id="1752820157529"] .tn-atom__button-text { visibility: hidden; }
.tn-elem.ism-nav-active .tn-atom { background-color: rgba(12, 12, 14, .05) !important; }

/* ================= CONTACTS DRAWER ================= */
.ismc {
	position: fixed; inset: 0; z-index: 99999998;
	visibility: hidden; pointer-events: none;
	font-family: Custom, Arial, sans-serif;
	transition: visibility 0s linear .45s;
}
.ismc.is-open { visibility: visible; pointer-events: auto; transition: none; }
.ismc *, .ismc *::before, .ismc *::after { box-sizing: border-box; }
.ismc__bg {
	position: absolute; inset: 0;
	background: rgba(12, 12, 14, .45);
	backdrop-filter: blur(3px);
	opacity: 0; transition: opacity .35s ease;
}
.ismc.is-open .ismc__bg { opacity: 1; }
.ismc__panel {
	position: absolute; top: 0; right: 0; bottom: 0;
	width: min(640px, 100vw);
	display: flex; align-items: center; justify-content: center;
	background: #fff;
	border-radius: 28px 0 0 28px;
	box-shadow: -30px 0 80px rgba(12, 12, 14, .18);
	transform: translateX(104%);
	transition: transform .45s cubic-bezier(.2, .75, .15, 1);
	overflow-y: auto;
}
.ismc.is-open .ismc__panel { transform: none; }
.ismc__x {
	position: absolute; top: 26px; right: 28px;
	display: grid; place-items: center;
	width: 52px; height: 52px; padding: 0;
	border: 0; border-radius: 50%;
	background: transparent; color: #0c0c0e; cursor: pointer;
	transition: background .2s, transform .3s;
}
.ismc__x:hover { background: #f2f3f6; transform: rotate(90deg); }
.ismc__x svg { width: 30px; height: 30px; }
.ismc__body {
	width: 100%; max-width: 460px;
	padding: 90px 28px 60px;
	text-align: center; color: #262626;
}
.ismc__body > * { opacity: 0; transform: translateY(14px); transition: opacity .4s ease, transform .5s cubic-bezier(.2, .7, .2, 1); }
.ismc.is-open .ismc__body > * { opacity: 1; transform: none; }
.ismc.is-open .ismc__body > *:nth-child(1) { transition-delay: .12s; }
.ismc.is-open .ismc__body > *:nth-child(2) { transition-delay: .18s; }
.ismc.is-open .ismc__body > *:nth-child(3) { transition-delay: .24s; }
.ismc.is-open .ismc__body > *:nth-child(4) { transition-delay: .3s; }
.ismc.is-open .ismc__body > *:nth-child(5) { transition-delay: .36s; }
.ismc__title {
	margin: 0 0 56px !important;
	font-family: Custom, Arial, sans-serif !important;
	font-size: clamp(48px, 6vw, 76px) !important;
	line-height: 1 !important;
	font-weight: 400 !important;
	letter-spacing: -.035em;
	color: #0c0c0e !important;
}
.ismc__group { margin-bottom: 30px; }
.ismc__label { display: block; margin-bottom: 8px; font-size: 14px; color: #63666e; }
.ismc__big {
	display: inline-block;
	font-size: clamp(26px, 3vw, 36px); line-height: 1.15; font-weight: 600;
	letter-spacing: -.01em;
	color: #0c0c0e !important; text-decoration: none !important;
	transition: color .2s;
}
.ismc__big:hover { color: #1b41c4 !important; }
.ismc__mail { font-weight: 400; }
.ismc__msg { display: flex; justify-content: center; gap: 10px; margin-top: 14px; }
.ismc__msg a {
	display: grid; place-items: center;
	width: 46px; height: 46px; border-radius: 50%;
	border: 1px solid #dedede; color: #0c0c0e !important;
	transition: background .2s, color .2s, border-color .2s;
}
.ismc__msg a:hover { background: #1b41c4; border-color: #1b41c4; color: #fff !important; }
.ismc__msg svg { width: 20px; height: 20px; }
.ismc__note { margin: 6px 0 0 !important; font-size: 13px; color: #63666e; }
.ismc__cta {
	display: inline-flex; align-items: center; gap: 10px;
	margin-top: 34px; padding: 16px 26px;
	border: 0; border-radius: 12px;
	background: #1b41c4; color: #fff;
	font: 600 15px/1 Custom, Arial, sans-serif; cursor: pointer;
	transition: background .2s;
}
.ismc__cta:hover { background: #0c0c0e; }
.ismc__cta svg { width: 16px; height: 16px; transform: rotate(45deg); }
html.ismc-lock, html.ismc-lock body { overflow: hidden !important; }
@media (max-width: 640px) {
	.ismc__panel { border-radius: 0; align-items: flex-start; }
	.ismc__x { top: 14px; right: 14px; }
	.ismc__body { padding: 96px 20px 40px; }
	.ismc__title { margin-bottom: 40px !important; }
}
@media (prefers-reduced-motion: reduce) {
	.ismc *, .ismc { transition: none !important; }
}

/* ================= ЦІЛЬНА ШАПКА ЗАВЖДИ ================= */
/* Показуємо «плаваючу» шапку (лого всередині плашки) одразу, статичну ховаємо */
@media (min-width: 960px) {
	#rec856183863 { transform: none !important; }
	#rec855887243 { visibility: hidden !important; pointer-events: none !important; }
	#rec855887243 * { pointer-events: none !important; }
}

/* ================= БАНЕР У СТАТТЯХ ================= */
.ism-ad { display: block; width: 300px; max-width: 100%; margin: 16px auto 0; border-radius: 14px; overflow: hidden; line-height: 0; }
.ism-ad img { display: block; width: 100%; height: auto; }

/* Поле телефону у формі заявки: Chrome-автозаповнення фарбувало код країни квадратним блоком,
   а номер — окремою «таблеткою». Тримаємо все в одній капсулі, стрілка селекта — своя. */
.ib-field--phone { overflow: hidden; }
.ib-field--phone select { -webkit-appearance: none; appearance: none; padding-right: 26px !important; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23141414' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important; background-repeat: no-repeat !important; background-position: right 8px center !important; background-size: 12px 12px !important; }
.ib-field--phone input { border-radius: 0 28px 28px 0 !important; }
.ib-field--phone:has(:-webkit-autofill) { background-color: #e8f0fe !important; }

/* Футер, блок «Реквізити»: у Tilda стоїть text-transform: capitalize — кожне слово з великої. Показуємо текст як є. */
#rec863638510 .tn-elem[data-elem-id="1737993091870"] .tn-atom { text-transform: none !important; }

/* Сервісні сторінки, блок «Не знаєте, який сайт потрібен?» (.isp-cta): висоту задавало фото (~640px),
   а текст займав чверть. Тепер висоту задає текст, фото заповнює свою половину через object-fit. */
.isp-cta__txt { display: flex !important; flex-direction: column; justify-content: center; }
.isp-cta__img { position: relative !important; min-height: 340px !important; overflow: hidden; }
.isp-cta__img img { position: absolute !important; inset: 0; width: 100% !important; height: 100% !important; object-fit: cover; }
@media (max-width: 960px) { .isp-cta__img { min-height: 260px !important; max-height: none !important; } }
@media (max-width: 640px) { .isp-cta__img { min-height: 220px !important; } }
