.about-page {
    position: relative;
    overflow: hidden;
    background: var(--color-bg);
    padding: 40px 0 120px;
}

.about-page__clouds {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    pointer-events: none;
    z-index: 0;
}

.about-page__clouds img {
    display: block;
    width: 100%;
    height: auto;
    transform: scaleY(-1);
    transform-origin: center center;
}

.about-page__spark {
    position: absolute;
    z-index: 1;
    pointer-events: none;
    user-select: none;
}

.about-page__spark--1 {
    top: 448px;
    left: 1515px;
    width: 124px;
    height: 124px;
}

.about-page__spark--2 {
    top: 1033px;
    left: 257px;
    width: 124px;
    height: 124px;
}

.about-page__spark--3 {
    top: 617px;
    left: 1573px;
    width: 66px;
    height: 66px;
}

.about-page__spark--4 {
    top: 1178px;
    left: 371px;
    width: 66px;
    height: 66px;
}

.about-page__spark--5 {
    top: 1344px;
    left: 1533px;
    width: 66px;
    height: 66px;
}

.about-page__inner {
    position: relative;
    z-index: 2;
    width: var(--container);
    max-width: 1616px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.about-hero {
    display: grid;
    grid-template-columns: minmax(0, 678px) minmax(0, 856px);
    justify-content: space-between;
    align-items: start;
    gap: 26px 40px;
    padding-top: 0;
}

.about-hero__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--fs-display);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-navy);
}

.about-hero__title span {
    display: block;
}

.about-hero__intro {
    margin: 0;
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 30px;
    color: var(--color-navy);
}

.about-hero__intro--desktop p {
    margin: 0;
}

.about-hero__intro--desktop strong {
    font-weight: 700;
    color: var(--color-blue);
}

.about-hero__intro--mobile {
    display: none;
}

.about-card {
    width: min(936px, 100%);
    margin: 0 auto;
    padding: 20px 40px 40px;
    border-radius: var(--radius-lg);
    background: var(--color-white);
}

.about-card__head {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-bottom: 17px;
}

.about-card__icon {
    flex: 0 0 80px;
    width: 80px;
    height: 80px;
    overflow: hidden;
    border-radius: 50%;
}

.about-card__icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.about-card__title {
    margin: 0;
    font-family: var(--font-display);
    font-size: var(--fs-title);
    font-weight: 600;
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-navy);
}

.about-card--icon .about-card__title {
    margin: 0;
}

.about-card:not(.about-card--icon) .about-card__title {
    margin-bottom: 36px;
}

.about-card__body {
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 30px;
    color: var(--color-navy);
}

.about-card__body p {
    margin: 0;
}

.about-card__body p + p {
    margin-top: 30px;
}

.about-docs {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 12px;
}

.about-docs__link {
    display: flex;
    align-items: center;
    gap: 0;
    color: var(--color-navy);
    font-size: var(--fs-body-sm);
    font-weight: 500;
    line-height: normal;
    text-decoration: none;
    transition: color 0.2s var(--ease), opacity 0.2s var(--ease);
}

.about-docs__link img {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
}

.about-docs__link:hover {
    color: var(--color-blue);
}

.about-banks {
    display: grid;
    gap: 20px;
    margin-bottom: 40px;
}

.about-banks__row {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    width: fit-content;
    transition: opacity 0.2s var(--ease);
}

.about-banks__row:hover {
    opacity: 0.8;
}

.about-banks__logo {
    display: block;
    overflow: hidden;
    flex-shrink: 0;
}

.about-banks__logo--sber {
    width: 139px;
    height: 23px;
}

.about-banks__logo--sber img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.about-banks__logo--tinkoff {
    width: 126px;
    height: 28px;
}

.about-banks__logo--tinkoff img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.about-banks__link {
    font-size: var(--fs-body-sm);
    font-weight: 600;
    line-height: normal;
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.about-post__title {
    margin: 0 0 22px;
    font-size: 22px;
    font-weight: 600;
    line-height: normal;
    color: var(--color-navy);
}

.about-post__body {
    font-size: var(--fs-body-sm);
    font-weight: 400;
    line-height: 28px;
    color: var(--color-navy);
}

.about-post__body p {
    margin: 0;
}

.about-post__body ul {
    margin: 0;
    padding-left: 27px;
}

.about-post__body li {
    margin: 0;
}

.about-refund {
    display: grid;
    gap: 40px;
}

.about-refund__subtitle {
    margin: 0 0 24px;
    font-size: var(--fs-lead);
    font-weight: 600;
    line-height: 1;
    color: var(--color-navy);
}

.about-refund__subtitle--mobile {
    display: none;
}

.about-refund__block p {
    margin: 0;
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 30px;
    color: var(--color-navy);
}

@media (max-width: 1600px) {
    .about-page__spark--1,
    .about-page__spark--3,
    .about-page__spark--5 {
        left: auto;
        right: 24px;
    }

    .about-page__spark--2,
    .about-page__spark--4 {
        left: 24px;
    }
}

@media (max-width: 1200px) {
    .about-hero {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .about-hero__title {
        font-size: var(--fs-display);
    }

    .about-card__title {
        font-size: var(--fs-subtitle);
    }

    .about-page__inner {
        gap: 40px;
    }
}

@media (max-width: 767px) {
    .about-page {
        padding: 40px 0 80px;
    }

    .about-page__clouds {
        top: 0;
        height: auto;
    }

    .about-page__clouds img {
        display: block;
        transform: scaleY(-1);
        transform-origin: center center;
    }

    .about-page__spark--1 {
        top: 120px;
        left: auto;
        right: 36px;
        width: 63px;
        height: 63px;
    }

    .about-page__spark--2,
    .about-page__spark--4,
    .about-page__spark--5 {
        display: none;
    }

    .about-page__spark--3 {
        top: 183px;
        left: auto;
        right: 14px;
        width: 34px;
        height: 34px;
    }

    .about-page__inner {
        width: min(402px, calc(100% - 28px));
        gap: 40px;
    }

    .about-hero {
        gap: 16px;
        padding-top: 0;
    }

    .about-hero__title {
        font-size: 32px;
        line-height: 1.38;
        text-align: center;
    }

    .about-hero__intro--desktop {
        display: none;
    }

    .about-hero__intro--mobile {
        display: block;
        font-size: 16px;
        line-height: 22px;
    }

    .about-card {
        width: 100%;
        padding: 24px 8px;
        border-radius: 14px;
    }

    .about-card__head {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
        margin-bottom: 16px;
    }

    .about-card__icon {
        flex-basis: 60px;
        width: 60px;
        height: 60px;
    }

    .about-card__icon--lg {
        flex-basis: 80px;
        width: 80px;
        height: 80px;
    }

    .about-card__title {
        font-size: 32px;
        line-height: 1.38;
        text-align: center;
        width: 100%;
    }

    .about-card:not(.about-card--icon) .about-card__title {
        margin-bottom: 16px;
    }

    .about-card__body {
        font-size: 16px;
        line-height: 26px;
    }

    .about-card__body p + p {
        margin-top: 26px;
    }

    .about-docs {
        gap: 16px;
    }

    .about-docs__link {
        align-items: flex-start;
        gap: 0;
        font-size: 16px;
        line-height: 19px;
    }

    .about-docs__link img {
        flex-basis: 32px;
        width: 32px;
        height: 32px;
        margin-top: 3px;
    }

    .about-banks {
        justify-items: center;
        gap: 20px;
        margin-bottom: 32px;
    }

    .about-banks__row {
        flex-direction: column;
        align-items: center;
        gap: 14px;
        width: 229px;
    }

    .about-banks__link {
        max-width: 120px;
        text-align: center;
    }

    .about-post__title {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 22px;
    }

    .about-post__body {
        font-size: 16px;
        line-height: 26px;
    }

    .about-post__body ul {
        padding-left: 22px;
    }

    .about-refund {
        gap: 32px;
    }

    .about-refund__subtitle {
        font-size: 20px;
        margin-bottom: 16px;
        line-height: 1.2;
    }

    .about-refund__subtitle--desktop {
        display: none;
    }

    .about-refund__subtitle--mobile {
        display: block;
    }

    .about-refund__block p {
        font-size: 16px;
        line-height: 26px;
    }
}
