.page--download-templates {
    background:
        radial-gradient(circle at 90% 14%, rgba(91, 142, 246, .18), transparent 26%),
        #f7f9fd;
}

.download-templates-page {
    padding: 144px 0 76px;
}

.download-templates-page__back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 26px;
    color: #27456f;
    font-size: 16px;
    font-weight: 700;
}

.download-templates-page__back:hover,
.download-templates-page__back:focus-visible {
    color: #2052c4;
}

.download-templates-page__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(300px, .82fr);
    gap: 30px;
    align-items: stretch;
}

.download-templates-page__main,
.download-benefits {
    border: 1px solid rgba(32, 82, 196, .13);
    border-radius: 32px;
    box-shadow: 0 22px 62px rgba(17, 42, 89, .09);
}

.download-templates-page__main {
    padding: 48px;
    background: #fff;
}

.download-templates-page__eyebrow,
.download-benefits__eyebrow {
    display: inline-block;
    margin-bottom: 14px;
    color: #2052c4;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.download-templates-page h1 {
    max-width: 760px;
    margin: 0;
    color: #101c34;
    font-size: clamp(34px, 4.1vw, 56px);
    font-weight: 800;
    line-height: 1.03;
}

.download-templates-page__lead {
    max-width: 680px;
    margin: 20px 0 0;
    color: #445776;
    font-size: 20px;
    line-height: 1.45;
}

.download-file-card {
    position: relative;
    margin-top: 34px;
    padding: 26px;
    overflow: hidden;
    border: 1px solid #cfddf8;
    border-radius: 24px;
    background: linear-gradient(135deg, #eff5ff 0%, #fff 78%);
}

.download-file-card::after {
    position: absolute;
    top: -42px;
    right: -36px;
    width: 148px;
    height: 148px;
    border-radius: 50%;
    background: rgba(32, 82, 196, .08);
    content: "";
}

.download-file-card__label,
.download-file-card__note,
.download-file-card__status {
    position: relative;
    z-index: 1;
}

.download-file-card__label {
    display: block;
    color: #52627f;
    font-size: 14px;
    font-weight: 700;
}

.download-file-card__title {
    position: relative;
    z-index: 1;
    max-width: 590px;
    margin: 8px 0 0;
    color: #13233f;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.16;
}

.download-file-card__meta {
    position: relative;
    z-index: 1;
    margin: 9px 0 0;
    color: #52627f;
    font-size: 15px;
}

.download-file-card__progress {
    position: relative;
    z-index: 1;
    height: 8px;
    margin: 26px 0 16px;
    overflow: hidden;
    border-radius: 99px;
    background: #dce7fa;
}

.download-file-card__progress > span {
    display: block;
    width: 0;
    height: 100%;
    border-radius: inherit;
    background: #2052c4;
    transition: width 1s linear;
}

.download-file-card__status {
    margin: 0;
    color: #1d3761;
    font-size: 16px;
    line-height: 1.4;
}

.download-file-card__status strong {
    color: #2052c4;
}

.download-file-card__actions {
    position: relative;
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
    margin-top: 22px;
}

.download-file-card__button {
    display: inline-flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px 22px;
    border-radius: 999px;
    background: #2052c4;
    color: #fff;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
    transition: background-color .2s ease, transform .2s ease;
}

.download-file-card__button:hover,
.download-file-card__button:focus-visible {
    background: #173f99;
    color: #fff;
    transform: translateY(-1px);
}

.download-file-card__hint {
    color: #52627f;
    font-size: 14px;
    line-height: 1.35;
}

.download-templates-page__legal {
    margin: 24px 0 0;
    color: #60708c;
    font-size: 14px;
    line-height: 1.45;
}

.download-benefits {
    display: flex;
    flex-direction: column;
    padding: 40px;
    color: #fff;
    background:
        radial-gradient(circle at 94% 6%, rgba(120, 161, 255, .5), transparent 28%),
        linear-gradient(145deg, #204eaf 0%, #112d6c 100%);
}

.download-benefits__eyebrow {
    color: #bcd1ff;
}

.download-benefits h2 {
    margin: 0;
    color: #fff;
    font-size: 30px;
    font-weight: 800;
    line-height: 1.06;
}

.download-benefits__slides {
    position: relative;
    min-height: 180px;
    margin-top: 30px;
}

.download-benefits__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease;
}

.download-benefits__slide.is-active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.download-benefits__number {
    display: block;
    margin-bottom: 18px;
    color: #a9c5ff;
    font-size: 14px;
    font-weight: 800;
}

.download-benefits__slide h3 {
    margin: 0;
    color: #fff;
    font-size: 25px;
    font-weight: 800;
    line-height: 1.14;
}

.download-benefits__slide p {
    margin: 13px 0 0;
    color: #e6eeff;
    font-size: 17px;
    line-height: 1.45;
}

.download-benefits__dots {
    display: flex;
    gap: 8px;
    margin-top: auto;
    padding-top: 24px;
}

.download-benefits__dot {
    width: 34px;
    height: 4px;
    padding: 0;
    border: 0;
    border-radius: 9px;
    background: rgba(255,255,255,.35);
    cursor: pointer;
    transition: background-color .2s ease, width .2s ease;
}

.download-benefits__dot.is-active {
    width: 48px;
    background: #fff;
}

@media (max-width: 996px) {
    .download-templates-page {
        padding-top: 112px;
    }

    .download-templates-page__grid {
        grid-template-columns: 1fr;
    }

    .download-benefits__slides {
        min-height: 150px;
    }
}

@media (max-width: 720px) {
    .download-templates-page {
        padding: 100px 0 54px;
    }

    .download-templates-page__back {
        margin-bottom: 18px;
        font-size: 14px;
    }

    .download-templates-page__main,
    .download-benefits {
        padding: 28px 22px;
        border-radius: 24px;
    }

    /* На телефоне сначала показываем причину довериться UrbanRent,
       затем сразу предлагаем готовый файл. */
    .download-benefits {
        order: -1;
        padding: 26px 22px 24px;
    }

    .download-templates-page__main {
        padding: 0;
        border: 0;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
    }

    .download-templates-page__eyebrow,
    .download-templates-page__lead {
        display: none;
    }

    .download-templates-page h1 {
        position: absolute;
        width: 1px;
        height: 1px;
        padding: 0;
        margin: -1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
        border: 0;
    }

    .download-file-card {
        margin-top: 0;
    }

    .download-benefits__slides {
        min-height: 210px;
        margin-top: 22px;
    }

    .download-templates-page__lead {
        font-size: 18px;
    }

    .download-file-card {
        margin-top: 26px;
        padding: 22px 18px;
        border-radius: 20px;
    }

    .download-file-card__title {
        font-size: 22px;
    }

    .download-file-card__actions,
    .download-file-card__button {
        width: 100%;
    }

    .download-file-card__hint {
        text-align: center;
    }

    .download-benefits h2 {
        font-size: 24px;
    }

    .download-benefits__slide h3 {
        font-size: 23px;
    }
}
