/* === components.bundle.css === auto-generated, do not edit. */


/* === components/cases-success-component/cases-success-template.css === */
/* Cases Success — блок успешных кейсов */

.cases-success {
    padding: 100px 0 100px;
    background: #fff;
    position: relative;
}

.cases-success__head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 48px;
    align-items: center;
    margin: 0 0 48px;
}

.cases-success__title {
    margin: 0;
    color: var(--404-b-69, #404B69);
    font-family: Gilroy;
    font-size: 48px;
    font-style: normal;
    font-weight: 700;
    line-height: 1.02;
}

.cases-success__lead {
    font-size: 15px;
    line-height: 1.55;
    color: #4b5563;
    margin: 0;
    font-weight: 500;
}

.cases-success__list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 28px;
}

.cases-success__card {
    border-radius: 32px;
    border: 1px solid rgba(224, 236, 255, 0.50);
    background: #fff;
    box-shadow: 0 12px 40px 0 rgba(2, 87, 182, 0.10);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 28px;
}

/* === HEADER === */
.cases-success__card-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

.cases-success__card-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
}

.cases-success__card-logo {
    max-width: 190px;
    max-height: 56px;
    width: auto;
    height: auto;
    object-fit: contain;
}

.cases-success__card-url {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px;
    min-width: 150px;
    text-align: center;
    border-radius: 10px;
    background: rgba(224, 236, 255, 0.50);
    color: #0257b6;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: background 0.2s;
}


.cases-success__card-url-icon {
    flex: 0 0 auto;
}

.cases-success__card-summary {
    margin: 0;
    color: var(--41485-d, #41485D);
    font-family: Gilroy;
    font-size: 15px;
    font-style: normal;
    font-weight: 500;
    line-height: 26px;
}

/* === TABS === */
.cases-success__card-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.cases-success__card-tab {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 10px;
    border: 1px solid rgba(224, 236, 255, 0.85);
    background: #fff;
    box-shadow: 0 4px 18px 0 rgba(2, 87, 182, 0.06);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #1f2937;
    text-transform: uppercase;
    cursor: pointer;
    transition: background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    user-select: none;
}

.cases-success__card-tab:hover {
    border-color: rgba(2, 87, 182, 0.25);
    background: rgba(224, 236, 255, 0.35);
}

.cases-success__card-tab--active {
    background: rgba(224, 236, 255, 0.55);
    border-color: rgba(2, 87, 182, 0.35);
    box-shadow: 0 6px 22px 0 rgba(2, 87, 182, 0.12);
    color: #0257B6;
}

.cases-success__card-tab:focus-visible {
    outline: 2px solid #0257B6;
    outline-offset: 2px;
}

/* === BODY === */
.cases-success__card-body {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
    height: 280px;
    margin-bottom: 24px;
}

.cases-success__card-screenshot {
    border-radius: 14px;
    overflow: hidden;
    background: #f5f7fb;
    height: 100%;
    width: 100%;
    position: relative;
}

.cases-success__card-screenshot-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    cursor: zoom-in;
}

.cases-success__card-screenshot-link--active {
    opacity: 1;
    pointer-events: auto;
}

.cases-success__card-screenshot-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top left;
    display: block;
}

.cases-success__card-stats {
    display: flex;
    flex-direction: column;
    gap: 22px;
}

.cases-success__card-stat-title {
    margin: 0 0 6px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #00b393;
}

.cases-success__card-stat-line {
    margin: 2px 0;
    font-size: 16px;
    color: #1f2937;
    line-height: 1.4;
}

.cases-success__card-stat-line b {
    font-size: 22px;
    font-weight: 700;
    color: #111827;
}

.cases-success__card-stat-line span {
    color: #6b7280;
    font-size: 14px;
    margin-left: 2px;
    letter-spacing: 0.04em;
}

.cases-success__card-stat-bignum {
    margin: 0;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 700;
    color: #111827;
}

.cases-success__card-stat-bignum-label {
    margin: 4px 0 0;
    font-size: 14px;
    color: #6b7280;
    letter-spacing: 0.02em;
}

/* === FOOTER === */
.cases-success__card-footer {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(0, 1fr);
    gap: 32px;
    align-items: center;
}

/* кнопка 1-в-1 как .hero-ultima__submit */
.cases-success__card-cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 60px;
    padding: 0 24px;
    border: 0;
    border-radius: 9px;
    background: linear-gradient(90deg, #0257B6 0%, #4A8EE3 100%);
    cursor: pointer;
    transition: box-shadow 0.3s ease;
    color: var(--ffffff, #FFF);
    text-align: center;
    font-family: Gilroy;
    font-size: 18px;
    font-style: normal;
    font-weight: 800;
    line-height: 17px;
    text-transform: uppercase;
    text-decoration: none;
}

.cases-success__card-cta::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, #1268CB 0%, #5A9EE8 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.cases-success__card-cta:hover {
    box-shadow: 0 8px 24px rgba(2, 87, 182, 0.28);
    color: #fff;
}

.cases-success__card-cta:hover::before {
    opacity: 1;
}

/* блик при hover — диагональная полоска пробегает */
.cases-success__card-cta::after {
    content: '';
    position: absolute;
    top: 0;
    left: -80%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.28) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    transform: skewX(-20deg);
    transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.cases-success__card-cta:hover::after {
    left: 130%;
}

.cases-success__card-leads-num {
    margin: 0;
    color: var(--0257-b-6, #0257B6);
    leading-trim: both;
    text-edge: cap;
    font-family: Gilroy;
    font-size: 34px;
    font-style: normal;
    font-weight: 800;
    line-height: 1;
    text-transform: uppercase;
}

.cases-success__card-leads-label {
    margin: 4px 0 0;
    font-size: 14px;
    color: #6b7280;
    letter-spacing: 0.02em;
}

/* === RESPONSIVE === */
@media (max-width: 1199px) {
    .cases-success__card { padding: 32px; gap: 24px; }
    .cases-success__card-stat-line b { font-size: 20px; }
    .cases-success__card-stat-bignum { font-size: 26px; }
    .cases-success__card-leads-num { font-size: 28px; }
}

@media (max-width: 991px) {
    .cases-success { padding: 60px 0 50px; }
    .cases-success__head { margin-bottom: 36px; gap: 32px; }
    .cases-success__title { font-size: 34px; }
    .cases-success__lead { font-size: 16px; }
    .cases-success__list { gap: 22px; grid-template-columns: 1fr; }
    .cases-success__card { padding: 28px; border-radius: 28px; }
    .cases-success__card-tabs { gap: 10px; }
    .cases-success__card-tab { padding: 12px 14px; font-size: 13px; }
}

@media (max-width: 767px) {
    .cases-success__head {
        grid-template-columns: 1fr;
        gap: 18px;
    }
}

@media (max-width: 575px) {
    .cases-success { padding: 44px 0 36px; }
    .cases-success__head { margin-bottom: 28px; }
    .cases-success__title { font-size: 26px; line-height: 1.2; margin-bottom: 16px; }
    .cases-success__lead { font-size: 15px; line-height: 1.5; }
    .cases-success__card { padding: 22px; border-radius: 24px; gap: 20px; }
    .cases-success__card-header { grid-template-columns: 1fr; gap: 18px; }
    .cases-success__card-body {
        grid-template-columns: 1fr;
        gap: 22px;
        height: auto;
        margin-bottom: 18px;
    }
    .cases-success__card-screenshot {
        position: relative;
        height: 200px;
    }
    .cases-success__card-stats {
        display: grid;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 12px;
    }
    .cases-success__card-stat-title {
        font-size: 12px;
        margin-bottom: 4px;
    }
    .cases-success__card-stat-line {
        font-size: 13px;
        line-height: 1.3;
    }
    .cases-success__card-stat-line b {
        font-size: 14px;
    }
    .cases-success__card-stat-line span {
        font-size: 11px;
    }
    .cases-success__card-stat-bignum {
        font-size: 18px;
    }
    .cases-success__card-stat-bignum-label {
        font-size: 11px;
    }
    .cases-success__card-footer { grid-template-columns: 1fr; gap: 18px; text-align: left; }
    .cases-success__card-leads { display: none; }
    .cases-success__card-tabs { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .cases-success__card-tab { padding: 10px 6px; font-size: 12px; gap: 6px; }
    .cases-success__card-tab-icon { width: 16px; height: 16px; }
    .cases-success__card-leads-num { font-size: 24px; }
    .cases-success__card-cta { height: 54px; font-size: 15px; }
}

/* === components/header-component/header-template.css === */
.site-header__logo {
	display: inline-flex;
	align-items: center;
	gap: 12px;
}

.site-header__logo-img {
	display: block;
	width: 136px;
	height: 48px;
}

.site-header__logo-tagline {
	color: var(--41485-d, #41485D);
	font-family: Gilroy;
	font-size: 15px;
	font-style: normal;
	font-weight: 400;
	line-height: 17px;
}

.site-header__row--main,
.site-header__row--nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.site-header__row--main {
	padding-top: 16px;
	padding-bottom: 16px;
}

.site-header__top {
	background: var(--ffffff, #FFF);
	border-bottom: 2px solid #f6f7f8;
}

.site-header__bottom {
	padding-top: 15px;
	padding-bottom: 15px;
}

.site-header a,
.site-header__bottom--clone a {
	text-decoration: none;
}

/* ---- Smart-header: шапка в нормальном потоке наверху, при скролле ниже её высоты
       становится fixed и "накатывается" сверху слайд-анимацией. Активируется JS'ом
       только на ≥991px. На мобилке поведение не меняем. ---- */

/* Переопределяем легаси-ограничения: body header { height: 103px } и body { padding-top: 163px }
   из combine.css. Specificity наших селекторов выше, source-order тоже — значит перебивают. */
body header.site-header {
	height: auto;
}

html body {
	padding-top: 0;
}

.site-header {
	position: relative;
}

/* Клон только нижней панели (.site-header__bottom) — её JS добавляет в body,
   прячет/показывает через transform. Оригинал в потоке и не двигается. */
.site-header__bottom--clone {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 200;
	background: #FFF;
	transform: translateY(-100%);
	transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	will-change: transform;
	pointer-events: none;
	box-shadow: 0 8px 24px rgba(2, 87, 182, 0.08);
}

.site-header__bottom--clone.site-header__bottom--clone-visible {
	transform: translateY(0);
	pointer-events: auto;
}

.btn--primary,
.mainbtn_2 {
	position: relative;
	isolation: isolate; /* создаёт stacking context для ::before, не ломая родителя */
	overflow: hidden;   /* клипает псевдо-градиент по border-radius */

	display: inline-flex;
	height: 50px;
	padding: 16px 20px;
	justify-content: center;
	align-items: center;
	gap: 8px;
	border-radius: 9px;
	background: linear-gradient(90deg, #0257B6 0%, #4A8EE3 100%);
	color: var(--ffffff, #FFF);
	text-align: right;
	font-family: Gilroy;
	font-size: 16px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px; /* 150% */
	letter-spacing: 0.32px;
	text-transform: uppercase;
	cursor: pointer;
	transition: box-shadow 0.3s ease;
}

/* Второй градиент на псевдо-слое — градиенты не интерполируются, поэтому оверлей
   плавно проявляется через opacity. Цвета немного светлее базовых — мягкая "подсветка",
   а не резкий реверс направления. */
.btn--primary::before,
.mainbtn_2::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #1268CB 0%, #5A9EE8 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: -1;
}

.btn--primary:hover,
.mainbtn_2:hover {
	box-shadow: 0 6px 18px rgba(2, 87, 182, 0.2);
	background: linear-gradient(90deg, #0257B6 0%, #4A8EE3 100%);
}

.btn--primary:hover::before,
.mainbtn_2:hover::before {
	opacity: 1;
}

/* Лёгкий блик: диагональная полупрозрачная полоска пробегает по кнопке при наведении */
.btn--primary::after,
.mainbtn_2::after {
	content: '';
	position: absolute;
	top: 0;
	left: -80%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.28) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-20deg);
	transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.btn--primary:hover::after,
.mainbtn_2:hover::after {
	left: 130%;
}

.site-header__phone {
	color: var(--404-b-69, #404B69);
	text-align: right;
	font-family: Gilroy;
	font-size: 23px;
	font-style: normal;
	font-weight: 700;
	line-height: 24px; /* 104.348% */
}

.site-header__mail {
	color: var(--404-b-69, #404B69);
	font-family: Gilroy;
	font-size: 17px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px; /* 105.263% */
}

/* ---- Компоненты, используемые в шапке ---- */

.email {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.email__icon {
	display: block;
	flex-shrink: 0;
}

.city-picker {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	transition: color 0.2s ease;
}

.city-picker__icon {
	display: block;
	flex-shrink: 0;
}

.city-picker__value {
	color: var(--404-b-69, #404B69);
	font-family: Gilroy;
	font-size: 17px;
	font-style: normal;
	font-weight: 600;
	line-height: 20px; /* 105.263% */
	transition: color 0.2s ease;
}

.city-picker:hover .city-picker__value {
	color: #0257B6;
}

.city-picker:hover .city-picker__icon {
	/* Перекрашиваем SVG-иконку в фирменный синий через CSS-фильтр.
	   Без transition: интерполяция filter через sepia/hue-rotate проходит
	   через промежуточные оранжево-красные цвета — лучше переключать жёстко. */
	filter: brightness(0) saturate(100%) invert(24%) sepia(86%) saturate(1750%) hue-rotate(195deg) brightness(95%) contrast(101%);
}

.social-links {
	display: flex;
	align-items: center;
	gap: 16px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.social-links__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: opacity 0.2s ease;
}

.social-links__link:hover {
	opacity: 0.7;
}

.social-links__icon {
	display: block;
}

.u-mobile-only {
	display: none;
}

@media (max-width: 990px) {
	.u-mobile-only {
		display: block;
	}
}

.nav-menu__list {
	display: flex;
	gap: 26px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav-menu__link {
	color: var(--404-b-69, #404B69);
	text-align: right;
	font-family: Gilroy;
	font-size: 17px;
	font-style: normal;
	font-weight: 500;
	line-height: 24px; /* 141.176% */
	transition: color 0.2s ease;
}

/* Цвет держится, пока курсор над li или над его сабменю (submenu — потомок li, :hover сохраняется) */
.nav-menu__item:hover > .nav-menu__link {
	color: #0257B6;
}

.nav-menu__item {
	position: relative;
}

.nav-menu__item--has-dropdown .nav-menu__link {
	position: relative;
	padding-right: 18px;
}

.nav-menu__item--has-dropdown .nav-menu__link::after {
	content: '';
	display: block;
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%) rotate(0deg);
	width: 10px;
	height: 6px;
	background-image: url('/update22_img/bl_menuardonw.svg');
	background-size: 100% 100%;
	background-repeat: no-repeat;
	transition: transform 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-menu__item--has-dropdown:hover .nav-menu__link::after {
	transform: translateY(-50%) rotate(180deg);
}

/* Невидимая "прослойка" под пунктом-родителем — чтобы курсор не выходил из hover'а в зазоре до сабменю */
.nav-menu__item--has-dropdown::before {
	content: '';
	position: absolute;
	top: 100%;
	left: 0;
	right: 0;
	height: 14px;
}

.nav-menu .submenu {
	position: absolute;
	top: calc(100% + 14px);
	left: 0;
	min-width: 240px;
	margin: 0;
	padding: 12px 0;
	list-style: none;
	background: #FFF;
	border-radius: 12px;
	box-shadow: 0 20px 50px 15px rgba(2, 87, 182, 0.1);
	z-index: 100;

	opacity: 0;
	visibility: hidden;
	transform: translateY(-8px);
	pointer-events: none;
	transition:
		opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0s linear 0.22s;
}

.nav-menu__item--has-dropdown:hover .submenu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
	transition:
		opacity 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		transform 0.22s cubic-bezier(0.4, 0, 0.2, 1),
		visibility 0s linear 0s;
}

.nav-menu .submenu li {
	list-style: none;
}

.nav-menu .submenu a {
	display: block;
	padding: 8px 20px;
	color: #404B69;
	font-family: Gilroy;
	font-size: 15px;
	font-weight: 500;
	white-space: nowrap;
	transition: background 0.15s ease, color 0.15s ease;
}

.nav-menu .submenu a:hover {
	background: #f6f7f8;
	color: #0257B6;
}

/* ---- Narrow desktop (991–1299px): легаси-контейнер сжимается до 1040px при ≤1300px,
       поэтому градуируем содержимое шапки, чтобы не ломалось. ---- */

@media (max-width: 1299px) and (min-width: 991px) {
	/* Тэглайн съедает ширину лого-блока — на узких экранах он не критичен. */
	.site-header__logo-tagline {
		display: none;
	}

	/* Плотнее иконки/гэпы в навигации */
	.nav-menu__list {
		gap: 20px;
	}

	.nav-menu__link {
		font-size: 14px;
	}

	/* Чуть уменьшаем крупные элементы верхнего ряда, чтобы помещались без переноса */
	.site-header__phone {
		font-size: 20px;
		line-height: 22px;
	}

	.site-header__mail,
	.city-picker__value {
		font-size: 17px;
	}
}

@media (max-width: 1199px) and (min-width: 991px) {
	.nav-menu__list {
		gap: 16px;
	}
}

@media (max-width: 1099px) and (min-width: 991px) {
	/* На ≤1099 почта + CTA уходят; телефон меньше;
	   пункты меню — в одну строку с переносом в несколько рядов. */
	.site-header__mail {
		display: none;
	}

	.site-header__cta {
		display: none;
	}

	.site-header__phone {
		font-size: 19px;
	}

	.nav-menu__link {
		white-space: nowrap;
		font-size: 14px;
	}

	/* CTA скрыта — растягиваем nav на всю ширину и раздвигаем пункты */
	.site-header__cell--nav,
	.site-header__nav {
		width: 100%;
	}

	.nav-menu__list {
		gap: 10px 14px;
		flex-wrap: wrap;
		justify-content: space-between;
	}
}

/* ---- Mobile (≤990px): оставляем только [бургер | лого | иконка звонка],
       остальное вытесняется в off-canvas (.mobile_menu живёт в update22_header.php).
       Визуал подогнан под cinar.ru: пале-голубой фон, бургер 30×30 с двумя линиями. ---- */

@media (max-width: 990px) {
	.site-header__city-picker,
	.site-header__mail,
	.site-header__phone,
	.site-header__socials,
	.site-header__cta,
	.site-header__bottom,
	.site-header__logo-tagline {
		display: none;
	}

	/* Перекрываем десктоп-дефолты (bg + border), чтобы не перебивать легаси .header_else_1 */
	.site-header__top {
		background: #f5f9fc;
		border-bottom: 0;
	}

	.site-header__row--main {
		padding-top: 0;
		padding-bottom: 0;
		min-height: 60px;
		justify-content: flex-start;
		gap: 20px;
	}

	/* Группа правых иконок (Telegram, Max, звонок) уезжает вправо одним блоком */
	.site-header__mobile-contacts {
		display: flex;
		align-items: center;
		gap: 12px;
		margin-left: auto;
	}

	.site-header__mobile-social {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 30px;
		height: 30px;
	}

	.site-header__mobile-social img {
		display: block;
		width: 22px;
		height: auto;
		transition: filter 0.2s ease;
	}

	/* При открытом мобильном меню (body.menu_active) — иконки белые */
	body.menu_active .site-header__mobile-social img {
		filter: brightness(0) invert(1);
	}

	/* Бургер — точная копия легаси .menu-toggle2 */
	.site-header__menu-toggle {
		display: flex;
		justify-content: center;
		align-items: center;
		width: 30px;
		height: 30px;
		padding: 0;
		margin: 0;
		background-color: transparent;
		border: 0;
		outline: none;
		position: relative;
		cursor: pointer;
		z-index: 2;
	}

	.site-header__menu-toggle-icon {
		display: block;
		position: relative;
		top: 0;
		width: 100%;
		height: 0;
	}

	.site-header__menu-toggle-icon::before,
	.site-header__menu-toggle-icon::after {
		content: '';
		position: absolute;
		left: 0;
		width: 100%;
		height: 3px;
		border-radius: 1.5px;
		background-color: #1B75BC;
	}

	.site-header__menu-toggle-icon::before {
		margin-top: -6px;
	}

	.site-header__menu-toggle-icon::after {
		margin-top: 3px;
	}

	/* Лого на мобилке как на проде: width:85, height:24.51 (прод растягивает SVG по вертикали) */
	.site-header__logo-img {
		width: 85px;
		height: 24.51px;
	}
}


/* Глобальные оверрайды модалок */
.modal-content {
	border-radius: 20px;
}

.modal-content .btn--primary,
.modal-content .mainbtn_2 {
	height: 60px;
}

/* === components/hero-ultima-component/hero-ultima-template.css === */
.hero-ultima {
	position: relative;
	overflow: hidden;
	padding-top: 80px;
	padding-bottom: 80px;
	background: #E0ECFF;
}

@media (max-height: 800px) {
	.hero-ultima {
		padding-top: 65px;
		padding-bottom: 65px;
	}
}

@media (min-height: 801px) {
	.hero-ultima__title {
		font-size: 60px;
	}
}

.hero-ultima__bg-video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
	pointer-events: none;
}

.hero-ultima__bg-overlay {
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(180deg, rgba(224, 236, 255, 0.5) 0%, #E0ECFF 100%);
	pointer-events: none;
}

.hero-ultima__container {
	position: relative;
	z-index: 2;
}

.hero-ultima__title {
	margin: 0 0 20px;
	font-family: Gilroy;
	font-size: 54px;
	font-style: normal;
	font-weight: 700;
	line-height: 1.01;
	background: linear-gradient(90deg, #4A8EE3 0%, #0257B6 100%);
	background-clip: text;
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
}

.hero-ultima__title-region {
	cursor: pointer;
}

.hero-ultima__lead {
	margin: 0 0 32px;
	color: var(--41485-d, #41485D);
	font-family: Gilroy;
	font-size: 18px;
	font-style: normal;
	font-weight: 600;
	line-height: 28px; /* 155.556% */
}

.hero-ultima__benefits-wrap {
	max-width: 780px;
}

.hero-ultima__benefits {
	display: flex;
	justify-content: space-between;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.hero-ultima__benefit {
	flex: 1 1 0;
	display: flex;
	align-items: flex-start;
	gap: 8px;
}

.hero-ultima__benefit::before {
	content: '';
	flex: 0 0 32px;
	width: 32px;
	height: 32px;
	background-image: url('/components/hero-ultima-component/assets/benefit-check.svg');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
}

.hero-ultima__form-wrap {
	margin-top: 40px;
	max-width: 680px;
	padding: 40px 52px;
	border-radius: 28px;
	background: var(--ffffff, #FFF);
	box-shadow: 0 20px 41px 0 rgba(2, 87, 182, 0.10);
}

.hero-ultima__form-success {
	display: none;
}

.hero-ultima__form-success-text {
	font-family: Gilroy;
	font-size: 15px;
	color: #404B69;
}

.hero-ultima__fields {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 26px;
}

.hero-ultima__field,
.bl_block_form_input {
	display: flex;
	flex-direction: column;
	margin: 0;
}

/* Калькулятор SEO: внутри .wrapmainform_content поля идут в строку (не столбцом) */
.december_update.update_2025 .wrapmainform_content .bl_block_form_input {
	flex-direction: row;
}

.hero-ultima__field-label,
.bl_block_form_input .inpname {
	margin-bottom: 18px;
	font-family: Gilroy;
	font-size: 13px;
	color: #8892A6;
}

.hero-ultima__field-required,
.bl_block_form_input .inpname span,
.hero-ultima__field-label > span {
	color: #E63946;
}

/* ---- Коррекционные модификаторы для модалок (`_modal`) ----
   Применяются как доп. класс рядом с базовым: `class="hero-ultima__field hero-ultima__field_modal"`.
   Базовый стиль приходит из правил выше; здесь — только то, что отличается в модалке. */
.hero-ultima__field_modal {
	margin-bottom: 15px;
}

.hero-ultima__field-label_modal {
	margin-bottom: 10px;
}

.hero-ultima__field-input_modal {
	/* пока без коррекций */
}

.hero-ultima__field-required_modal {
	/* пока без коррекций */
}

/* Виджет селектора стран генерируется легаси-плагином combine.js из обычного <input.idphone>.
   Наши стили затрагивают только адаптацию под BEM-карточку формы —
   остальная стилизация (.intl-tel-input / .flag-dropdown / .country-list / .iti-flag)
   приходит из легаси-CSS и работает как есть. */

.hero-ultima__field .intl-tel-input {
	position: relative;
	width: 100%;
}

.hero-ultima__field .intl-tel-input .flag-dropdown {
	padding-top: 12px;
}

.hero-ultima__field .intl-tel-input .hero-ultima__field-input {
	padding-left: 64px;
}

/* ---- Country dropdown: в стиле .nav-menu .submenu из шапки ---- */

.intl-tel-input .country-list {
	left: 0;
	margin-top: 8px;
	min-width: 260px;
	padding: 12px 0;
	list-style: none;
	background: #FFF;
	border: 0;
	border-radius: 12px;
	box-shadow: 0 20px 50px 15px rgba(2, 87, 182, 0.1);
	z-index: 100;
}

.intl-tel-input .country-list.hide {
	display: none;
}

.intl-tel-input .country-list .country,
.intl-tel-input .country-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 20px;
	margin: 0;
	font-family: Gilroy;
	font-size: 15px;
	font-weight: 500;
	line-height: 1.3;
	color: #404B69;
	cursor: pointer;
	background: transparent;
	transition: background-color 0.15s ease, color 0.15s ease;
	white-space: nowrap;
}

.intl-tel-input .country-list .country:hover,
.intl-tel-input .country-list .country.highlight {
	background: #f6f7f8;
	color: #0257B6;
}

.intl-tel-input .country-list .country.active {
	background: #E0ECFF;
	color: #0257B6;
}

.intl-tel-input .country-list .flag {
	flex: 0 0 auto;
	display: flex;
	align-items: center;
}

.intl-tel-input .country-list .country-name {
	flex: 1 1 auto;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.intl-tel-input .country-list .dial-code {
	color: #8892A6;
	font-weight: 500;
	margin-left: auto;
}

.intl-tel-input .country-list .divider {
	height: 1px;
	margin: 6px 16px;
	padding: 0;
	background: #E8EFF8;
	pointer-events: none;
}

.hero-ultima__field-input,
.hero-ultima__field .bl_input {
	width: 100%;
	height: 60px;
	padding: 0 16px;
	border: 1px solid rgb(224, 236, 255);
	border-radius: 10px;
	background: var(--ffffff, #FFF);
	box-shadow: 0 10px 22.2px 0 rgba(15, 98, 202, 0.08);
	font-family: Gilroy;
	font-size: 15px;
	color: #0E1629;
	outline: none;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hero-ultima__field-input::placeholder,
.hero-ultima__field .bl_input::placeholder {
	color: #B0B8C5;
}

.hero-ultima__field-input:focus,
.hero-ultima__field .bl_input:focus,
.hero-ultima__field--phone:focus-within .hero-ultima__field-input,
.hero-ultima__field--phone:has(.country-list:not(.hide)) .hero-ultima__field-input {
	border-color: #7BB0EF;
	box-shadow: none;
	outline: none;
}

.hero-ultima__submit {
	grid-column: 1 / -1;
	position: relative;
	isolation: isolate;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	height: 60px;
	padding: 0 24px;
	border: 0;
	border-radius: 9px;
	background: linear-gradient(90deg, #0257B6 0%, #4A8EE3 100%);
	cursor: pointer;
	transition: box-shadow 0.3s ease;
}

.hero-ultima__submit::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, #1268CB 0%, #5A9EE8 100%);
	opacity: 0;
	transition: opacity 0.3s ease;
	z-index: -1;
}

.hero-ultima__submit:hover {
	box-shadow: 0 8px 24px rgba(2, 87, 182, 0.28);
}

.hero-ultima__submit:hover::before {
	opacity: 1;
}

/* Блик: диагональная полупрозрачная полоска пробегает по кнопке при ховере */
.hero-ultima__submit::after {
	content: '';
	position: absolute;
	top: 0;
	left: -80%;
	width: 50%;
	height: 100%;
	background: linear-gradient(
		120deg,
		rgba(255, 255, 255, 0) 0%,
		rgba(255, 255, 255, 0.28) 50%,
		rgba(255, 255, 255, 0) 100%
	);
	transform: skewX(-20deg);
	transition: left 0.7s cubic-bezier(0.4, 0, 0.2, 1);
	pointer-events: none;
}

.hero-ultima__submit:hover::after {
	left: 130%;
}

.hero-ultima__submit-label {
	color: var(--ffffff, #FFF);
	text-align: center;
	font-family: Gilroy;
	font-size: 18px;
	font-style: normal;
	font-weight: 800;
	line-height: 17px; /* 94.444% */
	text-transform: uppercase;
}

.hero-ultima__consent {
	grid-column: 1 / -1;
	opacity: 0.5;
	color: var(--2-c-3137, #2C3137);
	font-family: Gilroy;
	font-size: 14px;
	font-style: normal;
	font-weight: 400;
	line-height: 21px; /* 150% */
	text-align: left;
}

.hero-ultima__consent-link {
	color: inherit;
	font-weight: 600;
	text-decoration: none;
}

.hero-ultima__extra {
	padding-top: 20px;
	padding-bottom: 90px;
	background: var(--e-0-ecff, #E0ECFF);
}

.hero-ultima__extra-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 24px;
}

.hero-ultima__extra-box {
	height: 216px;
	border-radius: 24px;
	border: 1px solid rgba(224, 236, 255, 0.50);
	background: var(--ffffff, #FFF);
	box-shadow: 0 12px 40px 0 rgba(2, 87, 182, 0.10);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 30px 24px 24px;
	position: relative;
}

/* Декоративная полоска-арка сверху по центру */
.hero-ultima__extra-box::before {
	display: none;
}

.hero-ultima__extra-inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 16px;
	text-align: center;
}

.hero-ultima__extra-icon-wrap {
	height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hero-ultima__extra-icon {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.hero-ultima__extra-text {
	font-family: Gilroy;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.45;
	color: #2C3137;
	opacity: 0.9;
}

/* ---- Narrow desktop (≤1299px, ≥991px) ---- */
@media (max-width: 1299px) and (min-width: 991px) {
	.hero-ultima__benefit {
		font-size: 12px;
	}
}

/* ---- Mobile (≤990px) ---- */
@media (max-width: 990px) {
	.hero-ultima {
		padding-top: 40px;
		padding-bottom: 40px;
	}

	.hero-ultima__title {
		font-size: 32px;
		line-height: 1.15;
		margin-bottom: 16px;
	}

	.hero-ultima__title br {
		display: initial;
	}

	.hero-ultima__lead {
		font-size: 16px;
		line-height: 24px;
		margin-bottom: 24px;
	}

	.hero-ultima__benefits-wrap {
		max-width: 100%;
	}

	.hero-ultima__benefits {
		flex-direction: column;
		gap: 12px;
	}

	.hero-ultima__benefit {
		flex: 0 1 auto;
	}

	.hero-ultima__form-wrap {
		margin-top: 24px;
		max-width: 100%;
		padding: 24px 20px;
		border-radius: 18px;
	}

	.hero-ultima__fields {
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.hero-ultima__field-label {
		margin-bottom: 10px;
	}

	.hero-ultima__field-input {
		height: 52px;
	}

	.hero-ultima__submit {
		height: 54px;
	}

	.hero-ultima__submit-label {
		font-size: 15px;
	}

	.hero-ultima__consent {
		font-size: 13px;
		line-height: 1.5;
	}

	.hero-ultima__extra {
		padding-top: 16px;
		padding-bottom: 40px;
	}

	.hero-ultima__extra-grid {
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.hero-ultima__extra-box {
		height: auto;
		min-height: 160px;
		padding: 20px 16px;
		border-radius: 18px;
	}

	.hero-ultima__extra-box::before {
		display: none;
	}

	.hero-ultima__extra-inner {
		gap: 12px;
	}

	.hero-ultima__extra-icon-wrap {
		height: 56px;
	}

	.hero-ultima__extra-text {
		font-size: 14px;
	}
}

/* ---- Smallest screens (≤480px) ---- */
@media (max-width: 480px) {
	.hero-ultima__title {
		font-size: 28px;
	}

	.hero-ultima__extra-box {
		min-height: 0;
	}

	.hero-ultima__extra-text {
		font-size: 12px;
	}
}

/* === Центрированный вариант (is-centered) ===
   Заголовок и подзаголовок выровнены по центру, бенефиты — в линию "крыльями":
   левый бенефит прижат вправо, центральный по центру, правый прижат влево;
   между ними — иконки-чек ::before/::after. */
.hero-ultima.is-centered .hero-ultima__title,
.hero-ultima.is-centered .hero-ultima__lead {
	text-align: center;
}

.hero-ultima.is-centered .hero-ultima__lead {
	margin: 0 0 15px;
}

.hero-ultima.is-centered .hero-ultima__benefits-wrap {
	margin-left: auto;
	margin-right: auto;
}

.hero-ultima.is-centered .hero-ultima__form-wrap {
	margin-left: auto;
	margin-right: auto;
}

.hero-ultima.is-centered .hero-ultima__consent {
	text-align: center;
}

.hero-ultima.is-centered .hero-ultima__benefits {
	display: grid;
	grid-template-columns: 1fr auto 1fr auto 1fr;
	align-items: center;
	column-gap: 24px;
}

.hero-ultima.is-centered .hero-ultima__benefit {
	display: block;
}

.hero-ultima.is-centered .hero-ultima__benefit:nth-child(1) {
	grid-column: 1;
	justify-self: end;
	text-align: right;
}

.hero-ultima.is-centered .hero-ultima__benefit:nth-child(2) {
	grid-column: 3;
	justify-self: center;
	text-align: center;
}

.hero-ultima.is-centered .hero-ultima__benefit:nth-child(3) {
	grid-column: 5;
	justify-self: start;
	text-align: left;
}

.hero-ultima.is-centered .hero-ultima__benefit::before {
	display: none;
}

.hero-ultima.is-centered .hero-ultima__benefits::before,
.hero-ultima.is-centered .hero-ultima__benefits::after {
	content: "";
	width: 32px;
	height: 32px;
	background-image: url("/components/hero-ultima-component/assets/benefit-check.svg");
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center;
	justify-self: center;
	grid-row: 1;
}

.hero-ultima.is-centered .hero-ultima__benefits::before {
	grid-column: 2;
}

.hero-ultima.is-centered .hero-ultima__benefits::after {
	grid-column: 4;
}

/* На мобильных скрываем блок с бенефитами целиком */
@media (max-width: 767px) {
	.hero-ultima.is-centered .hero-ultima__benefits-wrap {
		display: none;
	}
}

/* === components/logos-marquee-component/logos-marquee-template.css === */
/* Logos Marquee — минималистичная бесшовная бегущая строка */

.logos-marquee {
    padding: 22px 0 36px;
    background: linear-gradient(to bottom, rgba(224, 236, 255, 1) 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

/* Viewport с мягкими краями (fade in/out) */
.logos-marquee__viewport {
    position: relative;
    overflow: hidden;
    width: 100%;
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
            mask-image: linear-gradient(to right, transparent 0, #000 6%, #000 94%, transparent 100%);
}

.logos-marquee__track {
    display: flex;
    align-items: center;
    gap: 78px;
    list-style: none;
    padding: 0;
    margin: 0;
    width: max-content;
    animation: logos-marquee-scroll 65s linear infinite;
    will-change: transform;
}

.logos-marquee:hover .logos-marquee__track {
    animation-play-state: paused;
}

.logos-marquee__item {
    flex: 0 0 auto;
    height: 64px;
    min-width: 90px;
    padding: 0 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logos-marquee__logo {
    height: calc(44px * var(--logo-scale, 1));
    width: auto;
    max-width: 220px;
    object-fit: contain;
    filter: grayscale(100%) brightness(0.55) contrast(1.1);
    opacity: 0.65;
    transition: filter 0.35s ease, opacity 0.35s ease, transform 0.35s ease;
}

.logos-marquee__item:hover .logos-marquee__logo {
    filter: none;
    opacity: 1;
    transform: scale(1.1);
}

@keyframes logos-marquee-scroll {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(-50%, 0, 0); }
}

@media (prefers-reduced-motion: reduce) {
    .logos-marquee__track { animation: none; }
}

@media (max-width: 991px) {
    .logos-marquee { padding: 18px 0 28px; }
    .logos-marquee__track { gap: 50px; animation-duration: 50s; }
    .logos-marquee__item { height: 54px; min-width: 76px; padding: 0 8px; }
    .logos-marquee__logo { height: calc(36px * var(--logo-scale, 1)); max-width: 180px; }
}

@media (max-width: 575px) {
    .logos-marquee { padding: 14px 0 22px; }
    .logos-marquee__track { gap: 36px; animation-duration: 40s; }
    .logos-marquee__item { height: 44px; min-width: 60px; padding: 0 6px; }
    .logos-marquee__logo { height: calc(28px * var(--logo-scale, 1)); max-width: 140px; }
}
