/* секции восстановления учёта. Перенесено из инлайна шаблона buhgalter.ftp.md. */

.r-timeline {
    position: relative;
    padding-left: 44px;
}
.r-timeline::before {
    content:'';
    position:absolute;
    left: 15px; top: 0; bottom: 0;
    width: 2px;
    background: linear-gradient(180deg, var(--theme-color), var(--theme-color2), transparent);
}
.r-tl-item {
    position: relative;
    padding: 0 0 40px 30px;
}
.r-tl-item:last-child { padding-bottom: 0; }
.r-tl-item::before {
    content:'';
    position:absolute;
    left: -33px; top: 6px;
    width: 14px; height: 14px;
    border-radius: 50%;
    background: var(--theme-color);
    border: 3px solid var(--smoke-color);
    box-shadow: 0 0 0 3px var(--theme-color);
    z-index: 1;
}
.r-tl-item h4 {
    font-size: 19px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 6px;
}
.r-tl-item p {
    font-size: 15px;
    color: var(--body-color);
    line-height: 1.65;
    margin: 0;
}
.r-prob-card {
    background: var(--white-color);
    border-radius: 14px;
    padding: 0;
    height: 100%;
    overflow: hidden;
    border: 1px solid #e3eaf2;
    box-shadow: 0 2px 16px rgba(0,40,88,.06);
    transition: all .4s cubic-bezier(.4,0,.2,1);
}
.r-prob-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,40,88,.12);
    border-color: var(--theme-color);
}
.r-prob-top {
    background: linear-gradient(135deg, var(--smoke-color), #e6f0fb);
    padding: 28px 24px 20px;
    text-align: center;
}
.r-prob-top .p-icon {
    width: 56px; height: 56px;
    border-radius: 14px;
    background: var(--white-color);
    box-shadow: 0 4px 14px rgba(0,82,166,.1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--theme-color);
    margin-bottom: 14px;
    transition: all .4s;
}
.r-prob-card:hover .p-icon {
    background: var(--theme-color);
    color: #fff;
    transform: rotate(-5deg) scale(1.08);
}
.r-prob-top h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--title-color);
    margin: 0;
}
.r-prob-body {
    padding: 20px 24px 24px;
}
.r-prob-body p {
    font-size: 14px;
    color: var(--body-color);
    line-height: 1.6;
    margin: 0;
}

.problem-cards{
    background: linear-gradient(135deg, var(--title-color) 0%, var(--theme-color) 50%, #0d4a40 100%);
}
.r-inc-wrap {
    background: var(--white-color);
    border-radius: 16px;
    border: 1px solid #e3eaf2;
    box-shadow: 0 4px 24px rgba(0,40,88,.06);
    overflow: hidden;
}
.r-inc-row {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid #f0f4f8;
    transition: background .3s;
}
.r-inc-row:last-child { border-bottom: none; }
.r-inc-row:hover { background: var(--smoke-color); }
.r-inc-num {
    width: 72px;
    min-height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 800;
    color: var(--theme-color);
    background: linear-gradient(135deg, rgba(0,82,166,.04), rgba(0,82,166,.08));
    flex-shrink: 0;
    border-right: 2px solid rgba(0,82,166,.08);
}
.r-inc-text {
    padding: 20px 24px;
    font-size: 15px;
    color: var(--body-color);
    line-height: 1.55;
    display: flex;
    align-items: center;
}
.r-deliv-wrap {
    padding-bottom: 80px;
}

.r-deliv-shell {
    position: relative;
    overflow: hidden;
    border-radius: 28px;
    padding: 38px;
    background:
        radial-gradient(circle at top right, rgba(0, 209, 255, 0.18), transparent 28%),
        radial-gradient(circle at bottom left, rgba(0, 82, 166, 0.12), transparent 32%),
        linear-gradient(135deg, #fbfdff 0%, #f2f8ff 54%, #eef5ff 100%);
    border: 1px solid rgba(0, 82, 166, 0.10);
    box-shadow: 0 24px 60px rgba(12, 40, 88, 0.10);
}


.r-deliv-frame {
    position: relative;
    z-index: 1;
}

.r-deliv-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 28px;
    align-items: end;
    margin-bottom: 34px;
}

.r-deliv-title {
    color: var(--title-color);
    font-size: 34px;
    font-weight: 700;
    line-height: 1.15;
    margin: 0 0 10px;
}

.r-deliv-sub {
    color: var(--body-color);
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    max-width: 620px;
}

.r-deliv-meta {
    min-width: 140px;
    padding: 18px 18px 16px;
    border-radius: 22px;
    background: var(--title-color);
    color: var(--white-color);
    box-shadow: 0 16px 34px rgba(0, 82, 166, 0.22);
}

.r-deliv-meta strong {
    display: block;
    font-size: 36px;
    line-height: 1;
    margin-bottom: 8px;
}

.r-deliv-meta span {
    display: block;
    font-size: 12px;
    line-height: 1.5;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.72);
}

.r-deliv-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.r-deliv-item {
    position: relative;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 82, 166, 0.10);
    border-radius: 22px;
    padding: 24px 22px 22px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease, background .35s ease;
    backdrop-filter: blur(8px);
    min-height: 100%;
}

.r-deliv-item:hover {
    background: rgba(255, 255, 255, 0.92);
    border-color: rgba(0, 82, 166, 0.22);
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(12, 40, 88, 0.10);
}

.r-deliv-item .d-check {
    width: 42px;
    height: 42px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 14px;
    color: var(--white-color);
    margin-top: 2px;
    box-shadow: 0 10px 20px rgba(0, 82, 166, 0.20);
}

.r-deliv-copy {
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 0;
}

.r-deliv-index {
    color: rgba(12, 40, 88, 0.45);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.r-deliv-item span {
    color: var(--title-color);
    font-size: 16px;
    line-height: 1.65;
    font-weight: 600;
}

@media (max-width:991px) {
    .r-deliv-shell {
        padding: 30px;
    }

    .r-deliv-head {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .r-deliv-meta {
        min-width: 0;
        max-width: 180px;
    }

    .r-deliv-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width:767px) {
    .r-deliv-wrap {
        padding-bottom: 64px;
    }

    .r-deliv-shell {
        padding: 24px 18px;
        border-radius: 24px;
    }

    .r-deliv-title {
        font-size: 28px;
    }

    .r-deliv-sub {
        font-size: 15px;
    }

    .r-deliv-item {
        padding: 20px 18px;
        border-radius: 18px;
    }
}
.r-why-section {
    padding-bottom: 90px;
    position: relative;
}

.r-why-section:before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, var(--white-color) 0%, var(--smoke-color) 100%);
    pointer-events: none;
}

.r-why-section .container {
    position: relative;
    z-index: 1;
}

.r-why-grid {
    align-items: stretch;
    row-gap: 26px;
}

.r-why-col {
    display: flex;
}

.r-why-card {
    border: 1px solid var(--border-color);
    transition: transform .35s ease, border-color .35s ease, box-shadow .35s ease;
    padding: 30px 28px 26px;
    width: 100%;
    border-radius: 24px;
    background: linear-gradient(135deg, var(--white-color) 0%, var(--smoke-color) 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.r-why-card:hover {
    border-color: var(--theme-color);
    transform: translateY(-6px);
    box-shadow: 0 20px 44px rgba(12, 40, 88, 0.10);
}

.r-why-card:after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--theme-color) 0%, var(--theme-color2) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.r-why-card:hover:after {
    transform: scaleX(1);
}

.r-why-card-head {
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.r-why-card-title {
    margin: 0;
    line-height: 1.5;
    font-size: 20px;
    color: var(--title-color);
    font-weight: 700;
    padding-left: 20px;
}

.r-why-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    border: 1px solid rgba(0, 82, 166, 0.15);
    background: linear-gradient(135deg, var(--white-color) 0%, var(--smoke-color) 100%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--theme-color);
    font-size: 24px;
    flex-shrink: 0;
    transition: all .35s ease;
}

.r-why-card:hover .r-why-icon {
    background: var(--smoke-color);
    border-color: var(--theme-color);
    transform: translateY(-2px);
}

.r-why-number {
    min-width: 64px;
    height: 36px;
    border-radius: 999px;
    border: 1px solid rgba(0, 82, 166, 0.22);
    color: var(--theme-color);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .16em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 14px;
    background: var(--white-color);
}

@media (max-width: 575px) {
    .r-why-section {
        padding-bottom: 70px;
    }

    .r-why-card {
        padding: 12px 10px 12px;
    }

    .r-why-card-title {
        font-size: 18px;
    }
    .r-why-grid{
        row-gap: 0px;

    }

    .r-why-number {
        min-width: 58px;
        height: 32px;
        font-size: 12px;
    }

    .r-why-icon {
        width: 50px;
        height: 50px;
        font-size: 21px;
    }
}
@keyframes rFadeUp {
    from { opacity:0; transform:translateY(30px) }
    to { opacity:1; transform:translateY(0) }
}
@keyframes rSlideRight {
    from { opacity:0; transform:translateX(-30px) }
    to { opacity:1; transform:translateX(0) }
}
@keyframes rScaleIn {
    from { opacity:0; transform:scale(0.85) }
    to { opacity:1; transform:scale(1) }
}
@keyframes rPulse {
    0%,100% { transform:scale(1) }
    50% { transform:scale(1.05) }
}
.r-anim { opacity:0; transition:none }
.r-anim.r-in { animation: rFadeUp .65s cubic-bezier(.22,1,.36,1) both }
.r-anim.r-in.r-d1 { animation-delay:.1s }
.r-anim.r-in.r-d2 { animation-delay:.2s }
.r-anim.r-in.r-d3 { animation-delay:.3s }
