

/* Start:/perekhod-so-staroy-programmy-na-byul-eps/assets/style.css?176459373514628*/
@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@200..800&display=swap');

:root {
    --bg: #ffffff;
    --text: #111417;
    --muted: #707783;
    --line: #e8eaee;
    --brand: #ff6a00;
    /* акцент ближе к uvelirsoft.ru */
    --brand-2: #8c1d2c;
    /* бордовый */
    --brand-soft: #fff4ec;
    /* мягкий фон акцентов */
    --radius: 12px;
    --shadow: 0 6px 20px rgba(17, 20, 23, .05);
}

main {
    font: 16px / 1.6 "Manrope", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.section {
    margin: 28px 0 42px;
}

.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-weight: 800;
    font-size: 36px;
    letter-spacing: -.02em;
}

/* Hero */
.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 24px;
    align-items: center
}

.hero-figure {
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--shadow);
    background:
        var(--hero-img) center/contain no-repeat,
        radial-gradient(1200px 500px at 20% 10%, rgba(255, 106, 0, .06), rgba(255, 106, 0, 0) 60%),
        radial-gradient(900px 400px at 90% 80%, rgba(140, 29, 44, .05), rgba(140, 29, 44, 0) 55%),
        var(--brand-soft);
    min-height: 260px;
    aspect-ratio: 16 / 10;
    background-size: cover;
}

.hero-img {
    display: none
}

.mark {
    color: var(--brand);
    font-weight: 800;
}

p.lead {
    font-size: 16px;
    color: var(--muted);
    margin: 8px auto 0;
    max-width: 800px;
}

.mn_line_3 {
    margin-bottom: 60px;
}

.card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);

}

.section {
    margin: 28px 0 42px;
    padding: 32px 20px;
}

section>h2 {
    text-align: center;
    font-weight: 800;
    font-size: 28px;
    letter-spacing: -.01em;
    margin-top: 0;
    padding-bottom: 0;
}

/* █ Блок 1. Плюсы перехода */
.benefits {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 16px
}

.benefit {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    background: var(--brand-soft);
    border: 1px solid #ffe4d3;
}

.benefit i {
    display: inline-grid;
    place-items: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ffd7c1;
    font-style: normal;
    font-weight: 800;
    color: var(--brand);
}

.benefit h3 {
    margin: 0 0 4px;
    font-size: 16px;
    font-weight: 600;
}

.benefit p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.benefit.highlight {
    background: var(--brand-soft);
    border: 1px solid #ffd7c1;
}

.benefit.highlight i {
    border-color: #ffd7c1;
    background: #fff;
    color: var(--brand)
}

/* █ Блок: Порядок перехода */
.steps {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    padding: 16px
}

.step {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 16px;
    border-radius: 12px;
    background: #fff;
    border: 1px solid var(--line)
}

.section>.lead {
    text-align: center;
}

.step i {
    display: inline-grid;
    place-items: center;
    width: 36px;
    min-width: 36px;
    height: 36px;
    border-radius: 10px;
    background: #fff;
    border: 1px solid #ffd7c1;
    font-style: normal;
    font-weight: 800;
    color: var(--brand)
}

.step h3 {
    margin: 0 0 4px;
    font-size: 16px
}

.step p {
    margin: 0;
    color: var(--muted);
    font-size: 14px
}

.note {
    font-size: 13px;
    color: var(--muted);
    font-style: italic;
    text-align: center;
    font-weight: 700;
}

.muted-small {
    font-size: 13px;
    color: var(--muted)
}

/* Оформление таблиц пакетов */
.offer-table {
    border-radius: 12px;
    overflow: hidden
}

.offer-table thead th:first-child {
    text-align: left
}

.offer-table tbody td:first-child {
    background: #fafbfc;
    font-weight: 700;
    color: #3a404a
}

.offer-table tbody tr:nth-child(even) td {
    background: #fff
}

.pill {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    vertical-align: baseline
}

.pill-sale {
    background: var(--brand-soft);
    border: 1px solid #ffd7c1;
    color: var(--brand)
}

.pill-free {
    background: var(--brand-soft);
    border: 1px solid #ffd7c1;
    color: var(--brand-2)
}

.th-sub {
    display: block;
    font-size: 12px;
    color: var(--muted);
    margin-top: 2px
}

.nowrap {
    white-space: nowrap
}

.economy {
    color: #000 !important
}

/* █ Блок 2. Сравнительная таблица */
.table-wrap {
    overflow: auto
}

table.compare {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 720px;
    border: 1px solid var(--line);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow);
    background: #fff;
    max-width: 100%;
    table-layout: fixed;
}

/* Desktop table styles - hide mobile blocks and show normal table */
@media (min-width: 821px) {
    .mobile-package-block {
        display: none;
    }
    
    table.compare {
        display: table;
        border: 1px solid var(--line);
        border-radius: 12px;
        overflow: hidden;
        box-shadow: var(--shadow);
        background: #fff;
    }
    
    table.compare thead {
        display: table-header-group;
    }
    
    table.compare tbody {
        display: table-row-group;
    }
    
    table.compare tbody tr {
        display: table-row;
    }
    
    table.compare tbody td {
        display: table-cell;
        padding: 12px 16px;
        border-bottom: 1px solid var(--line);
        vertical-align: top;
    }
    
    table.compare tbody td:first-child {
        background: #fafbfc;
        font-weight: 700;
        color: #3a404a;
    }
    
    table.compare tbody tr:last-child td {
        border-bottom: 0;
    }
}

.compare thead th {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #444;
    padding: 14px 16px;
    background: #fafbfc;
    border-bottom: 1px solid var(--line);
}

.compare tbody td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

/* allow breaking long content to avoid overflow */
.compare th,
.compare td {
    word-break: break-word;
    overflow-wrap: anywhere;
}

/* центрирование 2 и 3 колонок */
.compare thead th:nth-child(2),
.compare thead th:nth-child(3),
.compare tbody td:nth-child(2),
.compare tbody td:nth-child(3),
.compare tbody td:nth-child(4)
 {
    text-align: center;
}

.compare tbody tr:last-child td {
    border-bottom: 0
}

.badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700
}

.ok {
    background: #e8fff2;
    color: #0a7a3f;
    border: 1px solid #ccf3de
}

.no {
    background: #fff1f1;
    color: #b12626;
    border: 1px solid #ffdcdc
}

.soon {
    background: #fff7e6;
    color: #a35a00;
    border: 1px solid #ffe9bf
}

.mark {
    color: var(--brand);
    font-weight: 800
}

/* █ Блок 3. Условия */
.conditions {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr))
}

.cond {
    padding: 0;
    border: 0;
    border-radius: 14px;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 8px;
    transition: box-shadow .2s ease, transform .06s ease;
}

.cond h3 {
    margin: 0 0 6px;
    font-size: 18px
}

.cond p {
    margin: 0;
    color: var(--muted)
}

.cond strong {
    color: var(--brand-2)
}

.cond:hover {
    box-shadow: var(--shadow);
    transform: translateY(-1px)
}

.conditions {
    align-items: stretch
}

.offer {
    text-transform: uppercase;
    color: var(--brand);
    font-weight: 800;
    margin: 0 0 6px;
    letter-spacing: .02em
}

.badge-offer {
    display: inline-block;
    padding: 6px 10px;
    border-radius: 999px;
    font-weight: 800;
    font-size: 12px;
    background: var(--brand-soft);
    border: 1px solid #ffd7c1;
    color: var(--brand)
}

.cond ul {
    margin: 0 0 4px 18px;
    padding: 0;
    color: var(--text)
}

.cond li {
    margin: 4px 0
}

.cond .spacer {
    flex: 1
}

.btn-secondary {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--text);
    padding: 10px 14px;
    border-radius: 10px;
    font-weight: 700;
    cursor: pointer
}

.btn-secondary:hover {
    border-color: #ffd7c1;
    box-shadow: 0 4px 10px rgba(17, 20, 23, .06)
}

.checklist {
    list-style: none;
    margin: 0 0 4px 0;
    padding: 0
}

.checklist li {
    margin: 6px 0;
    padding-left: 22px;
    position: relative
}

.checklist li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    color: #0a7a3f;
    font-weight: 800
}

.tag-success {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 800;
    color: #0a7a3f;
    background: #e8fff2;
    border: 1px solid #ccf3de
}

/* Переключатель аренда/покупка */
.offer-tabs {
    display: flex;
    gap: 8px;
    justify-content: center;
    margin: 8px 0 4px
}

.switch-btn {
    appearance: none;
    border: 1px solid var(--line);
    background: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-weight: 800;
    cursor: pointer;
    color: #3a404a
}

.switch-btn.active {
    background: var(--brand-soft);
    border-color: #ffd7c1;
    color: var(--brand)
}

/* Примеры расчёта */
details.examples {
    margin-top: 8px
}

details.examples summary {
    cursor: pointer;
    color: #3a404a
}

/* █ Блок 4. Кнопка → модалка */
.cta {
    display: flex;
    gap: 14px;
    flex-direction: column;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 18px 20px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    box-shadow: var(--shadow);
    text-align: center;
}

.cta p {
    margin: 0;
    color: var(--muted)
}

#form_39 .ui-popup__body p{
    font-size: 1.5em;
}

.btn {
    appearance: none;
    border: 0;
    cursor: pointer;
    border-radius: 12px;
    font-weight: 800;
    padding: 12px 16px;
    font-size: 16px;
    transition: transform .06s ease, box-shadow .2s ease;
    color: #fff;
    background: linear-gradient(90deg, var(--brand), #ff7a1f);
    box-shadow: 0 6px 14px rgba(232, 90, 0, .2);
}

.btn:hover {
    transform: translateY(-1px)
}

.btn:active {
    transform: translateY(0)
}

.section.compact{
    margin: 0;
    padding: 0;
}

.section.tight{
    padding-left: 0;
    padding-right: 0;
    margin-bottom: 0;
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 30px;
    }
    .hero-grid {
        grid-template-columns: 1fr;
    }
    .section {
        margin: 20px 0 28px;
        padding: 24px 16px;
    }
    p.lead {
        font-size: 16px;
    }
    .benefits,
    .steps,
    .conditions {
        grid-template-columns: 1fr;
        padding: 12px;
        overflow: auto;
    }
    .benefit,
    .step,
    .cond {
        padding: 14px;
    }
    /* Mobile blocks layout for tables */
    .offer-table {
        display: block;
        overflow: visible;
    }
    
    table.compare {
        display: block;
        width: 100%;
        border: none;
        box-shadow: none;
        background: transparent;
    }
    
    table.compare thead {
        display: none;
    }
    
    table.compare tbody {
        display: block;
        width: 100%;
    }
    
    table.compare tbody tr {
        display: none; /* Hide table rows */
    }
    
    /* Create package blocks */
    table.compare::after {
        content: "";
        display: table;
        clear: both;
    }
    
    /* Package blocks */
    .mobile-package-block {
        display: block;
        width: 100%;
        margin-bottom: 20px;
        background: #fff;
        border: 1px solid var(--line);
        border-radius: 12px;
        box-shadow: var(--shadow);
        overflow: hidden;
    }
    
    .mobile-package-block:last-child {
        margin-bottom: 0;
    }
    
    .mobile-package-header {
        background: #fafbfc;
        padding: 16px;
        border-bottom: 1px solid var(--line);
        font-weight: 700;
        color: #3a404a;
        font-size: 16px;
    }
    
    .mobile-package-content {
        padding: 0;
    }
    
    .mobile-package-item {
        padding: 16px;
        border-bottom: 1px solid var(--line);
    }
    
    .mobile-package-item:last-child {
        border-bottom: none;
    }
    
    .mobile-package-item-label {
        font-weight: 700;
        color: #3a404a;
        margin-bottom: 8px;
        font-size: 14px;
    }
    
    .mobile-package-item-value {
        color: var(--text);
        font-size: 14px;
    }
    
    /* slightly tighter cell typography for small screens */
    .compare tbody td { 
        font-size: 14px; 
        padding: 16px; 
    }
    .th-sub { font-size: 11px; }
    .pill { font-size: 11px; padding: 2px 6px; }
    .offer-tabs {
        flex-wrap: wrap;
    }
    .switch-btn {
        width: 100%;
        text-align: center;
    }
    .cta {
        gap: 12px;
    }
    .btn,
    .btn-secondary {
        width: 100%;
    }

    .section.tight{
        padding-left: 0;
        padding-right: 0;
    }


    .cond{
        padding: 0;
        border: none;
    }

    .hero-figure{
        width: 100%;
        height: auto;
        min-height: auto;
    }

    .hero{
        margin-bottom: 20px;
    }
}
/* End */


/* Start:/local/templates/main2023/components/bitrix/news.list/trust/style.css?1696953420914*/
.slider_trust .slick-slide img {
	width: auto;
	max-width: 100%;
	margin: auto;
	max-height: 70px;
}

.title-trust a,
.title-trust {
	font-size: 34px;
	color: rgb(112, 112, 112);
	line-height: 1.2;
	text-align: center;
	margin: 15px 0;
}

.slider_trust .slick-prev, .slider_trust .slick-next {
	height: auto;
}

.slick-prev, .slick-next {
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: 50%;
	display: block;
	width: 20px;
	height: 20px;
	padding: 0;
	-webkit-transform: translate(0, -50%);
	-ms-transform: translate(0, -50%);
	transform: translate(0, -50%);
	cursor: pointer;
	color: transparent;
	border: none;
	outline: none;
	background: transparent;
}

@media (max-width: 1630px) {
	.title-trust a, .title-trust {
		font-size: 28px;
	}

	.slider_trust .slick-slide img {
		max-height: 60px;
	}
}

@media (max-width: 992px) {
	.title-trust a, .title-trust {
		font-size: 28px;
		margin: 30px 0;
	}
}
/* End */


/* Start:/local/templates/main2023/library/slick/slick.css?16866430801776*/
/* Slider */
.slick-slider
{
    position: relative;

    display: block;
    box-sizing: border-box;

    -webkit-user-select: none;
       -moz-user-select: none;
        -ms-user-select: none;
            user-select: none;

    -webkit-touch-callout: none;
    -khtml-user-select: none;
    -ms-touch-action: pan-y;
        touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
}

.slick-list
{
    position: relative;

    display: block;
    overflow: hidden;

    margin: 0;
    padding: 0;
}
.slick-list:focus
{
    outline: none;
}
.slick-list.dragging
{
    cursor: pointer;
    cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list
{
    -webkit-transform: translate3d(0, 0, 0);
       -moz-transform: translate3d(0, 0, 0);
        -ms-transform: translate3d(0, 0, 0);
         -o-transform: translate3d(0, 0, 0);
            transform: translate3d(0, 0, 0);
}

.slick-track
{
    position: relative;
    top: 0;
    left: 0;

    display: block;
    margin-left: auto;
    margin-right: auto;
}
.slick-track:before,
.slick-track:after
{
    display: table;

    content: '';
}
.slick-track:after
{
    clear: both;
}
.slick-loading .slick-track
{
    visibility: hidden;
}

.slick-slide
{
    display: none;
    float: left;

    height: 100%;
    min-height: 1px;
}
[dir='rtl'] .slick-slide
{
    float: right;
}
.slick-slide img
{
    display: block;
}
.slick-slide.slick-loading img
{
    display: none;
}
.slick-slide.dragging img
{
    pointer-events: none;
}
.slick-initialized .slick-slide
{
    display: block;
}
.slick-loading .slick-slide
{
    visibility: hidden;
}
.slick-vertical .slick-slide
{
    display: block;

    height: auto;

    border: 1px solid transparent;
}
.slick-arrow.slick-hidden {
    display: none;
}

/* End */


/* Start:/local/templates/main2023/components/bitrix/news.list/cases-news-list-slider/style.css?176608588016279*/
.slick-list {
	min-width: 100%;
}

.case-news-list {
	--itemCol: 1;
	--itemMargin: 15px;
	margin: 20px 0;
}

.case-news-list__title {
	font-weight: 400;
	font-size: clamp(24px, 2.5vw, 34px);
	line-height: 143%;
	letter-spacing: 1px;
	text-align: center;
	margin: 0 0 30px;
}

.case-news-list__row {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	overflow: hidden;
	margin: 0 calc(var(--itemMargin) * -1);
	width: calc(100% + var(--itemMargin) * 2);
}


.case-news-item {
	background: #fff;
	border-radius: 12px;
	padding: 35px;
	box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s, box-shadow 0.3s;
	overflow: hidden;
	margin: var(--itemMargin);
	width: calc(100% / var(--itemCol) - var(--itemMargin) * 2);

	display: flex;
	flex-direction: column;
	
	max-width: 880px;
}

.case-news-item__categorys {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.case-news-item__category {
	display: inline-block;
	padding: 6px 15px;
	background-color: #d82b25;
	color: #fff;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.case-news-item__category.lombard {
	background-color: #d82b25;
}

.case-news-item__category.trade {
	background-color: #e0791c;
}

.case-news-item__category.production {
	background-color: #2c5aa0;
}

.case-news-item__description {
	font-size: 16px;
	color: #555;
	line-height: 1.7;
	margin-bottom: 25px;
	flex-grow: 1;
}

.case-news-item__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 20px;
	border-top: 1px solid #eee;
	margin-top: auto;
}

.case-news-item__client {
	flex-grow: 1;
}

.case-news-item__client-name {
	font-weight: 600;
	color: #333;
	font-size: 17px;
	margin-bottom: 8px;
}

.case-news-item__client-city {
	font-size: 15px;
	color: #777;
}

.case-news-item__read-more {
	background: none;
	border: none;
	cursor: pointer;
	color: #d82b25;
	text-decoration: none;
	font-weight: 600;
	font-size: 16px;
	transition: color 0.3s;
}

.case-news-item__read-more:hover {
	color: #b01e1a;
}

.case-news-item__img {
	width: 100%;
	max-width: 220px;
	height: 140px;
	object-fit: contain;
	margin: 0 auto 25px;
	background: #f9f9f9;
	padding: 20px;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 14px;
	color: #999;
}

.case-news-item__title {
	font-size: 24px;
	font-weight: 700;
	color: #333;
	margin-bottom: 20px;
	margin-top: 0;
	line-height: 1.4;
}

.case-news-item__info {
	display: flex;
	justify-content: space-between;
	gap: 40px;
	margin: 20px 0;
}

.case-news-item-button {
	display: inline-flex;
	padding: 8px 15px;
	background: #DB8D34;
	border-radius: 4px;
	font-size: 14px;
	line-height: 20px;
	color: #fff;
	margin: 20px 0;
}

.case-modal__header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #eee;
}

.case-modal__category {
	display: inline-block;
	padding: 6px 15px;
	background-color: #d82b25;
	color: #fff;
	border-radius: 20px;
	font-size: 12px;
	font-weight: 600;
	margin-bottom: 15px;
	text-transform: uppercase;
}

.case-modal__category.lombard {
	background-color: #d82b25;
}

.case-modal__category.trade {
	background-color: #e0791c;
}

.case-modal__category.production {
	background-color: #2c5aa0;
}

.case-modal__title {
	font-size: 32px;
	font-weight: 700;
	color: #333;
	margin-bottom: 15px;
	line-height: 1.4;
}

.case-modal__section {
	margin-bottom: 40px;
}

.case-modal__section-title {
	font-size: 22px;
	font-weight: 700;
	color: #d82b25;
	margin-bottom: 25px;
	padding-bottom: 12px;
	border-bottom: 2px solid #eee;
}

.case-modal__section-content {
	font-size: 17px;
	line-height: 1.9;
	color: #444;
}

.case-modal__section-content p {
	margin-bottom: 15px;
}

.case-modal__section-content ul {
	margin-left: 20px;
	margin-bottom: 15px;
}

.case-modal__section-content li {
	margin-bottom: 10px;
}

.case-modal__info-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 15px;
	margin-bottom: 20px;
}

.case-modal__info-item {
	padding: 15px;
	background: #f9f9f9;
	border-radius: 8px;
}

.case-modal__info-label {
	font-size: 12px;
	color: #999;
	text-transform: uppercase;
	margin-bottom: 5px;
}

.case-modal__info-value {
	font-size: 16px;
	font-weight: 600;
	color: #333;
}

.case-modal__table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0;
}

.case-modal__table th,
.case-modal__table td {
	padding: 15px;
	text-align: left;
	border: 1px solid #eee;
	font-size: 15px;
}

.case-modal__table th {
	background: #f6f6f6;
	font-weight: 600;
	color: #333;
	font-size: 16px;
}

.case-modal__table td {
	color: #555;
	line-height: 1.6;
}

.case-modal__quote {
	background: #f9f9f9;
	border-left: 4px solid #d82b25;
	padding: 20px;
	margin: 20px 0;
	border-radius: 4px;
	font-style: italic;
	color: #555;
}

.case-modal__conclusions {
	list-style: none;
	padding: 0;
}

.case-modal__conclusions li {
	padding: 10px 0;
	padding-left: 30px;
	position: relative;
}

.case-modal__conclusions li:before {
	content: "✓";
	position: absolute;
	left: 0;
	color: #28a745;
	font-weight: bold;
	font-size: 20px;
}

[data-popup="case-news-item"] .ui-popup__container {
	max-width: 950px;
	position: relative;
	min-height: 40dvh;
}

.ui-popup__close {
	position: absolute;
    right: 40px !important;
    top: 40px !important;
	width: 40px;
	height: 40px;
	padding: 0;
	background: rgba(0, 0, 0, 0.5);
	color: #fff;
	border: none;
	border-radius: 50%;
	font-size: 28px;
	font-weight: 300;
	line-height: 1;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10003;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
	display: flex;
	align-items: center;
	justify-content: center;
}

.ui-popup__close:hover {
	background: rgba(0, 0, 0, 0.7);
	transform: rotate(90deg);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ui-popup__close:active {
	transform: rotate(90deg) scale(0.95);
}

.ui-popup__share {
	padding: 10px 20px;
	background: #d82b25;
	color: #fff;
	border: none;
	border-radius: 25px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	transition: all 0.3s ease;
	z-index: 10001;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.ui-popup__share:hover {
	background: #b01e1a;
	box-shadow: 0 4px 12px rgba(216, 43, 37, 0.3);
	transform: translateY(-2px);
}

.ui-popup__share:active {
	transform: translateY(0);
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.ui-popup__share--copied {
	background: #28a745 !important;
	animation: sharePulse 0.3s ease;
}

.ui-popup__share--copied:hover {
	background: #218838 !important;
}

@keyframes sharePulse {
	0% {
		transform: scale(1);
	}
	50% {
		transform: scale(1.05);
	}
	100% {
		transform: scale(1);
	}
}

.ui-popup__share::before {
	content: "🔗";
	font-size: 16px;
}

.case-modal__nav--prev {
    left: 20px;
}

.case-modal__nav--next {
    right: 20px;
}
.case-modal__header-mobile {
	display: flex;
	position: fixed;
	bottom: 20px;
	justify-content: space-between;
	width: 100%;
	max-width: 850px;
}

.case-modal__header-actions {
	display: flex;
	align-items: center;
	gap: 10px;
}

.case-modal__nav {
    bottom: 20px;
    padding: 12px 20px;
    background: #fff;
    border: 2px solid #d82b25;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    color: #d82b25;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10002;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    white-space: nowrap;
}

.case-modal__nav:disabled,
.case-modal__nav--disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
    background: #f5f5f5;
    border-color: #ccc;
    color: #999;
}

.case-modal__nav:disabled:hover,
.case-modal__nav--disabled:hover {
    /* transform: translateY(-50%); */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.case-modal__nav--desktop {
	display: block;
}

.ui-popup__share--desktop {
	display: block;
}

.bx-filter--tags .bx-filter-parameters-box{
	margin: 40px 0 20px;
	justify-content: center;
}

.bx-filter-tag input + span{
	border-radius: 10px;
}

.case-news-list--slider{
	display: flex;
	flex-wrap: nowrap;
	max-width: 1200px;
	margin: 0 auto;
}

.case-news-list-links{
	display: flex;
	justify-content: center;
	margin-top: 30px;
}

.case-news-list-links a{
	min-width: 320px;
}

@media (max-width: 1200px) {
	/* .case-news-list {
		--itemCol: 2;
		--itemMargin: 10px;
	} */
}

@media (max-width: 992px) {
	.case-news-list {
		margin: 15px 0;
	}

	.case-news-list__title {
		font-size: clamp(20px, 4vw, 28px);
		margin: 0 0 20px;
	}

	.case-news-list__row {
		margin: 0 calc(var(--itemMargin) * -0.5);
	}

	.case-news-item {
		padding: 25px;
		margin: calc(var(--itemMargin) * 0.5);
		border-radius: 10px;
	}

	.case-news-item__category {
		padding: 5px 12px;
		font-size: 11px;
		margin-bottom: 12px;
	}

	.case-news-item__title {
		font-size: 20px;
		margin-bottom: 15px;
		line-height: 1.3;
	}

	.case-news-item__info {
		flex-direction: column;
		gap: 20px;
		margin: 15px 0;
	}

	.case-news-item__img {
		max-width: 100%;
		height: auto;
		min-height: 120px;
		margin: 0 auto 20px;
		padding: 15px;
	}

	.case-news-item__description {
		font-size: 15px;
		line-height: 1.6;
		margin-bottom: 20px;
	}

	.case-news-item__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 15px;
		padding-top: 15px;
	}

	.case-news-item__client-name {
		font-size: 16px;
		margin-bottom: 6px;
	}

	.case-news-item__client-city {
		font-size: 14px;
	}

	.case-news-item__read-more {
		font-size: 15px;
		align-self: flex-end;
	}

	.ui-popup__close {
		top: 15px !important;
		right: 15px !important;
		width: 35px;
		height: 35px;
		font-size: 24px;
	}

	.ui-popup__share {
		top: 15px;
		right: 60px;
		padding: 8px 16px;
		font-size: 13px;
	}

	[data-popup="case-news-item"] .ui-popup__container {
		max-width: 95%;
		padding: 15px;
	}

	.case-modal__header {
		margin-bottom: 20px;
		padding-bottom: 15px;
	}

	.case-modal__title {
		font-size: 24px;
		margin-bottom: 12px;
	}

	.case-modal__section {
		margin-bottom: 30px;
	}

	.case-modal__section-title {
		font-size: 18px;
		margin-bottom: 15px;
		padding-bottom: 10px;
	}

	.case-modal__section-content {
		font-size: 15px;
		line-height: 1.7;
	}

	.case-modal__info-grid {
		grid-template-columns: 1fr;
		gap: 12px;
		margin-bottom: 15px;
	}

	.case-modal__info-item {
		padding: 12px;
	}

	.case-modal__table {
		font-size: 13px;
		display: block;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
	}

	.case-modal__table th,
	.case-modal__table td {
		padding: 10px 8px;
		font-size: 13px;
		white-space: nowrap;
	}

	.case-modal__table th {
		font-size: 14px;
	}

	.case-modal__quote {
		padding: 15px;
		margin: 15px 0;
		font-size: 14px;
	}

	.case-modal__header-mobile {
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 15px;
		background: #fff;
		border-top: 2px solid #eee;
		margin: 20px -15px -15px -15px;
		position: sticky;
		bottom: -10px;
		z-index: 10001;
		box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.05);
		width: auto;
	}

	.case-modal__header-mobile .case-modal__nav {
		position: static;
		transform: none;
		padding: 8px 12px;
		font-size: 13px;
		margin: 0;
		flex: 0 0 auto;
		min-width: 0;
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.case-modal__header-mobile .case-modal__nav:disabled,
	.case-modal__header-mobile .case-modal__nav--disabled {
		opacity: 0.4;
		cursor: not-allowed;
		pointer-events: none;
		background: #f5f5f5;
		border-color: #ccc;
		color: #999;
	}

	.case-modal__header-mobile .ui-popup__share {
		position: static;
		padding: 8px 16px;
		font-size: 13px;
		margin: 0;
		flex-shrink: 0;
	}

	.case-modal__nav--desktop {
		display: none !important;
	}

	.ui-popup__share--desktop {
		display: none !important;
	}

	.ui-popup__close {
		top: 15px !important;
		right: 15px !important;
		width: 35px;
		height: 35px;
		font-size: 24px;
		z-index: 10004;
	}
}

@media (max-width: 556px) {
	.case-news-list {
		margin: 10px 0;
		--itemMargin: 10px;
	}

	.case-news-list__title {
		font-size: clamp(18px, 5vw, 24px);
		margin: 0 0 15px;
		letter-spacing: 0.5px;
	}

	.case-news-list__row {
		margin: 0 calc(var(--itemMargin) * -0.5);
	}

	.case-news-item {
		padding: 20px 15px;
		margin: calc(var(--itemMargin) * 0.5);
		border-radius: 8px;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
	}

	.case-news-item__category {
		padding: 4px 10px;
		font-size: 10px;
		margin-bottom: 10px;
		border-radius: 15px;
	}

	.case-news-item__title {
		font-size: 18px;
		margin-bottom: 12px;
		line-height: 1.3;
	}

	.case-news-item__info {
		flex-direction: column;
		gap: 15px;
		margin: 12px 0;
	}

	.case-news-item__img {
		max-width: 100%;
		height: auto;
		min-height: 100px;
		max-height: 120px;
		margin: 0 auto 15px;
		padding: 12px;
		border-radius: 6px;
	}

	.case-news-item__description {
		font-size: 14px;
		line-height: 1.5;
		margin-bottom: 15px;
	}

	.case-news-item__footer {
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
		padding-top: 12px;
		border-top-width: 1px;
	}

	.case-news-item__client {
		width: 100%;
	}

	.case-news-item__client-name {
		font-size: 15px;
		margin-bottom: 5px;
	}

	.case-news-item__client-city {
		font-size: 13px;
	}

	.case-news-item__read-more {
		font-size: 14px;
		align-self: flex-end;
		padding: 5px 0;
	}

	.case-news-item-button {
		padding: 6px 12px;
		font-size: 13px;
		margin: 15px 0;
	}

	.ui-popup__close {
		top: 10px;
		right: 10px;
		width: 32px;
		height: 32px;
		font-size: 22px;
	}

	.ui-popup__share {
		top: 10px;
		right: 52px;
		padding: 6px 12px;
		font-size: 12px;
	}

	.ui-popup__share::before {
		font-size: 14px;
	}

	[data-popup="case-news-item"] .ui-popup__container {
		max-width: 100%;
		padding: 10px;
		margin: 0;
		max-height: 100dvh;
		min-height: 100dvh;

		flex: 1;
        display: flex;
        flex-direction: column;
	}

	.ui-popup__container{
		
	}

	.ui-popup__wrapper{
		flex: 1;
	}

	.case-modal__header {
		margin-bottom: 15px;
		padding-bottom: 12px;
	}

	.case-modal__category {
		padding: 5px 12px;
		font-size: 11px;
		margin-bottom: 10px;
	}

	.case-modal__title {
		font-size: 20px;
		margin-bottom: 10px;
		line-height: 1.3;
	}

	.case-modal__section {
		margin-bottom: 25px;
	}

	.case-modal__section-title {
		font-size: 16px;
		margin-bottom: 12px;
		padding-bottom: 8px;
	}

	.case-modal__section-content {
		font-size: 14px;
		line-height: 1.6;
	}

	.case-modal__section-content p {
		margin-bottom: 12px;
	}

	.case-modal__section-content ul {
		margin-left: 15px;
		margin-bottom: 12px;
	}

	.case-modal__section-content li {
		margin-bottom: 8px;
	}

	.case-modal__info-grid {
		grid-template-columns: 1fr;
		gap: 10px;
		margin-bottom: 12px;
	}

	.case-modal__info-item {
		padding: 10px;
	}

	.case-modal__info-label {
		font-size: 11px;
		margin-bottom: 4px;
	}

	.case-modal__info-value {
		font-size: 14px;
	}

	.case-modal__table {
		font-size: 12px;
		margin: 15px 0;
	}

	.case-modal__table th,
	.case-modal__table td {
		padding: 8px 6px;
		font-size: 12px;
	}

	.case-modal__table th {
		font-size: 13px;
	}

	.case-modal__quote {
		padding: 12px;
		margin: 12px 0;
		font-size: 13px;
		border-left-width: 3px;
	}

	.case-modal__conclusions li {
		padding: 8px 0;
		padding-left: 25px;
		font-size: 14px;
	}

	.case-modal__conclusions li:before {
		font-size: 18px;
	}

	.case-modal__header-mobile {
		padding: 12px 10px;
		margin: 15px -10px -10px -10px;
	}

	.case-modal__header-mobile .case-modal__nav {
		padding: 6px 10px;
		font-size: 12px;
		border-width: 1px;
		font-size: 11px;
		padding: 6px 8px;
	}

	.case-modal__header-mobile .case-modal__nav:disabled,
	.case-modal__header-mobile .case-modal__nav--disabled {
		opacity: 0.4;
		cursor: not-allowed;
		pointer-events: none;
		background: #f5f5f5;
		border-color: #ccc;
		color: #999;
	}

	.case-modal__header-mobile .ui-popup__share {
		padding: 6px 12px;
		font-size: 12px;
		font-size: 11px;
		padding: 6px 10px;
	}

	.ui-popup__close {
		top: 10px;
		right: 10px;
		width: 32px;
		height: 32px;
		font-size: 22px;
		z-index: 10004;
	}

	.section-pim-main{
		margin-top: 0 !important;
	}
}
/* End */


/* Start:/local/templates/main2023/css/ui-popups.css?17013315601499*/
.ui-popup {
    --z-index-menu: 100;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    background: rgba(0, 0, 0, 0.4);
    display: none;
    z-index: var(--z-index-menu);
}

.ui-popup--show {
    display: flex;
    align-items: center;
    justify-content: center;
}

.ui-popup__container {
    background: #fff;
    border-radius: 4px;
    position: relative;
    padding: 50px;
    width: 100%;
    max-width: 650px;
    max-height: 80vh;
    overflow: auto;
    margin: 10px;
}

.ui-popup__close {
    position: absolute;
    right: 20px;
    top: 20px;
}

.ui-popup h3 {
    margin-top: 0;
}

.ui-popup__error {
    color: red;
    margin-bottom: 20px;
}

.ui-popup__error:empty{
    display: none;
}

.ui-popup__buttons{
    margin-top: 20px;
}

.ui-popup__buttons button{
    width: 100%;
}

fieldset.ui-input{
    border: 1px solid #ccc;
    padding: 12px 40px 12px 15px;

}

.ui-input legend{
    color: #777;
    background: #fff;
    padding: 0 5px;
    position: relative;
    left: -8px;
}

.ui-popup__close {
    position: absolute;
    right: 20px;
    top: 20px;
}

.ui-popup__title{
    font-weight: 500;
    margin: 10px 0 20px 0;
}

@media (max-width: 550px) {
    .ui-popup--show {
        align-items: flex-start;
    }

    .ui-popup__container {
        max-height: calc(100vh - 30px);
        padding: 30px 15px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .ui-popup__close {
        top: 10px;
        right: 10px;
    }
}

/* End */
/* /perekhod-so-staroy-programmy-na-byul-eps/assets/style.css?176459373514628 */
/* /local/templates/main2023/components/bitrix/news.list/trust/style.css?1696953420914 */
/* /local/templates/main2023/library/slick/slick.css?16866430801776 */
/* /local/templates/main2023/components/bitrix/news.list/cases-news-list-slider/style.css?176608588016279 */
/* /local/templates/main2023/css/ui-popups.css?17013315601499 */
