.motor-payments {
    max-width: 1200px;
    margin: 0 auto;
    padding: 24px 20px 64px;
    box-sizing: border-box;
}

.motor-payments *,
.motor-payments *::before,
.motor-payments *::after {
    box-sizing: border-box;
}

.motor-payments__intro {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 48px;
}

.motor-payments__title {
    margin: 0;
    font-size: clamp(32px, 5vw, 56px);
    line-height: 1.1;
    font-weight: 500;
    color: #111827;
    text-transform: uppercase;
}

.motor-payments__description {
    margin: 0;
    max-width: 52rem;
    font-size: clamp(14px, 2vw, 24px);
    line-height: 1.45;
    color: #111827;
}

.motor-payments__layout {
    display: flex;
    flex-direction: column-reverse;
    gap: 48px;
}

@media (min-width: 1536px) {
    .motor-payments__layout {
        flex-direction: row;
        align-items: flex-start;
        gap: 128px;
    }
}

.motor-payments__main {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

@media (min-width: 1536px) {
    .motor-payments__main {
        flex: 0 0 65%;
        max-width: 65%;
        gap: 64px;
    }
}

.motor-payments__block {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.motor-payments__block-title {
    margin: 0;
    font-size: clamp(20px, 3vw, 40px);
    line-height: 1.2;
    font-weight: 500;
    color: #111827;
}

.motor-payments__table {
    border-radius: 16px;
    outline: 2px solid #f3f4f6;
    outline-offset: -2px;
    overflow: hidden;
    background: #fff;
}

.motor-payments__row {
    border-bottom: 1px solid #f3f4f6;
}

.motor-payments__row:last-child {
    border-bottom: 0;
}

.motor-payments__row--filled {
    background: #f3f4f6;
}

.motor-payments__row-desktop {
    display: none;
    grid-template-columns: 250px minmax(0, 1fr);
    align-items: center;
    gap: 16px;
    padding: 12px 24px;
}

@media (min-width: 768px) {
    .motor-payments__row-desktop {
        display: grid;
        padding: 12px 48px;
    }
}

.motor-payments__row-mobile {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 12px 16px;
    padding-right: 80px;
}

@media (min-width: 768px) {
    .motor-payments__row-mobile {
        display: none;
    }
}

.motor-payments__row-label {
    font-size: 16px;
    line-height: 1.5;
    font-weight: 500;
    color: #111827;
}

@media (min-width: 768px) {
    .motor-payments__row-label {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .motor-payments__row-label {
        font-size: 24px;
        line-height: 1.33;
    }
}

.motor-payments__row-value-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.motor-payments__row-value {
    flex: 1;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: #111827;
}

@media (min-width: 768px) {
    .motor-payments__row-value {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .motor-payments__row-value {
        font-size: 24px;
        line-height: 1.33;
    }
}

.motor-payments__row-value--red {
    color: #ef4444;
}

.motor-payments__row-list p {
    margin: 0 0 6px;
    font-size: 14px;
    line-height: 1.5;
    color: #111827;
}

.motor-payments__row-links p {
    margin: 0 0 6px;
}

.motor-payments__row-link {
    display: inline-block;
    font-size: 14px;
    line-height: 1.5;
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 2px;
    word-break: break-word;
}

@media (min-width: 768px) {
    .motor-payments__row-list p {
        font-size: 18px;
    }

    .motor-payments__row-link {
        font-size: 18px;
    }
}

@media (min-width: 1024px) {
    .motor-payments__row-list p {
        font-size: 24px;
        line-height: 1.33;
    }

    .motor-payments__row-link {
        font-size: 24px;
        line-height: 1.33;
    }
}

.motor-payments__row-logo {
    flex: none;
    width: 64px;
    height: auto;
    object-fit: contain;
}

@media (min-width: 768px) {
    .motor-payments__row-logo {
        width: 96px;
    }
}

.motor-payments__row-logo--mobile {
    position: absolute;
    right: 16px;
    top: 12px;
}

.motor-payments__aside {
    display: flex;
    flex-direction: column;
    gap: 32px;
    width: 100%;
}

@media (min-width: 1536px) {
    .motor-payments__aside {
        flex: 1;
        min-width: 0;
        gap: 12px;
    }
}

.motor-payments__aside-block {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.motor-payments__aside-title {
    margin: 0;
    font-size: clamp(20px, 2.5vw, 32px);
    line-height: 1.2;
    font-weight: 500;
    color: #111827;
}

.motor-payments__secure {
    margin: 0;
    font-size: 16px;
    color: #374151;
}

.motor-payments__methods {
    margin: 0;
    padding: 0 0 0 18px;
    color: #374151;
}

.motor-payments__methods li {
    margin: 4px 0;
}

.motor-payments__notice {
    margin: 0;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #ef4444;
}

.motor-payments__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.6;
    color: #374151;
}

@media (max-width: 640px) {
    .motor-payments {
        padding: 20px 16px 48px;
    }

    .motor-payments__intro {
        margin-bottom: 32px;
    }
}
