

/* Start:/perekhod-so-staroy-programmy-na-byul-eps/assets/style.css?176111608814538*/
@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;
}

.hero-img {
    display: none
}

.mark {
    color: var(--brand);
    font-weight: 800;
}

p.lead {
    font-size: 18px;
    color: var(--muted);
    margin: 8px 0 0;
}

.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) {
    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?1696953440914*/
.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?16866431181776*/
/* 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/css/ui-popups.css?17013316061499*/
.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?176111608814538 */
/* /local/templates/main2023/components/bitrix/news.list/trust/style.css?1696953440914 */
/* /local/templates/main2023/library/slick/slick.css?16866431181776 */
/* /local/templates/main2023/css/ui-popups.css?17013316061499 */
