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

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

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

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

.help-page__spark--1 {
    top: 280px;
    left: calc(var(--page-pad) + 667px);
    width: 66px;
    height: 66px;
}

.help-page__spark--2 {
    top: 1166px;
    left: calc(var(--page-pad) + 1211px);
    width: 124px;
    height: 124px;
}

.help-page__spark--3 {
    top: 1290px;
    left: calc(var(--page-pad) + 1322px);
    width: 66px;
    height: 66px;
}

.help-page__spark--4 {
    top: 1999px;
    left: calc(var(--page-pad) + 864px);
    width: 86px;
    height: 86px;
}

.help-page__spark--5 {
    top: 2477px;
    left: calc(var(--page-pad) + 1211px);
    width: 66px;
    height: 66px;
}

.help-page__spark--6 {
    top: 2601px;
    left: calc(var(--page-pad) + 1322px);
    width: 124px;
    height: 124px;
}

.help-page__inner {
    position: relative;
    z-index: 2;
    width: var(--container);
    margin: 0 auto;
}

.help-hero {
    margin-bottom: 60px;
}

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

.help-hero__title-mobile {
    display: none;
}

.help-hero__lead {
    margin: 36px 0 0;
    max-width: 539px;
    font-size: var(--fs-body);
    font-weight: 400;
    line-height: 30px;
    color: var(--color-navy);
}

.help-hero__lead span {
    display: block;
}

.help-main {
    display: grid;
    grid-template-columns: minmax(0, 936px) 640px;
    gap: 40px;
    align-items: start;
    justify-content: space-between;
}

.help-main__form .donate-form {
    width: 100%;
    max-width: 936px;
    min-height: 0;
    background: var(--color-white);
    border-radius: 24px;
    overflow: hidden;
}

.help-main__form .donate-form::before,
.help-main__form .donate-form__shape {
    display: none;
}

.help-main__form .donate-form__panels {
    display: block;
}

.help-main__form .donate-form__panel {
    display: none;
}

.help-main__form .donate-form__panel.is-active {
    display: block;
}

.help-main__form .donate-form__panel[hidden] {
    display: none;
}

@media (min-width: 1024px) {
    .help-main__form .donate-form__amounts,
    .help-main__form .donate-form__payments {
        width: 100%;
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .help-main__form .donate-form__custom {
        width: auto;
    }

    .help-main__form .donate-form__pay {
        width: 100%;
        max-width: none;
    }

    .help-main__form .donate-form__pay img {
        max-width: min(110px, 100%);
        max-height: 34px;
    }
}

.help-main__form .donate-form__body {
    padding: 48px 40px 40px;
}

.help-feed {
    padding-top: 5px;
}

.help-feed__title {
    margin: 0 0 28px;
    padding: 0 40px;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: var(--fs-title);
    line-height: 1;
    text-transform: uppercase;
    color: var(--color-navy);
}

.help-feed__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.help-feed__item {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    min-height: 84px;
    padding: 0 40px;
    border-radius: 14px;
    background: var(--color-white);
    font-size: var(--fs-lead);
    color: var(--color-navy);
    transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease);
}

.help-feed__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(12, 18, 58, 0.08);
}

.help-feed__amount {
    font-weight: 500;
    justify-self: start;
}

.help-feed__name,
.help-feed__date {
    opacity: 0.5;
    font-weight: 400;
}

.help-feed__name {
    justify-self: center;
    text-align: center;
}

.help-feed__date {
    justify-self: end;
    text-align: right;
}

.help-feed__action {
    display: flex;
    justify-content: flex-end;
    margin-top: 40px;
}

.help-sms {
    position: relative;
    margin-top: 40px;
    padding: 60px 40px 60px;
    border-radius: 22px;
    background: var(--color-white);
}

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

.help-sms__layout {
    display: grid;
    grid-template-columns: minmax(0, 856px) minmax(0, 600px);
    gap: 40px;
    align-items: start;
    justify-content: space-between;
}

.help-sms__intro {
    font-size: var(--fs-body-sm);
    line-height: 28px;
    color: var(--color-navy);
}

.help-sms__intro p {
    margin: 0 0 0;
}

.help-sms__intro p + p {
    margin-top: 0;
}

.help-sms__accent {
    font-weight: 600;
    color: var(--color-blue);
}

.help-sms__ops-block {
    margin-top: 24px;
}

.help-sms__ops-title {
    margin: 0 0 22px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: #282828;
}

.help-sms__ops {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 51px;
}

.help-sms__op {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    border-radius: 50px;
    background: #f5f5f5;
    overflow: hidden;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.help-sms__op:hover {
    transform: translateY(-2px);
    background: #ebebeb;
}

.help-sms__op img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.help-sms__info {
    margin-top: 28px;
    font-size: var(--fs-body-sm);
    line-height: 28px;
    color: var(--color-navy);
}

.help-sms__info p {
    margin: 0;
}

.help-sms__info p + p,
.help-sms__info ul + p {
    margin-top: 0;
}

.help-sms__info-title {
    margin: 0 0 22px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-navy);
}

.help-sms__links {
    margin: 0;
    padding: 0 0 0 27px;
    list-style: disc;
}

.help-sms__links a,
.help-sms__info a {
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s var(--ease);
}

.help-sms__links a:hover,
.help-sms__info a:hover {
    opacity: 0.75;
}

.help-sms__media {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 612px;
}

.help-sms__phone {
    display: block;
    width: 100%;
    max-width: 600px;
    height: auto;
    object-fit: contain;
}

.help-bottom {
    display: grid;
    grid-template-columns: minmax(0, 936px) 640px;
    gap: 40px;
    align-items: start;
    justify-content: space-between;
    margin-top: 40px;
}

.help-bank,
.help-legal {
    border-radius: 22px;
    background: var(--color-white);
}

.help-bank {
    padding: 60px 40px;
}

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

.help-bank__list {
    list-style: none;
    margin: 36px 0 0;
    padding: 0;
    display: grid;
    gap: 20px;
}

.help-bank__row {
    display: grid;
    grid-template-columns: 140px minmax(0, 1fr);
    align-items: center;
    gap: 14px;
}

.help-bank__logo {
    display: block;
    max-width: 100%;
    object-fit: contain;
    object-position: left center;
}

.help-bank__logo--sber {
    width: 139px;
    height: 23px;
}

.help-bank__logo--alfa {
    width: 115px;
    height: 24px;
}

.help-bank__logo--tinkoff {
    width: 126px;
    height: 28px;
}

.help-bank__link {
    font-size: var(--fs-body-sm);
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: opacity 0.2s var(--ease);
}

.help-bank__link:hover {
    opacity: 0.75;
}

.help-bank__post {
    margin-top: 40px;
    font-size: var(--fs-body-sm);
    line-height: 28px;
    color: var(--color-navy);
}

.help-bank__post p {
    margin: 0;
}

.help-bank__post-title {
    margin: 0 0 22px;
    font-size: 22px;
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-navy);
}

.help-bank__steps {
    margin: 0;
    padding: 0 0 0 27px;
    list-style: disc;
}

.help-bank__steps a {
    font-weight: 600;
    color: var(--color-blue);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.help-legal {
    padding: 60px 40px;
}

.help-legal__form {
    margin-top: 36px;
    display: grid;
    gap: 32px;
}

.help-legal__field input {
    width: 100%;
    min-height: 66px;
    padding: 0 24px;
    border: 2px solid var(--color-navy);
    border-radius: 14px;
    background: var(--color-white);
    font-family: var(--font-body);
    font-size: var(--fs-body-sm);
    color: var(--color-navy);
    transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}

.help-legal__field input::placeholder {
    color: var(--color-placeholder);
    opacity: 1;
}

.help-legal__field input:focus {
    outline: none;
    border-color: var(--color-blue);
    box-shadow: 0 0 0 3px rgba(0, 69, 190, 0.12);
}

.help-legal__submit {
    width: 100%;
    min-height: var(--btn-height);
    border: 0;
    border-radius: 22px;
    background: var(--color-yellow);
    font-family: var(--font-body);
    font-size: var(--fs-lead);
    font-weight: 500;
    color: var(--color-navy);
    cursor: pointer;
    transition: transform 0.25s var(--ease), background-color 0.25s var(--ease);
}

.help-legal__submit:hover {
    background: #f0b800;
    transform: translateY(-2px);
}

@media (max-width: 1400px) {
    .help-main,
    .help-bottom {
        grid-template-columns: 1fr;
    }

    .help-sms__layout {
        grid-template-columns: 1fr;
    }

    .help-sms__media {
        order: -1;
        min-height: 0;
    }

    .help-sms__phone {
        max-width: 360px;
    }

    .help-page__spark {
        opacity: 0.7;
    }

    .help-feed__action {
        justify-content: flex-start;
    }
}

@media (max-width: 1023px) {
    .help-page {
        padding: 24px 0 64px;
    }

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

    .help-page__spark {
        display: none;
    }

    .help-hero {
        margin-bottom: 24px;
        text-align: center;
    }

    .help-hero__title-desktop {
        display: none;
    }

    .help-hero__title-mobile {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        font-size: 32px;
        line-height: 1.38;
    }

    .help-hero__lead {
        margin: 21px auto 0;
        max-width: 386px;
        font-size: 14px;
        line-height: 22px;
        text-align: left;
    }

    .help-main {
        gap: 40px;
    }

    .help-main__form .donate-form {
        max-width: none;
    }

    .help-main__form .donate-form__fields {
        grid-template-columns: 1fr;
    }

    .help-main__form .donate-form__body {
        padding: 12px 10px 14px;
    }

    .help-feed__title {
        margin-bottom: 16px;
        padding: 0;
        font-size: 32px;
        text-align: center;
    }

    .help-feed__list {
        gap: 12px;
    }

    .help-feed__item {
        min-height: 56px;
        padding: 0 16px;
        border-radius: 12px;
        font-size: 18px;
    }

    .help-feed__action {
        justify-content: center;
        margin-top: 28px;
    }

    .help-sms {
        margin-top: 24px;
        padding: 24px 8px 32px;
        border-radius: 16px;
    }

    .help-sms__title {
        margin-bottom: 24px;
        font-size: 32px;
        line-height: 1.38;
        text-align: center;
    }

    .help-sms__layout {
        gap: 24px;
    }

    .help-sms__phone {
        max-width: 246px;
    }

    .help-sms__intro {
        font-size: 16px;
        line-height: 26px;
    }

    .help-sms__ops-block {
        margin-top: 24px;
    }

    .help-sms__ops-title {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .help-sms__ops {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 8px;
        justify-content: stretch;
    }

    .help-sms__op {
        width: 100%;
        height: auto;
        aspect-ratio: 1;
        border-radius: 50%;
        padding: 0;
    }

    .help-sms__op img {
        width: 56%;
        height: 56%;
    }

    .help-sms__info {
        margin-top: 24px;
        font-size: 16px;
        line-height: 26px;
    }

    .help-sms__info-title {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .help-sms__links {
        padding-left: 22px;
    }

    .help-bottom {
        margin-top: 24px;
        gap: 24px;
    }

    .help-bank,
    .help-legal {
        padding: 24px 8px 32px;
        border-radius: 16px;
    }

    .help-bank__title,
    .help-legal__title {
        font-size: 32px;
        line-height: 1.38;
        text-align: center;
    }

    .help-bank__list {
        margin-top: 24px;
        gap: 24px;
        align-items: center;
    }

    .help-bank__row {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        text-align: center;
    }

    .help-bank__post {
        margin-top: 32px;
        font-size: 16px;
        line-height: 26px;
    }

    .help-bank__post-title {
        margin-bottom: 16px;
        font-size: 20px;
    }

    .help-bank__steps {
        padding-left: 22px;
    }

    .help-legal__form {
        margin-top: 24px;
        gap: 28px;
    }

    .help-legal__field input {
        min-height: 56px;
        padding: 0 12px;
        border-radius: 12px;
        font-size: 20px;
    }

    .help-legal__submit {
        min-height: 56px;
        border-radius: 16px;
        font-size: 20px;
    }
}

@media (max-width: 480px) {
    .help-sms__ops {
        gap: 6px;
    }

    .help-feed__item {
        grid-template-columns: 72px 1fr auto;
        gap: 8px;
        font-size: 16px;
        padding: 0 12px;
    }
}
